Java standalone application to classify research papers(pdf format) based on context