public class SenFactory extends Object
Viterbi, StringTagger, and
ReadingProcessor objects| Modifier and Type | Field and Description |
|---|---|
static String |
unknownPOS |
| Modifier and Type | Method and Description |
|---|---|
static SenFactory |
getInstance(String dictionaryDir)
Get the singleton factory instance
|
static StringTagger |
getStringTagger(String dictionaryDir)
Creates a StringTagger from the given configuration
|
public static final String unknownPOS
public static SenFactory getInstance(String dictionaryDir)
dictionaryDir - a directory of dictinariespublic static StringTagger getStringTagger(String dictionaryDir)
dictionaryDir - a directory of dictionary