0

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

I say Reinstate Monica
  • 25,487
  • 19
  • 95
  • 131
Flethuseo
  • 969
  • 1
  • 6
  • 16

2 Answers2

1

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.

1

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

Mortimer
  • 196
  • 1
  • 2
  • 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 01 '11 at 07:53