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