$13 GRAYBYTE WORDPRESS FILE MANAGER $41

SERVER : in-mum-web1330.main-hosting.eu #1 SMP Mon Feb 10 22:45:17 UTC 2025
SERVER IP : 93.127.173.74 | ADMIN IP 216.73.216.63
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/python311/lib/python3.11/site-packages/chardet/__pycache__/

HOME
Current File : /opt/alt/python311/lib/python3.11/site-packages/chardet/__pycache__//charsetprober.cpython-311.pyc
�

q�;f���>�ddlZddlZddlmZGd�de��ZdS)�N�)�ProbingStatec��eZdZdZdd�Zd�Zed���Zd�Zed���Z	d�Z
ed	���Zed
���Z
ed���ZdS)
�
CharSetProbergffffff�?Nc�^�d|_||_tjt��|_dS�N)�_state�lang_filter�logging�	getLogger�__name__�logger)�selfr
s  �H/opt/alt/python311/lib/python3.11/site-packages/chardet/charsetprober.py�__init__zCharSetProber.__init__'s'�����&����'��1�1�����c�(�tj|_dSr)r�	DETECTINGr	�rs r�resetzCharSetProber.reset,s��"�,����rc��dSr�rs r�charset_namezCharSetProber.charset_name/s���trc��dSrr)r�bufs  r�feedzCharSetProber.feed3s���rc��|jSr)r	rs r�statezCharSetProber.state6s
���{�rc��dS)Ngrrs r�get_confidencezCharSetProber.get_confidence:s���src�2�tjdd|��}|S)Ns([-])+� )�re�sub)rs r�filter_high_byte_onlyz#CharSetProber.filter_high_byte_only=s���f�&��c�2�2���
rc��t��}tjd|��}|D]Z}|�|dd���|dd�}|���s|dkrd}|�|���[|S)u9
        We define three types of bytes:
        alphabet: english alphabets [a-zA-Z]
        international: international characters [€-ÿ]
        marker: everything else [^a-zA-Z€-ÿ]

        The input buffer can be thought to contain a series of words delimited
        by markers. This function works to filter all words that contain at
        least one international character. All contiguous sequences of markers
        are replaced by a single space ascii character.

        This filter applies to all scripts which do not use English characters.
        s%[a-zA-Z]*[�-�]+[a-zA-Z]*[^a-zA-Z�-�]?N�����r")�	bytearrayr#�findall�extend�isalpha)r�filtered�words�word�	last_chars     r�filter_international_wordsz(CharSetProber.filter_international_wordsBs����;�;��
�
�O�� � ���
	'�
	'�D��O�O�D��"��I�&�&�&��R�S�S�	�I��$�$�&�&�
