Extend StringArrayTextTokenizer and realize these methods:
toWordArray(java.lang.CharSequence,
int, int): java.lang.String[]
toWordArray(CharSequence text):
java.lang.String[]
This example demonstrates the expected output for the sample input string.
“I am John Smith”
returns:
Word[0] = “I” Word[1] = “ ” Word[2] = “am” Word[3] = “ ”
Word[4] = “John” Word[5] = “ ” Word[6] = “Smith” Word[7] = “.”
For more information about the interface, see Javadocs available in: install_location\webapp\docs\api\index.html