Module: Verbs
- Defined in:
- lib/verbs/conjugator.rb,
lib/verbs.rb,
lib/verbs/verb.rb,
lib/verbs/version.rb,
lib/verbs/verblike.rb,
lib/verbs/improper_construction.rb
Overview
The program conjugates most common english verbs with the following option:
-
:tense => :past or :present or :future (default: :present)
-
:person => :first or :second or :third (default: :third)
-
:plurality => :singular or :plural (default: :singular)
-
:aspect => :habitual or :perfect or :perfective or :progressive or :prospective (default: :habitual, or :perfective for past tense)
-
:mood => :indicative or :imperative or :subjunctive (default: :indicative)
-
:diathesis => :active or :passive (default: :active)
- Author
-
Andy Rossmeissl
- Copyright
-
Copyright © 2009 Andy Rossmeissl
- License
-
Found in LICENSE file
Defined Under Namespace
Modules: Conjugator, Verblike Classes: ImproperConstruction, Verb
Constant Summary collapse
- CONSONANTS =
%w[b c d f g h j k l m n p q r s t v w x z].freeze
- CONSONANT_PATTERN =
"[#{CONSONANTS.join}]"
- CONSONANTS_WITHOUT_C =
(CONSONANTS - ['c']).freeze
- CONSONANTS_WITHOUT_C_PATTERN =
"[#{CONSONANTS_WITHOUT_C.join}]"
- DOUBLED_CONSONANTS =
(CONSONANTS - %w[v w x]).freeze
- DOUBLED_CONSONANT_PATTERN =
"[#{DOUBLED_CONSONANTS.join}]"
- DOUBLED_CONSONANTS_WITHOUT_C =
(DOUBLED_CONSONANTS - ['c']).freeze
- DOUBLED_CONSONANT_WITHOUT_C_PATTERN =
"[#{DOUBLED_CONSONANTS_WITHOUT_C.join}]"
- VOWELS =
%w[a e i o u y].freeze
- VOWEL_PATTERN =
"[#{VOWELS.join}]"
- VERSION =
'3.1.1'