Created
February 2, 2023 14:16
-
-
Save zidniryi/c4ec037b195e4fbbd23a1fdaee090f47 to your computer and use it in GitHub Desktop.
detect_lang.py
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
# Uncoment this if you already install | |
# !pip install langdetect | |
from langdetect import detect | |
text = input("Enter any text in any language: ") | |
print(detect(text)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment