|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.trialpc.sticktools.model.AbstractModelBuilder<DocCollection<WrapDocument<SentenceModel>>>
net.trialpc.sticktools.model.TriLayerModelBuilder
public class TriLayerModelBuilder
文書集合、文書、文の 3 つの言語モデルを生成するビルダーです。
DocCollection
,
WrapDocument
,
SentenceModel
フィールドの概要 |
---|
クラス net.trialpc.sticktools.model.AbstractModelBuilder から継承されたフィールド |
---|
DEFAULT_DELIMITER |
コンストラクタの概要 | |
---|---|
TriLayerModelBuilder()
|
メソッドの概要 | |
---|---|
boolean |
add(java.lang.String docid,
SentenceModel sentence)
文書 ID と文モデルを設定します。 |
boolean |
add(java.lang.String docid,
java.lang.String sentid,
java.lang.String sentence)
文書 ID、文 ID、文を設定します。 |
DocCollection<WrapDocument<SentenceModel>> |
build()
文書モデルと文モデルを含む、文書集合モデルを生成します。 |
クラス net.trialpc.sticktools.model.AbstractModelBuilder から継承されたメソッド |
---|
getTexts, setDelimiter, setStemmer, setStopWord |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public TriLayerModelBuilder()
メソッドの詳細 |
---|
public boolean add(java.lang.String docid, java.lang.String sentid, java.lang.String sentence)
docid
- 文書 IDsentid
- 文 IDsentence
- 文
true
、追加できなかったときは false
AbstractModelBuilder.setStemmer(Stemmer)
,
AbstractModelBuilder.setStopWord(StopWord)
,
AbstractModelBuilder.setDelimiter(String)
public boolean add(java.lang.String docid, SentenceModel sentence)
docid
- 文書 IDsentence
- 文モデル
true
、追加できなかったときは false
AbstractModelBuilder.setStemmer(Stemmer)
,
AbstractModelBuilder.setStopWord(StopWord)
,
AbstractModelBuilder.setDelimiter(String)
public DocCollection<WrapDocument<SentenceModel>> build()
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |