|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.didion.jwnl.princeton.data.AbstractPrincetonFileDictionaryElementFactory
public abstract class AbstractPrincetonFileDictionaryElementFactory
FileDictionaryElementFactory
that parses lines from the dictionary files distributed by the
WordNet team at Princeton's Cognitive Science department.
Method Summary | |
---|---|
Exc |
createExc(POS pos,
java.lang.String line)
Create an Exc from a line in an exception file. |
IndexWord |
createIndexWord(POS pos,
java.lang.String line)
Creates an IndexWord from a line in an index file. |
Synset |
createSynset(POS pos,
java.lang.String line)
Creates a synset from a line in a data file. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.didion.jwnl.util.factory.Createable |
---|
create |
Method Detail |
---|
public IndexWord createIndexWord(POS pos, java.lang.String line)
FileDictionaryElementFactory
createIndexWord
in interface FileDictionaryElementFactory
pos
- - the part of speechline
- - unparsed line
public Synset createSynset(POS pos, java.lang.String line)
FileDictionaryElementFactory
createSynset
in interface FileDictionaryElementFactory
pos
- - the part of speechline
- - unparsed line
public Exc createExc(POS pos, java.lang.String line)
FileDictionaryElementFactory
createExc
in interface FileDictionaryElementFactory
pos
- - the part of speechline
- - unparsed line
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |