A Comparison of Stylometric and Lexical Features for Web Genre Classification and Emotion Classification in Blogs