# -*- encoding: utf-8 -*- # stub: ealdent-uea-stemmer 0.9.0 ruby lib Gem::Specification.new do |s| s.name = "ealdent-uea-stemmer".freeze s.version = "0.9.0".freeze s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version= s.require_paths = ["lib".freeze] s.authors = ["Jason Adams".freeze] s.date = "2009-07-14" s.description = "Similar to other stemmers, UEA-Lite operates on a set of rules which are used as steps. There are two groups of rules: the first to clean the tokens, and the second to alter suffixes. The first group of rules first avoids a small list of six frequent problem words. An improvement to the stemmer would be to expand this list by adding other problem words which the second rule set cannot deal with. Second, possessive apostrophes are removed and contractions are expanded. All hyphens are removed and tokens containing digits are left untouched. Strings which are all upper case and digits are left untouched unless there is a lower case terminal 's' (i.e. transforming plural forms of acronyms to singular forms). Proper nouns should not usually be stemmed, except to remove possessives; our implementation will respect PoS tags if they are present. If the text is untagged the stemmer uses the simple heuristic that any capitalized token not preceded by sentence breaking punctuation is a proper noun. Many texts, particularly scientific papers, contain sequences of digits, single letters, and other non-word tokens. Our implementation ignores tokens containing digits, single-letter tokens, and tokens with embedded punctuation. The second group of rules contains 139 suffix rules, each testing for a specific type of suffix. The rules are set in a particular order so that the longest suffix applicable is used rather a shorter one which could lead to nonsense words and more words not stemmed entirely to their root form.".freeze s.email = "jasonmadams@gmail.com".freeze s.extra_rdoc_files = ["LICENSE".freeze, "README.rdoc".freeze] s.files = [".document".freeze, ".gitignore".freeze, "LICENSE".freeze, "README.rdoc".freeze, "Rakefile".freeze, "VERSION".freeze, "lib/rule.rb".freeze, "lib/string_extensions.rb".freeze, "lib/uea-stemmer.rb".freeze, "lib/word.rb".freeze, "test/test_helper.rb".freeze, "test/uea-stemmer_test.rb".freeze] s.homepage = "http://github.com/ealdent/uea-stemmer".freeze s.rdoc_options = ["--charset=UTF-8".freeze] s.rubygems_version = "3.5.10".freeze s.summary = "Ruby port of the UEALite Stemmer".freeze s.test_files = ["test/test_helper.rb".freeze, "test/uea-stemmer_test.rb".freeze] end