Class: Sastrawi::Stemmer::Context::Removal
- Inherits:
-
Object
- Object
- Sastrawi::Stemmer::Context::Removal
- Defined in:
- lib/sastrawi/stemmer/context/removal.rb
Instance Attribute Summary collapse
-
#affix_type ⇒ Object
readonly
Returns the value of attribute affix_type.
-
#removed_part ⇒ Object
readonly
Returns the value of attribute removed_part.
-
#result ⇒ Object
readonly
Returns the value of attribute result.
-
#subject ⇒ Object
readonly
Returns the value of attribute subject.
-
#visitor ⇒ Object
readonly
Returns the value of attribute visitor.
Instance Method Summary collapse
-
#initialize(visitor, subject, result, removed_part, affix_type) ⇒ Removal
constructor
A new instance of Removal.
Constructor Details
#initialize(visitor, subject, result, removed_part, affix_type) ⇒ Removal
Returns a new instance of Removal.
7 8 9 10 11 12 13 |
# File 'lib/sastrawi/stemmer/context/removal.rb', line 7 def initialize(visitor, subject, result, removed_part, affix_type) @visitor = visitor @subject = subject @result = result @removed_part = removed_part @affix_type = affix_type end |
Instance Attribute Details
#affix_type ⇒ Object (readonly)
Returns the value of attribute affix_type.
5 6 7 |
# File 'lib/sastrawi/stemmer/context/removal.rb', line 5 def affix_type @affix_type end |
#removed_part ⇒ Object (readonly)
Returns the value of attribute removed_part.
5 6 7 |
# File 'lib/sastrawi/stemmer/context/removal.rb', line 5 def removed_part @removed_part end |
#result ⇒ Object (readonly)
Returns the value of attribute result.
5 6 7 |
# File 'lib/sastrawi/stemmer/context/removal.rb', line 5 def result @result end |
#subject ⇒ Object (readonly)
Returns the value of attribute subject.
5 6 7 |
# File 'lib/sastrawi/stemmer/context/removal.rb', line 5 def subject @subject end |
#visitor ⇒ Object (readonly)
Returns the value of attribute visitor.
5 6 7 |
# File 'lib/sastrawi/stemmer/context/removal.rb', line 5 def visitor @visitor end |