net.moraleboost.junsai.dictionary
クラス DictionaryCompiler

java.lang.Object
  上位を拡張 net.moraleboost.junsai.dictionary.DictionaryCompiler

public class DictionaryCompiler
extends java.lang.Object

辞書コンパイラ

作成者:
taketa

フィールドの概要
 ContextID cid
           
static java.lang.String DEFAULT_UNK_DEF
           
 java.util.List<net.moraleboost.junsai.dictionary.DictionaryCompiler.DictionaryEntry> dictionary
           
 java.nio.ByteBuffer featureBuffer
           
 int lexsize
           
 int lsize
           
 int offset
           
 POSIDGenerator posid
           
 DictionaryRewriter rewriter
           
 int rsize
           
 java.nio.ByteBuffer tokenBuffer
           
 java.nio.ByteBuffer trieBuffer
           
 
コンストラクタの概要
DictionaryCompiler()
           
 
メソッドの概要
 void clear()
           
 void compile(CompilerConfig config)
           
 
クラス 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