OLD | NEW |
1 ######################## BEGIN LICENSE BLOCK ######################## | 1 ######################## BEGIN LICENSE BLOCK ######################## |
2 # The Original Code is Mozilla Communicator client code. | 2 # The Original Code is Mozilla Communicator client code. |
3 # | 3 # |
4 # The Initial Developer of the Original Code is | 4 # The Initial Developer of the Original Code is |
5 # Netscape Communications Corporation. | 5 # Netscape Communications Corporation. |
6 # Portions created by the Initial Developer are Copyright (C) 1998 | 6 # Portions created by the Initial Developer are Copyright (C) 1998 |
7 # the Initial Developer. All Rights Reserved. | 7 # the Initial Developer. All Rights Reserved. |
8 # | 8 # |
9 # Contributor(s): | 9 # Contributor(s): |
10 # Mark Pilgrim - port to Python | 10 # Mark Pilgrim - port to Python |
(...skipping 22 matching lines...) Expand all Loading... |
33 | 33 |
34 class Big5Prober(MultiByteCharSetProber): | 34 class Big5Prober(MultiByteCharSetProber): |
35 def __init__(self): | 35 def __init__(self): |
36 MultiByteCharSetProber.__init__(self) | 36 MultiByteCharSetProber.__init__(self) |
37 self._mCodingSM = CodingStateMachine(Big5SMModel) | 37 self._mCodingSM = CodingStateMachine(Big5SMModel) |
38 self._mDistributionAnalyzer = Big5DistributionAnalysis() | 38 self._mDistributionAnalyzer = Big5DistributionAnalysis() |
39 self.reset() | 39 self.reset() |
40 | 40 |
41 def get_charset_name(self): | 41 def get_charset_name(self): |
42 return "Big5" | 42 return "Big5" |
OLD | NEW |