パッケージ nlp4j

クラス DocumentBuilder


  • public class DocumentBuilder
    extends Object
     created_at 2021-11-16
     
    導入されたバージョン:
    1.3.2
    作成者:
    Hiroki Oya
    • コンストラクタの詳細

      • DocumentBuilder

        public DocumentBuilder()
        Document Builder of NLP4J
      • DocumentBuilder

        public DocumentBuilder​(Class<? extends Document> classOfT)
        Document Builder of NLP4J
        パラメータ:
        classOfT - target class of Created Document
    • メソッドの詳細

      • put

        public DocumentBuilder put​(String key,
                                   Date date)
        put value on the document.
        パラメータ:
        key - of doc
        date - value
        戻り値:
        Builder
      • put

        public DocumentBuilder put​(String key,
                                   Number number)
        put value on the document.
        パラメータ:
        key - of doc
        number - value
        戻り値:
        Builder
      • put

        public DocumentBuilder put​(String key,
                                   Object obj)
        put value on the document.
        パラメータ:
        key - of doc
        obj - value
        戻り値:
        Builder
      • put

        public DocumentBuilder put​(String key,
                                   String s)
        put value on the document.
        パラメータ:
        key - of doc
        s - value
        戻り値:
        Builder
      • v

        public DocumentBuilder v​(String key,
                                 Date date)
         put value on the document.
         "v" is short name of "put".
         
        パラメータ:
        key - of doc
        date - value
        戻り値:
        Builder
      • v

        public DocumentBuilder v​(String key,
                                 Number number)
         put value on the document.
         "v" is short name of "put".
         
        パラメータ:
        key - of doc
        number - value
        戻り値:
        Builder
      • v

        public DocumentBuilder v​(String key,
                                 Object obj)
         put value on the document.
         "v" is short name of "put".
         
        パラメータ:
        key - of doc
        obj - value
        戻り値:
        Builder
      • v

        public DocumentBuilder v​(String key,
                                 String s)
         put value on the document.
         "v" is short name of "put".
         
        パラメータ:
        key - of doc
        s - value
        戻り値:
        Builder
      • kw

        public DocumentBuilder kw​(String facet,
                                  String lex)
        パラメータ:
        facet - of keyword
        lex - of keyword
        戻り値:
        this
        導入されたバージョン:
        1.3.4.0.20200203
      • create

        public Document create()
        戻り値:
        Created Document
      • c

        public Document c()
        "c" is short name of "create"
        戻り値:
        Created Document