Class: CharDet::EUCKRProber
- Inherits:
-
MultiByteCharSetProber
- Object
- CharSetProber
- MultiByteCharSetProber
- CharDet::EUCKRProber
- Defined in:
- lib/rchardet/euckrprober.rb
Instance Attribute Summary
Attributes inherited from CharSetProber
Instance Method Summary collapse
- #charset_name ⇒ Object
-
#initialize ⇒ EUCKRProber
constructor
A new instance of EUCKRProber.
Methods inherited from MultiByteCharSetProber
Methods inherited from CharSetProber
#confidence, #filter_high_bit_only, #filter_with_english_letters, #filter_without_english_letters, #reset, #result, #state
Constructor Details
#initialize ⇒ EUCKRProber
Returns a new instance of EUCKRProber.
31 32 33 34 35 36 |
# File 'lib/rchardet/euckrprober.rb', line 31 def initialize super() @_mCodingSM = CodingStateMachine.new(EUCKRSMModel) @_mDistributionAnalyzer = EUCKRDistributionAnalysis.new() reset() end |
Instance Method Details
#charset_name ⇒ Object
38 39 40 |
# File 'lib/rchardet/euckrprober.rb', line 38 def charset_name return "EUC-KR" end |