Class: UniversalDetector::MBCSGroupProber

Inherits:
CharSetGroupProber show all
Defined in:
lib/MBCSGroupProber.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#initializeMBCSGroupProber

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

#mProbersObject (readonly)

Returns the value of attribute mProbers.



42
43
44
# File 'lib/MBCSGroupProber.rb', line 42

def mProbers
  @mProbers
end