Class: CharDet::EUCTWProber

Inherits:
MultiByteCharSetProber show all
Defined in:
lib/rchardet/euctwprober.rb

Instance Attribute Summary

Attributes inherited from CharSetProber

#active

Instance Method Summary collapse

Methods inherited from MultiByteCharSetProber

#feed, #get_confidence, #reset

Methods inherited from CharSetProber

#feed, #filter_high_bit_only, #filter_with_english_letters, #filter_without_english_letters, #get_confidence, #get_state, #reset

Constructor Details

#initializeEUCTWProber

Returns a new instance of EUCTWProber.



31
32
33
34
35
36
# File 'lib/rchardet/euctwprober.rb', line 31

def initialize
  super()
  @codingSM = CodingStateMachine.new(EUCTWSMModel)
  @distributionAnalyzer = EUCTWDistributionAnalysis.new()
  reset()
end

Instance Method Details

#get_charset_nameObject



38
39
40
# File 'lib/rchardet/euctwprober.rb', line 38

def get_charset_name
  return "EUC-TW"
end