Machine Learning Techniques For Topic Detection And Authorship Attribution In Textual Data