Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a tool that can detect the language of a text of lets say several paragraphs?

Ted.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

there are many tools around to do this, the first one thatI can think of is Google's own: http://code.google.com/apis/ajax/playground/#language_detect

Hope it helps

share|improve this answer
    
Thanks MOrtimer –  Flethuseo Mar 26 '11 at 21:49
    
The language_detect tool by google seems promising, I have to do this for more than one text. I see some code there but I don't know whether I can run it on my machine. –  Flethuseo Mar 26 '11 at 21:56
    
google API probably has limits on the amount of queries you can send, so you might need to use one of the other libraries to do it I guess. –  Mortimer Apr 1 '11 at 7:53

The file tool has a bunch of heuristics for guessing file types, including one that reports "English text". I don't know if it knows about other human languages, but it definitely could be upgraded to guess between them.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.