Packages

p

com.elsevier.aq

utilities

package utilities

Type Members

  1. class GetAQAnnotations extends AnyRef

    This function converts a Dataset[CATAnnotation] to a Dataset[AQAnnotation].

    This function converts a Dataset[CATAnnotation] to a Dataset[AQAnnotation]. A bare-bones AQAnnotation (with no properties) can be generated by only passing a Dataset[CATAnnotation]. If properties (name-value pairs from the CATAnnotation other column) are desired, you have the option of specifying an Array of names (from these name-value pairs). Additionally, you have the option of specifying if the values for these properties should be lower-cased and/or url decoded.

  2. class GetCATAnnotations extends AnyRef

    This function converts a Dataset[AQAnnotation] to a Dataset[CATAnnotation].

    This function converts a Dataset[AQAnnotation] to a Dataset[CATAnnotation]. If specific properties (name-value pairs to set in the CATAnnotation other column) are desired, you have the option of specifying an Array of names (for these name-value pairs). Additionally, you have the option of specifying if the values for these name-value pairs that should be url encoded.

  3. class Hydrate extends AnyRef

    This function will retrieve the text for each AQAnnotation in the passed Dataset[AQAnnotation], populate the text property with this value in the AQAnnotation, and return a Dataset[AQAnnotation] with the text property populated.

    This function will retrieve the text for each AQAnnotation in the passed Dataset[AQAnnotation], populate the text property with this value in the AQAnnotation, and return a Dataset[AQAnnotation] with the text property populated. Keep in mind that for 'text/word' annotations the orig column will already be populated with the 'original' text value so this may not be needed. However, if you are working with sentence annotations (and other similar annotations) this could prove to be very helpful.

  4. class HydrateXML extends AnyRef

    This function will retrieve the xml for each AQAnnotation in the passed Dataset[AQAnnotation], populate the xml property with this value in the AQAnnotation, and return a Dataset[AQAnnotation] with the xml property populated.

  5. class XPath extends AnyRef

    This function will calculate the xpath expression for each Original Markup (OM) AQAnnotation in the passed OM Dataset[AQAnnotation], populate the xpath property with this value in the AQAnnotation, and return a Dataset[AQAnnotation] with the xpath property populated.

Ungrouped