Java Structured Text Document Classifier