public class PrincetonWN30DatabaseDictionaryElementFactory extends AbstractPrincetonDatabaseDictionaryElementFactory
Constructor and Description |
---|
PrincetonWN30DatabaseDictionaryElementFactory()
Initialize the factory.
|
Modifier and Type | Method and Description |
---|---|
Object |
create(Map params)
Creates a blank factory, takes no parameters.
|
Synset |
createSynset(POS pos,
long offset,
ResultSet synset,
ResultSet words,
ResultSet pointers,
ResultSet verbFrames)
Create a synset.
|
createExc, createIndexWord
public PrincetonWN30DatabaseDictionaryElementFactory()
public Object create(Map params) throws JWNLException
JWNLException
public Synset createSynset(POS pos, long offset, ResultSet synset, ResultSet words, ResultSet pointers, ResultSet verbFrames) throws SQLException
createSynset
in interface DatabaseDictionaryElementFactory
createSynset
in class AbstractPrincetonDatabaseDictionaryElementFactory
pos
- - the part of speechoffset
- - the file offsetsynset
- - the result setwords
- - the words composing the synsetpointers
- - the pointersverbFrames
- - the verbFramesSQLException