Skip to content

Instantly share code, notes, and snippets.

@manmohan24nov
Created January 20, 2021 12:11
Show Gist options
  • Select an option

  • Save manmohan24nov/67b568589d5654344b161a55b5a353cc to your computer and use it in GitHub Desktop.

Select an option

Save manmohan24nov/67b568589d5654344b161a55b5a353cc to your computer and use it in GitHub Desktop.
>>> from googletrans import Translator
>>> translator = Translator()
>>> translator.detect('이 문장은 한글로 쓰여졌습니다.')
<Detected lang=ko confidence=0.27041003>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment