Skip to content

Instantly share code, notes, and snippets.

@Davisy
Last active January 9, 2021 07:29
Show Gist options
  • Save Davisy/98bb8cadc8a5dcd22f2a7d63c6195e96 to your computer and use it in GitHub Desktop.
Save Davisy/98bb8cadc8a5dcd22f2a7d63c6195e96 to your computer and use it in GitHub Desktop.
from langdetect import detect
sentence = "Tanzania ni nchi inayoongoza kwa utalii barani afrika"
print(detect(sentence))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment