|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgate.creole.morph.Interpret
public class Interpret
Title: Interpret.java
Description: This is the main class which which should be invoked to load the rule file in the system and then to execute the program to find the root word and the affix to it.
Constructor Summary | |
---|---|
Interpret()
Constructor |
Method Summary | |
---|---|
String |
getAffix()
This method tells what was the affix to the provided word |
void |
init(URL ruleFileURL)
It starts the actual program |
static void |
main(String[] args)
Main method |
String |
runMorpher(String word,
String category)
Once all the rules have been loaded in the system, now its time to start the morpher, which will find out the base word rule |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Interpret()
Method Detail |
---|
public void init(URL ruleFileURL) throws ResourceInstantiationException
ruleFileName
-
ResourceInstantiationException
public String runMorpher(String word, String category)
word
- input to the program
public static void main(String[] args) throws ResourceInstantiationException
args
-
ResourceInstantiationException
public String getAffix()
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |