Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

language detection python

# Install
# pip install langdetect

from langdetect import detect
result = detect("War doesn't show who's right, just who's left.")
print(result)

# Result:
'en'
 
PREVIOUS NEXT
Tagged: #language #detection #python
ADD COMMENT
Topic
Name
1+5 =