Package net.didion.jwnl.princeton.data
Class PrincetonWN16FileDictionaryElementFactory
- java.lang.Object
-
- net.didion.jwnl.princeton.data.AbstractPrincetonFileDictionaryElementFactory
-
- net.didion.jwnl.princeton.data.PrincetonWN16FileDictionaryElementFactory
-
- All Implemented Interfaces:
FileDictionaryElementFactory
,Createable
public class PrincetonWN16FileDictionaryElementFactory extends AbstractPrincetonFileDictionaryElementFactory
FileDictionaryElementFactory
that produces elements for Princeton's release of WordNet v 1.6
-
-
Constructor Summary
Constructors Constructor Description PrincetonWN16FileDictionaryElementFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
create(Map params)
protected Word
createWord(Synset synset, int index, String lemma)
Creates a word, also access the sense.idx file.-
Methods inherited from class net.didion.jwnl.princeton.data.AbstractPrincetonFileDictionaryElementFactory
createExc, createIndexWord, createSynset
-
-
-
-
Method Detail
-
create
public Object create(Map params) throws JWNLException
- Throws:
JWNLException
-
createWord
protected Word createWord(Synset synset, int index, String lemma)
Description copied from class:AbstractPrincetonFileDictionaryElementFactory
Creates a word, also access the sense.idx file.- Overrides:
createWord
in classAbstractPrincetonFileDictionaryElementFactory
- Returns:
-
-