ThirdParty/CharDet/chardet/euctwprober.py

changeset 12
1d8dd9706f46
parent 0
de9c2efb9d02
child 3537
7662053c3906
equal deleted inserted replaced
11:b0996e4a289e 12:1d8dd9706f46
23 # License along with this library; if not, write to the Free Software 23 # License along with this library; if not, write to the Free Software
24 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 24 # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
25 # 02110-1301 USA 25 # 02110-1301 USA
26 ######################### END LICENSE BLOCK ######################### 26 ######################### END LICENSE BLOCK #########################
27 27
28 from mbcharsetprober import MultiByteCharSetProber 28 from .mbcharsetprober import MultiByteCharSetProber
29 from codingstatemachine import CodingStateMachine 29 from .codingstatemachine import CodingStateMachine
30 from chardistribution import EUCTWDistributionAnalysis 30 from .chardistribution import EUCTWDistributionAnalysis
31 from mbcssm import EUCTWSMModel 31 from .mbcssm import EUCTWSMModel
32 32
33 class EUCTWProber(MultiByteCharSetProber): 33 class EUCTWProber(MultiByteCharSetProber):
34 def __init__(self): 34 def __init__(self):
35 MultiByteCharSetProber.__init__(self) 35 MultiByteCharSetProber.__init__(self)
36 self._mCodingSM = CodingStateMachine(EUCTWSMModel) 36 self._mCodingSM = CodingStateMachine(EUCTWSMModel)

eric ide

mercurial