Module: BimyouSegmenter

Defined in:
lib/bimyou_segmenter.rb,
lib/bimyou_segmenter/version.rb,
lib/bimyou_segmenter/aozora_model.rb

Defined Under Namespace

Modules: AozoraModel

Constant Summary collapse

VERSION =
"1.2.0"

Class Method Summary collapse

Class Method Details

.segment(text, options = {}) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/bimyou_segmenter.rb', line 13

def self.segment(text, options = {})
  if (HAS_EXT)
    BimyouSegmenterExt.segment(text, options)
  else
    AozoraModel.segment(text, options)
  end
end