Class: UniversalDetector::Big5Prober
- Inherits:
-
MultiByteCharSetProber
- Object
- CharSetProber
- MultiByteCharSetProber
- UniversalDetector::Big5Prober
- Defined in:
- lib/Big5Prober.rb
Instance Method Summary collapse
- #get_charset_name ⇒ Object
-
#initialize ⇒ Big5Prober
constructor
A new instance of Big5Prober.
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
#initialize ⇒ Big5Prober
Returns a new instance of Big5Prober.
37 38 39 40 41 42 |
# File 'lib/Big5Prober.rb', line 37 def initialize super @_mCodingSM = CodingStateMachine.new(Big5SMModel) @_mDistributionAnalyzer = Big5DistributionAnalysis.new reset() end |
Instance Method Details
#get_charset_name ⇒ Object
44 45 46 |
# File 'lib/Big5Prober.rb', line 44 def get_charset_name return "Big5" end |