uea-stemmer 0.9.10 → 0.9.11

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.10
1
+ 0.9.11
@@ -184,6 +184,7 @@ class UEAStemmer
184
184
  # added some additional rules to handle other vowels and consonants
185
185
  # (added by Jason M. Adams)
186
186
  @rules << EndingRule.new('oed', 1, 31.3)
187
+ @rules << EndingRule.new('does', 2, 31.2)
187
188
  @rules << EndingRule.new('oes', 1, 31.2)
188
189
  @rules << EndingRule.new('oked', 1, 31.1)
189
190
  @rules << EndingRule.new('aked', 1, 31.1)
@@ -58,6 +58,7 @@ class UeaStemmerTest < Test::Unit::TestCase
58
58
  assert_equal @stemmer.stem('witches'), 'witch'
59
59
  assert_equal @stemmer.stem('makes'), 'make'
60
60
  assert_equal @stemmer.stem('smokes'), 'smoke'
61
+ assert_equal @stemmer.stem('does'), 'do'
61
62
  end
62
63
 
63
64
  should "stem acronyms when pluralized otherwise they should be left alone" do
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{uea-stemmer}
8
- s.version = "0.9.10"
8
+ s.version = "0.9.11"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Marie-Claire Jenkins", "Dan J. Smith", "Richard Churchill", "Jason Adams"]
12
- s.date = %q{2009-09-30}
12
+ s.date = %q{2009-10-01}
13
13
  s.description = %q{Port of UEA-Lite Stemmer to Ruby, a conservative stemmer for search and indexing.}
14
14
  s.email = %q{jasonmadams@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uea-stemmer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.10
4
+ version: 0.9.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marie-Claire Jenkins
@@ -12,7 +12,7 @@ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
14
 
15
- date: 2009-09-30 00:00:00 -04:00
15
+ date: 2009-10-01 00:00:00 -04:00
16
16
  default_executable:
17
17
  dependencies: []
18
18