パッケージ nlp4j.annotator

クラス KeywordSequencePatternAnnotator

    • コンストラクタの詳細

      • KeywordSequencePatternAnnotator

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

      • annotate

        public void annotate​(Document doc)
                      throws Exception
        インタフェースからコピーされた説明: DocumentAnnotator
        ドキュメントにアノテーションを付加します。
        Add an annotation to a document.
        定義:
        annotate インタフェース内 DocumentAnnotator
        パラメータ:
        doc - ドキュメント
        例外:
        Exception - 例外発生時
      • match

        public boolean match​(Keyword kwd,
                             com.google.gson.JsonObject jsonObj)
        Match
        正規表現に対応(1.3)
        パラメータ:
        kwd - キーワード
        jsonObj - JSONで指定した値
        戻り値:
        true if matched