added NLTK language detection