/opt/alt/python37/lib/python3.7/site-packages/chardet/__pycache__
NameSizeModeActions
big5freq.cpython-37.opt-1.pyc271390644editdlrm
big5freq.cpython-37.pyc271390644editdlrm
big5prober.cpython-37.opt-1.pyc10800644editdlrm
big5prober.cpython-37.pyc10800644editdlrm
chardistribution.cpython-37.opt-1.pyc62660644editdlrm
chardistribution.cpython-37.pyc62660644editdlrm
charsetgroupprober.cpython-37.opt-1.pyc21870644editdlrm
charsetgroupprober.cpython-37.pyc21870644editdlrm
charsetprober.cpython-37.opt-1.pyc33970644editdlrm
charsetprober.cpython-37.pyc33970644editdlrm
codingstatemachine.cpython-37.opt-1.pyc28440644editdlrm
codingstatemachine.cpython-37.pyc28440644editdlrm
compat.cpython-37.opt-1.pyc3150644editdlrm
compat.cpython-37.pyc3150644editdlrm
cp949prober.cpython-37.opt-1.pyc10870644editdlrm
cp949prober.cpython-37.pyc10870644editdlrm
enums.cpython-37.opt-1.pyc25780644editdlrm
enums.cpython-37.pyc25780644editdlrm
escprober.cpython-37.opt-1.pyc25650644editdlrm
escprober.cpython-37.pyc25650644editdlrm
escsm.cpython-37.opt-1.pyc70260644editdlrm
escsm.cpython-37.pyc70260644editdlrm
eucjpprober.cpython-37.opt-1.pyc23730644editdlrm
eucjpprober.cpython-37.pyc23730644editdlrm
euckrfreq.cpython-37.opt-1.pyc120230644editdlrm
euckrfreq.cpython-37.pyc120230644editdlrm
euckrprober.cpython-37.opt-1.pyc10880644editdlrm
euckrprober.cpython-37.pyc10880644editdlrm
euctwfreq.cpython-37.opt-1.pyc271430644editdlrm
euctwfreq.cpython-37.pyc271430644editdlrm
euctwprober.cpython-37.opt-1.pyc10880644editdlrm
euctwprober.cpython-37.pyc10880644editdlrm
gb2312freq.cpython-37.opt-1.pyc190670644editdlrm
gb2312freq.cpython-37.pyc190670644editdlrm
gb2312prober.cpython-37.opt-1.pyc10960644editdlrm
gb2312prober.cpython-37.pyc10960644editdlrm
hebrewprober.cpython-37.opt-1.pyc29300644editdlrm
hebrewprober.cpython-37.pyc29300644editdlrm
jisfreq.cpython-37.opt-1.pyc220950644editdlrm
jisfreq.cpython-37.pyc220950644editdlrm
jpcntx.cpython-37.opt-1.pyc379740644editdlrm
jpcntx.cpython-37.pyc379740644editdlrm
langbulgarianmodel.cpython-37.opt-1.pyc235880644editdlrm
langbulgarianmodel.cpython-37.pyc235880644editdlrm
langcyrillicmodel.cpython-37.opt-1.pyc290440644editdlrm
langcyrillicmodel.cpython-37.pyc290440644editdlrm
langgreekmodel.cpython-37.opt-1.pyc235460644editdlrm
langgreekmodel.cpython-37.pyc235460644editdlrm
langhebrewmodel.cpython-37.opt-1.pyc221750644editdlrm
langhebrewmodel.cpython-37.pyc221750644editdlrm
langhungarianmodel.cpython-37.opt-1.pyc235770644editdlrm
langhungarianmodel.cpython-37.pyc235770644editdlrm
langthaimodel.cpython-37.opt-1.pyc221540644editdlrm
langthaimodel.cpython-37.pyc221540644editdlrm
langturkishmodel.cpython-37.opt-1.pyc221770644editdlrm
langturkishmodel.cpython-37.pyc221770644editdlrm
latin1prober.cpython-37.opt-1.pyc28870644editdlrm
latin1prober.cpython-37.pyc28870644editdlrm
mbcharsetprober.cpython-37.opt-1.pyc21920644editdlrm
mbcharsetprober.cpython-37.pyc21920644editdlrm
mbcsgroupprober.cpython-37.opt-1.pyc10830644editdlrm
mbcsgroupprober.cpython-37.pyc10830644editdlrm
mbcssm.cpython-37.opt-1.pyc156380644editdlrm
mbcssm.cpython-37.pyc156380644editdlrm
sbcharsetprober.cpython-37.opt-1.pyc29450644editdlrm
sbcharsetprober.cpython-37.pyc29450644editdlrm
sbcsgroupprober.cpython-37.opt-1.pyc15730644editdlrm
sbcsgroupprober.cpython-37.pyc15730644editdlrm
sjisprober.cpython-37.opt-1.pyc23990644editdlrm
sjisprober.cpython-37.pyc23990644editdlrm
universaldetector.cpython-37.opt-1.pyc57890644editdlrm
universaldetector.cpython-37.pyc57890644editdlrm
utf8prober.cpython-37.opt-1.pyc19300644editdlrm
utf8prober.cpython-37.pyc19300644editdlrm
version.cpython-37.opt-1.pyc3990644editdlrm
version.cpython-37.pyc3990644editdlrm
__init__.cpython-37.opt-1.pyc8040644editdlrm
__init__.cpython-37.pyc8040644editdlrm
Edit: /opt/alt/python37/lib/python3.7/site-packages/chardet/__pycache__/chardistribution.cpython-37.pyc (6266B)
B <_9YÃ$ã@sØddlmZmZmZddlmZmZmZddlm Z m Z m Z ddl m Z mZmZddlmZmZmZGdd„deƒZGdd „d eƒZGd d „d eƒZGd d „d eƒZGdd„deƒZGdd„deƒZGdd„deƒZdS)é)ÚEUCTW_CHAR_TO_FREQ_ORDERÚEUCTW_TABLE_SIZEÚ EUCTW_TYPICAL_DISTRIBUTION_RATIO)ÚEUCKR_CHAR_TO_FREQ_ORDERÚEUCKR_TABLE_SIZEÚ EUCKR_TYPICAL_DISTRIBUTION_RATIO)ÚGB2312_CHAR_TO_FREQ_ORDERÚGB2312_TABLE_SIZEÚ!GB2312_TYPICAL_DISTRIBUTION_RATIO)ÚBIG5_CHAR_TO_FREQ_ORDERÚBIG5_TABLE_SIZEÚBIG5_TYPICAL_DISTRIBUTION_RATIO)ÚJIS_CHAR_TO_FREQ_ORDERÚJIS_TABLE_SIZEÚJIS_TYPICAL_DISTRIBUTION_RATIOc@sLeZdZdZdZdZdZdd„Zdd„Zd d „Z d d „Z d d„Z dd„Z dS)ÚCharDistributionAnalysisig®Gáz®ï?g{®Gáz„?écCs0d|_d|_d|_d|_d|_d|_| ¡dS)N)Ú_char_to_freq_orderÚ _table_sizeÚtypical_distribution_ratioÚ_doneÚ _total_charsÚ _freq_charsÚreset)Úself©rúI/opt/alt/python37/lib/python3.7/site-packages/chardet/chardistribution.pyÚ__init__.sz!CharDistributionAnalysis.__init__cCsd|_d|_d|_dS)zreset analyser, clear any stateFéN)rrr)rrrrr=szCharDistributionAnalysis.resetcCsX|dkr| |¡}nd}|dkrT|jd7_||jkrTd|j|krT|jd7_dS)z"feed a character with known lengthééÿÿÿÿrriN)Ú get_orderrrrr)rÚcharZchar_lenÚorderrrrÚfeedFs  zCharDistributionAnalysis.feedcCsT|jdks|j|jkr|jS|j|jkrN|j|j|j|j}||jkrN|S|jS)z(return confidence based on existing datar)rrÚMINIMUM_DATA_THRESHOLDÚSURE_NOrÚSURE_YES)rÚrrrrÚget_confidenceTs   z'CharDistributionAnalysis.get_confidencecCs |j|jkS)N)rÚENOUGH_DATA_THRESHOLD)rrrrÚgot_enough_datadsz(CharDistributionAnalysis.got_enough_datacCsdS)Nr r)rÚbyte_strrrrr!isz"CharDistributionAnalysis.get_orderN) Ú__name__Ú __module__Ú __qualname__r*r'r&r%rrr$r)r+r!rrrrr(s rcs$eZdZ‡fdd„Zdd„Z‡ZS)ÚEUCTWDistributionAnalysiscs$tt|ƒ ¡t|_t|_t|_dS)N) Úsuperr0rrrrrrr)r)Ú __class__rrrrsz"EUCTWDistributionAnalysis.__init__cCs0|d}|dkr(d|d|ddSdSdS)NréÄé^ré¡r r)rr,Ú first_charrrrr!xsz#EUCTWDistributionAnalysis.get_order)r-r.r/rr!Ú __classcell__rr)r2rr0qs r0cs$eZdZ‡fdd„Zdd„Z‡ZS)ÚEUCKRDistributionAnalysiscs$tt|ƒ ¡t|_t|_t|_dS)N) r1r8rrrrrrr)r)r2rrr…sz"EUCKRDistributionAnalysis.__init__cCs0|d}|dkr(d|d|ddSdSdS)Nré°r4rr5r r)rr,r6rrrr!‹sz#EUCKRDistributionAnalysis.get_order)r-r.r/rr!r7rr)r2rr8„s r8cs$eZdZ‡fdd„Zdd„Z‡ZS)ÚGB2312DistributionAnalysiscs$tt|ƒ ¡t|_t|_t|_dS)N) r1r:rrrr rr r)r)r2rrr˜sz#GB2312DistributionAnalysis.__init__cCs>|d|d}}|dkr6|dkr6d|d|dSdSdS)Nrrr9r5r4r r)rr,r6Ú second_charrrrr!žsz$GB2312DistributionAnalysis.get_order)r-r.r/rr!r7rr)r2rr:—s r:cs$eZdZ‡fdd„Zdd„Z‡ZS)ÚBig5DistributionAnalysiscs$tt|ƒ ¡t|_t|_t|_dS)N) r1r<rr rr rr r)r)r2rrr«sz!Big5DistributionAnalysis.__init__cCsX|d|d}}|dkrP|dkr:d|d|ddSd|d|dSndSdS) Nrré¤r5éé?é@r r)rr,r6r;rrrr!±s z"Big5DistributionAnalysis.get_order)r-r.r/rr!r7rr)r2rr<ªs r<cs$eZdZ‡fdd„Zdd„Z‡ZS)ÚSJISDistributionAnalysiscs$tt|ƒ ¡t|_t|_t|_dS)N) r1rArrrrrrr)r)r2rrrÁsz!SJISDistributionAnalysis.__init__cCsr|d|d}}|dkr0|dkr0d|d}n&|dkrR|dkrRd|dd}nd S||d }|d krnd }|S) NrrééŸé¼éàéïér r@ér)rr,r6r;r#rrrr!Çs z"SJISDistributionAnalysis.get_order)r-r.r/rr!r7rr)r2rrAÀs rAcs$eZdZ‡fdd„Zdd„Z‡ZS)ÚEUCJPDistributionAnalysiscs$tt|ƒ ¡t|_t|_t|_dS)N) r1rIrrrrrrr)r)r2rrrÚsz"EUCJPDistributionAnalysis.__init__cCs0|d}|dkr(d|d|ddSdSdS)Nré r4r5rr r)rr,r"rrrr!àsz#EUCJPDistributionAnalysis.get_order)r-r.r/rr!r7rr)r2rrIÙs rIN)Z euctwfreqrrrZ euckrfreqrrrZ gb2312freqrr r Zbig5freqr r r ZjisfreqrrrÚobjectrr0r8r:r<rArIrrrrÚsI