パッケージ nlp4j

クラス AbstractDocumentAnnotator

    • コンストラクタの詳細

      • AbstractDocumentAnnotator

        public AbstractDocumentAnnotator()
    • メソッドの詳細

      • 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 - 例外発生時