verbs 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e723eb9d358a2b674c497f70192e6172ba18d20fa472e588e38adcbf9f318a54
4
- data.tar.gz: 8f88abec47d56529a4ec23c1b45b58d940fc1b7c6b6ceaf3f86d46b75c3591a8
3
+ metadata.gz: f7d060fcddc1f3a978a40c2ba8344f62ae928a2c46137daf290fe1cd25fcfdfc
4
+ data.tar.gz: 48ebe6fae0da313a7ade88c1df2160e0904a3b9a39a1f6d10a03edd6c10e298c
5
5
  SHA512:
6
- metadata.gz: 708d985dffabeee18e46906f1e976dc988a92c85e12db77a04f0319b0f73f8e25c03d884fee19393b4909160c8a631abc12dfcdbef80c739217e67cfb1becf5c
7
- data.tar.gz: 64cab548cb88b306788ac88f05ee26628cbd60c72d7b7a9987b54ab988b03ca24782fb84870917ee06c6790abefea4a1029e6fdb8f0710a9f27dd2a9f9b464d9
6
+ metadata.gz: df3db8d8dbf8024193e77a5e158d76e56283737c2bf3bc24c349c4ea234eb8bc9c19d9f61a54c3564026a9c722ef157687c4765955c26740fb9372ee1cfb1a16
7
+ data.tar.gz: 999cd6dfa1cfba56b845974c5ff40ce26ae08eb4a8941a44957af07eab00b67709c486487c84590f149c9bcb9e2f6b8867ec2e7ab0fec7238699f326f207debb
@@ -16,14 +16,18 @@ on:
16
16
  jobs:
17
17
  test:
18
18
  runs-on: ubuntu-latest
19
-
19
+ strategy:
20
+ matrix:
21
+ ruby: ['2.4', '2.5', '2.6', '2.7']
22
+ name: Run tests on Ruby ${{ matrix.ruby }}
20
23
  steps:
