|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.site.elkb.Morphy
public class Morphy
Performs morphological transformations using the same rules as WordNet.
The following suffix substitutions are done for:
Field Summary | |
---|---|
static java.lang.String |
ADJ_EXC
Location of the adj.exc file. |
static java.lang.String |
ADV_EXC
Location of the adv.exc file. |
static java.lang.String |
ELKB_PATH
Location of the ELKB data directory. |
static java.lang.String |
NOUN_EXC
Location of the noun.exc file. |
static java.lang.String |
USER_HOME
Location of user's Home directory. |
static java.lang.String |
VERB_EXC
Location of the verb.exc file. |
Constructor Summary | |
---|---|
Morphy()
Default constructor. |
Method Summary | |
---|---|
java.util.HashSet<java.lang.String> |
getBaseForm(java.lang.String words)
Reruns all the base forms for a given word. |
static void |
main(java.lang.String[] args)
Allows the Morphy class to be used via the command line. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String USER_HOME
public static final java.lang.String ELKB_PATH
public static final java.lang.String NOUN_EXC
public static final java.lang.String VERB_EXC
public static final java.lang.String ADJ_EXC
public static final java.lang.String ADV_EXC
Constructor Detail |
---|
public Morphy()
Method Detail |
---|
public static void main(java.lang.String[] args)
Usage: java Morphy
args
- public java.util.HashSet<java.lang.String> getBaseForm(java.lang.String words)
words
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |