"""
All of the Enums that are used throughout the chardet package.
:author: Dan Blanchard (dan.blanchard@gmail.com)
"""
"""
This enum represents the different states a universal detector can be in.
"""
= 0
= 1
= 2
"""
This enum represents the different language filters we can apply to a
``UniversalDetector``.
"""
= 0x00
= 0x01
= 0x02
= 0x04
= 0x08
= 0x10
= 0x1F
= |
= | |
"""
This enum represents the different states a prober can be in.
"""
= 0
= 1
= 2
"""
This enum represents the different states a state machine can be in.
"""
= 0
= 1
= 2
"""
This enum represents the likelihood of a character following the previous one.
"""
= 0
= 1
= 2
= 3
""":returns: The number of likelihood categories in the enum."""
return 4
"""
This enum represents the different categories language models for
``SingleByteCharsetProber`` put characters into.
Anything less than CONTROL is considered a letter.
"""
= 255
= 254
= 253
= 252
= 251