|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectISSearch.ISParser
This mandatory class must implement all functions prescribed by ISParserInterface
| Constructor Summary | |
ISParser()
Creates a new instance of ISParser |
|
| Method Summary | |
boolean |
isStopword(java.lang.String who)
Decides whether the given token is claimed as stopword or not. |
static void |
main(java.lang.String[] args)
|
ISDocumentInterface |
parse(java.io.Reader input)
Performs the input analysis. |
java.lang.String |
stem(java.lang.String who)
Applies the Porter stemming algorithm and returns the resulting word stem. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ISParser()
| Method Detail |
public boolean isStopword(java.lang.String who)
isStopword in interface ISParserInterfacewho - The String to be checked.
public ISDocumentInterface parse(java.io.Reader input)
parse in interface ISParserInterfaceinput - the input of the parser (e.g., text file or HTTP connection), represented by the Reader
public java.lang.String stem(java.lang.String who)
stem in interface ISParserInterfacewho - The word to be stemmed.
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||