public abstract class AbstractPrincetonDictionaryFile extends AbstractDictionaryFile
AbstractDictionaryFile
that uses file names compatible with Princeton's distribution of WordNet.
The associated filenames are: <index, data>.<noun, verb, adj, adv>, <noun, verb, adj, adv>.excdictionary, fileType, params, path, pos
Modifier | Constructor and Description |
---|---|
protected |
AbstractPrincetonDictionaryFile(Dictionary dictionary,
java.util.Map<java.lang.String,Param> params) |
protected |
AbstractPrincetonDictionaryFile(Dictionary dictionary,
java.lang.String path,
POS pos,
DictionaryFileType fileType,
java.util.Map<java.lang.String,Param> params) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFilename()
Returns a filename from the part-of-speech and the file type.
|
getDictionary, getFileType, getPOS, setDictionary
protected AbstractPrincetonDictionaryFile(Dictionary dictionary, java.util.Map<java.lang.String,Param> params)
protected AbstractPrincetonDictionaryFile(Dictionary dictionary, java.lang.String path, POS pos, DictionaryFileType fileType, java.util.Map<java.lang.String,Param> params)
public java.lang.String getFilename()
DictionaryFile