パッケージ nlp4j
クラス AbstractDocumentAnnotator
- java.lang.Object
-
- nlp4j.AbstractDocumentAnnotator
-
- すべての実装されたインタフェース:
DocumentAnnotator
- 直系の既知のサブクラス:
AttributeCopyAnnotator
,AttributeFilterAnnotator
,AttributeNameConverter
,AttributeRemoveAnnotator
,AttributeReplaceAllAnnotator
,AttributeTypeConverter
,CompoundAnnotator
,DateAttributeConvertAnnotator
,DateDiffAnnotator
,DebugAnnotator
,DefaultDocumentAnnotator
,DefaultDocumentAnnotatorPipeline
,EmojiAnnotator
,EmptyAnnotator
,KeywordFacetFilteringAnnotator
,KeywordFacetMappingAnnotator
,KeywordFixAnnotator
,KeywordSequencePatternAnnotator
,LexTextAnnotator
,Nokku34Annotator
,NumeralAnnotator
,ParseIntAnnotator
,StandardPatternAnnotatorJa
,UserPatternAnnotator
,ValueNormalizeAnnotator
,WakachiAnnotator
public abstract class AbstractDocumentAnnotator extends Object implements DocumentAnnotator
ドキュメントアノテーターの抽象クラス。
Abstract Class of Document Annotator.- 導入されたバージョン:
- 1.0
- 作成者:
- Hiroki Oya
-
-
フィールドの概要
フィールド 修飾子とタイプ フィールド 説明 protected Properties
prop
protected ArrayList<String>
targets
-
コンストラクタの概要
コンストラクタ コンストラクタ 説明 AbstractDocumentAnnotator()
-
メソッドの概要
すべてのメソッド インスタンス・メソッド concreteメソッド 修飾子とタイプ メソッド 説明 void
annotate(List<Document> docs)
複数のドキュメントにアノテーションを付加します。void
setProperties(Properties prop)
プロパティをセットします。void
setProperty(String key, String value)
プロパティをセットします。-
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
インタフェースから継承されたメソッド nlp4j.DocumentAnnotator
annotate
-
-
-
-
フィールドの詳細
-
prop
protected Properties prop
-
-
メソッドの詳細
-
setProperties
public void setProperties(Properties prop)
プロパティをセットします。
Set Property- 定義:
setProperties
インタフェース内DocumentAnnotator
- パラメータ:
prop
- プロパティ- 導入されたバージョン:
- 1.1.1
-
setProperty
public void setProperty(String key, String value)
プロパティをセットします。
Set Property- 定義:
setProperty
インタフェース内DocumentAnnotator
- パラメータ:
key
- キーvalue
- 値- 導入されたバージョン:
- 1.1.1
-
annotate
public void annotate(List<Document> docs) throws Exception
インタフェースからコピーされた説明:DocumentAnnotator
複数のドキュメントにアノテーションを付加します。
Add an annotation to documents.- 定義:
annotate
インタフェース内DocumentAnnotator
- パラメータ:
docs
- ドキュメント- 例外:
Exception
- 例外発生時
-
-