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.
348 349 350 |
# File 'lib/kotoshu/languages/ja/language.rb', line 348 def initialize super('JA_PARTICLE_USAGE', 'Particle Usage', 'Correct usage of topic marker は vs subject marker が.') end |
Instance Method Details
#check(tokens) ⇒ Object
352 353 354 355 |
# File 'lib/kotoshu/languages/ja/language.rb', line 352 def check(tokens) # Simplified implementation [] end |