A simple part-of-speech (POS) tagger written in Java