ok

Mini Shell

Direktori : /opt/cloudlinux/venv/lib64/python3.11/site-packages/chardet/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/chardet/__pycache__/enums.cpython-311.pyc

�

�܋f����dZddlmZmZGd�d��ZGd�de��ZGd�de��ZGd	�d
��ZGd�d��ZGd
�d��Z	dS)zr
All of the Enums that are used throughout the chardet package.

:author: Dan Blanchard (dan.blanchard@gmail.com)
�)�Enum�Flagc��eZdZdZdZdZdZdS)�
InputStatezS
    This enum represents the different states a universal detector can be in.
    r��N)�__name__�
__module__�__qualname__�__doc__�
PURE_ASCII�	ESC_ASCII�	HIGH_BYTE���D/opt/cloudlinux/venv/lib64/python3.11/site-packages/chardet/enums.pyrr
s)���������J��I��I�I�Irrc�H�eZdZdZdZdZdZdZdZdZ	dZ
eezZeezezZd	S)
�LanguageFilterzj
    This enum represents the different language filters we can apply to a
    ``UniversalDetector``.
    rrr����N)
r	r
rr�NONE�CHINESE_SIMPLIFIED�CHINESE_TRADITIONAL�JAPANESE�KOREAN�NON_CJK�ALL�CHINESE�CJKrrrrrsY��������
�D������H�
�F��G�
�C� �#6�6�G�
�H�
�v�
%�C�C�Crrc��eZdZdZdZdZdZdS)�ProbingStatezG
    This enum represents the different states a prober can be in.
    rrrN)r	r
rr�	DETECTING�FOUND_IT�NOT_MErrrr#r#%s)���������I��H�
�F�F�Frr#c��eZdZdZdZdZdZdS)�MachineStatezN
    This enum represents the different states a state machine can be in.
    rrrN)r	r
rr�START�ERROR�ITS_MErrrr(r(/s)��������
�E�
�E�
�F�F�Frr(c�>�eZdZdZdZdZdZdZede	fd���Z
dS)	�SequenceLikelihoodzX
    This enum represents the likelihood of a character following the previous one.
    rrr��returnc��dS)z::returns: The number of likelihood categories in the enum.rr)�clss r�get_num_categoriesz%SequenceLikelihood.get_num_categoriesCs	���qrN)r	r
rr�NEGATIVE�UNLIKELY�LIKELY�POSITIVE�classmethod�intr2rrrr-r-9sY���������H��H�
�F��H���3�����[���rr-c�&�eZdZdZdZdZdZdZdZdS)�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
rr�	UNDEFINED�
LINE_BREAK�SYMBOL�DIGIT�CONTROLrrrr:r:Is3���������I��J�
�F��E��G�G�Grr:N)
r�enumrrrrr#r(r-r:rrr�<module>rFs'��������������������&�&�&�&�&�T�&�&�&�"�����4������������
�
�
�
�
�
�
�
� ���������r

Zerion Mini Shell 1.0