Class: Kotoshu::Languages::Japanese::GrammarRules::ParticleRule
- Defined in:
- lib/kotoshu/languages/ja/language.rb
Overview
Rule: Particle usage (wa vs ga)
Instance Attribute Summary
Attributes inherited from Rule
Instance Method Summary collapse
- #check(_tokens) ⇒ Object
-
#initialize ⇒ ParticleRule
constructor
A new instance of ParticleRule.
Constructor Details
#initialize ⇒ ParticleRule
Returns a new instance of ParticleRule.
345 346 347 |
# File 'lib/kotoshu/languages/ja/language.rb', line 345 def initialize super('JA_PARTICLE_USAGE', 'Particle Usage', 'Correct usage of topic marker は vs subject marker が.') end |
Instance Method Details
#check(_tokens) ⇒ Object
349 350 351 352 |
# File 'lib/kotoshu/languages/ja/language.rb', line 349 def check(_tokens) # Simplified implementation [] end |