Sorry for unreadable code. My first experience posting on forum. There is 2 things i need to do which is:

(1) tokenize the word in jtaOpen and
(2)categorize each word into its specification (noun, verb, adjective or adverb).

The problem is when i want to categorize the words, i need to used WordNet. Since i'm using Malay words, there's no WordNet exist for Malay. What shall i do?