Changes
Jump to navigation
Jump to search
← Older edit
Translate
(edit)
Revision as of 11:07, 20 May 2019
1 byte removed
,
11:07, 20 May 2019
m
→Langdetect
Line 10:
Line 10:
==Language detection==
==Language detection==
−
=== googletrans ===
+
===googletrans===
<syntaxhighlight lang="python3">
<syntaxhighlight lang="python3">
from googletrans import Translator
from googletrans import Translator
Line 18:
Line 18:
===Langdetect===
===Langdetect===
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
−
pip install
landetect
+
pip install
langdetect
</syntaxhighlight><syntaxhighlight lang="python3">
</syntaxhighlight><syntaxhighlight lang="python3">
from langdetect import detect
from langdetect import detect
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version