21
- - uses: actions/checkout@v2
22
- - name: Set up Ruby
23
- uses: ruby/setup-ruby@v1
24
- with:
25
- ruby-version: 2.6
26
- - name: Install dependencies
27
- run: bundle install
28
- - name: Run tests
29
- run: bundle exec rake
24
+ - uses: actions/checkout@v2
25
+ - uses: ruby/setup-ruby@v1
26
+ with:
27
+ ruby-version: ${{ matrix.ruby }}
28
+ - name: Install dependencies
29
+ run: gem install bundler && bundle install
30
+ - name: Run rubocop
31
+ run: bundle exec rubocop
32
+ - name: Run tests
33
+ run: bundle exec rake
data/.rubocop.yml ADDED
@@ -0,0 +1,21 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ AllCops:
4
+ NewCops: enable
5
+
6
+ Metrics/BlockLength:
7
+ Exclude:
8
+ - 'test/**/*'
9
+ - 'lib/verbs/conjugations.rb'
10
+
11
+ Metrics/ClassLength:
12
+ Exclude:
13
+ - 'test/**/*'
14
+
15
+ Metrics/ModuleLength:
16
+ Exclude:
17
+ - 'lib/verbs/conjugator.rb'
18
+
19
+ Metrics/ParameterLists:
20
+ Exclude:
21
+ - 'lib/verbs/conjugator.rb'
data/.rubocop_todo.yml ADDED
@@ -0,0 +1,55 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2020-12-16 16:06:51 UTC using RuboCop version 1.6.1.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 11
10
+ # Configuration parameters: IgnoredMethods, CountRepeatedAttributes.
11
+ Metrics/AbcSize:
12
+ Max: 58
13
+
14
+ # Offense count: 6
15
+ # Configuration parameters: IgnoredMethods.
16
+ Metrics/CyclomaticComplexity:
17
+ Max: 27
18
+
19
+ # Offense count: 16
20
+ # Configuration parameters: CountComments, CountAsOne, ExcludedMethods, IgnoredMethods.
21
+ Metrics/MethodLength:
22
+ Max: 58
23
+
24
+ # Offense count: 6
25
+ # Configuration parameters: IgnoredMethods.
26
+ Metrics/PerceivedComplexity:
27
+ Max: 28
28
+
29
+ # Offense count: 4
30
+ Style/Documentation:
31
+ Exclude:
32
+ - 'spec/**/*'
33
+ - 'test/**/*'
34
+ - 'lib/verbs/conjugator.rb'
35
+ - 'lib/verbs/verb.rb'
36
+ - 'lib/verbs/verblike.rb'
37
+
38
+ # Offense count: 1
39
+ # Configuration parameters: MinBodyLength.
40
+ Style/GuardClause:
41
+ Exclude:
42
+ - 'lib/verbs/conjugator.rb'
43
+
44
+ # Offense count: 2
45
+ # Cop supports --auto-correct.
46
+ Style/IfUnlessModifier:
47
+ Exclude:
48
+ - 'lib/verbs/conjugator.rb'
49
+
50
+ # Offense count: 10
51
+ # Cop supports --auto-correct.
52
+ # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
53
+ # URISchemes: http, https
54
+ Layout/LineLength:
55
+ Max: 193
data/CHANGELOG.md ADDED
@@ -0,0 +1,161 @@
1
+ # Changelog
2
+
3
+ ## [Unreleased](https://github.com/rossmeissl/verbs/tree/HEAD)
4
+
5
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.1.4...HEAD)
6
+
7
+ **Closed issues:**
8
+
9
+ - Add matrix testing for supported Rubies [\#46](https://github.com/rossmeissl/verbs/issues/46)
10
+ - Add missing irregular verbs [\#39](https://github.com/rossmeissl/verbs/issues/39)
11
+ - Apply rubocop and maybe use markdown in readme? [\#37](https://github.com/rossmeissl/verbs/issues/37)
12
+ - Invalid conjugation of the word "deliver" [\#33](https://github.com/rossmeissl/verbs/issues/33)
13
+ - rubygems not up to date with github version [\#32](https://github.com/rossmeissl/verbs/issues/32)
14
+ - Issue with the word follow [\#30](https://github.com/rossmeissl/verbs/issues/30)
15
+ - have/be missing in second person plural [\#28](https://github.com/rossmeissl/verbs/issues/28)
16
+ - bing -\> being [\#24](https://github.com/rossmeissl/verbs/issues/24)
17
+ - Past habitual for "to be" [\#22](https://github.com/rossmeissl/verbs/issues/22)
18
+ - No options for passive voice [\#21](https://github.com/rossmeissl/verbs/issues/21)
19
+ - Input is mutated [\#17](https://github.com/rossmeissl/verbs/issues/17)
20
+ - `"Be Near".verb.conjugate(subject: "Girl")` results in "Girl Bes Near" [\#16](https://github.com/rossmeissl/verbs/issues/16)
21
+ - Make the default aspect "Perfective" [\#15](https://github.com/rossmeissl/verbs/issues/15)
22
+ - Past progressive of "be" incorrect [\#14](https://github.com/rossmeissl/verbs/issues/14)
23
+
24
+ **Merged pull requests:**
25
+
26
+ - Setup ruby matrix testing [\#51](https://github.com/rossmeissl/verbs/pull/51) ([nerixim](https://github.com/nerixim))
27
+ - Add more irregular verbs [\#47](https://github.com/rossmeissl/verbs/pull/47) ([nerixim](https://github.com/nerixim))
28
+ - Use case statement to match regex patterns concisely [\#45](https://github.com/rossmeissl/verbs/pull/45) ([nerixim](https://github.com/nerixim))
29
+ - Use md and rubocop [\#41](https://github.com/rossmeissl/verbs/pull/41) ([nerixim](https://github.com/nerixim))
30
+ - Change default aspect for past tense [\#38](https://github.com/rossmeissl/verbs/pull/38) ([nerixim](https://github.com/nerixim))
31
+ - Downcase infinitive before conjugation [\#36](https://github.com/rossmeissl/verbs/pull/36) ([nerixim](https://github.com/nerixim))
32
+ - Add passive voice \(rebase\) [\#35](https://github.com/rossmeissl/verbs/pull/35) ([nerixim](https://github.com/nerixim))
33
+ - Fix conjugation of the word "deliver" [\#34](https://github.com/rossmeissl/verbs/pull/34) ([pienkowb](https://github.com/pienkowb))
34
+ - Prevent double terminal consonant on follow [\#31](https://github.com/rossmeissl/verbs/pull/31) ([michaeldever](https://github.com/michaeldever))
35
+ - Fix second person plural [\#29](https://github.com/rossmeissl/verbs/pull/29) ([jeidsath](https://github.com/jeidsath))
36
+ - Fix past habitual. Change usually -\> used to + infinitive [\#26](https://github.com/rossmeissl/verbs/pull/26) ([jeidsath](https://github.com/jeidsath))
37
+ - Fix present\_participle for "be" [\#25](https://github.com/rossmeissl/verbs/pull/25) ([jeidsath](https://github.com/jeidsath))
38
+ - RDoc Standard Applied [\#19](https://github.com/rossmeissl/verbs/pull/19) ([kippmr](https://github.com/kippmr))
39
+ - Input immutability [\#18](https://github.com/rossmeissl/verbs/pull/18) ([dwbutler](https://github.com/dwbutler))
40
+
41
+ ## [v2.1.4](https://github.com/rossmeissl/verbs/tree/v2.1.4) (2014-01-15)
42
+
43
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.1.3...v2.1.4)
44
+
45
+ **Closed issues:**
46
+
47
+ - 'color' is not conjugated correctly [\#11](https://github.com/rossmeissl/verbs/issues/11)
48
+ - Wrong conjugation for verb which ends with vowel [\#5](https://github.com/rossmeissl/verbs/issues/5)
49
+
50
+ **Merged pull requests:**
51
+
52
+ - fix [\#11](https://github.com/rossmeissl/verbs/issues/11) (with bonus fix) [\#12](https://github.com/rossmeissl/verbs/pull/12) ([danryan](https://github.com/danryan))
53
+ - Fix the third personal singular s form. [\#10](https://github.com/rossmeissl/verbs/pull/10) ([xuhdev](https://github.com/xuhdev))
54
+ - Add "reset" to the irregular conjugation list. [\#9](https://github.com/rossmeissl/verbs/pull/9) ([xuhdev](https://github.com/xuhdev))
55
+ - Use the more common form of the tense of "weave" [\#8](https://github.com/rossmeissl/verbs/pull/8) ([xuhdev](https://github.com/xuhdev))
56
+ - w in double\_consonants causing trouble removed [\#7](https://github.com/rossmeissl/verbs/pull/7) ([hugolepetit](https://github.com/hugolepetit))
57
+
58
+ ## [v2.1.3](https://github.com/rossmeissl/verbs/tree/v2.1.3) (2013-01-07)
59
+
60
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.1.2...v2.1.3)
61
+
62
+ **Merged pull requests:**
63
+
64
+ - FIX conjugation of s\_form \(do =\> does\) [\#6](https://github.com/rossmeissl/verbs/pull/6) ([makaroni4](https://github.com/makaroni4))
65
+
66
+ ## [v2.1.2](https://github.com/rossmeissl/verbs/tree/v2.1.2) (2012-10-18)
67
+
68
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.1.1...v2.1.2)
69
+
70
+ **Closed issues:**
71
+
72
+ - Irregular verbs \(know\) [\#4](https://github.com/rossmeissl/verbs/issues/4)
73
+ - Progressive form of verb ending in the letter "e" [\#3](https://github.com/rossmeissl/verbs/issues/3)
74
+
75
+ ## [v2.1.1](https://github.com/rossmeissl/verbs/tree/v2.1.1) (2012-10-18)
76
+
77
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.1.0...v2.1.1)
78
+
79
+ ## [v2.1.0](https://github.com/rossmeissl/verbs/tree/v2.1.0) (2011-08-09)
80
+
81
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.0.10...v2.1.0)
82
+
83
+ **Closed issues:**
84
+
85
+ - Moods [\#1](https://github.com/rossmeissl/verbs/issues/1)
86
+
87
+ ## [v2.0.10](https://github.com/rossmeissl/verbs/tree/v2.0.10) (2011-06-09)
88
+
89
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.0.9...v2.0.10)
90
+
91
+ ## [v2.0.9](https://github.com/rossmeissl/verbs/tree/v2.0.9) (2010-08-10)
92
+
93
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.0.7...v2.0.9)
94
+
95
+ ## [v2.0.7](https://github.com/rossmeissl/verbs/tree/v2.0.7) (2010-03-30)
96
+
97
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.0.6...v2.0.7)
98
+
99
+ ## [v2.0.6](https://github.com/rossmeissl/verbs/tree/v2.0.6) (2010-03-30)
100
+
101
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.0.8...v2.0.6)
102
+
103
+ ## [v2.0.8](https://github.com/rossmeissl/verbs/tree/v2.0.8) (2010-03-29)
104
+
105
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.0.5...v2.0.8)
106
+
107
+ ## [v2.0.5](https://github.com/rossmeissl/verbs/tree/v2.0.5) (2009-12-10)
108
+
109
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.0.4...v2.0.5)
110
+
111
+ ## [v2.0.4](https://github.com/rossmeissl/verbs/tree/v2.0.4) (2009-12-10)
112
+
113
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.0.3...v2.0.4)
114
+
115
+ ## [v2.0.3](https://github.com/rossmeissl/verbs/tree/v2.0.3) (2009-12-10)
116
+
117
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.0.1...v2.0.3)
118
+
119
+ ## [v2.0.1](https://github.com/rossmeissl/verbs/tree/v2.0.1) (2009-12-09)
120
+
121
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v2.0.0...v2.0.1)
122
+
123
+ ## [v2.0.0](https://github.com/rossmeissl/verbs/tree/v2.0.0) (2009-12-09)
124
+
125
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v1.1.2...v2.0.0)
126
+
127
+ ## [v1.1.2](https://github.com/rossmeissl/verbs/tree/v1.1.2) (2009-12-07)
128
+
129
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v1.1.0...v1.1.2)
130
+
131
+ ## [v1.1.0](https://github.com/rossmeissl/verbs/tree/v1.1.0) (2009-12-03)
132
+
133
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v1.0.5...v1.1.0)
134
+
135
+ ## [v1.0.5](https://github.com/rossmeissl/verbs/tree/v1.0.5) (2009-12-03)
136
+
137
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v1.0.4...v1.0.5)
138
+
139
+ ## [v1.0.4](https://github.com/rossmeissl/verbs/tree/v1.0.4) (2009-12-03)
140
+
141
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v1.0.3...v1.0.4)
142
+
143
+ ## [v1.0.3](https://github.com/rossmeissl/verbs/tree/v1.0.3) (2009-11-25)
144
+
145
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v1.0.2...v1.0.3)
146
+
147
+ ## [v1.0.2](https://github.com/rossmeissl/verbs/tree/v1.0.2) (2009-11-25)
148
+
149
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v1.0.1...v1.0.2)
150
+
151
+ ## [v1.0.1](https://github.com/rossmeissl/verbs/tree/v1.0.1) (2009-11-25)
152
+
153
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/v1.0.0...v1.0.1)
154
+
155
+ ## [v1.0.0](https://github.com/rossmeissl/verbs/tree/v1.0.0) (2009-11-25)
156
+
157
+ [Full Changelog](https://github.com/rossmeissl/verbs/compare/c4753082d359d2c5dbc734faea34aace2eb3f176...v1.0.0)
158
+
159
+
160
+
161
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
- source "http://rubygems.org"
1
+ # frozen_string_literal: true
2
+
3
+ source 'http://rubygems.org'
2
4
 
3
5
  gemspec
data/README.md ADDED
@@ -0,0 +1,85 @@
1
+ # Verbs
2
+
3
+ Conjugates most common english verbs for all persons, tenses, standard aspects, and modern moods (with active diathesis). Standard and exceptional spelling rules are obeyed.
4
+
5
+ ```ruby
6
+ Verbs::Conjugator.conjugate :be, :tense => :past, :person => :second, :plurality => :singular, :aspect => :perfective
7
+ # => :were
8
+ 'be nice'.verb.conjugate :subject => 'Matz'
9
+ # => "Matz is nice"
10
+ :sleep.verb.conjugate :tense => :future, :person => :first, :plurality => :singular, :aspect => :progressive, :subject => true
11
+ # => :"I will be sleeping"
12
+ ```
13
+
14
+ ## Installation
15
+
16
+ ```bash
17
+ gem install verbs
18
+ ```
19
+
20
+ ## Options
21
+
22
+ This library takes a rather strict view of English verb conjugation.
23
+
24
+ ### `:tense`
25
+
26
+ One of `:past`, `:present`, or `:future`. Defaults to `:present`.
27
+
28
+ ### `:person`
29
+
30
+ One of `:first`, `:second`, or `:third`. Defaults to `:third`.
31
+
32
+ ### `:plurality`
33
+
34
+ Either `:singular` or `:plural`. Defaults to `:singular`.
35
+
36
+ ### `:aspect`
37
+
38
+ One of `:habitual`, `:perfect`, `:perfective`, `:progressive`, or
39
+ `:prospective`. Defaults to `:habitual` (`:perfective` for past tense).
40
+
41
+ See below for a guide to verb aspect.
42
+
43
+ ### `:mood`
44
+
45
+ One of `:indicative`, `:imperative`, or `:subjunctive`. Defaults to
46
+ `:indicative`.
47
+
48
+ ### `:subject`
49
+
50
+ Set this to a string to prepend the conjugated verb with it. When set to `true`, a standard personal pronoun will be used.
51
+
52
+ ### `:diathesis`
53
+
54
+ One of `:active` or `:passive`. Defaults to `:active`.
55
+
56
+ ## Tense/aspect quick reference
57
+
58
+ **EXAMPLE**|**TENSE**|**ASPECT**
59
+ :-----:|:-----:|:-----:
60
+ I used to accept|past|habitual
61
+ I had accepted|past|perfect
62
+ I accepted|past|perfective
63
+ I was accepting|past|progressive
64
+ I was about to accept|past|prospective
65
+ |||
66
+ I accept|present|habitual
67
+ I have accepted|present|perfect
68
+ I am having accepted|present|perfective
69
+ I am accepting|present|progressive
70
+ I am about to accept|present|prospective
71
+ |||
72
+ I will accept|future|habitual
73
+ I will have accepted|future|perfect
74
+
75
+ ## Acknowledgements
76
+
77
+ - [Lingua::Conjugate](http://cpansearch.perl.org/src/RWG/Lingua-EN-Conjugate-0.308/lib/Lingua/EN/Conjugate.pm)
78
+ - [Pat Byrd and Tom McKlin](http://www2.gsu.edu/~wwwesl/egw/pluralsv.htm)
79
+ - [Rick Harrison](http://www.rickharrison.com/language/aspect.html)
80
+ - [Anatoli Makarevich](https://github.com/makaroni4) for [#6](https://github.com/rossmeissl/verbs/pull/6)
81
+ - [Nikita Kamaev](https://github.com/nerixim) for [#35](https://github.com/rossmeissl/verbs/pull/35)
82
+
83
+ ## Copyright
84
+
85
+ Copyright (c) 2012 Andy Rossmeissl. See [LICENSE](https://github.com/rossmeissl/verbs/blob/master/LICENSE) for details.
data/Rakefile CHANGED
@@ -1,24 +1,27 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'rubygems'
2
4
 
3
5
  begin
4
6
  require 'bundler'
5
7
  rescue LoadError
6
- $stderr.puts "You must install bundler - run `gem install bundler`"
8
+ warn 'You must install bundler - run `gem install bundler`'
7
9
  end
8
10
 
9
11
  begin
10
12
  Bundler.setup
11
13
  rescue Bundler::BundlerError => e
12
- $stderr.puts e.message
13
- $stderr.puts "Run `bundle install` to install missing gems"
14
+ warn e.message
15
+ warn 'Run `bundle install` to install missing gems'
14
16
  exit e.status_code
15
17
  end
16
18
 
17
19
  require 'rake'
18
20
  require 'rake/testtask'
21
+ import 'tasks/release.rake'
19
22
  Rake::TestTask.new(:test) do |test|
20
23
  test.libs << 'lib' << 'test'
21
24
  test.pattern = 'test/**/test_*.rb'
22
25
  test.verbose = true
23
26
  end
24
- task :default => :test
27
+ task default: :test
data/bin/console ADDED
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
3
+
4
+ require 'bundler/setup'
5
+ require 'verbs'
6
+
7
+ # You can add fixtures and/or initialization code here to make experimenting
8
+ # with your gem easier. You can also use a different console, if you like.
9
+
10
+ # (If you use this, don't forget to add pry to your Gemfile!)
11
+ # require "pry"
12
+ # Pry.start
13
+
14
+ require 'irb'
15
+ IRB.start
@@ -1,46 +1,80 @@
1
- Verbs::Conjugator.conjugations do |conjugate|
1
+ # frozen_string_literal: true
2
2
 
3
+ Verbs::Conjugator.conjugations do |conjugate|
3
4
  conjugate.irregular :be do |verb| # copular
4
- verb.form :am, :tense => :present, :person => :first, :plurality => :singular
5
- verb.form :is, :tense => :present, :person => :third, :plurality => :singular
6
- verb.form :are, :tense => :present, :person => :second, :plurality => :singular
7
- verb.form :are, :tense => :present, :person => :second, :plurality => :plural
8
- verb.form :are, :tense => :present, :person => :first, :plurality => :plural
9
- verb.form :are, :tense => :present, :person => :third, :plurality => :plural
10
- verb.form :was, :tense => :past, :person => :first, :plurality => :singular
11
- verb.form :was, :tense => :past, :person => :third, :plurality => :singular
12
- verb.form :were, :tense => :past, :person => :second, :plurality => :singular
13
- verb.form :were, :tense => :past, :person => :second, :plurality => :plural
14
- verb.form :were, :tense => :past, :person => :first, :plurality => :plural
15
- verb.form :were, :tense => :past, :person => :third, :plurality => :plural
16
- verb.form :were, :tense => :past, :mood => :subjunctive
17
- verb.form :be, :tense => :present, :mood => :subjunctive
18
- verb.form :being, :tense => :present, :derivative => :participle
19
- verb.form :been, :tense => :past, :derivative => :participle
5
+ verb.form :am, tense: :present, person: :first, plurality: :singular
6
+ verb.form :is, tense: :present, person: :third, plurality: :singular
7
+ verb.form :are, tense: :present, person: :second, plurality: :singular
8
+ verb.form :are, tense: :present, person: :second, plurality: :plural
9
+ verb.form :are, tense: :present, person: :first, plurality: :plural
10
+ verb.form :are, tense: :present, person: :third, plurality: :plural
11
+ verb.form :was, tense: :past, person: :first, plurality: :singular
12
+ verb.form :was, tense: :past, person: :third, plurality: :singular
13
+ verb.form :were, tense: :past, person: :second, plurality: :singular
14
+ verb.form :were, tense: :past, person: :second, plurality: :plural
15
+ verb.form :were, tense: :past, person: :first, plurality: :plural
16
+ verb.form :were, tense: :past, person: :third, plurality: :plural
17
+ verb.form :were, tense: :past, mood: :subjunctive
18
+ verb.form :be, tense: :present, mood: :subjunctive
19
+ verb.form :being, tense: :present, derivative: :participle
20
+ verb.form :been, tense: :past, derivative: :participle
20
21
  end
21
22
 
22
23
  conjugate.irregular :have do |verb|
23
- verb.form :have, :tense => :present, :person => :first, :plurality => :singular
24
- verb.form :has, :tense => :present, :person => :third, :plurality => :singular
25
- verb.form :have, :tense => :present, :person => :second, :plurality => :singular
26
- verb.form :have, :tense => :present, :person => :second, :plurality => :plural
27
- verb.form :have, :tense => :present, :person => :first, :plurality => :plural
28
- verb.form :have, :tense => :present, :person => :third, :plurality => :plural
29
- verb.form :had, :tense => :past, :person => :first, :plurality => :singular
30
- verb.form :had, :tense => :past, :person => :third, :plurality => :singular
31
- verb.form :had, :tense => :past, :person => :second, :plurality => :singular
32
- verb.form :had, :tense => :past, :person => :second, :plurality => :plural
33
- verb.form :had, :tense => :past, :person => :first, :plurality => :plural
34
- verb.form :had, :tense => :past, :person => :third, :plurality => :plural
35
- verb.form :having, :tense => :present, :derivative => :participle
36
- verb.form :had, :tense => :past, :derivative => :participle
24
+ verb.form :have, tense: :present, person: :first, plurality: :singular
25
+ verb.form :has, tense: :present, person: :third, plurality: :singular
26
+ verb.form :have, tense: :present, person: :second, plurality: :singular
27
+ verb.form :have, tense: :present, person: :second, plurality: :plural
28
+ verb.form :have, tense: :present, person: :first, plurality: :plural
29
+ verb.form :have, tense: :present, person: :third, plurality: :plural
30
+ verb.form :had, tense: :past, person: :first, plurality: :singular
31
+ verb.form :had, tense: :past, person: :third, plurality: :singular
32
+ verb.form :had, tense: :past, person: :second, plurality: :singular
33
+ verb.form :had, tense: :past, person: :second, plurality: :plural
34
+ verb.form :had, tense: :past, person: :first, plurality: :plural
35
+ verb.form :had, tense: :past, person: :third, plurality: :plural
36
+ verb.form :having, tense: :present, derivative: :participle
37
+ verb.form :had, tense: :past, derivative: :participle
38
+ end
39
+
40
+ conjugate.irregular :can do |verb|
41
+ verb.form :can, tense: :present, person: :first, plurality: :singular
42
+ verb.form :can, tense: :present, person: :third, plurality: :singular
43
+ verb.form :can, tense: :present, person: :second, plurality: :singular
44
+ verb.form :can, tense: :present, person: :second, plurality: :plural
45
+ verb.form :can, tense: :present, person: :first, plurality: :plural
46
+ verb.form :can, tense: :present, person: :third, plurality: :plural
47
+ verb.form :could, tense: :past, person: :first, plurality: :singular
48
+ verb.form :could, tense: :past, person: :third, plurality: :singular
49
+ verb.form :could, tense: :past, person: :second, plurality: :singular
50
+ verb.form :could, tense: :past, person: :second, plurality: :plural
51
+ verb.form :could, tense: :past, person: :first, plurality: :plural
52
+ verb.form :could, tense: :past, person: :third, plurality: :plural
53
+ end
54
+
55
+ conjugate.irregular :may do |verb|
56
+ verb.form :may, tense: :present, person: :first, plurality: :singular
57
+ verb.form :may, tense: :present, person: :third, plurality: :singular
58
+ verb.form :may, tense: :present, person: :second, plurality: :singular
59
+ verb.form :may, tense: :present, person: :second, plurality: :plural
60
+ verb.form :may, tense: :present, person: :first, plurality: :plural
61
+ verb.form :may, tense: :present, person: :third, plurality: :plural
62
+ verb.form :might, tense: :past, person: :first, plurality: :singular
63
+ verb.form :might, tense: :past, person: :third, plurality: :singular
64
+ verb.form :might, tense: :past, person: :second, plurality: :singular
65
+ verb.form :might, tense: :past, person: :second, plurality: :plural
66
+ verb.form :might, tense: :past, person: :first, plurality: :plural
67
+ verb.form :might, tense: :past, person: :third, plurality: :plural
37
68
  end
38
69
 
39
70
  # http://cpansearch.perl.org/src/RWG/Lingua-EN-Conjugate-0.308/lib/Lingua/EN/Conjugate.pm
71
+ conjugate.irregular :arise, :arose, :arisen
40
72
  conjugate.irregular :awake, :awoke, :awoken
73
+ conjugate.irregular :backslide, :backslid, :backslidden
41
74
  conjugate.irregular :bear, :bore, :born
42
75
  conjugate.irregular :beat, :beat, :beat
43
76
  conjugate.irregular :become, :became, :become
77
+ conjugate.irregular :beget, :begot, :begotten
44
78
  conjugate.irregular :begin, :began, :begun
45
79
  conjugate.irregular :bend, :bent, :bent
46
80
  conjugate.irregular :beset, :beset, :beset
@@ -54,13 +88,18 @@ Verbs::Conjugator.conjugations do |conjugate|
54
88
  conjugate.irregular :breed, :bred, :bred
55
89
  conjugate.irregular :bring, :brought, :brought
56
90
  conjugate.irregular :broadcast, :broadcast, :broadcast
91
+ conjugate.irregular :browbeat, :browbeat, :browbeat
57
92
  conjugate.irregular :build, :built, :built
58
93
  conjugate.irregular :burn, :burned, :burned
59
94
  conjugate.irregular :burst, :burst, :burst
95
+ conjugate.irregular :bust, :bust, :bust
60
96
  conjugate.irregular :buy, :bought, :bought
61
97
  conjugate.irregular :cast, :cast, :cast
62
98
  conjugate.irregular :catch, :caught, :caught
99
+ conjugate.irregular :chide, :chid, :chidden
63
100
  conjugate.irregular :choose, :chose, :chosen
101
+ conjugate.irregular :crossbreed, :crossbred, :crossbred
102
+ conjugate.irregular :crow, :crew, :crowed
64
103
  conjugate.irregular :cling, :clung, :clung
65
104
  conjugate.irregular :come, :came, :come
66
105
  conjugate.irregular :cost, :cost, :cost
@@ -87,21 +126,34 @@ Verbs::Conjugator.conjugations do |conjugate|
87
126
  conjugate.irregular :forbid, :forbade, :forbidden
88
127
  conjugate.irregular :forget, :forgot, :forgotten
89
128
  conjugate.irregular :forego, :forewent, :foregone
129
+ conjugate.irregular :foresee, :foresaw, :foreseen
90
130
  conjugate.irregular :forgo, :forwent, :forgone
91
131
  conjugate.irregular :forgive, :forgave, :forgiven
92
132
  conjugate.irregular :forsake, :forsook, :forsaken
133
+ conjugate.irregular :foretell, :foretold, :foretold
134
+ conjugate.irregular :frostbite, :frostbit, :frostbitten
93
135
  conjugate.irregular :freeze, :froze, :frozen
94
136
  conjugate.irregular :get, :got, :gotten
95
137
  conjugate.irregular :give, :gave, :given
96
138
  conjugate.irregular :go, :went, :gone
139
+ conjugate.irregular :gnaw, :gnawed, :gnawn
97
140
  conjugate.irregular :grind, :ground, :ground
98
141
  conjugate.irregular :grow, :grew, :grown
142
+ conjugate.irregular :'hand-feed', :'hand-fed', :'hand-fed'
143
+ conjugate.irregular :handwrite, :handwrote, :handwritten
99
144
  conjugate.irregular :hang, :hung, :hung
100
145
  conjugate.irregular :hear, :heard, :heard
146
+ conjugate.irregular :hew, :hewed, :hewn
101
147
  conjugate.irregular :hide, :hid, :hidden
102
148
  conjugate.irregular :hit, :hit, :hit
103
149
  conjugate.irregular :hold, :held, :held
104
150
  conjugate.irregular :hurt, :hurt, :hurt
151
+ conjugate.irregular :inbreed, :inbred, :inbred
152
+ conjugate.irregular :inlay, :inlaid, :inlaid
153
+ conjugate.irregular :interbreed, :interbred, :interbred
154
+ conjugate.irregular :interweave, :interwove, :interwoven
155
+ conjugate.irregular :interwind, :interwound, :interwound
156
+ conjugate.irregular :'jerry-build', :'jerry-built', :'jerry-built'
105
157
  conjugate.irregular :keep, :kept, :kept
106
158
  conjugate.irregular :kneel, :knelt, :knelt
107
159
  conjugate.irregular :knit, :knit, :knit
@@ -115,29 +167,137 @@ Verbs::Conjugator.conjugations do |conjugate|
115
167
  conjugate.irregular :let, :let, :let
116
168
  conjugate.irregular :lie, :lay, :lain
117
169
  conjugate.irregular :light, :lit, :lighted
170
+ conjugate.irregular :'lip-read', :'lip-read', :'lip-read'
118
171
  conjugate.irregular :lose, :lost, :lost
119
172
  conjugate.irregular :make, :made, :made
120
173
  conjugate.irregular :mean, :meant, :meant
121
174
  conjugate.irregular :meet, :met, :met
175
+ conjugate.irregular :miscast, :miscast, :miscast
176
+ conjugate.irregular :misdeal, :misdealt, :misdealt
177
+ conjugate.irregular :misdo, :misdid, :misdone
178
+ conjugate.irregular :mishear, :misheard, :misheard
179
+ conjugate.irregular :mislay, :mislaid, :mislaid
180
+ conjugate.irregular :mislead, :misled, :misled
181
+ conjugate.irregular :misread, :misread, :misread
182
+ conjugate.irregular :misset, :misset, :misset
183
+ conjugate.irregular :misspeak, :misspoke, :misspoken
122
184
  conjugate.irregular :misspell, :misspelled, :misspelled
185
+ conjugate.irregular :misspend, :misspent, :misspent
123
186
  conjugate.irregular :mistake, :mistook, :mistaken
187
+ conjugate.irregular :misteach, :mistaught, :mistaught
188
+ conjugate.irregular :misunderstand, :misunderstood, :misunderstood
189
+ conjugate.irregular :miswrite, :miswrote, :miswritten
124
190
  conjugate.irregular :mow, :mowed, :mowed
191
+ conjugate.irregular :offset, :offset, :offset
192
+ conjugate.irregular :outbid, :outbid, :outbid
193
+ conjugate.irregular :outbreed, :outbred, :outbred
194
+ conjugate.irregular :outdo, :outdid, :outdone
195
+ conjugate.irregular :outdraw, :outdrew, :outdrawn
196
+ conjugate.irregular :outdrink, :outdrank, :outdrunk
197
+ conjugate.irregular :outdrive, :outdrove, :outdriven
198
+ conjugate.irregular :outfight, :outfought, :outfought
199
+ conjugate.irregular :outfly, :outflew, :outflown
200
+ conjugate.irregular :outgrow, :outgrew, :outgrown
201
+ conjugate.irregular :outride, :outrode, :outridden
202
+ conjugate.irregular :outrun, :outran, :outrun
203
+ conjugate.irregular :outsell, :outsold, :outsold
204
+ conjugate.irregular :outshine, :outshone, :outshone
205
+ conjugate.irregular :outshoot, :outshot, :outshot
206
+ conjugate.irregular :outsing, :outsang, :outsung
207
+ conjugate.irregular :outsit, :outsat, :outsat
208
+ conjugate.irregular :outsleep, :outslept, :outslept
209
+ conjugate.irregular :outspeak, :outspoke, :outspoken
210
+ conjugate.irregular :outspeed, :outsped, :outsped
211
+ conjugate.irregular :outspend, :outspent, :outspent
212
+ conjugate.irregular :outswear, :outswore, :outsworn
213
+ conjugate.irregular :outswim, :outswam, :outswum
214
+ conjugate.irregular :outthink, :outthought, :outthought
215
+ conjugate.irregular :outthrow, :outthrew, :outthrown
216
+ conjugate.irregular :outwrite, :outwrote, :outwritten
217
+ conjugate.irregular :overbid, :overbid, :overbid
218
+ conjugate.irregular :overbreed, :overbred, :overbred
219
+ conjugate.irregular :overbuild, :overbuilt, :overbuilt
220
+ conjugate.irregular :overbuy, :overbought, :overbought
125
221
  conjugate.irregular :overcome, :overcame, :overcome
126
222
  conjugate.irregular :overdo, :overdid, :overdone
223
+ conjugate.irregular :overdraw, :overdrew, :overdrawn
224
+ conjugate.irregular :override, :overridden, :overridden
225
+ conjugate.irregular :overdrink, :overdrank, :overdrunk
226
+ conjugate.irregular :overeat, :overate, :overeaten
227
+ conjugate.irregular :overfeed, :overfed, :overfed
228
+ conjugate.irregular :overhang, :overhung, :overhung
229
+ conjugate.irregular :overhear, :overheard, :overheard
230
+ conjugate.irregular :overlay, :overlaid, :overlaid
231
+ conjugate.irregular :overpay, :overpaid, :overpaid
232
+ conjugate.irregular :override, :overrode, :overridden
233
+ conjugate.irregular :overrun, :overran, :overrun
234
+ conjugate.irregular :oversee, :oversaw, :overseen
235
+ conjugate.irregular :oversell, :oversold, :oversold
236
+ conjugate.irregular :overshoot, :overshot, :overshot
237
+ conjugate.irregular :oversleep, :overslept, :overslept
238
+ conjugate.irregular :overspeak, :overspoke, :overspoken
239
+ conjugate.irregular :overspend, :overspent, :overspent
127
240
  conjugate.irregular :overtake, :overtook, :overtaken
241
+ conjugate.irregular :overthink, :overthought, :overthought
128
242
  conjugate.irregular :overthrow, :overthrew, :overthrown
243
+ conjugate.irregular :overwind, :overwound, :overwound
244
+ conjugate.irregular :overwrite, :overwrote, :overwritten
245
+ conjugate.irregular :partake, :partook, :partaken
129
246
  conjugate.irregular :pay, :paid, :paid
130
247
  conjugate.irregular :plead, :pled, :pled
248
+ conjugate.irregular :prebuild, :prebuilt, :prebuilt
249
+ conjugate.irregular :predo, :predid, :predone
250
+ conjugate.irregular :premake, :premade, :premade
251
+ conjugate.irregular :prepay, :prepaid, :prepaid
252
+ conjugate.irregular :presell, :presold, :presold
253
+ conjugate.irregular :preset, :preset, :preset
254
+ conjugate.irregular :preshrink, :preshrank, :preshrunk
255
+ conjugate.irregular :proofread, :proofread, :proofread
131
256
  conjugate.irregular :prove, :proved, :proved
132
257
  conjugate.irregular :put, :put, :put
258
+ conjugate.irregular :'quick-freeze', :'quick-froze', :'quick-frozen'
133
259
  conjugate.irregular :quit, :quit, :quit
134
260
  conjugate.irregular :read, :read, :read
261
+ conjugate.irregular :reawake, :reawoke, :reawaken
262
+ conjugate.irregular :rebid, :rebid, :rebid
263
+ conjugate.irregular :rebind, :rebound, :rebound
264
+ conjugate.irregular :rebroadcast, :rebroadcast, :rebroadcast
265
+ conjugate.irregular :rebuild, :rebuilt, :rebuilt
266
+ conjugate.irregular :recast, :recast, :recast
267
+ conjugate.irregular :recut, :recut, :recut
268
+ conjugate.irregular :redeal, :redealt, :redealt
269
+ conjugate.irregular :redo, :redid, :redone
270
+ conjugate.irregular :redraw, :redrew, :redrawn
271
+ conjugate.irregular :refit, :refit, :refit
272
+ conjugate.irregular :regrind, :reground, :reground
273
+ conjugate.irregular :regrow, :regrew, :regrown
274
+ conjugate.irregular :rehang, :rehung, :rehung
275
+ conjugate.irregular :rehear, :reheard, :reheard
276
+ conjugate.irregular :relay, :relaid, :relaid
277
+ conjugate.irregular :remake, :remade, :remade
278
+ conjugate.irregular :repay, :repaid, :repaid
279
+ conjugate.irregular :reread, :reread, :reread
280
+ conjugate.irregular :rerun, :reran, :rerun
281
+ conjugate.irregular :resell, :resold, :resold
282
+ conjugate.irregular :resend, :resent, :resent
135
283
  conjugate.irregular :reset, :reset, :reset
284
+ conjugate.irregular :retake, :retook, :retaken
285
+ conjugate.irregular :reteach, :retaught, :retaught
286
+ conjugate.irregular :retear, :retore, :retirn
287
+ conjugate.irregular :retell, :retold, :retold
288
+ conjugate.irregular :rethink, :rethought, :rethought
289
+ conjugate.irregular :retread, :retrod, :retrodden
290
+ conjugate.irregular :rewear, :rewore, :reworn
291
+ conjugate.irregular :rewin, :rewon, :rewon
292
+ conjugate.irregular :rewind, :rewound, :rewound
293
+ conjugate.irregular :rewrite, :rewrote, :rewritten
136
294
  conjugate.irregular :rid, :rid, :rid
137
295
  conjugate.irregular :ride, :rode, :ridden
138
296
  conjugate.irregular :ring, :rang, :rung
139
297
  conjugate.irregular :rise, :rose, :risen
298
+ conjugate.irregular :roughcast, :roughcast, :roughcast
140
299
  conjugate.irregular :run, :ran, :run
300
+ conjugate.irregular :'sand-cast', :'sand-cast', :'sand-cast'
141
301
  conjugate.irregular :saw, :sawed, :sawed
142
302
  conjugate.irregular :say, :said, :said
143
303
  conjugate.irregular :see, :saw, :seen
@@ -163,6 +323,7 @@ Verbs::Conjugator.conjugations do |conjugate|
163
323
  conjugate.irregular :slay, :slew, :slain
164
324
  conjugate.irregular :slide, :slid, :slid
165
325
  conjugate.irregular :sling, :slung, :slung
326
+ conjugate.irregular :slink, :slunk, :slunk
166
327
  conjugate.irregular :slit, :slit, :slit
167
328
  conjugate.irregular :smite, :smote, :smitten
168
329
  conjugate.irregular :sow, :sowed, :sowed
@@ -198,7 +359,10 @@ Verbs::Conjugator.conjugations do |conjugate|
198
359
  conjugate.irregular :throw, :threw, :thrown
199
360
  conjugate.irregular :thrust, :thrust, :thrust
200
361
  conjugate.irregular :tread, :trod, :trodden
362
+ conjugate.irregular :typeset, :typeset, :typeset
201
363
  conjugate.irregular :understand, :understood, :understood
364
+ conjugate.irregular :undertake, :undertook, :undertaken
365
+ conjugate.irregular :undergo, :underwent, :undergone
202
366
  conjugate.irregular :uphold, :upheld, :upheld
203
367
  conjugate.irregular :upset, :upset, :upset
204
368
  conjugate.irregular :wake, :woke, :woken
@@ -208,10 +372,12 @@ Verbs::Conjugator.conjugations do |conjugate|
208
372
  conjugate.irregular :weep, :wept, :wept
209
373
  conjugate.irregular :wind, :wound, :wound
210
374
  conjugate.irregular :win, :won, :won
375
+ conjugate.irregular :withdraw, :withdrew, :withdrawn
211
376
  conjugate.irregular :withhold, :withheld, :withheld
212
377
  conjugate.irregular :withstand, :withstood, :withstood
213
378
  conjugate.irregular :wring, :wrung, :wrung
214
379
  conjugate.irregular :write, :wrote, :written
380
+
215
381
  conjugate.single_terminal_consonant :abandon
216
382
  conjugate.single_terminal_consonant :accouter
217
383
  conjugate.single_terminal_consonant :accredit
@@ -257,6 +423,7 @@ Verbs::Conjugator.conjugations do |conjugate|
257
423
  conjugate.single_terminal_consonant :cohabit
258
424
  conjugate.single_terminal_consonant :color
259
425
  conjugate.single_terminal_consonant :concenter
426
+ conjugate.single_terminal_consonant :consider
260
427
  conjugate.single_terminal_consonant :corner
261
428
  conjugate.single_terminal_consonant :cover
262
429
  conjugate.single_terminal_consonant :covet
@@ -277,6 +444,7 @@ Verbs::Conjugator.conjugations do |conjugate|
277
444
  conjugate.single_terminal_consonant :discredit
278
445
  conjugate.single_terminal_consonant :disencumber
279
446
  conjugate.single_terminal_consonant :dishearten
447
+ conjugate.single_terminal_consonant :dishonor
280
448
  conjugate.single_terminal_consonant :disinherit
281
449
  conjugate.single_terminal_consonant :dismember
282
450
  conjugate.single_terminal_consonant :dispirit
@@ -336,6 +504,7 @@ Verbs::Conjugator.conjugations do |conjugate|
336
504
  conjugate.single_terminal_consonant :honor
337
505
  conjugate.single_terminal_consonant :imprison
338
506
  conjugate.single_terminal_consonant :inhabit
507
+ conjugate.single_terminal_consonant :inherit
339
508
  conjugate.single_terminal_consonant :inhibit
340
509
  conjugate.single_terminal_consonant :inspirit
341
510
  conjugate.single_terminal_consonant :interpret
@@ -426,6 +595,7 @@ Verbs::Conjugator.conjugations do |conjugate|
426
595
  conjugate.single_terminal_consonant :swelter
427
596
  conjugate.single_terminal_consonant :sypher
428
597
  conjugate.single_terminal_consonant :tamper
598
+ conjugate.single_terminal_consonant :target
429
599
  conjugate.single_terminal_consonant :tauten
430
600
  conjugate.single_terminal_consonant :tender
431
601
  conjugate.single_terminal_consonant :thicken