home *** CD-ROM | disk | FTP | other *** search
- # Source Generated with Decompyle++
- # File: in.pyc (Python 2.6)
-
- import constants
- import re
-
- class CharSetProber:
-
- def __init__(self):
- pass
-
-
- def reset(self):
- self._mState = constants.eDetecting
-
-
- def get_charset_name(self):
- pass
-
-
- def feed(self, aBuf):
- pass
-
-
- def get_state(self):
- return self._mState
-
-
- def get_confidence(self):
- return 0
-
-
- def filter_high_bit_only(self, aBuf):
- aBuf = re.sub('([\\x00-\\x7F])+', ' ', aBuf)
- return aBuf
-
-
- def filter_without_english_letters(self, aBuf):
- aBuf = re.sub('([A-Za-z])+', ' ', aBuf)
- return aBuf
-
-
- def filter_with_english_letters(self, aBuf):
- return aBuf
-
-
-