Detect language of text
Posted
by Nikhil
on Stack Overflow
See other posts from Stack Overflow
or by Nikhil
Published on 2009-09-23T07:00:37Z
Indexed on
2010/04/14
13:33 UTC
Read the original article
Hit count: 435
Is there any C# library which can detect the language of a particular piece of text? i.e. for an input text "This is a sentence"
, it should detect the language as "English"
. Or for "Esto es una sentencia"
it should detect the language as "Spanish"
.
I understand that language detection from text is not a deterministic problem. But both Google Translate and Bing Translator have an "Auto detect" option, which best-guesses the input language. Is there something similar available publicly, preferably in C#?
© Stack Overflow or respective owner