net.moraleboost.junsai.dictionary
クラス DictionaryCompiler
java.lang.Object
net.moraleboost.junsai.dictionary.DictionaryCompiler
public class DictionaryCompiler
- extends java.lang.Object
辞書コンパイラ
- 作成者:
- taketa
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_UNK_DEF
public static final java.lang.String DEFAULT_UNK_DEF
- 関連項目:
- 定数フィールド値
posid
public POSIDGenerator posid
rewriter
public DictionaryRewriter rewriter
cid
public ContextID cid
lsize
public int lsize
rsize
public int rsize
lexsize
public int lexsize
dictionary
public java.util.List<net.moraleboost.junsai.dictionary.DictionaryCompiler.DictionaryEntry> dictionary
offset
public int offset
featureBuffer
public java.nio.ByteBuffer featureBuffer
tokenBuffer
public java.nio.ByteBuffer tokenBuffer
trieBuffer
public java.nio.ByteBuffer trieBuffer
DictionaryCompiler
public DictionaryCompiler()
clear
public void clear()
compile
public void compile(CompilerConfig config)
throws DictionaryException,
java.io.IOException
- 例外:
DictionaryException
java.io.IOException