net.didion.jwnl.data.DatabaseDictionaryElementFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jwnl Show documentation
Show all versions of jwnl Show documentation
JWNL is an API for accessing WordNet in multiple formats, as well as relationship discovery and morphological processing.
package net.didion.jwnl.data;
import net.didion.jwnl.util.factory.Createable;
import java.sql.ResultSet;
import java.sql.SQLException;
public interface DatabaseDictionaryElementFactory extends Createable {
/** Create an IndexWord from a row in the database. */
public IndexWord createIndexWord(POS pos, String lemma, ResultSet rs) throws SQLException;
/** Create a Synset from a row in the database. */
public Synset createSynset(
POS pos, long offset, ResultSet synset, ResultSet words, ResultSet pointers, ResultSet verbFrames)
throws SQLException;
/** Create an Exc from a row in the database. */
public Exc createExc(POS pos, String derivation, ResultSet rs) throws SQLException;
}