|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.princeton.wordnet.ejb.VnSynset
public class VnSynset
Synset extended to hold VerbNet specific data
Field Summary | |
---|---|
int |
theCategoryId
theCategoryId is the synset's category |
java.lang.String |
theDefinition
theDefinition is the synset's definition |
boolean |
theFlag
theFlag is a selection flag used by some queries |
java.lang.String |
theSample
theSample is a string concatenating the synset's samples |
long |
theSynsetId
theSynsetId is the synset's id in the database |
Method Summary | |
---|---|
java.lang.String |
getCategoryName()
Get the synset's category name |
java.util.List<edu.princeton.wordnet.ejb.Link> |
getLinks(java.sql.Connection thisConnection,
long thisWordId)
Get synsets linked to the synset |
java.lang.String |
getPosName()
Get the synset's part-of-speech |
java.util.List<Word> |
getSynsetWords(java.sql.Connection thisConnection)
Get words in the synset as a list |
java.lang.String |
getSynsetWordsAsString(java.sql.Connection thisConnection)
Get words in the synset as a string |
java.util.List<edu.princeton.wordnet.ejb.Link> |
getTypedLinks(java.sql.Connection thisConnection,
long thisWordId,
int thisLinkType)
Get synsets linked to the synset through a given relation type |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public boolean theFlag
theFlag
is a selection flag used by some queries
public long theSynsetId
theSynsetId
is the synset's id in the database
public java.lang.String theDefinition
theDefinition
is the synset's definition
public int theCategoryId
theCategoryId
is the synset's category
public java.lang.String theSample
theSample
is a string concatenating the synset's samples
Method Detail |
---|
public java.util.List<Word> getSynsetWords(java.sql.Connection thisConnection)
thisConnection
- is the connection to the database
public java.lang.String getSynsetWordsAsString(java.sql.Connection thisConnection)
thisConnection
- is the connection to the database
public java.lang.String getPosName()
public java.lang.String getCategoryName()
public java.util.List<edu.princeton.wordnet.ejb.Link> getLinks(java.sql.Connection thisConnection, long thisWordId)
thisConnection
- is the database connectionthisWordId
- is the word id (for lexical links)
public java.util.List<edu.princeton.wordnet.ejb.Link> getTypedLinks(java.sql.Connection thisConnection, long thisWordId, int thisLinkType)
thisConnection
- is the database connectionthisWordId
- is the word id (for lexical links)thisLinkType
- is the link type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |