|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.princeton.wordnet.ejb.Word
public class Word
Word
| Field Summary | |
|---|---|
long |
theId
theId is the database id |
java.lang.String |
theLemma
theLemma is the string |
| Constructor Summary | |
|---|---|
Word(java.lang.String thisLemma,
long thisId)
Word |
|
Word(WordQueryCommand thisQuery)
Constructor |
|
| Method Summary | |
|---|---|
static java.util.Map<java.lang.Integer,java.util.Set<java.lang.Integer>> |
getLinkTypes(java.sql.Connection thisConnection,
java.lang.String thisWord)
Get category-link type map for a given word |
java.util.List<edu.princeton.wordnet.ejb.Synset> |
getSynsets(java.sql.Connection thisConnection)
Get synsets containing a given word |
java.util.List<edu.princeton.wordnet.ejb.Synset> |
getTypedSynsets(java.sql.Connection thisConnection,
int thisTargetType,
boolean categoryBased)
Get synsets containing a given word and of a given part-of-speech or category id |
static Word |
make(java.sql.Connection thisConnection,
java.lang.String thisLemma)
Make word |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String theLemma
theLemma is the string
public long theId
theId is the database id
| Constructor Detail |
|---|
public Word(java.lang.String thisLemma,
long thisId)
thisLemma - is the word stringthisId - is the database id
public Word(WordQueryCommand thisQuery)
throws java.sql.SQLException
thisQuery - is the database query
java.sql.SQLException| Method Detail |
|---|
public static Word make(java.sql.Connection thisConnection,
java.lang.String thisLemma)
thisConnection - is the database connectionthisLemma - is the target string
public java.util.List<edu.princeton.wordnet.ejb.Synset> getSynsets(java.sql.Connection thisConnection)
thisConnection - is the database connection
public java.util.List<edu.princeton.wordnet.ejb.Synset> getTypedSynsets(java.sql.Connection thisConnection,
int thisTargetType,
boolean categoryBased)
thisConnection - is the database connectionthisTargetType - is the target type to restrict search tocategoryBased - is whether the query is category based
public static java.util.Map<java.lang.Integer,java.util.Set<java.lang.Integer>> getLinkTypes(java.sql.Connection thisConnection,
java.lang.String thisWord)
thisConnection - is the database connectionthisWord - is the target word
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||