|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fido.linguistic.WordSeparation
This module breaks up the stream of characters from the client into the sentence into words. A word is defined as a group of non-whitespace characters. Punctuation characters are considered separate words.
After a word has been identified, all characters are converted to lower case.
Constructor Summary | |
WordSeparation()
Creates a new WordSeparation class. |
Method Summary | |
java.util.Vector |
parseSentence(java.lang.String str)
Converts a string of characters to a Vector of WordPackages. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WordSeparation()
Method Detail |
public java.util.Vector parseSentence(java.lang.String str)
str
- String of characters from the userWordPackage
|
Fido Alpha 3.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |