java project for analysing text