ExtractRegularExpression( regularExpression : string, resultCollectionName : string ) | テキストスパンを特定するための正規表現を指定します。resultCollectionName パラメーターは、結果として得られるコレクションの名前を指定します。このコレクションは XML クエリで使用したり、その名前でアクセスしたりできます。 |
ExtractNerObjects() | Document のテキスト内の NER エンティティを特定します。特定後は、事前定義された名前 NerPerson、NerOrg、NerGeo、NerAddress、NerMoney、NerDate のコレクションを使用できます。NerMoney および NerDate オブジェクトは 抽出スクリプト でのみ使用でき、ABBYY FlexiLayout Studio では使用できません。 |
ExtractWordsFromUserDictionary( userDictionaryName : string, languageName : string ) | Document のテキスト内で、ユーザー辞書に登録されている単語を任意の活用形で特定します。スクリプトルールの プロパティ タブでユーザー辞書を選択します。ユーザー辞書には名前でアクセスします。languageName パラメーターでは、活用形の生成に使用する言語を設定します。 |
ParseAddress() | field またはセクション内のテキストを住所コンポーネントに解析します。 |
ParseAddressInPosition( resultCollectionNamePrefix : string, startPos : int, endPos : int ) | 指定した開始位置から終了位置までのテキストフラグメントを住所コンポーネントに解析します。 |
ParseAddressInSpan( resultCollectionNamePrefix : string, span : IInterval ) | 指定した区間内のテキストフラグメントを住所コンポーネントに解析します。 |
PutSpanToField( startPos : int, endPos : int, fieldName : IField ) | 指定したスパンのテキストフラグメントを Document field に保存します。 |
PutTextToField( startPos : int, endPos : int, fieldName : IField ) | 指定した開始位置から終了位置までのテキストフラグメントを Document field に保存します。 |
RunQuery( xmlQuery : string, queryName : string ) | Document のテキストおよび特定されたテキストスパンに対して XML クエリを実行します。一致したテキストスパンの IExtractedObjects コレクションを返します。queryName パラメーターでクエリ名を指定すると、後でそのコレクションを取得できます。 |
RunQueryAndSaveToField( xmlQuery : string, queryName : string, fieldName : string ) | Document のテキストおよび特定されたテキストスパンに対して XML クエリを実行し、結果を Document field に保存します。 |
SaveSpanToField( span : IInterval, fieldName : string ) | 指定したスパンのテキストフラグメントを Document field に保存します。FlexiCapture Release 3 Update 4 以降では廃止されています。Release 3 Update 4 以降でこのメソッドを使用するプロジェクトは Exceptions に送られます。 |
SaveTextToField( startPos : int, endPos : int, fieldName : string ) | 指定した開始位置から終了位置までのテキストフラグメントを Document field に保存します。FlexiCapture Release 3 Update 4 以降では廃止されています。Release 3 Update 4 以降でこのメソッドを使用するプロジェクトは Exceptions に送られます。 |
ExtractedObjects( collectionName : string, [optional] objectTypeName : VARIANT ) | 特定されたオブジェクトのコレクションに名前でアクセスします。IExtractedObjects コレクションを返します。住所コンポーネントとして特定された NER オブジェクトでは、2 つの形式を使用できます。ParseAddress... メソッドで使用した resultCollectionNamePrefix を collectionName として渡し、objectTypeName に NerStreet や NerCity などのコレクション型を設定します。あるいは、collectionName に [resultCollectionNamePrefix]_[objectTypeName] を渡して objectTypeName を省略します。 |
QueryResults( queryName : string ) | クエリ名を使用して XML クエリの結果にアクセスします。IExtractedObjects コレクションを返します。 |