A java based automatic text summarization