public class Word
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
Disjunct |
d
holds the disjunct of the word, eventually these get generated.
|
boolean |
firstupper
indicates that the first character is upper case
TODO - Remove English (Indo European) dependancy
|
boolean |
is_conjunction
is conjunction or not
|
java.lang.String |
string
this word as a String object
|
XNode |
x
a linked list of equivilent expressions also a sentence starts out with these
|
Constructor and Description |
---|
Word(java.lang.String s,
Dictionary dict)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
static XNode |
build_word_expressions(java.lang.String s,
Dictionary dict) |
public java.lang.String string
public XNode x
XNode
public Disjunct d
Disjunct
public boolean firstupper
public boolean is_conjunction
public Word(java.lang.String s, Dictionary dict)
s
- dict
- public static XNode build_word_expressions(java.lang.String s, Dictionary dict)