All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.didion.jwnl.data.DatabaseDictionaryElementFactory Maven / Gradle / Ivy

Go to download

JWNL is an API for accessing WordNet in multiple formats, as well as relationship discovery and morphological processing.

There is a newer version: 1.4_rc3
Show newest version
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;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy