0x1949 Team - FAZEMRX - MANAGER
Edit File: languages.cpython-310.pyc
o �n�_L � @ sb d Z ddlmZmZ ddlmZ G dd� de�Zi dedddg d �d dgd��d ed ddg d�ddgd��dedddg d�ddgd��dedddddgddgd��dedddg d �d!d"gd��d#ed#d$dd%d&gd'd(gd��d)ed)d*dd+d,gd-d.gd��d/ed/d0dd%d&gd1gd2��d3ed3d4dd5gd6d7gd��d8ed8d9dg d �d:d;gd��d<ed<d=dg d>�d?d@gd��dAedAdBdg d �dCdDgd��dEedEdFdg d �dGdHdIgd��dJedJdKddLdMgdNdOgd��dPedPdQdddgdRdSgd��dTedTdUdddgdVdWgd��dXedXdYdg d �dZd[gd��ed\d]dg d^�d_d`gd�edadbdg d^�dcddgd�ededfdg dg�dhdigd�edjdkdd%d&gdlgd2�edmdndddgdodpgd�edqdrdg d �dsdtgd�edudvdddgdwdxgd�edydzdg d{�d|d}gd�ed~ddddgd�d�gd�ed�d�dddgd�d�gd�ed�d�d�g dg�d�gd��ed�d�dg d��d�d�gd�ed�d�dg d��d�d�gd�ed�d�dd�gd�d�gd�d���Zd�S )�z� Metadata about languages used by our model training code for our SingleByteCharSetProbers. Could be used for other things in the future. This code is based on the language metadata from the uchardet project. � )�absolute_import�print_function)� ascii_lettersc s. e Zd ZdZ d� fdd� Zdd� Z� ZS ) �Languagea� Metadata about a language useful for training models :ivar name: The human name for the language, in English. :type name: str :ivar iso_code: 2-letter ISO 639-1 if possible, 3-letter ISO code otherwise, or use another catalog as a last resort. :type iso_code: str :ivar use_ascii: Whether or not ASCII letters should be included in trained models. :type use_ascii: bool :ivar charsets: The charsets we want to support and create data for. :type charsets: list of str :ivar alphabet: The characters in the language's alphabet. If `use_ascii` is `True`, you only need to add those not in the ASCII set. :type alphabet: str :ivar wiki_start_pages: The Wikipedia pages to start from if we're crawling Wikipedia for training data. :type wiki_start_pages: list of str NTc sr t t| ��� || _|| _|| _|| _| jr |r|t7 }n t}n|s&td��|r1d� t t|���nd | _|| _ d S )Nz*Must supply alphabet if use_ascii is False� )�superr �__init__�name�iso_code� use_ascii�charsetsr � ValueError�join�sorted�set�alphabet�wiki_start_pages)�selfr r r r r r �� __class__� �</usr/lib/python3/dist-packages/chardet/metadata/languages.pyr $ s zLanguage.__init__c C s&