ExtractRegularExpression( regularExpression : string, resultCollectionName : string ) | Specifies a regular expression for identifying text spans. The resultCollectionName parameter names the resulting collection, which you can use in XML queries or access by its name. |
ExtractNerObjects() | Identifies NER entities in the document text. After they are identified, collections are available with the predefined names NerPerson, NerOrg, NerGeo, NerAddress, NerMoney, and NerDate. The NerMoney and NerDate objects are used only in extraction scripts and are not available in ABBYY FlexiLayout Studio. |
ExtractWordsFromUserDictionary( userDictionaryName : string, languageName : string ) | Identifies words from a user dictionary in the document text, in any inflected form. Select the user dictionary on the Properties tab of the script rule. It is accessed by its name. The languageName parameter sets the language used to generate the inflected forms. |
ParseAddress() | Parses the text in a field or section into address components. |
ParseAddressInPosition( resultCollectionNamePrefix : string, startPos : int, endPos : int ) | Parses the text fragment between the specified start and end positions into address components. |
ParseAddressInSpan( resultCollectionNamePrefix : string, span : IInterval ) | Parses the text fragment within a specified interval into address components. |
PutSpanToField( startPos : int, endPos : int, fieldName : IField ) | Saves the text fragment for the specified span to a document field. |
PutTextToField( startPos : int, endPos : int, fieldName : IField ) | Saves the text fragment for the specified start and end positions to a document field. |
RunQuery( xmlQuery : string, queryName : string ) | Runs an XML query on the document text and identified text spans. Returns an IExtractedObjects collection of matching text spans. The queryName parameter names the query so you can retrieve its collection later. |
RunQueryAndSaveToField( xmlQuery : string, queryName : string, fieldName : string ) | Runs an XML query on the document text and identified text spans and saves the results to a document field. |
SaveSpanToField( span : IInterval, fieldName : string ) | Saves the text fragment for the specified span to a document field. Obsolete in FlexiCapture Release 3 Update 4 and later. Projects that use it in Release 3 Update 4 or later are sent to Exceptions. |
SaveTextToField( startPos : int, endPos : int, fieldName : string ) | Saves the text fragment for the specified start and end positions to a document field. Obsolete in FlexiCapture Release 3 Update 4 and later. Projects that use it in Release 3 Update 4 or later are sent to Exceptions. |
ExtractedObjects( collectionName : string, [optional] objectTypeName : VARIANT ) | Accesses a collection of identified objects by name. Returns an IExtractedObjects collection. NER objects identified as address components accept two forms. Either pass the resultCollectionNamePrefix used with a ParseAddress... method as collectionName, and set objectTypeName to the collection type such as NerStreet or NerCity. Or pass collectionName as [resultCollectionNamePrefix]_[objectTypeName] and omit objectTypeName. |
QueryResults( queryName : string ) | Accesses the result of an XML query by the query name. Returns an IExtractedObjects collection. |