Your IP : 3.21.244.240


Current Path : /usr/lib/python3.6/site-packages/chardet/__pycache__/
Upload File :
Current File : //usr/lib/python3.6/site-packages/chardet/__pycache__/enums.cpython-36.opt-1.pyc

3

��X}�@shdZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGd	d
�d
e�ZGdd�de�Zd
S)zr
All of the Enums that are used throughout the chardet package.

:author: Dan Blanchard (dan.blanchard@gmail.com)
c@seZdZdZdZdZdZdS)�
InputStatezS
    This enum represents the different states a universal detector can be in.
    ���N)�__name__�
__module__�__qualname__�__doc__Z
PURE_ASCIIZ	ESC_ASCIIZ	HIGH_BYTE�r	r	�/usr/lib/python3.6/enums.pyrsrc@s<eZdZdZdZdZdZdZdZdZ	eeBZ
e
eBeBZdS)	�LanguageFilterzj
    This enum represents the different language filters we can apply to a
    ``UniversalDetector``.
    rr����N)rrrrZCHINESE_SIMPLIFIEDZCHINESE_TRADITIONALZJAPANESEZKOREANZNON_CJKZALLZCHINESEZCJKr	r	r	r
rsrc@seZdZdZdZdZdZdS)�ProbingStatezG
    This enum represents the different states a prober can be in.
    rrrN)rrrrZ	DETECTINGZFOUND_ITZNOT_MEr	r	r	r
r src@seZdZdZdZdZdZdS)�MachineStatezN
    This enum represents the different states a state machine can be in.
    rrrN)rrrrZSTARTZERRORZITS_MEr	r	r	r
r)src@s,eZdZdZdZdZdZdZedd��Z	dS)	�SequenceLikelihoodzX
    This enum represents the likelihood of a character following the previous one.
    rrr�cCsdS)z::returns: The number of likelihood categories in the enum.rr	)�clsr	r	r
�get_num_categories;sz%SequenceLikelihood.get_num_categoriesN)
rrrrZNEGATIVEZUNLIKELYZLIKELYZPOSITIVE�classmethodrr	r	r	r
r2src@s$eZdZdZdZdZdZdZdZdS)�CharacterCategoryz�
    This enum represents the different categories language models for
    ``SingleByteCharsetProber`` put characters into.

    Anything less than CONTROL is considered a letter.
    �����N)	rrrrZ	UNDEFINEDZ
LINE_BREAKZSYMBOLZDIGITZCONTROLr	r	r	r
rAsrN)r�objectrrrrrrr	r	r	r
�<module>s			

?>