detectlanguage-ruby icon indicating copy to clipboard operation
detectlanguage-ruby copied to clipboard

Faulty detection of "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah-nagl fhtagn"

Open hkmaly opened this issue 11 months ago • 0 comments

I'm pretty sure this famous phrase from H. P. Lovecraft's The Call of Cthulhu is NOT Irish.

irb(main):006:0> DetectLanguage.detect("Ph'nglui mglw'nafh Cthulhu R'lyeh wgah-nagl fhtagn")
=> [{"language"=>"ga", "isReliable"=>true, "confidence"=>5.01}]

hkmaly avatar Aug 03 '23 03:08 hkmaly