Thursday, January 5, 2017

Detect language using Python

http://ws-dl.blogspot.com/2016/03/2016-03-22-language-detection-where-to.html


Here is a short summary of the language detection methods I reviewed and a small description of all:

MethodAdvantageDisadvantage
HTML language header and HTML language tagcan state languagenot always found and sometimes affected by browser setting.
Guess-Languagefast, easy to useworks better on longer text.
Python-Language Detectorfast, easy to useworks better on longer text.
LangIDfast, gives you confidence scoreworks on both long and short text.
Google Language Detection APIgives you confidence score, works on both long and short textneeds creating an account and setting-up.

1 comment:

  1. This comment has been removed by a blog administrator.

    ReplyDelete