Sha256: 4d9ef7c7f738db7a7ac5eb6a1d8c549d1ccb80f71c88a229e1dae14cbae7c25e
Contents?: true
Size: 509 Bytes
Versions: 25
Compression:
Stored size: 509 Bytes
Contents
# encoding: UTF-8 # Copyright 2012 Twitter, Inc # http://www.apache.org/licenses/LICENSE-2.0 require 'singleton' module TwitterCldr module Segmentation class KoreanBreakEngine < CjBreakEngine include Singleton def self.word_set @word_set ||= begin uset = TwitterCldr::Shared::UnicodeSet.new uset.add_range(0xAC00..0xD7A3) uset.to_set end end private def word_set self.class.word_set end end end end
Version data entries
25 entries across 25 versions & 1 rubygems