Created
August 2, 2018 14:07
-
-
Save kushalchauhan98/4864139c0a681e7c249159ff35a6bf9f to your computer and use it in GitHub Desktop.
Detect Language
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from langdetect import detect | |
lang = detect(cleaned_email) # lang = 'en' for an English email |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment