Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

Ted.

share|improve this question
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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .