관리-도구
편집 파일: eucjpprober.cpython-39.pyc
a ��Re� � @ s` d dl mZmZ d dlmZ d dlmZ d dlmZ d dl m Z d dlmZ G dd� de�Z d S ) � )�ProbingState�MachineState)�MultiByteCharSetProber)�CodingStateMachine)�EUCJPDistributionAnalysis)�EUCJPContextAnalysis)�EUCJP_SM_MODELc sP e Zd Z� fdd�Z� fdd�Zedd� �Zedd� �Zd d � Zdd� Z � Z S ) �EUCJPProberc s4 t t| ��� tt�| _t� | _t� | _ | � � d S �N)�superr �__init__r r � coding_smr �distribution_analyzerr �context_analyzer�reset��self�� __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/eucjpprober.pyr % s zEUCJPProber.__init__c s t t| ��� | j�� d S r )r r r r r r r r r , s zEUCJPProber.resetc C s dS )NzEUC-JPr r r r r �charset_name0 s zEUCJPProber.charset_namec C s dS )N�Japaneser r r r r �language4 s zEUCJPProber.languagec C s6 t t|��D ]�}| j�|| �}|tjkrN| j�d| j| j |� t j| _ q�q|tj krft j| _ q�q|tjkr| j�� }|dkr�|d | jd<