|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectnet.trialpc.sticktools.model.AbstractModelBuilder<DocCollection<LocalContextDocument<SentenceModel>>>
net.trialpc.sticktools.model.LCDocumentBuilder
public class LCDocumentBuilder
フィールドの概要 |
---|
クラス net.trialpc.sticktools.model.AbstractModelBuilder から継承されたフィールド |
---|
DEFAULT_DELIMITER |
コンストラクタの概要 | |
---|---|
LCDocumentBuilder()
|
メソッドの概要 | |
---|---|
boolean |
add(java.lang.String docid,
SentenceModel sentence)
|
boolean |
add(java.lang.String docid,
java.lang.String sentid,
java.lang.String sentence)
文書 ID、文 ID、文を設定します。 |
DocCollection<LocalContextDocument<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 LCDocumentBuilder()
メソッドの詳細 |
---|
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
AbstractModelBuilder.setStemmer(Stemmer)
,
AbstractModelBuilder.setStopWord(StopWord)
,
AbstractModelBuilder.setDelimiter(String)
public DocCollection<LocalContextDocument<SentenceModel>> build()
ModelBuilder
の記述:null
を返すことはありませんが、実装によって異なります。
|
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |