관리-도구
편집 파일: chardistribution.cpython-311.pyc
� �Re�$ � �. � d dl mZmZmZ d dlmZmZmZ d dlm Z m Z mZ d dlm Z mZmZ d dlmZmZmZ G d� de� � Z G d� d e� � Z G d � de� � Z G d� d e� � Z G d� de� � Z G d� de� � Z G d� 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 �B � e Zd ZdZdZdZdZd� Zd� Zd� Z d� Z d � Zd � ZdS )�CharDistributionAnalysisi g�G�z��?g{�G�z�?� c � � d | _ d | _ d | _ d | _ d | _ d | _ | � � � d S �N)�_char_to_freq_order�_table_size�typical_distribution_ratio�_done�_total_chars�_freq_chars�reset��selfs ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_vendor/chardet/chardistribution.py�__init__z!CharDistributionAnalysis.__init__. sF � � $(�� ���� +/��'��� � ������� � ������ c �0 � d| _ d| _ d| _ dS )zreset analyser, clear any stateF� N)r r r r s r r zCharDistributionAnalysis.reset= s! � � �� ��������r"