インタフェースの使用
nlp4j.Keyword
-
Keywordを使用しているパッケージ パッケージ 説明 nlp4j NLP4J のコアパッケージ
package for data classnlp4j.annotator NLP4J のAnnotatorパッケージ
package for Annotatornlp4j.counter nlp4j.impl 実装クラスのパッケージです。nlp4j.indexer キーワードインデックスのパッケージです。nlp4j.pattern Package for Keyword Pattern Matchingnlp4j.util ユーティリティクラスのパッケージです。 -
-
nlp4jでのKeywordの使用
nlp4jでのKeywordのサブインタフェース 修飾子とタイプ インタフェース 説明 interface
KeywordWithDependency
係り受けの依存関係をセットできるキーワードです。Keyword型の型パラメータを持つnlp4jのメソッド 修飾子とタイプ メソッド 説明 <T extends Keyword>
List<T>Document. getKeywords(Class<T> classOfT)
Keyword型の引数を持つ型を返すnlp4jのメソッド 修飾子とタイプ メソッド 説明 List<Keyword>
Document. getKeywords()
この文書のキーワードを返します。List<Keyword>
Document. getKeywords(String facet)
この文書のキーワードをファセットで指定して返します。List<Keyword>
NlpServiceResponse. getKeywords()
自然言語処理サービスが返したキーワードを返します。Keyword型のパラメータを持つnlp4jのメソッド 修飾子とタイプ メソッド 説明 void
Document. addKeyword(Keyword keyword)
キーワードを追加します。boolean
Keyword. match(Keyword rule)
Return match result of Keywordboolean
Document. removeKeyword(Keyword kwd)
キーワードを除去します。Keyword型の型引数を持つnlp4jのメソッド・パラメータ 修飾子とタイプ メソッド 説明 void
Document. addKeywords(List<Keyword> kwds)
複数キーワードを追加します。void
Document. setKeywords(List<Keyword> keywords)
この文書のキーワードをセットします。 -
nlp4j.annotatorでのKeywordの使用
Keyword型のパラメータを持つnlp4j.annotatorのメソッド 修飾子とタイプ メソッド 説明 boolean
KeywordSequencePatternAnnotator. match(Keyword kwd, com.google.gson.JsonObject jsonObj)
Match
正規表現に対応(1.3) -
nlp4j.counterでのKeywordの使用
Keyword型の引数を持つ型を返すnlp4j.counterのメソッド 修飾子とタイプ メソッド 説明 List<Count<Keyword>>
DocumentCounter. getCountKeywordSorted()
List<Count<Keyword>>
DocumentCounter. getCountKeywordSortedDF()
Keyword型のパラメータを持つnlp4j.counterのメソッド 修飾子とタイプ メソッド 説明 int
DocumentCounter. getDF(Keyword kwd)
double
DocumentCounter. getIDF(Keyword kw)
-
nlp4j.implでのKeywordの使用
Keywordを実装しているnlp4j.implのクラス 修飾子とタイプ クラス 説明 class
DefaultKeyword
ドキュメントのキーワードとなるクラスです。class
DefaultKeywordWithDependency
係り受けの関係を持つキーワードのクラスです。Keywordとして宣言されているnlp4j.implのフィールド 修飾子とタイプ フィールド 説明 protected Keyword
DefaultKeyword. hitKeyword
Keyword型の型パラメータを持つnlp4j.implのメソッド 修飾子とタイプ メソッド 説明 <T extends Keyword>
List<T>DefaultDocument. getKeywords(Class<T> classOfT)
Keyword型の引数を持つ型を返すnlp4j.implのメソッド 修飾子とタイプ メソッド 説明 List<Keyword>
DefaultDocument. getKeywords()
List<Keyword>
DefaultDocument. getKeywords(String facet)
ArrayList<Keyword>
DefaultNlpServiceResponse. getKeywords()
Keyword型のパラメータを持つnlp4j.implのメソッド 修飾子とタイプ メソッド 説明 void
DefaultDocument. addKeyword(Keyword keyword)
boolean
DefaultKeyword. match(Keyword rule)
boolean
DefaultDocument. removeKeyword(Keyword kwd)
Keyword型の型引数を持つnlp4j.implのメソッド・パラメータ 修飾子とタイプ メソッド 説明 void
DefaultDocument. addKeywords(List<Keyword> kwds)
void
DefaultDocument. setKeywords(List<Keyword> keywords)
void
DefaultNlpServiceResponse. setKeywords(ArrayList<Keyword> keywords)
-
nlp4j.indexerでのKeywordの使用
Keyword型の引数を持つ型を返すnlp4j.indexerのメソッド 修飾子とタイプ メソッド 説明 List<Keyword>
SimpleDocumentIndex. getDateCount(String unit)
List<Keyword>
SimpleDocumentIndex. getDateCountDay()
List<Keyword>
SimpleDocumentIndex. getDateCountMonth()
List<Keyword>
SimpleDocumentIndex. getDateCountYear()
List<Keyword>
SimpleDocumentIndex. getItemCount(String facet)
List<Keyword>
AbstractDocumentIndexer. getKeywords()
List<Keyword>
AbstractDocumentIndexer. getKeywords(String facet)
List<Keyword>
AbstractDocumentIndexer. getKeywords(String facet, String condition)
List<Keyword>
DocumentIndexer. getKeywords()
インデックスのキーワードを返します。List<Keyword>
DocumentIndexer. getKeywords(String facet)
ファセットを指定してインデックスのキーワードを返します。List<Keyword>
DocumentIndexer. getKeywords(String facet, String condition)
ファセットと条件を指定してインデックスのキーワードを返します。List<Keyword>
SimpleDocumentIndex. getKeywords()
List<Keyword>
SimpleDocumentIndex. getKeywords(String facet)
List<Keyword>
SimpleDocumentIndex. getKeywords(String facet, String condition)
List<Keyword>
SimpleDocumentIndex. getKeywordsWithoutCount()
カウント無しキーワードのリストを返します。 -
nlp4j.patternでのKeywordの使用
Keywordを実装しているnlp4j.patternのクラス 修飾子とタイプ クラス 説明 class
KeywordRule
Keywordを返すnlp4j.patternのメソッド 修飾子とタイプ メソッド 説明 Keyword
KeywordRule. getHitKeyword()
Keyword
Pattern. getKeyword(String id)
Keyword型の引数を持つ型を返すnlp4j.patternのメソッド 修飾子とタイプ メソッド 説明 static List<Keyword>
PatternMatcher. match(KeywordWithDependency targetKeyword, Pattern rulePattern)
Keyword型のパラメータを持つnlp4j.patternのメソッド 修飾子とタイプ メソッド 説明 boolean
KeywordRule. match(Keyword target)
-
nlp4j.utilでのKeywordの使用
Keyword型の型パラメータを持つnlp4j.utilのクラス 修飾子とタイプ クラス 説明 static class
KeywordUtil.Builder<T extends Keyword>
Keyword型の型パラメータを持つnlp4j.utilのメソッド 修飾子とタイプ メソッド 説明 <T extends Keyword>
TKeywordUtil.Builder. build()
static <T extends Keyword>
List<T>KeywordUtil. fromXml(String xml, Class<T> classofT)
TODO: implement MethodKeyword型の引数を持つ型を返すnlp4j.utilのメソッド 修飾子とタイプ メソッド 説明 static List<Keyword>
KeywordUtil. toKeywordList(KeywordWithDependency kw)
Convert KeywordWithDependency to List of KeywordKeyword型のパラメータを持つnlp4j.utilのメソッド 修飾子とタイプ メソッド 説明 static com.google.gson.JsonObject
DocumentUtil. toJsonObject(Keyword kwd)
static String
DocumentUtil. toJsonString(Keyword kwd)
static String
DocumentUtil. toXml(Keyword kwd)
Convert to XMLstatic String
DocumentUtil. toXmlAttributes(Keyword kwd)
Convert to XMLKeyword型の型引数を持つnlp4j.utilのメソッド・パラメータ 修飾子とタイプ メソッド 説明 static String
KeywordUtil. toLexString(List<Keyword> kwds)
-