관리-도구
편집 파일: sbcharsetprober.cpython-39.pyc
a ��Re� � @ sN d dl mZ ddlmZ ddlmZmZmZ edg d��ZG dd� de�Z d S ) � )� namedtuple� )� CharSetProber)�CharacterCategory�ProbingState�SequenceLikelihood�SingleByteCharSetModel)�charset_name�language�char_to_order_map�language_model�typical_positive_ratio�keep_ascii_letters�alphabetc sb e Zd ZdZdZdZdZd� fdd� Z� fd d �Ze dd� �Z e d d� �Zdd� Zdd� Z � ZS )�SingleByteCharSetProber�@ i gffffff�?g�������?FNc sJ t t| ��� || _|| _|| _d | _d | _d | _d | _ d | _ | �� d S �N)�superr �__init__�_model� _reversed�_name_prober�_last_order� _seq_counters�_total_seqs�_total_char� _freq_char�reset)�self�model�reversed�name_prober�� __class__� ��/builddir/build/BUILDROOT/alt-python39-pip-21.3.1-2.el8.x86_64/opt/alt/python39/lib/python3.9/site-packages/pip/_vendor/chardet/sbcharsetprober.pyr 3 s z SingleByteCharSetProber.__init__c s: t t| ��� d| _dgt�� | _d| _d| _d| _ d S )N� r ) r r r r r �get_num_categoriesr r r r �r r"