|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileDictionaryElementFactory
Factory class for creating DictionaryElements (Synsets, ExceptionIndexWords). Using a factory class rather than individual parsing methods in each class
facilitates using multiple versions of WordNet, or using a propritary data format.
| 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 interface net.didion.jwnl.util.factory.Createable |
|---|
create |
| Method Detail |
|---|
Exc createExc(POS pos,
java.lang.String line)
pos - - the part of speechline - - unparsed line
Synset createSynset(POS pos,
java.lang.String line)
pos - - the part of speechline - - unparsed line
IndexWord createIndexWord(POS pos,
java.lang.String line)
pos - - the part of speechline - - unparsed line
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||