Class: Linguistics::Latin::Verb::LatinVerb
- Inherits:
-
Object
- Object
- Linguistics::Latin::Verb::LatinVerb
- Extended by:
- Forwardable
- Defined in:
- lib/latinverb/version.rb,
lib/latinverb/latinverb.rb,
lib/latinverb/validator.rb,
lib/latinverb/tense_block_names.rb,
lib/latinverb/paradigmatic_verbs.rb,
lib/latinverb/querent_mutators/impersonal.rb,
lib/latinverb/querent_mutators/semideponent.rb,
lib/latinverb/querent_mutators/deponent/infinitive_mutator.rb,
lib/latinverb/querent_mutators/deponent/participle_mutator.rb
Defined Under Namespace
Modules: QuerentMutators Classes: Validator
Constant Summary collapse
- TENSE_BLOCK_NAMES =
[ :active_voice_imperative_mood_future_tense, :active_voice_imperative_mood_present_tense, :active_voice_indicative_mood_future_tense, :active_voice_indicative_mood_futureperfect_tense, :active_voice_indicative_mood_imperfect_tense, :active_voice_indicative_mood_pastperfect_tense, :active_voice_indicative_mood_perfect_tense, :active_voice_indicative_mood_present_tense, :active_voice_subjunctive_mood_imperfect_tense, :active_voice_subjunctive_mood_pastperfect_tense, :active_voice_subjunctive_mood_perfect_tense, :active_voice_subjunctive_mood_present_tense, :passive_voice_indicative_mood_future_tense, :passive_voice_indicative_mood_futureperfect_tense, :passive_voice_indicative_mood_imperfect_tense, :passive_voice_indicative_mood_pastperfect_tense, :passive_voice_indicative_mood_perfect_tense, :passive_voice_indicative_mood_present_tense, :passive_voice_subjunctive_mood_imperfect_tense, :passive_voice_subjunctive_mood_pastperfect_tense, :passive_voice_subjunctive_mood_perfect_tense, :passive_voice_subjunctive_mood_present_tense ]
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#original_string ⇒ Object
readonly
Returns the value of attribute original_string.
-
#querent ⇒ Object
readonly
Returns the value of attribute querent.
Instance Method Summary collapse
-
#initialize(data, options = {}) ⇒ LatinVerb
constructor
A new instance of LatinVerb.
Constructor Details
#initialize(data, options = {}) ⇒ LatinVerb
Returns a new instance of LatinVerb.
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/latinverb/latinverb.rb', line 9 def initialize(data, = {}) = @original_string = (data['original_string'] || data) @prin_parts_extractor = PrincipalPartsExtractor.new(@original_string) @classifier = Classifier.new(self) @stem_deriver = StemDeriver.new(self) @type_evaluator = TypeEvaluator.new(self) @validator = Validator.new(self) @querent = QuerentForClassificationBuilder.new(self).querent @infinitivizer = InfinitivesFactory.new(self).infinitives @imperative_handler = ImperativesFactory.new(self).imperatives @participler = ParticiplesFactory.new(self).participles delegate_verb_method_calls_to_delegate! end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
7 8 9 |
# File 'lib/latinverb/latinverb.rb', line 7 def end |
#original_string ⇒ Object (readonly)
Returns the value of attribute original_string.
7 8 9 |
# File 'lib/latinverb/latinverb.rb', line 7 def original_string @original_string end |
#querent ⇒ Object (readonly)
Returns the value of attribute querent.
7 8 9 |
# File 'lib/latinverb/latinverb.rb', line 7 def querent @querent end |