from langdetect import detect detect("Hello world") 'nl'
from langdetect import detect
detect("Hello world")
'nl'