관리-도구
편집 파일: md.cpython-38.pyc
U *�e�L � @ sn d dl mZ d dlmZ d dlmZmZ ddlmZm Z m Z ddlmZm Z mZmZmZmZmZmZmZmZmZmZmZmZmZmZmZ G dd� d�ZG d d � d e�ZG dd� de�ZG d d� de�Z G dd� de�Z!G dd� de�Z"G dd� de�Z#G dd� de�Z$G dd� de�Z%G dd� de�Z&edd�ee' ee' e(d�dd��Z)ed d�d'e'e*e(e*d#�d$d%��Z+d&S )(� )� lru_cache)� getLogger)�List�Optional� )�COMMON_SAFE_ASCII_CHARACTERS�TRACE�UNICODE_SECONDARY_RANGE_KEYWORD)�is_accentuated� is_arabic�is_arabic_isolated_form�is_case_variable�is_cjk�is_emoticon� is_hangul�is_hiragana�is_katakana�is_latin�is_punctuation�is_separator� is_symbol�is_thai�is_unprintable� remove_accent� unicode_rangec @ sP e Zd ZdZeed�dd�Zedd�dd�Zdd�d d �Ze e d�dd��ZdS ) �MessDetectorPluginzy Base abstract class used for mess detection plugins. All detectors MUST extend and implement given methods. �� character�returnc C s t �dS )z@ Determine if given character should be fed in. N��NotImplementedError��selfr � r# �E/opt/hc_python/lib64/python3.8/site-packages/charset_normalizer/md.py�eligible% s zMessDetectorPlugin.eligibleNc C s t �dS )z� The main routine to be executed upon character. Insert the logic in witch the text would be considered chaotic. Nr r! r# r# r$ �feed+ s zMessDetectorPlugin.feed�r c C s t �dS )zB Permit to reset the plugin to the initial state. Nr �r"