Skip to content

Commit

Permalink
Change adjective decl 3 to 33 and add 3 as pure consonantic decl
Browse files Browse the repository at this point in the history
  • Loading branch information
lichtr committed Aug 14, 2014
1 parent 96fedb2 commit 20d9c05
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions lib/llt/constants/endings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,11 +137,12 @@ def self.get(inflection_class, number_of_endings, comparatio = :positivus)
:AO
else # positivus - or nil if someone has forgotten to provide a value
case [inflection_class, number_of_endings]
when [1, 3] then :AO
when [3, 1] then :MIXED_1
when [3, 2] then :MIXED_2
when [3, 3] then :MIXED_3
when [5, 3] then :PRONOMINAL
when [1, 3] then :AO
when [3, 1] then :CONSONANTIC
when [33, 1] then :MIXED_1
when [33, 2] then :MIXED_2
when [33, 3] then :MIXED_3
when [5, 3] then :PRONOMINAL
end
end)
end
Expand All @@ -163,7 +164,7 @@ def self.get(inflection_class, stem, comparatio)
end

def self.positivus_ending(inflection_class, stem)
if inflection_class == 3
if inflection_class.to_s =~ /3/
case stem
when /nt$/ then :ER
when /^facil$/ then :E
Expand Down

0 comments on commit 20d9c05

Please sign in to comment.