a
    ¦OcS  ã                   @   s\   d Z G dd„ dƒZG dd„ dƒZG dd„ dƒZG dd„ dƒZG d	d
„ d
ƒZG dd„ dƒZdS )zr
All of the Enums that are used throughout the chardet package.

:author: Dan Blanchard (dan.blanchard@gmail.com)
c                   @   s   e Zd ZdZdZdZdZdS )Ú
InputStatezS
    This enum represents the different states a universal detector can be in.
    é    é   é   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Z
PURE_ASCIIZ	ESC_ASCIIÚ	HIGH_BYTE© r
   r
   úQ/var/www/html/megastudio/lib/python3.9/site-packages/pip/_vendor/chardet/enums.pyr      s   r   c                   @   s<   e Zd ZdZdZdZdZdZdZdZ	eeB Z
e
eB eB ZdS )	ÚLanguageFilterzj
    This enum represents the different language filters we can apply to a
    ``UniversalDetector``.
    r   r   é   é   é   é   N)r   r   r   r   ZCHINESE_SIMPLIFIEDZCHINESE_TRADITIONALZJAPANESEZKOREANZNON_CJKZALLZCHINESEZCJKr
   r
   r
   r   r      s   r   c                   @   s   e Zd ZdZdZdZdZdS )ÚProbingStatezG
    This enum represents the different states a prober can be in.
    r   r   r   N)r   r   r   r   Z	DETECTINGZFOUND_ITZNOT_MEr
   r
   r
   r   r   "   s   r   c                   @   s   e Zd ZdZdZdZdZdS )ÚMachineStatezN
    This enum represents the different states a state machine can be in.
    r   r   r   N)r   r   r   r   ZSTARTÚERRORZITS_MEr
   r
   r
   r   r   ,   s   r   c                   @   s,   e Zd ZdZdZdZdZdZedd„ ƒZ	dS )	ÚSequenceLikelihoodzX
    This enum represents the likelihood of a character following the previous one.
    r   r   r   é   c                 C   s   dS )z::returns: The number of likelihood categories in the enum.r   r
   )Úclsr
   r
   r   Úget_num_categories@   s    z%SequenceLikelihood.get_num_categoriesN)
r   r   r   r   ZNEGATIVEZUNLIKELYZLIKELYZPOSITIVEÚclassmethodr   r
   r
   r
   r   r   6   s   r   c                   @   s$   e Zd ZdZdZdZdZdZdZdS )Ú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_BREAKZSYMBOLZDIGITZCONTROLr
   r
   r
   r   r   F   s   r   N)r   r   r   r   r   r   r   r
   r
   r
   r   Ú<module>   s   


