/wordcuta

A wordcutw wrapper from Ruby

Primary LanguageRubyGNU Lesser General Public License v3.0LGPL-3.0

WordcutA

Install

Example

require 'wordcuta'
wc = WordcutA::Wordcut.new(WordcutA::DEFAULT_THAI_DICT_PATH)
p wc.put_delimiters('กากาก้า', '|')
p wc.into_strings('กากา')
p wc.into_ranges('กากา')