File: //usr/lib/python3/dist-packages/chardet/__pycache__/enums.cpython-312.pyc
�
�H�_} � � � d Z G d� de� Z G d� de� Z G d� de� Z G d� de� Z G d � d
e� Z G d� de� Zy
)zr
All of the Enums that are used throughout the chardet package.
:author: Dan Blanchard (dan.blanchard@gmail.com)
c � � e Zd ZdZdZdZdZy)�
InputStatezS
This enum represents the different states a universal detector can be in.
� � � N)�__name__�
__module__�__qualname__�__doc__�
PURE_ASCII� ESC_ASCII� HIGH_BYTE� � �//usr/lib/python3/dist-packages/chardet/enums.pyr r s � �� �J��I��Ir r c �B � e Zd ZdZdZdZdZdZdZdZ eez Z
e
ez ez Zy) �LanguageFilterzj
This enum represents the different language filters we can apply to a
``UniversalDetector``.
r r � � � � N)r r r r
�CHINESE_SIMPLIFIED�CHINESE_TRADITIONAL�JAPANESE�KOREAN�NON_CJK�ALL�CHINESE�CJKr r r r r sC � �� �����H�
�F��G�
�C� �#6�6�G�
�H�
�v�
%�Cr r c � � e Zd ZdZdZdZdZy)�ProbingStatezG
This enum represents the different states a prober can be in.
r r r N)r r r r
� DETECTING�FOUND_IT�NOT_MEr r r r r s � �� �I��H�
�Fr r c � � e Zd ZdZdZdZdZy)�MachineStatezN
This enum represents the different states a state machine can be in.
r r r N)r r r r
�START�ERROR�ITS_MEr r r r% r% ) s � ��
�E�
�E�
�Fr r% c �0 � e Zd ZdZdZdZdZdZed� � Z y)�SequenceLikelihoodzX
This enum represents the likelihood of a character following the previous one.
r r r � c � � y)z::returns: The number of likelihood categories in the enum.r r )�clss r �get_num_categoriesz%SequenceLikelihood.get_num_categories; s � � r N)
r r r r
�NEGATIVE�UNLIKELY�LIKELY�POSITIVE�classmethodr. r r r r* r* 2 s/ � �� �H��H�
�F��H��� �r r* c �$ � e Zd ZdZdZdZdZdZdZy)�CharacterCategoryz�
This enum represents the different categories language models for
``SingleByteCharsetProber`` put characters into.
Anything less than CONTROL is considered a letter.
� � � � � N) r r r r
� UNDEFINED�
LINE_BREAK�SYMBOL�DIGIT�CONTROLr r r r5 r5 A s"