A simple Name Entity Recognizer in Java