Class: Kotoshu::Languages::Russian::GrammarRules::VerbalAspectRule
- Defined in:
- lib/kotoshu/languages/ru/language.rb
Overview
Rule: Verbal aspect consistency
Constant Summary collapse
- IMPERFECTIVE_SUFFIXES =
%w[ать ять].freeze
- PERFECTIVE_SUFFIXES =
%w[ить по].freeze
Instance Attribute Summary
Attributes inherited from Rule
Instance Method Summary collapse
- #check(tokens) ⇒ Object
-
#initialize ⇒ VerbalAspectRule
constructor
A new instance of VerbalAspectRule.
Constructor Details
#initialize ⇒ VerbalAspectRule
Returns a new instance of VerbalAspectRule.
276 277 278 |
# File 'lib/kotoshu/languages/ru/language.rb', line 276 def initialize super('RU_VERBAL_ASPECT', 'Verbal Aspect', 'Russian verbs should use consistent aspect (imperfective/perfective).') end |
Instance Method Details
#check(tokens) ⇒ Object
280 281 282 283 |
# File 'lib/kotoshu/languages/ru/language.rb', line 280 def check(tokens) # Simplified implementation [] end |