Class: UniversalDetector::EUCKRProber

Inherits:
MultiByteCharSetProber show all
Defined in:
lib/EUCKRProber.rb

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

#initializeEUCKRProber

Returns a new instance of EUCKRProber.



37
38
39
40
41
42
# File 'lib/EUCKRProber.rb', line 37

def initialize
    super
    @_mCodingSM = CodingStateMachine.new(EUCKRSMModel)
    @_mDistributionAnalyzer = EUCKRDistributionAnalysis.new
    reset()
end

Instance Method Details

#get_charset_nameObject



44
45
46
# File 'lib/EUCKRProber.rb', line 44

def get_charset_name
    return "EUC-KR"
end