|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FileDictionaryElementFactory
Factory class for creating DictionaryElement
s (Synset
s, ExceptionIndexWord
s). Using a factory class rather than individual parsing methods in each class
facilitates using multiple versions of WordNet, or using a proprietary data format.
Method Summary | |
---|---|
Exc |
createExc(POS pos,
String line)
Create an Exc from a line in an exception file. |
IndexWord |
createIndexWord(POS pos,
String line)
Creates an IndexWord from a line in an index file. |
Synset |
createSynset(POS pos,
String line)
Creates a synset from a line in a data file. |
Methods inherited from interface net.sf.extjwnl.util.factory.Owned |
---|
getDictionary, setDictionary |
Method Detail |
---|
Exc createExc(POS pos, String line) throws JWNLException
pos
- - the part of speechline
- - unparsed line
JWNLException
- JWNLExceptionSynset createSynset(POS pos, String line) throws JWNLException
pos
- - the part of speechline
- - unparsed line
JWNLException
- JWNLExceptionIndexWord createIndexWord(POS pos, String line) throws JWNLException
pos
- - the part of speechline
- - unparsed line
JWNLException
- JWNLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |