Viewing File: /opt/alt/python35/lib/python3.5/site-packages/chardet/__pycache__/enums.cpython-35.opt-1.pyc



<_9Y}ã@sŽdZGdd„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@s(eZdZdZdZdZdZdS)Ú
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	ú	/enums.pyrsrc@sReZdZdZdZdZdZdZdZdZ	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
rs
rc@s(eZdZdZdZdZdZdS)ÚProbingStatezG
    This enum represents the different states a prober can be in.
    rrrN)rrrrZ	DETECTINGZFOUND_ITZNOT_MEr	r	r	r
r src@s(eZdZdZdZdZdZdS)ÚMachineStatezN
    This enum represents the different states a state machine can be in.
    rrrN)rrrrZSTARTÚERRORZITS_MEr	r	r	r
r)src@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@s4eZdZdZdZdZdZdZdZdS)Ú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			
Back to Directory File Manager