PATH: //usr/lib/python3.9/site-packages/chardet
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 __init__.py
↓
X
📁 __pycache__/
X
📄 big5freq.py
↓
X
📄 big5prober.py
↓
X
📄 chardistribution.py
↓
X
📄 charsetgroupprober.py
↓
X
📄 charsetprober.py
↓
X
📁 cli/
X
📄 codingstatemachine.py
↓
X
📄 compat.py
↓
X
📄 cp949prober.py
↓
X
📄 enums.py
↓
X
📄 escprober.py
↓
X
📄 escsm.py
↓
X
📄 eucjpprober.py
↓
X
📄 euckrfreq.py
↓
X
📄 euckrprober.py
↓
X
📄 euctwfreq.py
↓
X
📄 euctwprober.py
↓
X
📄 gb2312freq.py
↓
X
📄 gb2312prober.py
↓
X
📄 hebrewprober.py
↓
X
📄 jisfreq.py
↓
X
📄 jpcntx.py
↓
X
📄 langbulgarianmodel.py
↓
X
📄 langgreekmodel.py
↓
X
📄 langhebrewmodel.py
↓
X
📄 langhungarianmodel.py
↓
X
📄 langrussianmodel.py
↓
X
📄 langthaimodel.py
↓
X
📄 langturkishmodel.py
↓
X
📄 latin1prober.py
↓
X
📄 mbcharsetprober.py
↓
X
📄 mbcsgroupprober.py
↓
X
📄 mbcssm.py
↓
X
📁 metadata/
X
📄 sbcharsetprober.py
↓
X
📄 sbcsgroupprober.py
↓
X
📄 sjisprober.py
↓
X
📄 universaldetector.py
↓
X
📄 utf8prober.py
↓
X
📄 version.py
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: euctwprober.py
######################## BEGIN LICENSE BLOCK ######################## # The Original Code is mozilla.org code. # # The Initial Developer of the Original Code is # Netscape Communications Corporation. # Portions created by the Initial Developer are Copyright (C) 1998 # the Initial Developer. All Rights Reserved. # # Contributor(s): # Mark Pilgrim - port to Python # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA # 02110-1301 USA ######################### END LICENSE BLOCK ######################### from .mbcharsetprober import MultiByteCharSetProber from .codingstatemachine import CodingStateMachine from .chardistribution import EUCTWDistributionAnalysis from .mbcssm import EUCTW_SM_MODEL class EUCTWProber(MultiByteCharSetProber): def __init__(self): super(EUCTWProber, self).__init__() self.coding_sm = CodingStateMachine(EUCTW_SM_MODEL) self.distribution_analyzer = EUCTWDistributionAnalysis() self.reset() @property def charset_name(self): return "EUC-TW" @property def language(self): return "Taiwan"
SIMPAN PERUBAHAN