Considering word_separator value in settings for word and punctuation added classify method to api.txt