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.
286 287 288 |
# File 'lib/kotoshu/languages/ru/language.rb', line 286 def initialize super('RU_VERBAL_ASPECT', 'Verbal Aspect', 'Russian verbs should use consistent aspect (imperfective/perfective).') end |
Instance Method Details
#check(_tokens) ⇒ Object
290 291 292 293 |
# File 'lib/kotoshu/languages/ru/language.rb', line 290 def check(_tokens) # Simplified implementation [] end |