Class: Conjugators::ActionVerbs::PastThree

Inherits:
Object
  • Object
show all
Extended by:
Shared
Defined in:
lib/conjugators/action_verbs/past_three.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Shared

irregulars_three_way, irregulars_two_way

Constructor Details

#initialize(verb) ⇒ PastThree

Note, MVSKOKE language here



6
7
8
9
10
11
12
# File 'lib/conjugators/action_verbs/past_three.rb', line 6

def initialize(verb)
  @verb = verb

  raise "Invalid verb. Verb must end with 'etv'." unless @verb.end_with?("etv")

  @irregular = !!irregulars[@verb]
end

Class Method Details

.past_two_person_markersObject



273
274
275
276
277
278
279
280
281
282
# File 'lib/conjugators/action_verbs/past_three.rb', line 273

def self.past_two_person_markers
  {
    '1ps' => %w{   imvt   },
    '2ps' => %w{ etskemvt eckemvt eccemvt etcemvt },
    '3ps' => %w{   emvt   },  # (e)
    '1pp' => %w{  ēyemvt  },
    '2pp' => %w{ atskemvt ackemvt },
    '3pp' => %w{  akemvt  },  # ak(e) *
  }
end

Instance Method Details

#conjugate!Object



14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# File 'lib/conjugators/action_verbs/past_three.rb', line 14

def conjugate!
  {
    verb: @verb,
    first_person_singular: {
      basic:                      conjugate(tense: :conjugate_1ps, type: :basic),
      tos_auxiliary:              conjugate(tense: :conjugate_1ps, type: :tos_auxiliary),
      ometv_conjugated_auxiliary: conjugate(tense: :conjugate_1ps, type: :ometv_conjugated_auxiliary)
    },
    second_person_singular: {
      basic:                      conjugate(tense: :conjugate_2ps, type: :basic),
      tos_auxiliary:              conjugate(tense: :conjugate_2ps, type: :tos_auxiliary),
      ometv_conjugated_auxiliary: conjugate(tense: :conjugate_2ps, type: :ometv_conjugated_auxiliary)
    },
    third_person_singular: {
      basic:                      conjugate(tense: :conjugate_3ps, type: :basic),
      tos_auxiliary:              conjugate(tense: :conjugate_3ps, type: :tos_auxiliary),
      ometv_conjugated_auxiliary: conjugate(tense: :conjugate_3ps, type: :ometv_conjugated_auxiliary)
    },
    first_person_plural: {
      basic:                      conjugate(tense: :conjugate_1pp, type: :basic),
      tos_auxiliary:              conjugate(tense: :conjugate_1pp, type: :tos_auxiliary),
      ometv_conjugated_auxiliary: conjugate(tense: :conjugate_1pp, type: :ometv_conjugated_auxiliary)
    },
    second_person_plural: {
      basic:                      conjugate(tense: :conjugate_2pp, type: :basic),
      tos_auxiliary:              conjugate(tense: :conjugate_2pp, type: :tos_auxiliary),
      ometv_conjugated_auxiliary: conjugate(tense: :conjugate_2pp, type: :ometv_conjugated_auxiliary)
    },
    third_person_plural: {
      basic:                      conjugate(tense: :conjugate_3pp, type: :basic),
      tos_auxiliary:              conjugate(tense: :conjugate_3pp, type: :tos_auxiliary),
      ometv_conjugated_auxiliary: conjugate(tense: :conjugate_3pp, type: :ometv_conjugated_auxiliary)
    }
  }
end