Skip to content
Newer
Older
100644 21 lines (15 sloc) 771 Bytes
da47dc1 @crodas First commit
authored May 10, 2009
1 Language detector
2 ==============================
3
8c0f34f @crodas Read improvements
authored May 10, 2009
4 This is just another implementation of the language detector using n-grams. I
5 also wrote a [PHP Native version](http://github.com/crodas/phplibtextcat/) (in
6 fact just a wrapper to an existed library).
7
8 Webservice
9 -----------------
10 I created a webservice hosted on the Google AppEngine in a free account, you
11 might use it however you wish. The app. itself is pretty easy to use, in fact
12 it is just an URL with a `text` parameter via GET.
13
14 http://textlang.appspot.com/service?text=TEXT_TO_CAT
15
16 The application returns an JSON object with the language(s) that it detected.
17 In case of error it will return an error attribute.
18
19 In other to get better results, you might send text with a length between 50
20 and 2000 letters.
Something went wrong with that request. Please try again.