3 ¥íX}ã@shdZGdd„deƒZGdd„deƒZGdd„deƒZGdd„deƒZGd d „d eƒZGd d „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 eBeBZ dS) ÚLanguageFilterzj This enum represents the different language filters we can apply to a ``UniversalDetector``. rrééééN) rrrrZCHINESE_SIMPLIFIEDZCHINESE_TRADITIONALZJAPANESEZKOREANZNON_CJKZALLZCHINESEZCJKr r r r r sr c@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Úobjectrr rrrrr r r r Ús