Class: CharDet::MBCSGroupProber

Inherits:
CharSetGroupProber show all
Defined in:
lib/rchardet/mbcsgroupprober.rb

Instance Attribute Summary

Attributes inherited from CharSetGroupProber

#_mProbers

Attributes inherited from CharSetProber

#active

Instance Method Summary collapse

Methods inherited from CharSetGroupProber

#charset_name, #confidence, #feed, #reset

Methods inherited from CharSetProber

#confidence, #filter_high_bit_only, #filter_with_english_letters, #filter_without_english_letters, #reset, #result, #state

Constructor Details

#initializeMBCSGroupProber

Returns a new instance of MBCSGroupProber.



33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/rchardet/mbcsgroupprober.rb', line 33

def initialize
  super
  @_mProbers = [
    UTF8Prober.new,
    SJISProber.new,
    EUCJPProber.new,
    GB2312Prober.new,
    EUCKRProber.new,
    Big5Prober.new,
    EUCTWProber.new
  ]
  reset()
end