JAVA based authorship attribution (No GUI)