Permalink
Commits on Jan 28, 2016
  1. Merge pull request #32 from andrewpcone/example-require-patch

    correct require path
    committed Jan 28, 2016
  2. Merge pull request #35 from academia-edu/memory-efficiency

    Minor memory efficiency improvement for Ruby 2.1+
    committed Jan 28, 2016
Commits on Oct 15, 2015
  1. Minor memory efficiency improvement for Ruby 2.1+

    David Judd committed Oct 15, 2015
Commits on Mar 4, 2015
  1. @andrewpcone

    correct require path

    the example as currently written does not work in the latest gem; this fixes
    andrewpcone committed Mar 4, 2015
Commits on Jan 16, 2015
  1. Merge pull request #31 from daniels/optionally_extend_string

    Allow usage without extending String
    committed Jan 16, 2015
Commits on Jan 15, 2015
  1. @daniels
Commits on Oct 22, 2014
  1. Merge pull request #30 from boazadato/master

    only init WhatLanguage.@@data if empty
    committed Oct 22, 2014
  2. @boazadato

    bump version

    boazadato committed Oct 22, 2014
  3. @boazadato
Commits on Oct 21, 2014
  1. Merge pull request #29 from nicolasblanco/iso-codes

    Adds ISO codes and language_iso method
    committed Oct 21, 2014
  2. @nicolasblanco
Commits on Mar 14, 2014
  1. Merge pull request #26 from p-lambert/unicode-lowercase

    UTF8 strings lowercase conversion
    committed Mar 14, 2014
Commits on Mar 7, 2014
  1. @p-lambert
Commits on Mar 6, 2014
Commits on Feb 18, 2014
  1. Merge pull request #23 from johnjohndoe/patch-1

    Enable syntax highlighting for Ruby snippets.
    committed Feb 18, 2014
Commits on Feb 17, 2014
  1. @johnjohndoe
Commits on Nov 5, 2013
  1. Merge pull request #21 from preadly/show_languages

    Languages method
    committed Nov 5, 2013
  2. Merge pull request #20 from preadly/danish_language_added

    Added Danish
    committed Nov 5, 2013
  3. @lasseebert

    Languages method

    lasseebert committed Nov 5, 2013
Commits on Nov 4, 2013
  1. @lasseebert

    Added Danish

    lasseebert committed Nov 4, 2013
Commits on Oct 5, 2013
  1. Fixed test clash

    committed Oct 5, 2013
  2. Fixed test

    committed Oct 5, 2013
Commits on Oct 3, 2013
  1. Merge pull request #17 from salimane/pr_small_speedup

    speed up process_text a bit
    committed Oct 3, 2013
  2. @salimane

    speed up process text a bit

    salimane committed Sep 30, 2013
Commits on Sep 30, 2013
  1. Merge pull request #16 from platzhirsch/feature/language-selection

    Add language selection to narrow detection scope
    committed Sep 30, 2013
  2. @platzhirsch

    Change the default case from none to all languages

    It would be rather confusing, if the default constructor creates an
    object which cannot detect any languages because none are selected.
    Thus, the default case is changed from none to all languages.
    
    Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
    platzhirsch committed Sep 30, 2013
Commits on Sep 28, 2013
  1. @platzhirsch

    Extend README

    I have added the new configuration option to the README.
    
    Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
    platzhirsch committed Sep 28, 2013
  2. @platzhirsch

    Add unit tests to validate further configurations

    Just to make sure that different configurations play nicely along I have
    added further unit tests. If neither a known language, nor :all is used
    the detected language will be null.
    
    Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
    platzhirsch committed Sep 28, 2013
  3. @platzhirsch

    Add language selection to narrow detection scope

    So far all the language data was used when detecting the language of an
    input. If the corpus is large enough, this is definitely feasible. The
    input, however, is sometimes short consisting only of few words.
    
    To avoid false detections the constructor should be used to narrow the
    scope of possible languages. An instance variable @selection is used.
    
    In the method for processing the text this variable is used. Unless the
    symbol :all was passed, the intersection of all the possible languages
    and the selection is created.
    
    A simple unit test was added to test this behavior. In this case the
    input consists of three German articles. Without the language selection
    Russian is detected as language. With the language selection, German is
    detected.
    
    Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>
    platzhirsch committed Sep 28, 2013
  4. @salimane
  5. @salimane
Commits on Mar 7, 2013