2bi S r SSKJrJr " S S5 r " S S\5 r " S S\5 r " S S
5 r " S S5 r " S
S5 r g)zr
All of the Enums that are used throughout the chardet package.
:author: Dan Blanchard (dan.blanchard@gmail.com)
)EnumFlagc $ \ rS rSrSrSrSrSrSrg)
InputState
zK
This enum represents the different states a universal detector can be in.
r N) __name__
__module____qualname____firstlineno____doc__
PURE_ASCII ESC_ASCII HIGH_BYTE__static_attributes__r
ڋ/builddir/build/BUILDROOT/alt-python313-pip-23.3.1-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/pip/_vendor/chardet/enums.pyr r
s JIIr r c N \ rS rSrSrSrSrSrSrSr Sr
S r\\- r\\- \ - r
S
rg)LanguageFilter z^
This enum represents the different language filters we can apply to a
``UniversalDetector``.
r r r r
N)r r r
r r NONECHINESE_SIMPLIFIEDCHINESE_TRADITIONALJAPANESEKOREANNON_CJKALLCHINESECJKr r
r r r r sH
DH
FG
C #66G
H
v
%Cr r c $ \ rS rSrSrSrSrSrSrg)ProbingState% z?
This enum represents the different states a prober can be in.
r r r r
N) r r r
r r DETECTINGFOUND_ITNOT_MEr r
r r r' r' % s IH
Fr r' c $ \ rS rSrSrSrSrSrSrg)MachineState/ zF
This enum represents the different states a state machine can be in.
r r r r
N) r r r
r r STARTERRORITS_MEr r
r r r- r- / s
E
E
Fr r- c @ \ rS rSrSrSrSrSrSr\ S\
4S j5 rS rg
)SequenceLikelihood9 zP
This enum represents the likelihood of a character following the previous one.
r r r returnc g)z::returns: The number of likelihood categories in the enum.r r
)clss r get_num_categories%SequenceLikelihood.get_num_categoriesC s r r
N)
r r r
r r NEGATIVEUNLIKELYLIKELYPOSITIVEclassmethodintr9 r r
r r r3 r3 9 s6 HH
FH3 r r3 c , \ rS rSrSrSrSrSrSrSr Sr
g )
CharacterCategoryI z
This enum represents the different categories language models for
``SingleByteCharsetProber`` put characters into.
Anything less than CONTROL is considered a letter.
r
N)r r r
r r UNDEFINED
LINE_BREAKSYMBOLDIGITCONTROLr r
r r rB rB I s" IJ
FEGr rB N)
r enumr r r r r' r- r3 rB r
r r