AlkantarClanX12
Current Path : /lib/python2.7/site-packages/pip/_vendor/chardet/ |
Current File : //lib/python2.7/site-packages/pip/_vendor/chardet/chardistribution.pyc |
� ��abc @ s* d d l m Z m Z m Z d d l m Z m Z m Z d d l m Z m Z m Z d d l m Z m Z m Z d d l m Z m Z m Z d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d e f d � � YZ d S( i ( t EUCTW_CHAR_TO_FREQ_ORDERt EUCTW_TABLE_SIZEt EUCTW_TYPICAL_DISTRIBUTION_RATIO( t EUCKR_CHAR_TO_FREQ_ORDERt EUCKR_TABLE_SIZEt EUCKR_TYPICAL_DISTRIBUTION_RATIO( t GB2312_CHAR_TO_FREQ_ORDERt GB2312_TABLE_SIZEt! GB2312_TYPICAL_DISTRIBUTION_RATIO( t BIG5_CHAR_TO_FREQ_ORDERt BIG5_TABLE_SIZEt BIG5_TYPICAL_DISTRIBUTION_RATIO( t JIS_CHAR_TO_FREQ_ORDERt JIS_TABLE_SIZEt JIS_TYPICAL_DISTRIBUTION_RATIOt CharDistributionAnalysisc B sV e Z d Z d Z d Z d Z d � Z d � Z d � Z d � Z d � Z d � Z RS( i g�G�z��?g{�G�z�?i c C sD d | _ d | _ d | _ d | _ d | _ d | _ | j � d S( N( t Nonet _char_to_freq_ordert _table_sizet typical_distribution_ratiot _donet _total_charst _freq_charst reset( t self( ( sH /usr/lib/python2.7/site-packages/pip/_vendor/chardet/chardistribution.pyt __init__. s c C s t | _ d | _ d | _ d S( s reset analyser, clear any statei N( t FalseR R R ( R ( ( sH /usr/lib/python2.7/site-packages/pip/_vendor/chardet/chardistribution.pyR = s c C s} | d k r | j | � } n d } | d k ry | j d 7_ | | j k ry d | j | k rv | j d 7_ qv qy n d S( s"