package utilities
- Alphabetic
- Public
- All
Value Members
-
object
GetAQAnnotations
This function converts a Array[caret delimited annotations] to a Array[AQAnnotation].
This function converts a Array[caret delimited annotations] to a Array[AQAnnotation]. A bare-bones AQAnnotation (with no properties) can be generated by only specifying the strArr and docId. If properties (name-value pairs from the caret delimited annotation 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.
-
object
GetCaretAnnotations
This function converts a Array[AQAnnotation] to a Array[caret delimited annotations].
-
object
Hydrate
This function will retrieve the text for each AQAnnotation in the passed Array[AQAnnotation], populate the text property with this value in the AQAnnotation, and return a Array[AQAnnotation] with the text property populated.
This function will retrieve the text for each AQAnnotation in the passed Array[AQAnnotation], populate the text property with this value in the AQAnnotation, and return a Array[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.
-
object
HydrateXML
This function will retrieve the xml for each AQAnnotation in the passed Array[AQAnnotation], populate the xml property with this value in the AQAnnotation, and return a Array[AQAnnotation] with the xml property populated.
-
object
XPath
This function will calculate the xpath expression for each Original Markup (OM) AQAnnotation in the passed OM Array[AQAnnotation], populate the xpath property with this value in the AQAnnotation, and return a Array[AQAnnotation] with the xpath property populated.
This function will calculate the xpath expression for each Original Markup (OM) AQAnnotation in the passed OM Array[AQAnnotation], populate the xpath property with this value in the AQAnnotation, and return a Array[AQAnnotation] with the xpath property populated. The docId for the AQAnnotation will be used as the filename for the OM annotations.