|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fido.grammar.Link
A Link represents the grammatical relationship between two words. The Grammar module combines words based on a language called Link Grammar. Link Grammar parses the the user input into parts of speech by combining symbolic letter combinations that represent parts of speech. When two words are combine, a link is formed. This class represents that link.
Grammar
Constructor Summary | |
Link(java.lang.String linkName,
WordSense leftWordSense,
WordSense rightWordSense)
Creates a new Link with the part of speech link name linkName. |
Method Summary | |
WordSense |
getLeftWordSense()
Returns the left WordSense of the link. |
java.lang.String |
getLinkName()
Returns the link name that this class represents. |
WordSense |
getRightWordSense()
Returns the right WordSense of the link. |
boolean |
isUsed()
Returns the value of the used flag for the link. |
void |
setUsed()
Sets the used flag to true for this link. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Link(java.lang.String linkName, WordSense leftWordSense, WordSense rightWordSense)
linkName
- name of the linkleftWordSense
- pointer to the left node of the linkrightWordSense
- pointer to the right node of the linkMethod Detail |
public java.lang.String getLinkName()
public WordSense getLeftWordSense()
public WordSense getRightWordSense()
public boolean isUsed()
SentenceComponents
public void setUsed()
isUsed()
|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |