� J�g����dZddlmZmZGd�d��ZGd�de��ZGd�de��ZGd �d ��ZGd �d ��ZGd �d��Z dS)zr All of the Enums that are used throughout the chardet package. :author: Dan Blanchard (dan.blanchard@gmail.com) �)�Enum�Flagc��eZdZdZdZdZdZdS)� 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���]/home/asafur/pinokio/api/open-webui.git/app/env/lib/python3.11/site-packages/chardet/enums.pyrr s)���������J��I��I�I�Irrc�H�eZdZdZdZdZdZdZdZdZ dZ eezZ e ezezZ d S) �LanguageFilterzj This enum represents the different language filters we can apply to a ``UniversalDetector``. rrr����N) r r r r �NONE�CHINESE_SIMPLIFIED�CHINESE_TRADITIONAL�JAPANESE�KOREAN�NON_CJK�ALL�CHINESE�CJKrrrrrsY�������� �D������H� �F��G� �C� �#6�6�G� �H� �v� %�C�C�Crrc��eZdZdZdZdZdZdS)� ProbingStatezG This enum represents the different states a prober can be in. rrrN)r r r r � DETECTING�FOUND_IT�NOT_MErrrr#r#%s)���������I��H� �F�F�Frr#c��eZdZdZdZdZdZdS)� MachineStatezN This enum represents the different states a state machine can be in. rrrN)r r r r �START�ERROR�ITS_MErrrr(r(/s)�������� �E� �E� �F�F�Frr(c�>�eZdZdZdZdZdZdZede fd���Z dS) �SequenceLikelihoodzX This enum represents the likelihood of a character following the previous one. rrr��returnc��dS)z::returns: The number of likelihood categories in the enum.rr)�clss r�get_num_categoriesz%SequenceLikelihood.get_num_categoriesCs ���qrN) r r r r �NEGATIVE�UNLIKELY�LIKELY�POSITIVE� classmethod�intr2rrrr-r-9sY���������H��H� �F��H���3�����[���rr-c�&�eZdZdZdZdZdZdZdZdS)�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�CONTROLrrrr:r:Is3���������I��J� �F� �E��G�G�Grr:N) r �enumrrrrr#r(r-r:rrr�<module>rFs'���� ����������������&�&�&�&�&�T�&�&�&�"�����4������������ � � � � � � � � � � � � � � � � � r
Memory