RubyGems Navigation menu

whatlanguage 1.0.0

FEATURES/PROBLEMS: * Only does French, English and Spanish out of the box. Very easy to train new languages though. * It can be made far more efficient at the comparison stage, but all in good time..! It still beats literal dictionary approaches. * No filter selection yet, you get ‘em all loaded. * Tests are reasonably light. == SYNOPSIS: Full Example require ’whatlanguage’ texts = [] texts << %q{Deux autres personnes ont été arrêtées durant la nuit} texts << %q{The links between the attempted car bombings in Glasgow and London are becoming clearer} texts << %q{En estado de máxima alertaen su nivel de crítico} texts << %q{Returns the object in enum with the maximum value.} texts << %q{Propose des données au sujet de la langue espagnole.} texts << %q{La palabra "mezquita" se usa en español para referirse a todo tipo de edificios dedicados.} texts.each { |text| puts "#{text}… is in #{text.language.to_s.capitalize}" } Initialize WhatLanguage with all filters wl = WhatLanguage.new(:all)

Gemfile:
= In die Zwischenablage kopieren Kopiert!

installieren:
=

Versionen:

  1. 1.0.6 - January 28, 2016 (2,84 MB)
  2. 1.0.5 - October 05, 2013 (2,7 MB)
  3. 1.0.4 - March 07, 2013 (2,02 MB)
  4. 1.0.0 - August 21, 2008* (1,73 MB)

Development Abhängigkeiten (1):

hoe >= 1.7.0

Besitzer:

Autoren:

  • Peter Cooper

SHA 256-Prüfsumme:

3ea9c4ea034d72c30c30802acd422ac4c3077e889a4f09257e8005941e2f798c

Downloads insgesamt 2.374.891

Für diese Version 22.148

Lizenzen:

k.A.

Erforderliche Ruby-Version: None

Links: