net.didion.jwnl.princeton.data
Class PrincetonWN16FileDictionaryElementFactory

java.lang.Object
  extended by net.didion.jwnl.princeton.data.AbstractPrincetonFileDictionaryElementFactory
      extended by 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
PrincetonWN16FileDictionaryElementFactory()
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrincetonWN16FileDictionaryElementFactory

public PrincetonWN16FileDictionaryElementFactory()
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 class AbstractPrincetonFileDictionaryElementFactory
Returns:


Copyright © 2011. All Rights Reserved.