Class: NHKore::BimyouSplitter
- Defined in:
- lib/nhkore/splitter.rb
Direct Known Subclasses
Instance Method Summary collapse
- #end_split(str) ⇒ Object
-
#initialize ⇒ BimyouSplitter
constructor
A new instance of BimyouSplitter.
Methods inherited from Splitter
Constructor Details
#initialize ⇒ BimyouSplitter
Returns a new instance of BimyouSplitter.
36 37 38 39 40 |
# File 'lib/nhkore/splitter.rb', line 36 def initialize(*) require 'bimyou_segmenter' super end |
Instance Method Details
#end_split(str) ⇒ Object
42 43 44 |
# File 'lib/nhkore/splitter.rb', line 42 def end_split(str) return BimyouSegmenter.segment(str,symbol: false,white_space: false) end |