관리-도구
편집 파일: eucjpprober.cpython-38.pyc
U ʗRe\ � @ s` d dl mZ d dlmZ d dlmZmZ d dlmZ d dl m Z d dlmZ G dd� de �Z d S ) � )�EUCJPDistributionAnalysis)�CodingStateMachine)�MachineState�ProbingState)�EUCJPContextAnalysis)�MultiByteCharSetProber)�EUCJP_SM_MODELc sP e Zd Z� fdd�Z� fdd�Zedd� �Zedd� �Zd d � Zdd� Z � Z S ) �EUCJPProberc s0 t � �� tt�| _t� | _t� | _| � � d S �N) �super�__init__r r � coding_smr �distribution_analyzerr �context_analyzer�reset��self�� __class__� ��/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_vendor/chardet/eucjpprober.pyr % s zEUCJPProber.__init__c s t � �� | j�� d S 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 s* t |�D ]�\}}| j�|�}|tjkrH| j�d| j| j|� t j | _ q�|tjkr^t j | _ q�|tjkr| j�� }|dkr�|| jd<