パッケージ nlp4j.annotator

クラス NumeralAnnotator

  • すべての実装されたインタフェース:
    DocumentAnnotator, KeywordAnnotator

    public class NumeralAnnotator
    extends AbstractDocumentAnnotator
    implements DocumentAnnotator, KeywordAnnotator
    Annotator for Numeral (数詞)
    名詞のファセットキーワードのうち、数字のみのキーワードのファセットを数詞とする
    例:
    {lex:"103",facet:"名詞"}→{lex:"103",facet:"数詞"}
    導入されたバージョン:
    1.1
    作成者:
    Hiroki Oya
    • コンストラクタの詳細

      • NumeralAnnotator

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

      • annotate

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