Class: TwitterCldr::Segmentation::KhmerBreakEngine
- Inherits:
-
Object
- Object
- TwitterCldr::Segmentation::KhmerBreakEngine
- Extended by:
- Forwardable
- Includes:
- Singleton
- Defined in:
- lib/twitter_cldr/segmentation/khmer_break_engine.rb
Overview
Class Method Summary collapse
Class Method Details
.word_set ⇒ Object
20 21 22 23 24 25 26 |
# File 'lib/twitter_cldr/segmentation/khmer_break_engine.rb', line 20 def self.word_set @word_set ||= begin uset = TwitterCldr::Shared::UnicodeSet.new uset.apply_pattern('[[:Khmer:]&[:Line_Break=SA:]]') uset.to_set end end |