Skip to content
ruby language detection library using n-gram
Latest commit 8910279 Jul 5, 2011 @feedbackmine Merge pull request #1 from rubydev/master
Ruby >= 1.9 doesn't have jcode
Failed to load latest commit information.
lib Fix previous commit with ruby 1.9 problem Jul 5, 2011
test Moved the Profile class in the LanguageDetector namespace, to avoid n… Aug 18, 2009
Manifest.txt make it a gem Mar 12, 2009
language_detector.gemspec 0.1.2 Aug 17, 2009


== Welcome
This is a n-gram based language detector, written in ruby. 

For technical details about language detection, I recommend this paper:

== Installation
sudo gem sources -a (you only have to do this once)
sudo gem install feedbackmine-language_detector

== Usage
require 'language_detector'
d =
p d.detect('this text is in English')

== Thanks
Kevin Burton ( ). I used all the training data in his ngramcat project.

== Follow us on twitter
Something went wrong with that request. Please try again.