| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/pip/_vendor/chardet/__pycache__/ |
Upload File : |
a
X��e� � @ sp d Z ddlmZmZ G dd� d�ZG dd� de�ZG dd� de�ZG d d
� d
�ZG dd� d�ZG d
d� d�Z dS )zr
All of the Enums that are used throughout the chardet package.
:author: Dan Blanchard (dan.blanchard@gmail.com)
� )�Enum�Flagc @ s e Zd ZdZdZdZdZdS )�
InputStatezS
This enum represents the different states a universal detector can be in.
r � � N)�__name__�
__module__�__qualname__�__doc__Z
PURE_ASCIIZ ESC_ASCIIZ HIGH_BYTE� r r �=/usr/lib/python3.9/site-packages/pip/_vendor/chardet/enums.pyr
s r c @ s@ e Zd ZdZdZdZdZdZdZdZ dZ
eeB ZeeB eB Zd S )
�LanguageFilterzj
This enum represents the different language filters we can apply to a
``UniversalDetector``.
r r r � � � � N)
r r r r
ZNONEZCHINESE_SIMPLIFIEDZCHINESE_TRADITIONALZJAPANESEZKOREANZNON_CJKZALLZCHINESEZCJKr r r r r
s r
c @ s e Zd ZdZdZdZdZdS )�ProbingStatezG
This enum represents the different states a prober can be in.
r r r N)r r r r
Z DETECTINGZFOUND_ITZNOT_MEr r r r r % s r c @ s e Zd ZdZdZdZdZdS )�MachineStatezN
This enum represents the different states a state machine can be in.
r r r N)r r r r
ZSTARTZERRORZITS_MEr r r r r / s r c @ s2 e Zd ZdZdZdZdZdZee d�dd��Z
d S )
�SequenceLikelihoodzX
This enum represents the likelihood of a character following the previous one.
r r r � )�returnc C s dS )z::returns: The number of likelihood categories in the enum.r r )�clsr r r �get_num_categoriesC s z%SequenceLikelihood.get_num_categoriesN)r r r r
ZNEGATIVEZUNLIKELYZLIKELYZPOSITIVE�classmethod�intr r r r r r 9 s r c @ s$ e Zd ZdZdZdZdZdZdZdS )�CharacterCategoryz�
This enum represents the different categories language models for
``SingleByteCharsetProber`` put characters into.
Anything less than CONTROL is considered a letter.
� � � � � N) r r r r
Z UNDEFINEDZ
LINE_BREAKZSYMBOLZDIGITZCONTROLr r r r r I s r N)
r
�enumr r r r
r r r r r r r r �<module> s