Exemplo n.º 1
0
	def __init__(self):
		MultiByteCharSetProber.__init__(self)
		self._mCodingSM = CodingStateMachine(SJISSMModel)
		self._mDistributionAnalyzer = SJISDistributionAnalysis()
		self._mContextAnalyzer = SJISContextAnalysis()
		self.reset()
Exemplo n.º 2
0
	def reset(self):
		MultiByteCharSetProber.reset(self)
		self._mContextAnalyzer.reset()
Exemplo n.º 3
0
 def __init__(self):
     MultiByteCharSetProber.__init__(self)
     self._mCodingSM = CodingStateMachine(EUCKRSMModel)
     self._mDistributionAnalyzer = EUCKRDistributionAnalysis()
     self.reset()