o
    a+)h“  ã                   @   sp   d Z ddlmZmZ G dd„ dƒZG dd„ deƒZG dd„ deƒ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)
é    )ÚEnumÚFlagc                   @   ó   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.
    r   é   é   N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ú
PURE_ASCIIÚ	ESC_ASCIIÚ	HIGH_BYTE© r   r   úXC:\Users\User\Downloads\Proyecto_IoT\venv\Lib\site-packages\pip/_vendor/chardet/enums.pyr   
   ó
    r   c                   @   s@   e Zd 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   r   é   é   é   é   N)r   r	   r
   r   ÚNONEÚCHINESE_SIMPLIFIEDÚCHINESE_TRADITIONALÚJAPANESEÚKOREANÚNON_CJKÚALLÚCHINESEÚCJKr   r   r   r   r      s    r   c                   @   r   )ÚProbingStatezG
    This enum represents the different states a prober can be in.
    r   r   r   N)r   r	   r
   r   Ú	DETECTINGÚFOUND_ITÚNOT_MEr   r   r   r   r    %   r   r    c                   @   r   )ÚMachineStatezN
    This enum represents the different states a state machine can be in.
    r   r   r   N)r   r	   r
   r   ÚSTARTÚERRORÚITS_MEr   r   r   r   r$   /   r   r$   c                   @   s2   e Zd ZdZdZdZdZdZede	fdd„ƒZ
d	S )
ÚSequenceLikelihoodzX
    This enum represents the likelihood of a character following the previous one.
    r   r   r   é   Úreturnc                 C   s   dS )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   ÚNEGATIVEÚUNLIKELYÚLIKELYÚPOSITIVEÚclassmethodÚintr,   r   r   r   r   r(   9   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   Ú	UNDEFINEDÚ
LINE_BREAKÚSYMBOLÚDIGITÚCONTROLr   r   r   r   r3   I   s    r3   N)
r   Úenumr   r   r   r   r    r$   r(   r3   r   r   r   r   Ú<module>   s    


