Class: UniversalDetector::MBCSGroupProber
- Inherits:
-
CharSetGroupProber
- Object
- CharSetProber
- CharSetGroupProber
- UniversalDetector::MBCSGroupProber
- Defined in:
- lib/MBCSGroupProber.rb
Instance Attribute Summary collapse
-
#mProbers ⇒ Object
readonly
Returns the value of attribute mProbers.
Instance Method Summary collapse
-
#initialize ⇒ MBCSGroupProber
constructor
A new instance of MBCSGroupProber.
Methods inherited from CharSetGroupProber
#feed, #get_charset_name, #get_confidence, #reset
Methods inherited from CharSetProber
#feed, #filter_high_bit_only, #filter_with_english_letters, #filter_without_english_letters, #get_charset_name, #get_confidence, #get_state, #reset
Constructor Details
#initialize ⇒ MBCSGroupProber
Returns a new instance of MBCSGroupProber.
44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/MBCSGroupProber.rb', line 44 def initialize super @mProbers = [ \ UTF8Prober.new, SJISProber.new, EUCJPProber.new, GB2312Prober.new, EUCKRProber.new, Big5Prober.new, EUCTWProber.new] reset() end |
Instance Attribute Details
#mProbers ⇒ Object (readonly)
Returns the value of attribute mProbers.
42 43 44 |
# File 'lib/MBCSGroupProber.rb', line 42 def mProbers @mProbers end |