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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PrincetonWN16FileDictionaryElementFactory
public PrincetonWN16FileDictionaryElementFactory()
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 class AbstractPrincetonFileDictionaryElementFactory
- Returns:
Copyright © 2011. All Rights Reserved.