zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
U
L±d“ã@spdZddlmZmZGdd„dƒZGdd„deƒZGdd„deƒZGd    d
„d
ƒZGd d „d ƒZGd d„dƒZ    dS)zr
All of the Enums that are used throughout the chardet package.
 
:author: Dan Blanchard (dan.blanchard@gmail.com)
é)ÚEnumÚFlagc@seZdZdZdZdZdZdS)Ú
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©rrúDd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\chardet/enums.pyr
src@s@eZdZdZdZdZdZdZdZdZ    dZ
eeBZ e eBeBZ d    S)
ÚLanguageFilterzj
    This enum represents the different language filters we can apply to a
    ``UniversalDetector``.
    rrrééééN) rrr    r
ÚNONEÚCHINESE_SIMPLIFIEDÚCHINESE_TRADITIONALÚJAPANESEÚKOREANÚNON_CJKÚALLÚCHINESEÚCJKrrrrrsrc@seZdZdZdZdZdZdS)Ú ProbingStatezG
    This enum represents the different states a prober can be in.
    rrrN)rrr    r
Ú    DETECTINGÚFOUND_ITÚNOT_MErrrrr%src@seZdZdZdZdZdZdS)Ú MachineStatezN
    This enum represents the different states a state machine can be in.
    rrrN)rrr    r
ÚSTARTÚERRORÚITS_MErrrrr"/sr"c@s2eZdZdZdZdZdZdZee    dœdd„ƒZ
d    S)
ÚSequenceLikelihoodzX
    This enum represents the likelihood of a character following the previous one.
    rrré)ÚreturncCsdS)z::returns: The number of likelihood categories in the enum.rr)ÚclsrrrÚget_num_categoriesCsz%SequenceLikelihood.get_num_categoriesN) rrr    r
ÚNEGATIVEÚUNLIKELYÚLIKELYÚPOSITIVEÚ classmethodÚintr*rrrrr&9sr&c@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)    rrr    r
Ú    UNDEFINEDÚ
LINE_BREAKÚSYMBOLÚDIGITÚCONTROLrrrrr1Is r1N)
r
Úenumrrrrrr"r&r1rrrrÚ<module>s