Using Ranked Text Retrieval and Classification