Class: MeCab::Node
Instance Method Summary collapse
Methods included from Enumerable
Instance Method Details
#category ⇒ Object
34 35 36 |
# File 'lib/linkterm.rb', line 34 def category return self.feature.split(/,/)[0] end |
#each(&b) ⇒ Object
38 39 40 41 |
# File 'lib/linkterm.rb', line 38 def each(&b) b[self] self.next.each(&b) if self.next end |