whatlanguage icon indicating copy to clipboard operation
whatlanguage copied to clipboard

A language detection library for Ruby that uses bloom filters for speed.

Results 12 whatlanguage issues
Sort by recently updated
recently updated
newest added

I try with "测试".language, it return with "french". Does whatlanguage support Chinese?

Instead Whatlanguage throws **undefined method `language' for "foo":String**: NoMethodError: undefined method `language' for "Deux autres personnes ont été arrêtées durant la nuit":String from (irb):26:in `block in irb_binding' from (irb):26:in `each'...

> require 'whatlanguage' > => true > "펀 치 히 어 로".language > => :spanish > "이 어떤 언어인가?".language > => :korean > "이 어떤 언어인가 히 어 로?".language >...

I'm trying to distinguish between a couple of European languages and Turkish/Arabic/Aramaic. Whatlanguage does a fair job of the European languages, but beyond that falls apart at the seams. ```...

(I'm not sure what it was meant to say before, so if I sort of disimproved things then please let me know. As it stands, though, the sentence is sure...

hi guys my sample: wl = WhatLanguage.new(:english, :farsi, :arabic) wl.language('سلام خوبی') => :farsi wl.language('سلام خوبی؟') => :arabic this is farsi/arabic words but not recognition farsi character wl.language('للللنننن') => nil and...

Your examples, as written fail in RoR. "Je suis un homme".language returns undefined method `language' wl.language("Je suis un homme") works fine and returns :french

When i try this "This is a test".language_iso # => :en i got this NoMethodError: undefined method `language_iso' for "This is a test":String

The example as currently written does not work in the latest version(1.0.6) of gem; This fixes Here is the sample code I ran on my machine: ``` ruby $ irb...