!�9�w�+>�+>� �	��O�O�I�&�&�&�&��rc��t��}d}d}tt|����D]y}|||dz�}|dkrd}n|dkrd}|dkrS|���s?||kr4|s2|�|||���|�d��|dz}�z|s|�||d	���|S)
a�
        Returns a copy of ``buf`` that retains only the sequences of English
        alphabet and high byte characters that are not between <> characters.
        Also retains English alphabet and high byte characters immediately
        before occurrences of >.

        This filter can be applied to all scripts which contain both English
        characters and extended ASCII characters, but is currently only used by
        ``Latin1Prober``.
        Frr�>�<Tr(r"N)r)�range�lenr,r+)rr-�in_tag�prev�curr�buf_chars      r�filter_with_english_lettersz)CharSetProber.filter_with_english_lettersgs����;�;�������#�c�(�(�O�O�	 �	 �D��4��q��=�)�H��4�������T�!�!����'�!�!�(�*:�*:�*<�*<�!��$�;�;�v�;��O�O�C��T�	�N�3�3�3��O�O�D�)�)�)��a�x����	(�
�O�O�C����J�'�'�'��rr)r
�
__module__�__qualname__�SHORTCUT_THRESHOLDrr�propertyrrrr �staticmethodr%r1r;rrrrr#s���������2�2�2�2�
-�-�-�����X��
�
�
�����X���������\���"�"��\�"�H�)�)��\�)�)�)rr)rr#�enumsr�objectrrrr�<module>rCsi��:����	�	�	�	�������n�n�n�n�n�F�n�n�n�n�nr

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
8 May 2024 6.33 PM
root / root
0755
__init__.cpython-311.pyc
3.234 KB
8 May 2024 6.33 PM
root / root
0644
big5freq.cpython-311.pyc
26.543 KB
8 May 2024 6.33 PM
root / root
0644
big5prober.cpython-311.pyc
1.577 KB
8 May 2024 6.33 PM
root / root
0644
chardistribution.cpython-311.pyc
9.327 KB
8 May 2024 6.33 PM
root / root
0644
charsetgroupprober.cpython-311.pyc
3.863 KB
8 May 2024 6.33 PM
root / root
0644
charsetprober.cpython-311.pyc
4.669 KB
8 May 2024 6.33 PM
root / root
0644
codingstatemachine.cpython-311.pyc
3.594 KB
8 May 2024 6.33 PM
root / root
0644
compat.cpython-311.pyc
0.467 KB
8 May 2024 6.33 PM
root / root
0644
cp949prober.cpython-311.pyc
1.586 KB
8 May 2024 6.33 PM
root / root
0644
enums.cpython-311.pyc
3.185 KB
8 May 2024 6.33 PM
root / root
0644
escprober.cpython-311.pyc
4.471 KB
8 May 2024 6.33 PM
root / root
0644
escsm.cpython-311.pyc
12.021 KB
8 May 2024 6.33 PM
root / root
0644
eucjpprober.cpython-311.pyc
4.368 KB
8 May 2024 6.33 PM
root / root
0644
euckrfreq.cpython-311.pyc
11.78 KB
8 May 2024 6.33 PM
root / root
0644
euckrprober.cpython-311.pyc
1.578 KB
8 May 2024 6.33 PM
root / root
0644
euctwfreq.cpython-311.pyc
26.548 KB
8 May 2024 6.33 PM
root / root
0644
euctwprober.cpython-311.pyc
1.578 KB
8 May 2024 6.33 PM
root / root
0644
gb2312freq.cpython-311.pyc
18.659 KB
8 May 2024 6.33 PM
root / root
0644
gb2312prober.cpython-311.pyc
1.593 KB
8 May 2024 6.33 PM
root / root
0644
hebrewprober.cpython-311.pyc
4.823 KB
8 May 2024 6.33 PM
root / root
0644
jisfreq.cpython-311.pyc
21.617 KB
8 May 2024 6.33 PM
root / root
0644
jpcntx.cpython-311.pyc
38.6 KB
8 May 2024 6.33 PM
root / root
0644
langbulgarianmodel.cpython-311.pyc
83.798 KB
8 May 2024 6.33 PM
root / root
0644
langgreekmodel.cpython-311.pyc
77.373 KB
8 May 2024 6.33 PM
root / root
0644
langhebrewmodel.cpython-311.pyc
78.115 KB
8 May 2024 6.33 PM
root / root
0644
langhungarianmodel.cpython-311.pyc
83.759 KB
8 May 2024 6.33 PM
root / root
0644
langrussianmodel.cpython-311.pyc
106.169 KB
8 May 2024 6.33 PM
root / root
0644
langthaimodel.cpython-311.pyc
78.289 KB
8 May 2024 6.33 PM
root / root
0644
langturkishmodel.cpython-311.pyc
78.135 KB
8 May 2024 6.33 PM
root / root
0644
latin1prober.cpython-311.pyc
6.854 KB
8 May 2024 6.33 PM
root / root
0644
mbcharsetprober.cpython-311.pyc
3.874 KB
8 May 2024 6.33 PM
root / root
0644
mbcsgroupprober.cpython-311.pyc
1.724 KB
8 May 2024 6.33 PM
root / root
0644
mbcssm.cpython-311.pyc
27.629 KB
8 May 2024 6.33 PM
root / root
0644
sbcharsetprober.cpython-311.pyc
5.178 KB
8 May 2024 6.33 PM
root / root
0644
sbcsgroupprober.cpython-311.pyc
2.836 KB
8 May 2024 6.33 PM
root / root
0644
sjisprober.cpython-311.pyc
4.474 KB
8 May 2024 6.33 PM
root / root
0644
universaldetector.cpython-311.pyc
9.874 KB
8 May 2024 6.33 PM
root / root
0644
utf8prober.cpython-311.pyc
3.182 KB
8 May 2024 6.33 PM
root / root
0644
version.cpython-311.pyc
0.47 KB
8 May 2024 6.33 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF