Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- .gitattributes +1 -0
- env-llmeval/lib/python3.10/site-packages/_yaml/__init__.py +33 -0
- env-llmeval/lib/python3.10/site-packages/_yaml/__pycache__/__init__.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/__main__.py +4 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/__init__.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/__main__.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/api.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/cd.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/constant.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/legacy.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/md.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/models.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/utils.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/version.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/api.py +626 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/cli/__init__.py +6 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/cli/__main__.py +296 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/cli/__pycache__/__init__.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/cli/__pycache__/__main__.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/constant.py +1995 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/legacy.py +54 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/md.py +615 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/md__mypyc.cpython-310-x86_64-linux-gnu.so +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/py.typed +0 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/utils.py +421 -0
- env-llmeval/lib/python3.10/site-packages/charset_normalizer/version.py +6 -0
- env-llmeval/lib/python3.10/site-packages/examples/__init__.py +0 -0
- env-llmeval/lib/python3.10/site-packages/examples/__pycache__/__init__.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/examples/__pycache__/basic_example.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/examples/basic_example.py +60 -0
- env-llmeval/lib/python3.10/site-packages/frozenlist-1.4.1.dist-info/INSTALLER +1 -0
- env-llmeval/lib/python3.10/site-packages/frozenlist-1.4.1.dist-info/LICENSE +201 -0
- env-llmeval/lib/python3.10/site-packages/frozenlist-1.4.1.dist-info/METADATA +420 -0
- env-llmeval/lib/python3.10/site-packages/frozenlist-1.4.1.dist-info/RECORD +12 -0
- env-llmeval/lib/python3.10/site-packages/frozenlist-1.4.1.dist-info/WHEEL +8 -0
- env-llmeval/lib/python3.10/site-packages/frozenlist-1.4.1.dist-info/top_level.txt +1 -0
- env-llmeval/lib/python3.10/site-packages/idna/__init__.py +44 -0
- env-llmeval/lib/python3.10/site-packages/idna/__pycache__/__init__.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/idna/__pycache__/codec.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/idna/__pycache__/compat.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/idna/__pycache__/core.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/idna/__pycache__/idnadata.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/idna/__pycache__/intranges.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/idna/__pycache__/package_data.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/idna/__pycache__/uts46data.cpython-310.pyc +0 -0
- env-llmeval/lib/python3.10/site-packages/idna/codec.py +118 -0
- env-llmeval/lib/python3.10/site-packages/idna/compat.py +13 -0
- env-llmeval/lib/python3.10/site-packages/idna/core.py +395 -0
- env-llmeval/lib/python3.10/site-packages/idna/idnadata.py +4245 -0
- env-llmeval/lib/python3.10/site-packages/idna/intranges.py +54 -0
.gitattributes
CHANGED
@@ -175,3 +175,4 @@ env-llmeval/lib/python3.10/site-packages/pandas/_libs/interval.cpython-310-x86_6
|
|
175 |
env-llmeval/lib/python3.10/site-packages/pandas/_libs/tslibs/offsets.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
176 |
env-llmeval/lib/python3.10/site-packages/pandas/_libs/algos.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
177 |
env-llmeval/lib/python3.10/site-packages/pandas/_libs/groupby.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
|
|
|
175 |
env-llmeval/lib/python3.10/site-packages/pandas/_libs/tslibs/offsets.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
176 |
env-llmeval/lib/python3.10/site-packages/pandas/_libs/algos.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
177 |
env-llmeval/lib/python3.10/site-packages/pandas/_libs/groupby.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
178 |
+
env-llmeval/lib/python3.10/site-packages/regex/_regex.cpython-310-x86_64-linux-gnu.so filter=lfs diff=lfs merge=lfs -text
|
env-llmeval/lib/python3.10/site-packages/_yaml/__init__.py
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This is a stub package designed to roughly emulate the _yaml
|
2 |
+
# extension module, which previously existed as a standalone module
|
3 |
+
# and has been moved into the `yaml` package namespace.
|
4 |
+
# It does not perfectly mimic its old counterpart, but should get
|
5 |
+
# close enough for anyone who's relying on it even when they shouldn't.
|
6 |
+
import yaml
|
7 |
+
|
8 |
+
# in some circumstances, the yaml module we imoprted may be from a different version, so we need
|
9 |
+
# to tread carefully when poking at it here (it may not have the attributes we expect)
|
10 |
+
if not getattr(yaml, '__with_libyaml__', False):
|
11 |
+
from sys import version_info
|
12 |
+
|
13 |
+
exc = ModuleNotFoundError if version_info >= (3, 6) else ImportError
|
14 |
+
raise exc("No module named '_yaml'")
|
15 |
+
else:
|
16 |
+
from yaml._yaml import *
|
17 |
+
import warnings
|
18 |
+
warnings.warn(
|
19 |
+
'The _yaml extension module is now located at yaml._yaml'
|
20 |
+
' and its location is subject to change. To use the'
|
21 |
+
' LibYAML-based parser and emitter, import from `yaml`:'
|
22 |
+
' `from yaml import CLoader as Loader, CDumper as Dumper`.',
|
23 |
+
DeprecationWarning
|
24 |
+
)
|
25 |
+
del warnings
|
26 |
+
# Don't `del yaml` here because yaml is actually an existing
|
27 |
+
# namespace member of _yaml.
|
28 |
+
|
29 |
+
__name__ = '_yaml'
|
30 |
+
# If the module is top-level (i.e. not a part of any specific package)
|
31 |
+
# then the attribute should be set to ''.
|
32 |
+
# https://docs.python.org/3.8/library/types.html
|
33 |
+
__package__ = ''
|
env-llmeval/lib/python3.10/site-packages/_yaml/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (732 Bytes). View file
|
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/__main__.py
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from .cli import cli_detect
|
2 |
+
|
3 |
+
if __name__ == "__main__":
|
4 |
+
cli_detect()
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (1.58 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/__main__.cpython-310.pyc
ADDED
Binary file (265 Bytes). View file
|
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/api.cpython-310.pyc
ADDED
Binary file (11.4 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/cd.cpython-310.pyc
ADDED
Binary file (9.66 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/constant.cpython-310.pyc
ADDED
Binary file (30.4 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/legacy.cpython-310.pyc
ADDED
Binary file (1.85 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/md.cpython-310.pyc
ADDED
Binary file (15.8 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/models.cpython-310.pyc
ADDED
Binary file (11.5 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/utils.cpython-310.pyc
ADDED
Binary file (8.92 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/__pycache__/version.cpython-310.pyc
ADDED
Binary file (267 Bytes). View file
|
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/api.py
ADDED
@@ -0,0 +1,626 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import logging
|
2 |
+
from os import PathLike
|
3 |
+
from typing import BinaryIO, List, Optional, Set, Union
|
4 |
+
|
5 |
+
from .cd import (
|
6 |
+
coherence_ratio,
|
7 |
+
encoding_languages,
|
8 |
+
mb_encoding_languages,
|
9 |
+
merge_coherence_ratios,
|
10 |
+
)
|
11 |
+
from .constant import IANA_SUPPORTED, TOO_BIG_SEQUENCE, TOO_SMALL_SEQUENCE, TRACE
|
12 |
+
from .md import mess_ratio
|
13 |
+
from .models import CharsetMatch, CharsetMatches
|
14 |
+
from .utils import (
|
15 |
+
any_specified_encoding,
|
16 |
+
cut_sequence_chunks,
|
17 |
+
iana_name,
|
18 |
+
identify_sig_or_bom,
|
19 |
+
is_cp_similar,
|
20 |
+
is_multi_byte_encoding,
|
21 |
+
should_strip_sig_or_bom,
|
22 |
+
)
|
23 |
+
|
24 |
+
# Will most likely be controversial
|
25 |
+
# logging.addLevelName(TRACE, "TRACE")
|
26 |
+
logger = logging.getLogger("charset_normalizer")
|
27 |
+
explain_handler = logging.StreamHandler()
|
28 |
+
explain_handler.setFormatter(
|
29 |
+
logging.Formatter("%(asctime)s | %(levelname)s | %(message)s")
|
30 |
+
)
|
31 |
+
|
32 |
+
|
33 |
+
def from_bytes(
|
34 |
+
sequences: Union[bytes, bytearray],
|
35 |
+
steps: int = 5,
|
36 |
+
chunk_size: int = 512,
|
37 |
+
threshold: float = 0.2,
|
38 |
+
cp_isolation: Optional[List[str]] = None,
|
39 |
+
cp_exclusion: Optional[List[str]] = None,
|
40 |
+
preemptive_behaviour: bool = True,
|
41 |
+
explain: bool = False,
|
42 |
+
language_threshold: float = 0.1,
|
43 |
+
enable_fallback: bool = True,
|
44 |
+
) -> CharsetMatches:
|
45 |
+
"""
|
46 |
+
Given a raw bytes sequence, return the best possibles charset usable to render str objects.
|
47 |
+
If there is no results, it is a strong indicator that the source is binary/not text.
|
48 |
+
By default, the process will extract 5 blocks of 512o each to assess the mess and coherence of a given sequence.
|
49 |
+
And will give up a particular code page after 20% of measured mess. Those criteria are customizable at will.
|
50 |
+
|
51 |
+
The preemptive behavior DOES NOT replace the traditional detection workflow, it prioritize a particular code page
|
52 |
+
but never take it for granted. Can improve the performance.
|
53 |
+
|
54 |
+
You may want to focus your attention to some code page or/and not others, use cp_isolation and cp_exclusion for that
|
55 |
+
purpose.
|
56 |
+
|
57 |
+
This function will strip the SIG in the payload/sequence every time except on UTF-16, UTF-32.
|
58 |
+
By default the library does not setup any handler other than the NullHandler, if you choose to set the 'explain'
|
59 |
+
toggle to True it will alter the logger configuration to add a StreamHandler that is suitable for debugging.
|
60 |
+
Custom logging format and handler can be set manually.
|
61 |
+
"""
|
62 |
+
|
63 |
+
if not isinstance(sequences, (bytearray, bytes)):
|
64 |
+
raise TypeError(
|
65 |
+
"Expected object of type bytes or bytearray, got: {0}".format(
|
66 |
+
type(sequences)
|
67 |
+
)
|
68 |
+
)
|
69 |
+
|
70 |
+
if explain:
|
71 |
+
previous_logger_level: int = logger.level
|
72 |
+
logger.addHandler(explain_handler)
|
73 |
+
logger.setLevel(TRACE)
|
74 |
+
|
75 |
+
length: int = len(sequences)
|
76 |
+
|
77 |
+
if length == 0:
|
78 |
+
logger.debug("Encoding detection on empty bytes, assuming utf_8 intention.")
|
79 |
+
if explain:
|
80 |
+
logger.removeHandler(explain_handler)
|
81 |
+
logger.setLevel(previous_logger_level or logging.WARNING)
|
82 |
+
return CharsetMatches([CharsetMatch(sequences, "utf_8", 0.0, False, [], "")])
|
83 |
+
|
84 |
+
if cp_isolation is not None:
|
85 |
+
logger.log(
|
86 |
+
TRACE,
|
87 |
+
"cp_isolation is set. use this flag for debugging purpose. "
|
88 |
+
"limited list of encoding allowed : %s.",
|
89 |
+
", ".join(cp_isolation),
|
90 |
+
)
|
91 |
+
cp_isolation = [iana_name(cp, False) for cp in cp_isolation]
|
92 |
+
else:
|
93 |
+
cp_isolation = []
|
94 |
+
|
95 |
+
if cp_exclusion is not None:
|
96 |
+
logger.log(
|
97 |
+
TRACE,
|
98 |
+
"cp_exclusion is set. use this flag for debugging purpose. "
|
99 |
+
"limited list of encoding excluded : %s.",
|
100 |
+
", ".join(cp_exclusion),
|
101 |
+
)
|
102 |
+
cp_exclusion = [iana_name(cp, False) for cp in cp_exclusion]
|
103 |
+
else:
|
104 |
+
cp_exclusion = []
|
105 |
+
|
106 |
+
if length <= (chunk_size * steps):
|
107 |
+
logger.log(
|
108 |
+
TRACE,
|
109 |
+
"override steps (%i) and chunk_size (%i) as content does not fit (%i byte(s) given) parameters.",
|
110 |
+
steps,
|
111 |
+
chunk_size,
|
112 |
+
length,
|
113 |
+
)
|
114 |
+
steps = 1
|
115 |
+
chunk_size = length
|
116 |
+
|
117 |
+
if steps > 1 and length / steps < chunk_size:
|
118 |
+
chunk_size = int(length / steps)
|
119 |
+
|
120 |
+
is_too_small_sequence: bool = len(sequences) < TOO_SMALL_SEQUENCE
|
121 |
+
is_too_large_sequence: bool = len(sequences) >= TOO_BIG_SEQUENCE
|
122 |
+
|
123 |
+
if is_too_small_sequence:
|
124 |
+
logger.log(
|
125 |
+
TRACE,
|
126 |
+
"Trying to detect encoding from a tiny portion of ({}) byte(s).".format(
|
127 |
+
length
|
128 |
+
),
|
129 |
+
)
|
130 |
+
elif is_too_large_sequence:
|
131 |
+
logger.log(
|
132 |
+
TRACE,
|
133 |
+
"Using lazy str decoding because the payload is quite large, ({}) byte(s).".format(
|
134 |
+
length
|
135 |
+
),
|
136 |
+
)
|
137 |
+
|
138 |
+
prioritized_encodings: List[str] = []
|
139 |
+
|
140 |
+
specified_encoding: Optional[str] = (
|
141 |
+
any_specified_encoding(sequences) if preemptive_behaviour else None
|
142 |
+
)
|
143 |
+
|
144 |
+
if specified_encoding is not None:
|
145 |
+
prioritized_encodings.append(specified_encoding)
|
146 |
+
logger.log(
|
147 |
+
TRACE,
|
148 |
+
"Detected declarative mark in sequence. Priority +1 given for %s.",
|
149 |
+
specified_encoding,
|
150 |
+
)
|
151 |
+
|
152 |
+
tested: Set[str] = set()
|
153 |
+
tested_but_hard_failure: List[str] = []
|
154 |
+
tested_but_soft_failure: List[str] = []
|
155 |
+
|
156 |
+
fallback_ascii: Optional[CharsetMatch] = None
|
157 |
+
fallback_u8: Optional[CharsetMatch] = None
|
158 |
+
fallback_specified: Optional[CharsetMatch] = None
|
159 |
+
|
160 |
+
results: CharsetMatches = CharsetMatches()
|
161 |
+
|
162 |
+
sig_encoding, sig_payload = identify_sig_or_bom(sequences)
|
163 |
+
|
164 |
+
if sig_encoding is not None:
|
165 |
+
prioritized_encodings.append(sig_encoding)
|
166 |
+
logger.log(
|
167 |
+
TRACE,
|
168 |
+
"Detected a SIG or BOM mark on first %i byte(s). Priority +1 given for %s.",
|
169 |
+
len(sig_payload),
|
170 |
+
sig_encoding,
|
171 |
+
)
|
172 |
+
|
173 |
+
prioritized_encodings.append("ascii")
|
174 |
+
|
175 |
+
if "utf_8" not in prioritized_encodings:
|
176 |
+
prioritized_encodings.append("utf_8")
|
177 |
+
|
178 |
+
for encoding_iana in prioritized_encodings + IANA_SUPPORTED:
|
179 |
+
if cp_isolation and encoding_iana not in cp_isolation:
|
180 |
+
continue
|
181 |
+
|
182 |
+
if cp_exclusion and encoding_iana in cp_exclusion:
|
183 |
+
continue
|
184 |
+
|
185 |
+
if encoding_iana in tested:
|
186 |
+
continue
|
187 |
+
|
188 |
+
tested.add(encoding_iana)
|
189 |
+
|
190 |
+
decoded_payload: Optional[str] = None
|
191 |
+
bom_or_sig_available: bool = sig_encoding == encoding_iana
|
192 |
+
strip_sig_or_bom: bool = bom_or_sig_available and should_strip_sig_or_bom(
|
193 |
+
encoding_iana
|
194 |
+
)
|
195 |
+
|
196 |
+
if encoding_iana in {"utf_16", "utf_32"} and not bom_or_sig_available:
|
197 |
+
logger.log(
|
198 |
+
TRACE,
|
199 |
+
"Encoding %s won't be tested as-is because it require a BOM. Will try some sub-encoder LE/BE.",
|
200 |
+
encoding_iana,
|
201 |
+
)
|
202 |
+
continue
|
203 |
+
if encoding_iana in {"utf_7"} and not bom_or_sig_available:
|
204 |
+
logger.log(
|
205 |
+
TRACE,
|
206 |
+
"Encoding %s won't be tested as-is because detection is unreliable without BOM/SIG.",
|
207 |
+
encoding_iana,
|
208 |
+
)
|
209 |
+
continue
|
210 |
+
|
211 |
+
try:
|
212 |
+
is_multi_byte_decoder: bool = is_multi_byte_encoding(encoding_iana)
|
213 |
+
except (ModuleNotFoundError, ImportError):
|
214 |
+
logger.log(
|
215 |
+
TRACE,
|
216 |
+
"Encoding %s does not provide an IncrementalDecoder",
|
217 |
+
encoding_iana,
|
218 |
+
)
|
219 |
+
continue
|
220 |
+
|
221 |
+
try:
|
222 |
+
if is_too_large_sequence and is_multi_byte_decoder is False:
|
223 |
+
str(
|
224 |
+
sequences[: int(50e4)]
|
225 |
+
if strip_sig_or_bom is False
|
226 |
+
else sequences[len(sig_payload) : int(50e4)],
|
227 |
+
encoding=encoding_iana,
|
228 |
+
)
|
229 |
+
else:
|
230 |
+
decoded_payload = str(
|
231 |
+
sequences
|
232 |
+
if strip_sig_or_bom is False
|
233 |
+
else sequences[len(sig_payload) :],
|
234 |
+
encoding=encoding_iana,
|
235 |
+
)
|
236 |
+
except (UnicodeDecodeError, LookupError) as e:
|
237 |
+
if not isinstance(e, LookupError):
|
238 |
+
logger.log(
|
239 |
+
TRACE,
|
240 |
+
"Code page %s does not fit given bytes sequence at ALL. %s",
|
241 |
+
encoding_iana,
|
242 |
+
str(e),
|
243 |
+
)
|
244 |
+
tested_but_hard_failure.append(encoding_iana)
|
245 |
+
continue
|
246 |
+
|
247 |
+
similar_soft_failure_test: bool = False
|
248 |
+
|
249 |
+
for encoding_soft_failed in tested_but_soft_failure:
|
250 |
+
if is_cp_similar(encoding_iana, encoding_soft_failed):
|
251 |
+
similar_soft_failure_test = True
|
252 |
+
break
|
253 |
+
|
254 |
+
if similar_soft_failure_test:
|
255 |
+
logger.log(
|
256 |
+
TRACE,
|
257 |
+
"%s is deemed too similar to code page %s and was consider unsuited already. Continuing!",
|
258 |
+
encoding_iana,
|
259 |
+
encoding_soft_failed,
|
260 |
+
)
|
261 |
+
continue
|
262 |
+
|
263 |
+
r_ = range(
|
264 |
+
0 if not bom_or_sig_available else len(sig_payload),
|
265 |
+
length,
|
266 |
+
int(length / steps),
|
267 |
+
)
|
268 |
+
|
269 |
+
multi_byte_bonus: bool = (
|
270 |
+
is_multi_byte_decoder
|
271 |
+
and decoded_payload is not None
|
272 |
+
and len(decoded_payload) < length
|
273 |
+
)
|
274 |
+
|
275 |
+
if multi_byte_bonus:
|
276 |
+
logger.log(
|
277 |
+
TRACE,
|
278 |
+
"Code page %s is a multi byte encoding table and it appear that at least one character "
|
279 |
+
"was encoded using n-bytes.",
|
280 |
+
encoding_iana,
|
281 |
+
)
|
282 |
+
|
283 |
+
max_chunk_gave_up: int = int(len(r_) / 4)
|
284 |
+
|
285 |
+
max_chunk_gave_up = max(max_chunk_gave_up, 2)
|
286 |
+
early_stop_count: int = 0
|
287 |
+
lazy_str_hard_failure = False
|
288 |
+
|
289 |
+
md_chunks: List[str] = []
|
290 |
+
md_ratios = []
|
291 |
+
|
292 |
+
try:
|
293 |
+
for chunk in cut_sequence_chunks(
|
294 |
+
sequences,
|
295 |
+
encoding_iana,
|
296 |
+
r_,
|
297 |
+
chunk_size,
|
298 |
+
bom_or_sig_available,
|
299 |
+
strip_sig_or_bom,
|
300 |
+
sig_payload,
|
301 |
+
is_multi_byte_decoder,
|
302 |
+
decoded_payload,
|
303 |
+
):
|
304 |
+
md_chunks.append(chunk)
|
305 |
+
|
306 |
+
md_ratios.append(
|
307 |
+
mess_ratio(
|
308 |
+
chunk,
|
309 |
+
threshold,
|
310 |
+
explain is True and 1 <= len(cp_isolation) <= 2,
|
311 |
+
)
|
312 |
+
)
|
313 |
+
|
314 |
+
if md_ratios[-1] >= threshold:
|
315 |
+
early_stop_count += 1
|
316 |
+
|
317 |
+
if (early_stop_count >= max_chunk_gave_up) or (
|
318 |
+
bom_or_sig_available and strip_sig_or_bom is False
|
319 |
+
):
|
320 |
+
break
|
321 |
+
except (
|
322 |
+
UnicodeDecodeError
|
323 |
+
) as e: # Lazy str loading may have missed something there
|
324 |
+
logger.log(
|
325 |
+
TRACE,
|
326 |
+
"LazyStr Loading: After MD chunk decode, code page %s does not fit given bytes sequence at ALL. %s",
|
327 |
+
encoding_iana,
|
328 |
+
str(e),
|
329 |
+
)
|
330 |
+
early_stop_count = max_chunk_gave_up
|
331 |
+
lazy_str_hard_failure = True
|
332 |
+
|
333 |
+
# We might want to check the sequence again with the whole content
|
334 |
+
# Only if initial MD tests passes
|
335 |
+
if (
|
336 |
+
not lazy_str_hard_failure
|
337 |
+
and is_too_large_sequence
|
338 |
+
and not is_multi_byte_decoder
|
339 |
+
):
|
340 |
+
try:
|
341 |
+
sequences[int(50e3) :].decode(encoding_iana, errors="strict")
|
342 |
+
except UnicodeDecodeError as e:
|
343 |
+
logger.log(
|
344 |
+
TRACE,
|
345 |
+
"LazyStr Loading: After final lookup, code page %s does not fit given bytes sequence at ALL. %s",
|
346 |
+
encoding_iana,
|
347 |
+
str(e),
|
348 |
+
)
|
349 |
+
tested_but_hard_failure.append(encoding_iana)
|
350 |
+
continue
|
351 |
+
|
352 |
+
mean_mess_ratio: float = sum(md_ratios) / len(md_ratios) if md_ratios else 0.0
|
353 |
+
if mean_mess_ratio >= threshold or early_stop_count >= max_chunk_gave_up:
|
354 |
+
tested_but_soft_failure.append(encoding_iana)
|
355 |
+
logger.log(
|
356 |
+
TRACE,
|
357 |
+
"%s was excluded because of initial chaos probing. Gave up %i time(s). "
|
358 |
+
"Computed mean chaos is %f %%.",
|
359 |
+
encoding_iana,
|
360 |
+
early_stop_count,
|
361 |
+
round(mean_mess_ratio * 100, ndigits=3),
|
362 |
+
)
|
363 |
+
# Preparing those fallbacks in case we got nothing.
|
364 |
+
if (
|
365 |
+
enable_fallback
|
366 |
+
and encoding_iana in ["ascii", "utf_8", specified_encoding]
|
367 |
+
and not lazy_str_hard_failure
|
368 |
+
):
|
369 |
+
fallback_entry = CharsetMatch(
|
370 |
+
sequences, encoding_iana, threshold, False, [], decoded_payload
|
371 |
+
)
|
372 |
+
if encoding_iana == specified_encoding:
|
373 |
+
fallback_specified = fallback_entry
|
374 |
+
elif encoding_iana == "ascii":
|
375 |
+
fallback_ascii = fallback_entry
|
376 |
+
else:
|
377 |
+
fallback_u8 = fallback_entry
|
378 |
+
continue
|
379 |
+
|
380 |
+
logger.log(
|
381 |
+
TRACE,
|
382 |
+
"%s passed initial chaos probing. Mean measured chaos is %f %%",
|
383 |
+
encoding_iana,
|
384 |
+
round(mean_mess_ratio * 100, ndigits=3),
|
385 |
+
)
|
386 |
+
|
387 |
+
if not is_multi_byte_decoder:
|
388 |
+
target_languages: List[str] = encoding_languages(encoding_iana)
|
389 |
+
else:
|
390 |
+
target_languages = mb_encoding_languages(encoding_iana)
|
391 |
+
|
392 |
+
if target_languages:
|
393 |
+
logger.log(
|
394 |
+
TRACE,
|
395 |
+
"{} should target any language(s) of {}".format(
|
396 |
+
encoding_iana, str(target_languages)
|
397 |
+
),
|
398 |
+
)
|
399 |
+
|
400 |
+
cd_ratios = []
|
401 |
+
|
402 |
+
# We shall skip the CD when its about ASCII
|
403 |
+
# Most of the time its not relevant to run "language-detection" on it.
|
404 |
+
if encoding_iana != "ascii":
|
405 |
+
for chunk in md_chunks:
|
406 |
+
chunk_languages = coherence_ratio(
|
407 |
+
chunk,
|
408 |
+
language_threshold,
|
409 |
+
",".join(target_languages) if target_languages else None,
|
410 |
+
)
|
411 |
+
|
412 |
+
cd_ratios.append(chunk_languages)
|
413 |
+
|
414 |
+
cd_ratios_merged = merge_coherence_ratios(cd_ratios)
|
415 |
+
|
416 |
+
if cd_ratios_merged:
|
417 |
+
logger.log(
|
418 |
+
TRACE,
|
419 |
+
"We detected language {} using {}".format(
|
420 |
+
cd_ratios_merged, encoding_iana
|
421 |
+
),
|
422 |
+
)
|
423 |
+
|
424 |
+
results.append(
|
425 |
+
CharsetMatch(
|
426 |
+
sequences,
|
427 |
+
encoding_iana,
|
428 |
+
mean_mess_ratio,
|
429 |
+
bom_or_sig_available,
|
430 |
+
cd_ratios_merged,
|
431 |
+
decoded_payload,
|
432 |
+
)
|
433 |
+
)
|
434 |
+
|
435 |
+
if (
|
436 |
+
encoding_iana in [specified_encoding, "ascii", "utf_8"]
|
437 |
+
and mean_mess_ratio < 0.1
|
438 |
+
):
|
439 |
+
logger.debug(
|
440 |
+
"Encoding detection: %s is most likely the one.", encoding_iana
|
441 |
+
)
|
442 |
+
if explain:
|
443 |
+
logger.removeHandler(explain_handler)
|
444 |
+
logger.setLevel(previous_logger_level)
|
445 |
+
return CharsetMatches([results[encoding_iana]])
|
446 |
+
|
447 |
+
if encoding_iana == sig_encoding:
|
448 |
+
logger.debug(
|
449 |
+
"Encoding detection: %s is most likely the one as we detected a BOM or SIG within "
|
450 |
+
"the beginning of the sequence.",
|
451 |
+
encoding_iana,
|
452 |
+
)
|
453 |
+
if explain:
|
454 |
+
logger.removeHandler(explain_handler)
|
455 |
+
logger.setLevel(previous_logger_level)
|
456 |
+
return CharsetMatches([results[encoding_iana]])
|
457 |
+
|
458 |
+
if len(results) == 0:
|
459 |
+
if fallback_u8 or fallback_ascii or fallback_specified:
|
460 |
+
logger.log(
|
461 |
+
TRACE,
|
462 |
+
"Nothing got out of the detection process. Using ASCII/UTF-8/Specified fallback.",
|
463 |
+
)
|
464 |
+
|
465 |
+
if fallback_specified:
|
466 |
+
logger.debug(
|
467 |
+
"Encoding detection: %s will be used as a fallback match",
|
468 |
+
fallback_specified.encoding,
|
469 |
+
)
|
470 |
+
results.append(fallback_specified)
|
471 |
+
elif (
|
472 |
+
(fallback_u8 and fallback_ascii is None)
|
473 |
+
or (
|
474 |
+
fallback_u8
|
475 |
+
and fallback_ascii
|
476 |
+
and fallback_u8.fingerprint != fallback_ascii.fingerprint
|
477 |
+
)
|
478 |
+
or (fallback_u8 is not None)
|
479 |
+
):
|
480 |
+
logger.debug("Encoding detection: utf_8 will be used as a fallback match")
|
481 |
+
results.append(fallback_u8)
|
482 |
+
elif fallback_ascii:
|
483 |
+
logger.debug("Encoding detection: ascii will be used as a fallback match")
|
484 |
+
results.append(fallback_ascii)
|
485 |
+
|
486 |
+
if results:
|
487 |
+
logger.debug(
|
488 |
+
"Encoding detection: Found %s as plausible (best-candidate) for content. With %i alternatives.",
|
489 |
+
results.best().encoding, # type: ignore
|
490 |
+
len(results) - 1,
|
491 |
+
)
|
492 |
+
else:
|
493 |
+
logger.debug("Encoding detection: Unable to determine any suitable charset.")
|
494 |
+
|
495 |
+
if explain:
|
496 |
+
logger.removeHandler(explain_handler)
|
497 |
+
logger.setLevel(previous_logger_level)
|
498 |
+
|
499 |
+
return results
|
500 |
+
|
501 |
+
|
502 |
+
def from_fp(
|
503 |
+
fp: BinaryIO,
|
504 |
+
steps: int = 5,
|
505 |
+
chunk_size: int = 512,
|
506 |
+
threshold: float = 0.20,
|
507 |
+
cp_isolation: Optional[List[str]] = None,
|
508 |
+
cp_exclusion: Optional[List[str]] = None,
|
509 |
+
preemptive_behaviour: bool = True,
|
510 |
+
explain: bool = False,
|
511 |
+
language_threshold: float = 0.1,
|
512 |
+
enable_fallback: bool = True,
|
513 |
+
) -> CharsetMatches:
|
514 |
+
"""
|
515 |
+
Same thing than the function from_bytes but using a file pointer that is already ready.
|
516 |
+
Will not close the file pointer.
|
517 |
+
"""
|
518 |
+
return from_bytes(
|
519 |
+
fp.read(),
|
520 |
+
steps,
|
521 |
+
chunk_size,
|
522 |
+
threshold,
|
523 |
+
cp_isolation,
|
524 |
+
cp_exclusion,
|
525 |
+
preemptive_behaviour,
|
526 |
+
explain,
|
527 |
+
language_threshold,
|
528 |
+
enable_fallback,
|
529 |
+
)
|
530 |
+
|
531 |
+
|
532 |
+
def from_path(
|
533 |
+
path: Union[str, bytes, PathLike], # type: ignore[type-arg]
|
534 |
+
steps: int = 5,
|
535 |
+
chunk_size: int = 512,
|
536 |
+
threshold: float = 0.20,
|
537 |
+
cp_isolation: Optional[List[str]] = None,
|
538 |
+
cp_exclusion: Optional[List[str]] = None,
|
539 |
+
preemptive_behaviour: bool = True,
|
540 |
+
explain: bool = False,
|
541 |
+
language_threshold: float = 0.1,
|
542 |
+
enable_fallback: bool = True,
|
543 |
+
) -> CharsetMatches:
|
544 |
+
"""
|
545 |
+
Same thing than the function from_bytes but with one extra step. Opening and reading given file path in binary mode.
|
546 |
+
Can raise IOError.
|
547 |
+
"""
|
548 |
+
with open(path, "rb") as fp:
|
549 |
+
return from_fp(
|
550 |
+
fp,
|
551 |
+
steps,
|
552 |
+
chunk_size,
|
553 |
+
threshold,
|
554 |
+
cp_isolation,
|
555 |
+
cp_exclusion,
|
556 |
+
preemptive_behaviour,
|
557 |
+
explain,
|
558 |
+
language_threshold,
|
559 |
+
enable_fallback,
|
560 |
+
)
|
561 |
+
|
562 |
+
|
563 |
+
def is_binary(
|
564 |
+
fp_or_path_or_payload: Union[PathLike, str, BinaryIO, bytes], # type: ignore[type-arg]
|
565 |
+
steps: int = 5,
|
566 |
+
chunk_size: int = 512,
|
567 |
+
threshold: float = 0.20,
|
568 |
+
cp_isolation: Optional[List[str]] = None,
|
569 |
+
cp_exclusion: Optional[List[str]] = None,
|
570 |
+
preemptive_behaviour: bool = True,
|
571 |
+
explain: bool = False,
|
572 |
+
language_threshold: float = 0.1,
|
573 |
+
enable_fallback: bool = False,
|
574 |
+
) -> bool:
|
575 |
+
"""
|
576 |
+
Detect if the given input (file, bytes, or path) points to a binary file. aka. not a string.
|
577 |
+
Based on the same main heuristic algorithms and default kwargs at the sole exception that fallbacks match
|
578 |
+
are disabled to be stricter around ASCII-compatible but unlikely to be a string.
|
579 |
+
"""
|
580 |
+
if isinstance(fp_or_path_or_payload, (str, PathLike)):
|
581 |
+
guesses = from_path(
|
582 |
+
fp_or_path_or_payload,
|
583 |
+
steps=steps,
|
584 |
+
chunk_size=chunk_size,
|
585 |
+
threshold=threshold,
|
586 |
+
cp_isolation=cp_isolation,
|
587 |
+
cp_exclusion=cp_exclusion,
|
588 |
+
preemptive_behaviour=preemptive_behaviour,
|
589 |
+
explain=explain,
|
590 |
+
language_threshold=language_threshold,
|
591 |
+
enable_fallback=enable_fallback,
|
592 |
+
)
|
593 |
+
elif isinstance(
|
594 |
+
fp_or_path_or_payload,
|
595 |
+
(
|
596 |
+
bytes,
|
597 |
+
bytearray,
|
598 |
+
),
|
599 |
+
):
|
600 |
+
guesses = from_bytes(
|
601 |
+
fp_or_path_or_payload,
|
602 |
+
steps=steps,
|
603 |
+
chunk_size=chunk_size,
|
604 |
+
threshold=threshold,
|
605 |
+
cp_isolation=cp_isolation,
|
606 |
+
cp_exclusion=cp_exclusion,
|
607 |
+
preemptive_behaviour=preemptive_behaviour,
|
608 |
+
explain=explain,
|
609 |
+
language_threshold=language_threshold,
|
610 |
+
enable_fallback=enable_fallback,
|
611 |
+
)
|
612 |
+
else:
|
613 |
+
guesses = from_fp(
|
614 |
+
fp_or_path_or_payload,
|
615 |
+
steps=steps,
|
616 |
+
chunk_size=chunk_size,
|
617 |
+
threshold=threshold,
|
618 |
+
cp_isolation=cp_isolation,
|
619 |
+
cp_exclusion=cp_exclusion,
|
620 |
+
preemptive_behaviour=preemptive_behaviour,
|
621 |
+
explain=explain,
|
622 |
+
language_threshold=language_threshold,
|
623 |
+
enable_fallback=enable_fallback,
|
624 |
+
)
|
625 |
+
|
626 |
+
return not guesses
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/cli/__init__.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from .__main__ import cli_detect, query_yes_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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import argparse
|
2 |
+
import sys
|
3 |
+
from json import dumps
|
4 |
+
from os.path import abspath, basename, dirname, join, realpath
|
5 |
+
from platform import python_version
|
6 |
+
from typing import List, Optional
|
7 |
+
from unicodedata import unidata_version
|
8 |
+
|
9 |
+
import charset_normalizer.md as md_module
|
10 |
+
from charset_normalizer import from_fp
|
11 |
+
from charset_normalizer.models import CliDetectionResult
|
12 |
+
from charset_normalizer.version import __version__
|
13 |
+
|
14 |
+
|
15 |
+
def query_yes_no(question: str, default: str = "yes") -> bool:
|
16 |
+
"""Ask a yes/no question via input() and return their answer.
|
17 |
+
|
18 |
+
"question" is a string that is presented to the user.
|
19 |
+
"default" is the presumed answer if the user just hits <Enter>.
|
20 |
+
It must be "yes" (the default), "no" or None (meaning
|
21 |
+
an answer is required of the user).
|
22 |
+
|
23 |
+
The "answer" return value is True for "yes" or False for "no".
|
24 |
+
|
25 |
+
Credit goes to (c) https://stackoverflow.com/questions/3041986/apt-command-line-interface-like-yes-no-input
|
26 |
+
"""
|
27 |
+
valid = {"yes": True, "y": True, "ye": True, "no": False, "n": False}
|
28 |
+
if default is None:
|
29 |
+
prompt = " [y/n] "
|
30 |
+
elif default == "yes":
|
31 |
+
prompt = " [Y/n] "
|
32 |
+
elif default == "no":
|
33 |
+
prompt = " [y/N] "
|
34 |
+
else:
|
35 |
+
raise ValueError("invalid default answer: '%s'" % default)
|
36 |
+
|
37 |
+
while True:
|
38 |
+
sys.stdout.write(question + prompt)
|
39 |
+
choice = input().lower()
|
40 |
+
if default is not None and choice == "":
|
41 |
+
return valid[default]
|
42 |
+
elif choice in valid:
|
43 |
+
return valid[choice]
|
44 |
+
else:
|
45 |
+
sys.stdout.write("Please respond with 'yes' or 'no' " "(or 'y' or 'n').\n")
|
46 |
+
|
47 |
+
|
48 |
+
def cli_detect(argv: Optional[List[str]] = None) -> int:
|
49 |
+
"""
|
50 |
+
CLI assistant using ARGV and ArgumentParser
|
51 |
+
:param argv:
|
52 |
+
:return: 0 if everything is fine, anything else equal trouble
|
53 |
+
"""
|
54 |
+
parser = argparse.ArgumentParser(
|
55 |
+
description="The Real First Universal Charset Detector. "
|
56 |
+
"Discover originating encoding used on text file. "
|
57 |
+
"Normalize text to unicode."
|
58 |
+
)
|
59 |
+
|
60 |
+
parser.add_argument(
|
61 |
+
"files", type=argparse.FileType("rb"), nargs="+", help="File(s) to be analysed"
|
62 |
+
)
|
63 |
+
parser.add_argument(
|
64 |
+
"-v",
|
65 |
+
"--verbose",
|
66 |
+
action="store_true",
|
67 |
+
default=False,
|
68 |
+
dest="verbose",
|
69 |
+
help="Display complementary information about file if any. "
|
70 |
+
"Stdout will contain logs about the detection process.",
|
71 |
+
)
|
72 |
+
parser.add_argument(
|
73 |
+
"-a",
|
74 |
+
"--with-alternative",
|
75 |
+
action="store_true",
|
76 |
+
default=False,
|
77 |
+
dest="alternatives",
|
78 |
+
help="Output complementary possibilities if any. Top-level JSON WILL be a list.",
|
79 |
+
)
|
80 |
+
parser.add_argument(
|
81 |
+
"-n",
|
82 |
+
"--normalize",
|
83 |
+
action="store_true",
|
84 |
+
default=False,
|
85 |
+
dest="normalize",
|
86 |
+
help="Permit to normalize input file. If not set, program does not write anything.",
|
87 |
+
)
|
88 |
+
parser.add_argument(
|
89 |
+
"-m",
|
90 |
+
"--minimal",
|
91 |
+
action="store_true",
|
92 |
+
default=False,
|
93 |
+
dest="minimal",
|
94 |
+
help="Only output the charset detected to STDOUT. Disabling JSON output.",
|
95 |
+
)
|
96 |
+
parser.add_argument(
|
97 |
+
"-r",
|
98 |
+
"--replace",
|
99 |
+
action="store_true",
|
100 |
+
default=False,
|
101 |
+
dest="replace",
|
102 |
+
help="Replace file when trying to normalize it instead of creating a new one.",
|
103 |
+
)
|
104 |
+
parser.add_argument(
|
105 |
+
"-f",
|
106 |
+
"--force",
|
107 |
+
action="store_true",
|
108 |
+
default=False,
|
109 |
+
dest="force",
|
110 |
+
help="Replace file without asking if you are sure, use this flag with caution.",
|
111 |
+
)
|
112 |
+
parser.add_argument(
|
113 |
+
"-t",
|
114 |
+
"--threshold",
|
115 |
+
action="store",
|
116 |
+
default=0.2,
|
117 |
+
type=float,
|
118 |
+
dest="threshold",
|
119 |
+
help="Define a custom maximum amount of chaos allowed in decoded content. 0. <= chaos <= 1.",
|
120 |
+
)
|
121 |
+
parser.add_argument(
|
122 |
+
"--version",
|
123 |
+
action="version",
|
124 |
+
version="Charset-Normalizer {} - Python {} - Unicode {} - SpeedUp {}".format(
|
125 |
+
__version__,
|
126 |
+
python_version(),
|
127 |
+
unidata_version,
|
128 |
+
"OFF" if md_module.__file__.lower().endswith(".py") else "ON",
|
129 |
+
),
|
130 |
+
help="Show version information and exit.",
|
131 |
+
)
|
132 |
+
|
133 |
+
args = parser.parse_args(argv)
|
134 |
+
|
135 |
+
if args.replace is True and args.normalize is False:
|
136 |
+
print("Use --replace in addition of --normalize only.", file=sys.stderr)
|
137 |
+
return 1
|
138 |
+
|
139 |
+
if args.force is True and args.replace is False:
|
140 |
+
print("Use --force in addition of --replace only.", file=sys.stderr)
|
141 |
+
return 1
|
142 |
+
|
143 |
+
if args.threshold < 0.0 or args.threshold > 1.0:
|
144 |
+
print("--threshold VALUE should be between 0. AND 1.", file=sys.stderr)
|
145 |
+
return 1
|
146 |
+
|
147 |
+
x_ = []
|
148 |
+
|
149 |
+
for my_file in args.files:
|
150 |
+
matches = from_fp(my_file, threshold=args.threshold, explain=args.verbose)
|
151 |
+
|
152 |
+
best_guess = matches.best()
|
153 |
+
|
154 |
+
if best_guess is None:
|
155 |
+
print(
|
156 |
+
'Unable to identify originating encoding for "{}". {}'.format(
|
157 |
+
my_file.name,
|
158 |
+
"Maybe try increasing maximum amount of chaos."
|
159 |
+
if args.threshold < 1.0
|
160 |
+
else "",
|
161 |
+
),
|
162 |
+
file=sys.stderr,
|
163 |
+
)
|
164 |
+
x_.append(
|
165 |
+
CliDetectionResult(
|
166 |
+
abspath(my_file.name),
|
167 |
+
None,
|
168 |
+
[],
|
169 |
+
[],
|
170 |
+
"Unknown",
|
171 |
+
[],
|
172 |
+
False,
|
173 |
+
1.0,
|
174 |
+
0.0,
|
175 |
+
None,
|
176 |
+
True,
|
177 |
+
)
|
178 |
+
)
|
179 |
+
else:
|
180 |
+
x_.append(
|
181 |
+
CliDetectionResult(
|
182 |
+
abspath(my_file.name),
|
183 |
+
best_guess.encoding,
|
184 |
+
best_guess.encoding_aliases,
|
185 |
+
[
|
186 |
+
cp
|
187 |
+
for cp in best_guess.could_be_from_charset
|
188 |
+
if cp != best_guess.encoding
|
189 |
+
],
|
190 |
+
best_guess.language,
|
191 |
+
best_guess.alphabets,
|
192 |
+
best_guess.bom,
|
193 |
+
best_guess.percent_chaos,
|
194 |
+
best_guess.percent_coherence,
|
195 |
+
None,
|
196 |
+
True,
|
197 |
+
)
|
198 |
+
)
|
199 |
+
|
200 |
+
if len(matches) > 1 and args.alternatives:
|
201 |
+
for el in matches:
|
202 |
+
if el != best_guess:
|
203 |
+
x_.append(
|
204 |
+
CliDetectionResult(
|
205 |
+
abspath(my_file.name),
|
206 |
+
el.encoding,
|
207 |
+
el.encoding_aliases,
|
208 |
+
[
|
209 |
+
cp
|
210 |
+
for cp in el.could_be_from_charset
|
211 |
+
if cp != el.encoding
|
212 |
+
],
|
213 |
+
el.language,
|
214 |
+
el.alphabets,
|
215 |
+
el.bom,
|
216 |
+
el.percent_chaos,
|
217 |
+
el.percent_coherence,
|
218 |
+
None,
|
219 |
+
False,
|
220 |
+
)
|
221 |
+
)
|
222 |
+
|
223 |
+
if args.normalize is True:
|
224 |
+
if best_guess.encoding.startswith("utf") is True:
|
225 |
+
print(
|
226 |
+
'"{}" file does not need to be normalized, as it already came from unicode.'.format(
|
227 |
+
my_file.name
|
228 |
+
),
|
229 |
+
file=sys.stderr,
|
230 |
+
)
|
231 |
+
if my_file.closed is False:
|
232 |
+
my_file.close()
|
233 |
+
continue
|
234 |
+
|
235 |
+
dir_path = dirname(realpath(my_file.name))
|
236 |
+
file_name = basename(realpath(my_file.name))
|
237 |
+
|
238 |
+
o_: List[str] = file_name.split(".")
|
239 |
+
|
240 |
+
if args.replace is False:
|
241 |
+
o_.insert(-1, best_guess.encoding)
|
242 |
+
if my_file.closed is False:
|
243 |
+
my_file.close()
|
244 |
+
elif (
|
245 |
+
args.force is False
|
246 |
+
and query_yes_no(
|
247 |
+
'Are you sure to normalize "{}" by replacing it ?'.format(
|
248 |
+
my_file.name
|
249 |
+
),
|
250 |
+
"no",
|
251 |
+
)
|
252 |
+
is False
|
253 |
+
):
|
254 |
+
if my_file.closed is False:
|
255 |
+
my_file.close()
|
256 |
+
continue
|
257 |
+
|
258 |
+
try:
|
259 |
+
x_[0].unicode_path = join(dir_path, ".".join(o_))
|
260 |
+
|
261 |
+
with open(x_[0].unicode_path, "w", encoding="utf-8") as fp:
|
262 |
+
fp.write(str(best_guess))
|
263 |
+
except IOError as e:
|
264 |
+
print(str(e), file=sys.stderr)
|
265 |
+
if my_file.closed is False:
|
266 |
+
my_file.close()
|
267 |
+
return 2
|
268 |
+
|
269 |
+
if my_file.closed is False:
|
270 |
+
my_file.close()
|
271 |
+
|
272 |
+
if args.minimal is False:
|
273 |
+
print(
|
274 |
+
dumps(
|
275 |
+
[el.__dict__ for el in x_] if len(x_) > 1 else x_[0].__dict__,
|
276 |
+
ensure_ascii=True,
|
277 |
+
indent=4,
|
278 |
+
)
|
279 |
+
)
|
280 |
+
else:
|
281 |
+
for my_file in args.files:
|
282 |
+
print(
|
283 |
+
", ".join(
|
284 |
+
[
|
285 |
+
el.encoding or "undefined"
|
286 |
+
for el in x_
|
287 |
+
if el.path == abspath(my_file.name)
|
288 |
+
]
|
289 |
+
)
|
290 |
+
)
|
291 |
+
|
292 |
+
return 0
|
293 |
+
|
294 |
+
|
295 |
+
if __name__ == "__main__":
|
296 |
+
cli_detect()
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/cli/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (268 Bytes). View file
|
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/cli/__pycache__/__main__.cpython-310.pyc
ADDED
Binary file (6.46 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/constant.py
ADDED
@@ -0,0 +1,1995 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# -*- coding: utf-8 -*-
|
2 |
+
from codecs import BOM_UTF8, BOM_UTF16_BE, BOM_UTF16_LE, BOM_UTF32_BE, BOM_UTF32_LE
|
3 |
+
from encodings.aliases import aliases
|
4 |
+
from re import IGNORECASE, compile as re_compile
|
5 |
+
from typing import Dict, List, Set, Union
|
6 |
+
|
7 |
+
# Contain for each eligible encoding a list of/item bytes SIG/BOM
|
8 |
+
ENCODING_MARKS: Dict[str, Union[bytes, List[bytes]]] = {
|
9 |
+
"utf_8": BOM_UTF8,
|
10 |
+
"utf_7": [
|
11 |
+
b"\x2b\x2f\x76\x38",
|
12 |
+
b"\x2b\x2f\x76\x39",
|
13 |
+
b"\x2b\x2f\x76\x2b",
|
14 |
+
b"\x2b\x2f\x76\x2f",
|
15 |
+
b"\x2b\x2f\x76\x38\x2d",
|
16 |
+
],
|
17 |
+
"gb18030": b"\x84\x31\x95\x33",
|
18 |
+
"utf_32": [BOM_UTF32_BE, BOM_UTF32_LE],
|
19 |
+
"utf_16": [BOM_UTF16_BE, BOM_UTF16_LE],
|
20 |
+
}
|
21 |
+
|
22 |
+
TOO_SMALL_SEQUENCE: int = 32
|
23 |
+
TOO_BIG_SEQUENCE: int = int(10e6)
|
24 |
+
|
25 |
+
UTF8_MAXIMAL_ALLOCATION: int = 1_112_064
|
26 |
+
|
27 |
+
# Up-to-date Unicode ucd/15.0.0
|
28 |
+
UNICODE_RANGES_COMBINED: Dict[str, range] = {
|
29 |
+
"Control character": range(32),
|
30 |
+
"Basic Latin": range(32, 128),
|
31 |
+
"Latin-1 Supplement": range(128, 256),
|
32 |
+
"Latin Extended-A": range(256, 384),
|
33 |
+
"Latin Extended-B": range(384, 592),
|
34 |
+
"IPA Extensions": range(592, 688),
|
35 |
+
"Spacing Modifier Letters": range(688, 768),
|
36 |
+
"Combining Diacritical Marks": range(768, 880),
|
37 |
+
"Greek and Coptic": range(880, 1024),
|
38 |
+
"Cyrillic": range(1024, 1280),
|
39 |
+
"Cyrillic Supplement": range(1280, 1328),
|
40 |
+
"Armenian": range(1328, 1424),
|
41 |
+
"Hebrew": range(1424, 1536),
|
42 |
+
"Arabic": range(1536, 1792),
|
43 |
+
"Syriac": range(1792, 1872),
|
44 |
+
"Arabic Supplement": range(1872, 1920),
|
45 |
+
"Thaana": range(1920, 1984),
|
46 |
+
"NKo": range(1984, 2048),
|
47 |
+
"Samaritan": range(2048, 2112),
|
48 |
+
"Mandaic": range(2112, 2144),
|
49 |
+
"Syriac Supplement": range(2144, 2160),
|
50 |
+
"Arabic Extended-B": range(2160, 2208),
|
51 |
+
"Arabic Extended-A": range(2208, 2304),
|
52 |
+
"Devanagari": range(2304, 2432),
|
53 |
+
"Bengali": range(2432, 2560),
|
54 |
+
"Gurmukhi": range(2560, 2688),
|
55 |
+
"Gujarati": range(2688, 2816),
|
56 |
+
"Oriya": range(2816, 2944),
|
57 |
+
"Tamil": range(2944, 3072),
|
58 |
+
"Telugu": range(3072, 3200),
|
59 |
+
"Kannada": range(3200, 3328),
|
60 |
+
"Malayalam": range(3328, 3456),
|
61 |
+
"Sinhala": range(3456, 3584),
|
62 |
+
"Thai": range(3584, 3712),
|
63 |
+
"Lao": range(3712, 3840),
|
64 |
+
"Tibetan": range(3840, 4096),
|
65 |
+
"Myanmar": range(4096, 4256),
|
66 |
+
"Georgian": range(4256, 4352),
|
67 |
+
"Hangul Jamo": range(4352, 4608),
|
68 |
+
"Ethiopic": range(4608, 4992),
|
69 |
+
"Ethiopic Supplement": range(4992, 5024),
|
70 |
+
"Cherokee": range(5024, 5120),
|
71 |
+
"Unified Canadian Aboriginal Syllabics": range(5120, 5760),
|
72 |
+
"Ogham": range(5760, 5792),
|
73 |
+
"Runic": range(5792, 5888),
|
74 |
+
"Tagalog": range(5888, 5920),
|
75 |
+
"Hanunoo": range(5920, 5952),
|
76 |
+
"Buhid": range(5952, 5984),
|
77 |
+
"Tagbanwa": range(5984, 6016),
|
78 |
+
"Khmer": range(6016, 6144),
|
79 |
+
"Mongolian": range(6144, 6320),
|
80 |
+
"Unified Canadian Aboriginal Syllabics Extended": range(6320, 6400),
|
81 |
+
"Limbu": range(6400, 6480),
|
82 |
+
"Tai Le": range(6480, 6528),
|
83 |
+
"New Tai Lue": range(6528, 6624),
|
84 |
+
"Khmer Symbols": range(6624, 6656),
|
85 |
+
"Buginese": range(6656, 6688),
|
86 |
+
"Tai Tham": range(6688, 6832),
|
87 |
+
"Combining Diacritical Marks Extended": range(6832, 6912),
|
88 |
+
"Balinese": range(6912, 7040),
|
89 |
+
"Sundanese": range(7040, 7104),
|
90 |
+
"Batak": range(7104, 7168),
|
91 |
+
"Lepcha": range(7168, 7248),
|
92 |
+
"Ol Chiki": range(7248, 7296),
|
93 |
+
"Cyrillic Extended-C": range(7296, 7312),
|
94 |
+
"Georgian Extended": range(7312, 7360),
|
95 |
+
"Sundanese Supplement": range(7360, 7376),
|
96 |
+
"Vedic Extensions": range(7376, 7424),
|
97 |
+
"Phonetic Extensions": range(7424, 7552),
|
98 |
+
"Phonetic Extensions Supplement": range(7552, 7616),
|
99 |
+
"Combining Diacritical Marks Supplement": range(7616, 7680),
|
100 |
+
"Latin Extended Additional": range(7680, 7936),
|
101 |
+
"Greek Extended": range(7936, 8192),
|
102 |
+
"General Punctuation": range(8192, 8304),
|
103 |
+
"Superscripts and Subscripts": range(8304, 8352),
|
104 |
+
"Currency Symbols": range(8352, 8400),
|
105 |
+
"Combining Diacritical Marks for Symbols": range(8400, 8448),
|
106 |
+
"Letterlike Symbols": range(8448, 8528),
|
107 |
+
"Number Forms": range(8528, 8592),
|
108 |
+
"Arrows": range(8592, 8704),
|
109 |
+
"Mathematical Operators": range(8704, 8960),
|
110 |
+
"Miscellaneous Technical": range(8960, 9216),
|
111 |
+
"Control Pictures": range(9216, 9280),
|
112 |
+
"Optical Character Recognition": range(9280, 9312),
|
113 |
+
"Enclosed Alphanumerics": range(9312, 9472),
|
114 |
+
"Box Drawing": range(9472, 9600),
|
115 |
+
"Block Elements": range(9600, 9632),
|
116 |
+
"Geometric Shapes": range(9632, 9728),
|
117 |
+
"Miscellaneous Symbols": range(9728, 9984),
|
118 |
+
"Dingbats": range(9984, 10176),
|
119 |
+
"Miscellaneous Mathematical Symbols-A": range(10176, 10224),
|
120 |
+
"Supplemental Arrows-A": range(10224, 10240),
|
121 |
+
"Braille Patterns": range(10240, 10496),
|
122 |
+
"Supplemental Arrows-B": range(10496, 10624),
|
123 |
+
"Miscellaneous Mathematical Symbols-B": range(10624, 10752),
|
124 |
+
"Supplemental Mathematical Operators": range(10752, 11008),
|
125 |
+
"Miscellaneous Symbols and Arrows": range(11008, 11264),
|
126 |
+
"Glagolitic": range(11264, 11360),
|
127 |
+
"Latin Extended-C": range(11360, 11392),
|
128 |
+
"Coptic": range(11392, 11520),
|
129 |
+
"Georgian Supplement": range(11520, 11568),
|
130 |
+
"Tifinagh": range(11568, 11648),
|
131 |
+
"Ethiopic Extended": range(11648, 11744),
|
132 |
+
"Cyrillic Extended-A": range(11744, 11776),
|
133 |
+
"Supplemental Punctuation": range(11776, 11904),
|
134 |
+
"CJK Radicals Supplement": range(11904, 12032),
|
135 |
+
"Kangxi Radicals": range(12032, 12256),
|
136 |
+
"Ideographic Description Characters": range(12272, 12288),
|
137 |
+
"CJK Symbols and Punctuation": range(12288, 12352),
|
138 |
+
"Hiragana": range(12352, 12448),
|
139 |
+
"Katakana": range(12448, 12544),
|
140 |
+
"Bopomofo": range(12544, 12592),
|
141 |
+
"Hangul Compatibility Jamo": range(12592, 12688),
|
142 |
+
"Kanbun": range(12688, 12704),
|
143 |
+
"Bopomofo Extended": range(12704, 12736),
|
144 |
+
"CJK Strokes": range(12736, 12784),
|
145 |
+
"Katakana Phonetic Extensions": range(12784, 12800),
|
146 |
+
"Enclosed CJK Letters and Months": range(12800, 13056),
|
147 |
+
"CJK Compatibility": range(13056, 13312),
|
148 |
+
"CJK Unified Ideographs Extension A": range(13312, 19904),
|
149 |
+
"Yijing Hexagram Symbols": range(19904, 19968),
|
150 |
+
"CJK Unified Ideographs": range(19968, 40960),
|
151 |
+
"Yi Syllables": range(40960, 42128),
|
152 |
+
"Yi Radicals": range(42128, 42192),
|
153 |
+
"Lisu": range(42192, 42240),
|
154 |
+
"Vai": range(42240, 42560),
|
155 |
+
"Cyrillic Extended-B": range(42560, 42656),
|
156 |
+
"Bamum": range(42656, 42752),
|
157 |
+
"Modifier Tone Letters": range(42752, 42784),
|
158 |
+
"Latin Extended-D": range(42784, 43008),
|
159 |
+
"Syloti Nagri": range(43008, 43056),
|
160 |
+
"Common Indic Number Forms": range(43056, 43072),
|
161 |
+
"Phags-pa": range(43072, 43136),
|
162 |
+
"Saurashtra": range(43136, 43232),
|
163 |
+
"Devanagari Extended": range(43232, 43264),
|
164 |
+
"Kayah Li": range(43264, 43312),
|
165 |
+
"Rejang": range(43312, 43360),
|
166 |
+
"Hangul Jamo Extended-A": range(43360, 43392),
|
167 |
+
"Javanese": range(43392, 43488),
|
168 |
+
"Myanmar Extended-B": range(43488, 43520),
|
169 |
+
"Cham": range(43520, 43616),
|
170 |
+
"Myanmar Extended-A": range(43616, 43648),
|
171 |
+
"Tai Viet": range(43648, 43744),
|
172 |
+
"Meetei Mayek Extensions": range(43744, 43776),
|
173 |
+
"Ethiopic Extended-A": range(43776, 43824),
|
174 |
+
"Latin Extended-E": range(43824, 43888),
|
175 |
+
"Cherokee Supplement": range(43888, 43968),
|
176 |
+
"Meetei Mayek": range(43968, 44032),
|
177 |
+
"Hangul Syllables": range(44032, 55216),
|
178 |
+
"Hangul Jamo Extended-B": range(55216, 55296),
|
179 |
+
"High Surrogates": range(55296, 56192),
|
180 |
+
"High Private Use Surrogates": range(56192, 56320),
|
181 |
+
"Low Surrogates": range(56320, 57344),
|
182 |
+
"Private Use Area": range(57344, 63744),
|
183 |
+
"CJK Compatibility Ideographs": range(63744, 64256),
|
184 |
+
"Alphabetic Presentation Forms": range(64256, 64336),
|
185 |
+
"Arabic Presentation Forms-A": range(64336, 65024),
|
186 |
+
"Variation Selectors": range(65024, 65040),
|
187 |
+
"Vertical Forms": range(65040, 65056),
|
188 |
+
"Combining Half Marks": range(65056, 65072),
|
189 |
+
"CJK Compatibility Forms": range(65072, 65104),
|
190 |
+
"Small Form Variants": range(65104, 65136),
|
191 |
+
"Arabic Presentation Forms-B": range(65136, 65280),
|
192 |
+
"Halfwidth and Fullwidth Forms": range(65280, 65520),
|
193 |
+
"Specials": range(65520, 65536),
|
194 |
+
"Linear B Syllabary": range(65536, 65664),
|
195 |
+
"Linear B Ideograms": range(65664, 65792),
|
196 |
+
"Aegean Numbers": range(65792, 65856),
|
197 |
+
"Ancient Greek Numbers": range(65856, 65936),
|
198 |
+
"Ancient Symbols": range(65936, 66000),
|
199 |
+
"Phaistos Disc": range(66000, 66048),
|
200 |
+
"Lycian": range(66176, 66208),
|
201 |
+
"Carian": range(66208, 66272),
|
202 |
+
"Coptic Epact Numbers": range(66272, 66304),
|
203 |
+
"Old Italic": range(66304, 66352),
|
204 |
+
"Gothic": range(66352, 66384),
|
205 |
+
"Old Permic": range(66384, 66432),
|
206 |
+
"Ugaritic": range(66432, 66464),
|
207 |
+
"Old Persian": range(66464, 66528),
|
208 |
+
"Deseret": range(66560, 66640),
|
209 |
+
"Shavian": range(66640, 66688),
|
210 |
+
"Osmanya": range(66688, 66736),
|
211 |
+
"Osage": range(66736, 66816),
|
212 |
+
"Elbasan": range(66816, 66864),
|
213 |
+
"Caucasian Albanian": range(66864, 66928),
|
214 |
+
"Vithkuqi": range(66928, 67008),
|
215 |
+
"Linear A": range(67072, 67456),
|
216 |
+
"Latin Extended-F": range(67456, 67520),
|
217 |
+
"Cypriot Syllabary": range(67584, 67648),
|
218 |
+
"Imperial Aramaic": range(67648, 67680),
|
219 |
+
"Palmyrene": range(67680, 67712),
|
220 |
+
"Nabataean": range(67712, 67760),
|
221 |
+
"Hatran": range(67808, 67840),
|
222 |
+
"Phoenician": range(67840, 67872),
|
223 |
+
"Lydian": range(67872, 67904),
|
224 |
+
"Meroitic Hieroglyphs": range(67968, 68000),
|
225 |
+
"Meroitic Cursive": range(68000, 68096),
|
226 |
+
"Kharoshthi": range(68096, 68192),
|
227 |
+
"Old South Arabian": range(68192, 68224),
|
228 |
+
"Old North Arabian": range(68224, 68256),
|
229 |
+
"Manichaean": range(68288, 68352),
|
230 |
+
"Avestan": range(68352, 68416),
|
231 |
+
"Inscriptional Parthian": range(68416, 68448),
|
232 |
+
"Inscriptional Pahlavi": range(68448, 68480),
|
233 |
+
"Psalter Pahlavi": range(68480, 68528),
|
234 |
+
"Old Turkic": range(68608, 68688),
|
235 |
+
"Old Hungarian": range(68736, 68864),
|
236 |
+
"Hanifi Rohingya": range(68864, 68928),
|
237 |
+
"Rumi Numeral Symbols": range(69216, 69248),
|
238 |
+
"Yezidi": range(69248, 69312),
|
239 |
+
"Arabic Extended-C": range(69312, 69376),
|
240 |
+
"Old Sogdian": range(69376, 69424),
|
241 |
+
"Sogdian": range(69424, 69488),
|
242 |
+
"Old Uyghur": range(69488, 69552),
|
243 |
+
"Chorasmian": range(69552, 69600),
|
244 |
+
"Elymaic": range(69600, 69632),
|
245 |
+
"Brahmi": range(69632, 69760),
|
246 |
+
"Kaithi": range(69760, 69840),
|
247 |
+
"Sora Sompeng": range(69840, 69888),
|
248 |
+
"Chakma": range(69888, 69968),
|
249 |
+
"Mahajani": range(69968, 70016),
|
250 |
+
"Sharada": range(70016, 70112),
|
251 |
+
"Sinhala Archaic Numbers": range(70112, 70144),
|
252 |
+
"Khojki": range(70144, 70224),
|
253 |
+
"Multani": range(70272, 70320),
|
254 |
+
"Khudawadi": range(70320, 70400),
|
255 |
+
"Grantha": range(70400, 70528),
|
256 |
+
"Newa": range(70656, 70784),
|
257 |
+
"Tirhuta": range(70784, 70880),
|
258 |
+
"Siddham": range(71040, 71168),
|
259 |
+
"Modi": range(71168, 71264),
|
260 |
+
"Mongolian Supplement": range(71264, 71296),
|
261 |
+
"Takri": range(71296, 71376),
|
262 |
+
"Ahom": range(71424, 71504),
|
263 |
+
"Dogra": range(71680, 71760),
|
264 |
+
"Warang Citi": range(71840, 71936),
|
265 |
+
"Dives Akuru": range(71936, 72032),
|
266 |
+
"Nandinagari": range(72096, 72192),
|
267 |
+
"Zanabazar Square": range(72192, 72272),
|
268 |
+
"Soyombo": range(72272, 72368),
|
269 |
+
"Unified Canadian Aboriginal Syllabics Extended-A": range(72368, 72384),
|
270 |
+
"Pau Cin Hau": range(72384, 72448),
|
271 |
+
"Devanagari Extended-A": range(72448, 72544),
|
272 |
+
"Bhaiksuki": range(72704, 72816),
|
273 |
+
"Marchen": range(72816, 72896),
|
274 |
+
"Masaram Gondi": range(72960, 73056),
|
275 |
+
"Gunjala Gondi": range(73056, 73136),
|
276 |
+
"Makasar": range(73440, 73472),
|
277 |
+
"Kawi": range(73472, 73568),
|
278 |
+
"Lisu Supplement": range(73648, 73664),
|
279 |
+
"Tamil Supplement": range(73664, 73728),
|
280 |
+
"Cuneiform": range(73728, 74752),
|
281 |
+
"Cuneiform Numbers and Punctuation": range(74752, 74880),
|
282 |
+
"Early Dynastic Cuneiform": range(74880, 75088),
|
283 |
+
"Cypro-Minoan": range(77712, 77824),
|
284 |
+
"Egyptian Hieroglyphs": range(77824, 78896),
|
285 |
+
"Egyptian Hieroglyph Format Controls": range(78896, 78944),
|
286 |
+
"Anatolian Hieroglyphs": range(82944, 83584),
|
287 |
+
"Bamum Supplement": range(92160, 92736),
|
288 |
+
"Mro": range(92736, 92784),
|
289 |
+
"Tangsa": range(92784, 92880),
|
290 |
+
"Bassa Vah": range(92880, 92928),
|
291 |
+
"Pahawh Hmong": range(92928, 93072),
|
292 |
+
"Medefaidrin": range(93760, 93856),
|
293 |
+
"Miao": range(93952, 94112),
|
294 |
+
"Ideographic Symbols and Punctuation": range(94176, 94208),
|
295 |
+
"Tangut": range(94208, 100352),
|
296 |
+
"Tangut Components": range(100352, 101120),
|
297 |
+
"Khitan Small Script": range(101120, 101632),
|
298 |
+
"Tangut Supplement": range(101632, 101760),
|
299 |
+
"Kana Extended-B": range(110576, 110592),
|
300 |
+
"Kana Supplement": range(110592, 110848),
|
301 |
+
"Kana Extended-A": range(110848, 110896),
|
302 |
+
"Small Kana Extension": range(110896, 110960),
|
303 |
+
"Nushu": range(110960, 111360),
|
304 |
+
"Duployan": range(113664, 113824),
|
305 |
+
"Shorthand Format Controls": range(113824, 113840),
|
306 |
+
"Znamenny Musical Notation": range(118528, 118736),
|
307 |
+
"Byzantine Musical Symbols": range(118784, 119040),
|
308 |
+
"Musical Symbols": range(119040, 119296),
|
309 |
+
"Ancient Greek Musical Notation": range(119296, 119376),
|
310 |
+
"Kaktovik Numerals": range(119488, 119520),
|
311 |
+
"Mayan Numerals": range(119520, 119552),
|
312 |
+
"Tai Xuan Jing Symbols": range(119552, 119648),
|
313 |
+
"Counting Rod Numerals": range(119648, 119680),
|
314 |
+
"Mathematical Alphanumeric Symbols": range(119808, 120832),
|
315 |
+
"Sutton SignWriting": range(120832, 121520),
|
316 |
+
"Latin Extended-G": range(122624, 122880),
|
317 |
+
"Glagolitic Supplement": range(122880, 122928),
|
318 |
+
"Cyrillic Extended-D": range(122928, 123024),
|
319 |
+
"Nyiakeng Puachue Hmong": range(123136, 123216),
|
320 |
+
"Toto": range(123536, 123584),
|
321 |
+
"Wancho": range(123584, 123648),
|
322 |
+
"Nag Mundari": range(124112, 124160),
|
323 |
+
"Ethiopic Extended-B": range(124896, 124928),
|
324 |
+
"Mende Kikakui": range(124928, 125152),
|
325 |
+
"Adlam": range(125184, 125280),
|
326 |
+
"Indic Siyaq Numbers": range(126064, 126144),
|
327 |
+
"Ottoman Siyaq Numbers": range(126208, 126288),
|
328 |
+
"Arabic Mathematical Alphabetic Symbols": range(126464, 126720),
|
329 |
+
"Mahjong Tiles": range(126976, 127024),
|
330 |
+
"Domino Tiles": range(127024, 127136),
|
331 |
+
"Playing Cards": range(127136, 127232),
|
332 |
+
"Enclosed Alphanumeric Supplement": range(127232, 127488),
|
333 |
+
"Enclosed Ideographic Supplement": range(127488, 127744),
|
334 |
+
"Miscellaneous Symbols and Pictographs": range(127744, 128512),
|
335 |
+
"Emoticons range(Emoji)": range(128512, 128592),
|
336 |
+
"Ornamental Dingbats": range(128592, 128640),
|
337 |
+
"Transport and Map Symbols": range(128640, 128768),
|
338 |
+
"Alchemical Symbols": range(128768, 128896),
|
339 |
+
"Geometric Shapes Extended": range(128896, 129024),
|
340 |
+
"Supplemental Arrows-C": range(129024, 129280),
|
341 |
+
"Supplemental Symbols and Pictographs": range(129280, 129536),
|
342 |
+
"Chess Symbols": range(129536, 129648),
|
343 |
+
"Symbols and Pictographs Extended-A": range(129648, 129792),
|
344 |
+
"Symbols for Legacy Computing": range(129792, 130048),
|
345 |
+
"CJK Unified Ideographs Extension B": range(131072, 173792),
|
346 |
+
"CJK Unified Ideographs Extension C": range(173824, 177984),
|
347 |
+
"CJK Unified Ideographs Extension D": range(177984, 178208),
|
348 |
+
"CJK Unified Ideographs Extension E": range(178208, 183984),
|
349 |
+
"CJK Unified Ideographs Extension F": range(183984, 191472),
|
350 |
+
"CJK Compatibility Ideographs Supplement": range(194560, 195104),
|
351 |
+
"CJK Unified Ideographs Extension G": range(196608, 201552),
|
352 |
+
"CJK Unified Ideographs Extension H": range(201552, 205744),
|
353 |
+
"Tags": range(917504, 917632),
|
354 |
+
"Variation Selectors Supplement": range(917760, 918000),
|
355 |
+
"Supplementary Private Use Area-A": range(983040, 1048576),
|
356 |
+
"Supplementary Private Use Area-B": range(1048576, 1114112),
|
357 |
+
}
|
358 |
+
|
359 |
+
|
360 |
+
UNICODE_SECONDARY_RANGE_KEYWORD: List[str] = [
|
361 |
+
"Supplement",
|
362 |
+
"Extended",
|
363 |
+
"Extensions",
|
364 |
+
"Modifier",
|
365 |
+
"Marks",
|
366 |
+
"Punctuation",
|
367 |
+
"Symbols",
|
368 |
+
"Forms",
|
369 |
+
"Operators",
|
370 |
+
"Miscellaneous",
|
371 |
+
"Drawing",
|
372 |
+
"Block",
|
373 |
+
"Shapes",
|
374 |
+
"Supplemental",
|
375 |
+
"Tags",
|
376 |
+
]
|
377 |
+
|
378 |
+
RE_POSSIBLE_ENCODING_INDICATION = re_compile(
|
379 |
+
r"(?:(?:encoding)|(?:charset)|(?:coding))(?:[\:= ]{1,10})(?:[\"\']?)([a-zA-Z0-9\-_]+)(?:[\"\']?)",
|
380 |
+
IGNORECASE,
|
381 |
+
)
|
382 |
+
|
383 |
+
IANA_NO_ALIASES = [
|
384 |
+
"cp720",
|
385 |
+
"cp737",
|
386 |
+
"cp856",
|
387 |
+
"cp874",
|
388 |
+
"cp875",
|
389 |
+
"cp1006",
|
390 |
+
"koi8_r",
|
391 |
+
"koi8_t",
|
392 |
+
"koi8_u",
|
393 |
+
]
|
394 |
+
|
395 |
+
IANA_SUPPORTED: List[str] = sorted(
|
396 |
+
filter(
|
397 |
+
lambda x: x.endswith("_codec") is False
|
398 |
+
and x not in {"rot_13", "tactis", "mbcs"},
|
399 |
+
list(set(aliases.values())) + IANA_NO_ALIASES,
|
400 |
+
)
|
401 |
+
)
|
402 |
+
|
403 |
+
IANA_SUPPORTED_COUNT: int = len(IANA_SUPPORTED)
|
404 |
+
|
405 |
+
# pre-computed code page that are similar using the function cp_similarity.
|
406 |
+
IANA_SUPPORTED_SIMILAR: Dict[str, List[str]] = {
|
407 |
+
"cp037": ["cp1026", "cp1140", "cp273", "cp500"],
|
408 |
+
"cp1026": ["cp037", "cp1140", "cp273", "cp500"],
|
409 |
+
"cp1125": ["cp866"],
|
410 |
+
"cp1140": ["cp037", "cp1026", "cp273", "cp500"],
|
411 |
+
"cp1250": ["iso8859_2"],
|
412 |
+
"cp1251": ["kz1048", "ptcp154"],
|
413 |
+
"cp1252": ["iso8859_15", "iso8859_9", "latin_1"],
|
414 |
+
"cp1253": ["iso8859_7"],
|
415 |
+
"cp1254": ["iso8859_15", "iso8859_9", "latin_1"],
|
416 |
+
"cp1257": ["iso8859_13"],
|
417 |
+
"cp273": ["cp037", "cp1026", "cp1140", "cp500"],
|
418 |
+
"cp437": ["cp850", "cp858", "cp860", "cp861", "cp862", "cp863", "cp865"],
|
419 |
+
"cp500": ["cp037", "cp1026", "cp1140", "cp273"],
|
420 |
+
"cp850": ["cp437", "cp857", "cp858", "cp865"],
|
421 |
+
"cp857": ["cp850", "cp858", "cp865"],
|
422 |
+
"cp858": ["cp437", "cp850", "cp857", "cp865"],
|
423 |
+
"cp860": ["cp437", "cp861", "cp862", "cp863", "cp865"],
|
424 |
+
"cp861": ["cp437", "cp860", "cp862", "cp863", "cp865"],
|
425 |
+
"cp862": ["cp437", "cp860", "cp861", "cp863", "cp865"],
|
426 |
+
"cp863": ["cp437", "cp860", "cp861", "cp862", "cp865"],
|
427 |
+
"cp865": ["cp437", "cp850", "cp857", "cp858", "cp860", "cp861", "cp862", "cp863"],
|
428 |
+
"cp866": ["cp1125"],
|
429 |
+
"iso8859_10": ["iso8859_14", "iso8859_15", "iso8859_4", "iso8859_9", "latin_1"],
|
430 |
+
"iso8859_11": ["tis_620"],
|
431 |
+
"iso8859_13": ["cp1257"],
|
432 |
+
"iso8859_14": [
|
433 |
+
"iso8859_10",
|
434 |
+
"iso8859_15",
|
435 |
+
"iso8859_16",
|
436 |
+
"iso8859_3",
|
437 |
+
"iso8859_9",
|
438 |
+
"latin_1",
|
439 |
+
],
|
440 |
+
"iso8859_15": [
|
441 |
+
"cp1252",
|
442 |
+
"cp1254",
|
443 |
+
"iso8859_10",
|
444 |
+
"iso8859_14",
|
445 |
+
"iso8859_16",
|
446 |
+
"iso8859_3",
|
447 |
+
"iso8859_9",
|
448 |
+
"latin_1",
|
449 |
+
],
|
450 |
+
"iso8859_16": [
|
451 |
+
"iso8859_14",
|
452 |
+
"iso8859_15",
|
453 |
+
"iso8859_2",
|
454 |
+
"iso8859_3",
|
455 |
+
"iso8859_9",
|
456 |
+
"latin_1",
|
457 |
+
],
|
458 |
+
"iso8859_2": ["cp1250", "iso8859_16", "iso8859_4"],
|
459 |
+
"iso8859_3": ["iso8859_14", "iso8859_15", "iso8859_16", "iso8859_9", "latin_1"],
|
460 |
+
"iso8859_4": ["iso8859_10", "iso8859_2", "iso8859_9", "latin_1"],
|
461 |
+
"iso8859_7": ["cp1253"],
|
462 |
+
"iso8859_9": [
|
463 |
+
"cp1252",
|
464 |
+
"cp1254",
|
465 |
+
"cp1258",
|
466 |
+
"iso8859_10",
|
467 |
+
"iso8859_14",
|
468 |
+
"iso8859_15",
|
469 |
+
"iso8859_16",
|
470 |
+
"iso8859_3",
|
471 |
+
"iso8859_4",
|
472 |
+
"latin_1",
|
473 |
+
],
|
474 |
+
"kz1048": ["cp1251", "ptcp154"],
|
475 |
+
"latin_1": [
|
476 |
+
"cp1252",
|
477 |
+
"cp1254",
|
478 |
+
"cp1258",
|
479 |
+
"iso8859_10",
|
480 |
+
"iso8859_14",
|
481 |
+
"iso8859_15",
|
482 |
+
"iso8859_16",
|
483 |
+
"iso8859_3",
|
484 |
+
"iso8859_4",
|
485 |
+
"iso8859_9",
|
486 |
+
],
|
487 |
+
"mac_iceland": ["mac_roman", "mac_turkish"],
|
488 |
+
"mac_roman": ["mac_iceland", "mac_turkish"],
|
489 |
+
"mac_turkish": ["mac_iceland", "mac_roman"],
|
490 |
+
"ptcp154": ["cp1251", "kz1048"],
|
491 |
+
"tis_620": ["iso8859_11"],
|
492 |
+
}
|
493 |
+
|
494 |
+
|
495 |
+
CHARDET_CORRESPONDENCE: Dict[str, str] = {
|
496 |
+
"iso2022_kr": "ISO-2022-KR",
|
497 |
+
"iso2022_jp": "ISO-2022-JP",
|
498 |
+
"euc_kr": "EUC-KR",
|
499 |
+
"tis_620": "TIS-620",
|
500 |
+
"utf_32": "UTF-32",
|
501 |
+
"euc_jp": "EUC-JP",
|
502 |
+
"koi8_r": "KOI8-R",
|
503 |
+
"iso8859_1": "ISO-8859-1",
|
504 |
+
"iso8859_2": "ISO-8859-2",
|
505 |
+
"iso8859_5": "ISO-8859-5",
|
506 |
+
"iso8859_6": "ISO-8859-6",
|
507 |
+
"iso8859_7": "ISO-8859-7",
|
508 |
+
"iso8859_8": "ISO-8859-8",
|
509 |
+
"utf_16": "UTF-16",
|
510 |
+
"cp855": "IBM855",
|
511 |
+
"mac_cyrillic": "MacCyrillic",
|
512 |
+
"gb2312": "GB2312",
|
513 |
+
"gb18030": "GB18030",
|
514 |
+
"cp932": "CP932",
|
515 |
+
"cp866": "IBM866",
|
516 |
+
"utf_8": "utf-8",
|
517 |
+
"utf_8_sig": "UTF-8-SIG",
|
518 |
+
"shift_jis": "SHIFT_JIS",
|
519 |
+
"big5": "Big5",
|
520 |
+
"cp1250": "windows-1250",
|
521 |
+
"cp1251": "windows-1251",
|
522 |
+
"cp1252": "Windows-1252",
|
523 |
+
"cp1253": "windows-1253",
|
524 |
+
"cp1255": "windows-1255",
|
525 |
+
"cp1256": "windows-1256",
|
526 |
+
"cp1254": "Windows-1254",
|
527 |
+
"cp949": "CP949",
|
528 |
+
}
|
529 |
+
|
530 |
+
|
531 |
+
COMMON_SAFE_ASCII_CHARACTERS: Set[str] = {
|
532 |
+
"<",
|
533 |
+
">",
|
534 |
+
"=",
|
535 |
+
":",
|
536 |
+
"/",
|
537 |
+
"&",
|
538 |
+
";",
|
539 |
+
"{",
|
540 |
+
"}",
|
541 |
+
"[",
|
542 |
+
"]",
|
543 |
+
",",
|
544 |
+
"|",
|
545 |
+
'"',
|
546 |
+
"-",
|
547 |
+
}
|
548 |
+
|
549 |
+
|
550 |
+
KO_NAMES: Set[str] = {"johab", "cp949", "euc_kr"}
|
551 |
+
ZH_NAMES: Set[str] = {"big5", "cp950", "big5hkscs", "hz"}
|
552 |
+
|
553 |
+
# Logging LEVEL below DEBUG
|
554 |
+
TRACE: int = 5
|
555 |
+
|
556 |
+
|
557 |
+
# Language label that contain the em dash "—"
|
558 |
+
# character are to be considered alternative seq to origin
|
559 |
+
FREQUENCIES: Dict[str, List[str]] = {
|
560 |
+
"English": [
|
561 |
+
"e",
|
562 |
+
"a",
|
563 |
+
"t",
|
564 |
+
"i",
|
565 |
+
"o",
|
566 |
+
"n",
|
567 |
+
"s",
|
568 |
+
"r",
|
569 |
+
"h",
|
570 |
+
"l",
|
571 |
+
"d",
|
572 |
+
"c",
|
573 |
+
"u",
|
574 |
+
"m",
|
575 |
+
"f",
|
576 |
+
"p",
|
577 |
+
"g",
|
578 |
+
"w",
|
579 |
+
"y",
|
580 |
+
"b",
|
581 |
+
"v",
|
582 |
+
"k",
|
583 |
+
"x",
|
584 |
+
"j",
|
585 |
+
"z",
|
586 |
+
"q",
|
587 |
+
],
|
588 |
+
"English—": [
|
589 |
+
"e",
|
590 |
+
"a",
|
591 |
+
"t",
|
592 |
+
"i",
|
593 |
+
"o",
|
594 |
+
"n",
|
595 |
+
"s",
|
596 |
+
"r",
|
597 |
+
"h",
|
598 |
+
"l",
|
599 |
+
"d",
|
600 |
+
"c",
|
601 |
+
"m",
|
602 |
+
"u",
|
603 |
+
"f",
|
604 |
+
"p",
|
605 |
+
"g",
|
606 |
+
"w",
|
607 |
+
"b",
|
608 |
+
"y",
|
609 |
+
"v",
|
610 |
+
"k",
|
611 |
+
"j",
|
612 |
+
"x",
|
613 |
+
"z",
|
614 |
+
"q",
|
615 |
+
],
|
616 |
+
"German": [
|
617 |
+
"e",
|
618 |
+
"n",
|
619 |
+
"i",
|
620 |
+
"r",
|
621 |
+
"s",
|
622 |
+
"t",
|
623 |
+
"a",
|
624 |
+
"d",
|
625 |
+
"h",
|
626 |
+
"u",
|
627 |
+
"l",
|
628 |
+
"g",
|
629 |
+
"o",
|
630 |
+
"c",
|
631 |
+
"m",
|
632 |
+
"b",
|
633 |
+
"f",
|
634 |
+
"k",
|
635 |
+
"w",
|
636 |
+
"z",
|
637 |
+
"p",
|
638 |
+
"v",
|
639 |
+
"ü",
|
640 |
+
"ä",
|
641 |
+
"ö",
|
642 |
+
"j",
|
643 |
+
],
|
644 |
+
"French": [
|
645 |
+
"e",
|
646 |
+
"a",
|
647 |
+
"s",
|
648 |
+
"n",
|
649 |
+
"i",
|
650 |
+
"t",
|
651 |
+
"r",
|
652 |
+
"l",
|
653 |
+
"u",
|
654 |
+
"o",
|
655 |
+
"d",
|
656 |
+
"c",
|
657 |
+
"p",
|
658 |
+
"m",
|
659 |
+
"é",
|
660 |
+
"v",
|
661 |
+
"g",
|
662 |
+
"f",
|
663 |
+
"b",
|
664 |
+
"h",
|
665 |
+
"q",
|
666 |
+
"à",
|
667 |
+
"x",
|
668 |
+
"è",
|
669 |
+
"y",
|
670 |
+
"j",
|
671 |
+
],
|
672 |
+
"Dutch": [
|
673 |
+
"e",
|
674 |
+
"n",
|
675 |
+
"a",
|
676 |
+
"i",
|
677 |
+
"r",
|
678 |
+
"t",
|
679 |
+
"o",
|
680 |
+
"d",
|
681 |
+
"s",
|
682 |
+
"l",
|
683 |
+
"g",
|
684 |
+
"h",
|
685 |
+
"v",
|
686 |
+
"m",
|
687 |
+
"u",
|
688 |
+
"k",
|
689 |
+
"c",
|
690 |
+
"p",
|
691 |
+
"b",
|
692 |
+
"w",
|
693 |
+
"j",
|
694 |
+
"z",
|
695 |
+
"f",
|
696 |
+
"y",
|
697 |
+
"x",
|
698 |
+
"ë",
|
699 |
+
],
|
700 |
+
"Italian": [
|
701 |
+
"e",
|
702 |
+
"i",
|
703 |
+
"a",
|
704 |
+
"o",
|
705 |
+
"n",
|
706 |
+
"l",
|
707 |
+
"t",
|
708 |
+
"r",
|
709 |
+
"s",
|
710 |
+
"c",
|
711 |
+
"d",
|
712 |
+
"u",
|
713 |
+
"p",
|
714 |
+
"m",
|
715 |
+
"g",
|
716 |
+
"v",
|
717 |
+
"f",
|
718 |
+
"b",
|
719 |
+
"z",
|
720 |
+
"h",
|
721 |
+
"q",
|
722 |
+
"è",
|
723 |
+
"à",
|
724 |
+
"k",
|
725 |
+
"y",
|
726 |
+
"ò",
|
727 |
+
],
|
728 |
+
"Polish": [
|
729 |
+
"a",
|
730 |
+
"i",
|
731 |
+
"o",
|
732 |
+
"e",
|
733 |
+
"n",
|
734 |
+
"r",
|
735 |
+
"z",
|
736 |
+
"w",
|
737 |
+
"s",
|
738 |
+
"c",
|
739 |
+
"t",
|
740 |
+
"k",
|
741 |
+
"y",
|
742 |
+
"d",
|
743 |
+
"p",
|
744 |
+
"m",
|
745 |
+
"u",
|
746 |
+
"l",
|
747 |
+
"j",
|
748 |
+
"ł",
|
749 |
+
"g",
|
750 |
+
"b",
|
751 |
+
"h",
|
752 |
+
"ą",
|
753 |
+
"ę",
|
754 |
+
"ó",
|
755 |
+
],
|
756 |
+
"Spanish": [
|
757 |
+
"e",
|
758 |
+
"a",
|
759 |
+
"o",
|
760 |
+
"n",
|
761 |
+
"s",
|
762 |
+
"r",
|
763 |
+
"i",
|
764 |
+
"l",
|
765 |
+
"d",
|
766 |
+
"t",
|
767 |
+
"c",
|
768 |
+
"u",
|
769 |
+
"m",
|
770 |
+
"p",
|
771 |
+
"b",
|
772 |
+
"g",
|
773 |
+
"v",
|
774 |
+
"f",
|
775 |
+
"y",
|
776 |
+
"ó",
|
777 |
+
"h",
|
778 |
+
"q",
|
779 |
+
"í",
|
780 |
+
"j",
|
781 |
+
"z",
|
782 |
+
"á",
|
783 |
+
],
|
784 |
+
"Russian": [
|
785 |
+
"о",
|
786 |
+
"а",
|
787 |
+
"е",
|
788 |
+
"и",
|
789 |
+
"н",
|
790 |
+
"с",
|
791 |
+
"т",
|
792 |
+
"р",
|
793 |
+
"в",
|
794 |
+
"л",
|
795 |
+
"к",
|
796 |
+
"м",
|
797 |
+
"д",
|
798 |
+
"п",
|
799 |
+
"у",
|
800 |
+
"г",
|
801 |
+
"я",
|
802 |
+
"ы",
|
803 |
+
"з",
|
804 |
+
"б",
|
805 |
+
"й",
|
806 |
+
"ь",
|
807 |
+
"ч",
|
808 |
+
"х",
|
809 |
+
"ж",
|
810 |
+
"ц",
|
811 |
+
],
|
812 |
+
# Jap-Kanji
|
813 |
+
"Japanese": [
|
814 |
+
"人",
|
815 |
+
"一",
|
816 |
+
"大",
|
817 |
+
"亅",
|
818 |
+
"丁",
|
819 |
+
"丨",
|
820 |
+
"竹",
|
821 |
+
"笑",
|
822 |
+
"口",
|
823 |
+
"日",
|
824 |
+
"今",
|
825 |
+
"二",
|
826 |
+
"彳",
|
827 |
+
"行",
|
828 |
+
"十",
|
829 |
+
"土",
|
830 |
+
"丶",
|
831 |
+
"寸",
|
832 |
+
"寺",
|
833 |
+
"時",
|
834 |
+
"乙",
|
835 |
+
"丿",
|
836 |
+
"乂",
|
837 |
+
"气",
|
838 |
+
"気",
|
839 |
+
"冂",
|
840 |
+
"巾",
|
841 |
+
"亠",
|
842 |
+
"市",
|
843 |
+
"目",
|
844 |
+
"儿",
|
845 |
+
"見",
|
846 |
+
"八",
|
847 |
+
"小",
|
848 |
+
"凵",
|
849 |
+
"県",
|
850 |
+
"月",
|
851 |
+
"彐",
|
852 |
+
"門",
|
853 |
+
"間",
|
854 |
+
"木",
|
855 |
+
"東",
|
856 |
+
"山",
|
857 |
+
"出",
|
858 |
+
"本",
|
859 |
+
"中",
|
860 |
+
"刀",
|
861 |
+
"分",
|
862 |
+
"耳",
|
863 |
+
"又",
|
864 |
+
"取",
|
865 |
+
"最",
|
866 |
+
"言",
|
867 |
+
"田",
|
868 |
+
"心",
|
869 |
+
"思",
|
870 |
+
"刂",
|
871 |
+
"前",
|
872 |
+
"京",
|
873 |
+
"尹",
|
874 |
+
"事",
|
875 |
+
"生",
|
876 |
+
"厶",
|
877 |
+
"云",
|
878 |
+
"会",
|
879 |
+
"未",
|
880 |
+
"来",
|
881 |
+
"白",
|
882 |
+
"冫",
|
883 |
+
"楽",
|
884 |
+
"灬",
|
885 |
+
"馬",
|
886 |
+
"尸",
|
887 |
+
"尺",
|
888 |
+
"駅",
|
889 |
+
"明",
|
890 |
+
"耂",
|
891 |
+
"者",
|
892 |
+
"了",
|
893 |
+
"阝",
|
894 |
+
"都",
|
895 |
+
"高",
|
896 |
+
"卜",
|
897 |
+
"占",
|
898 |
+
"厂",
|
899 |
+
"广",
|
900 |
+
"店",
|
901 |
+
"子",
|
902 |
+
"申",
|
903 |
+
"奄",
|
904 |
+
"亻",
|
905 |
+
"俺",
|
906 |
+
"上",
|
907 |
+
"方",
|
908 |
+
"冖",
|
909 |
+
"学",
|
910 |
+
"衣",
|
911 |
+
"艮",
|
912 |
+
"食",
|
913 |
+
"自",
|
914 |
+
],
|
915 |
+
# Jap-Katakana
|
916 |
+
"Japanese—": [
|
917 |
+
"ー",
|
918 |
+
"ン",
|
919 |
+
"ス",
|
920 |
+
"・",
|
921 |
+
"ル",
|
922 |
+
"ト",
|
923 |
+
"リ",
|
924 |
+
"イ",
|
925 |
+
"ア",
|
926 |
+
"ラ",
|
927 |
+
"ッ",
|
928 |
+
"ク",
|
929 |
+
"ド",
|
930 |
+
"シ",
|
931 |
+
"レ",
|
932 |
+
"ジ",
|
933 |
+
"タ",
|
934 |
+
"フ",
|
935 |
+
"ロ",
|
936 |
+
"カ",
|
937 |
+
"テ",
|
938 |
+
"マ",
|
939 |
+
"ィ",
|
940 |
+
"グ",
|
941 |
+
"バ",
|
942 |
+
"ム",
|
943 |
+
"プ",
|
944 |
+
"オ",
|
945 |
+
"コ",
|
946 |
+
"デ",
|
947 |
+
"ニ",
|
948 |
+
"ウ",
|
949 |
+
"メ",
|
950 |
+
"サ",
|
951 |
+
"ビ",
|
952 |
+
"ナ",
|
953 |
+
"ブ",
|
954 |
+
"ャ",
|
955 |
+
"エ",
|
956 |
+
"ュ",
|
957 |
+
"チ",
|
958 |
+
"キ",
|
959 |
+
"ズ",
|
960 |
+
"ダ",
|
961 |
+
"パ",
|
962 |
+
"ミ",
|
963 |
+
"ェ",
|
964 |
+
"ョ",
|
965 |
+
"ハ",
|
966 |
+
"セ",
|
967 |
+
"ベ",
|
968 |
+
"ガ",
|
969 |
+
"モ",
|
970 |
+
"ツ",
|
971 |
+
"ネ",
|
972 |
+
"ボ",
|
973 |
+
"ソ",
|
974 |
+
"ノ",
|
975 |
+
"ァ",
|
976 |
+
"ヴ",
|
977 |
+
"ワ",
|
978 |
+
"ポ",
|
979 |
+
"ペ",
|
980 |
+
"ピ",
|
981 |
+
"ケ",
|
982 |
+
"ゴ",
|
983 |
+
"ギ",
|
984 |
+
"ザ",
|
985 |
+
"ホ",
|
986 |
+
"ゲ",
|
987 |
+
"ォ",
|
988 |
+
"ヤ",
|
989 |
+
"ヒ",
|
990 |
+
"ユ",
|
991 |
+
"ヨ",
|
992 |
+
"ヘ",
|
993 |
+
"ゼ",
|
994 |
+
"ヌ",
|
995 |
+
"ゥ",
|
996 |
+
"ゾ",
|
997 |
+
"ヶ",
|
998 |
+
"ヂ",
|
999 |
+
"ヲ",
|
1000 |
+
"ヅ",
|
1001 |
+
"ヵ",
|
1002 |
+
"ヱ",
|
1003 |
+
"ヰ",
|
1004 |
+
"ヮ",
|
1005 |
+
"ヽ",
|
1006 |
+
"゠",
|
1007 |
+
"ヾ",
|
1008 |
+
"ヷ",
|
1009 |
+
"ヿ",
|
1010 |
+
"ヸ",
|
1011 |
+
"ヹ",
|
1012 |
+
"ヺ",
|
1013 |
+
],
|
1014 |
+
# Jap-Hiragana
|
1015 |
+
"Japanese——": [
|
1016 |
+
"の",
|
1017 |
+
"に",
|
1018 |
+
"る",
|
1019 |
+
"た",
|
1020 |
+
"と",
|
1021 |
+
"は",
|
1022 |
+
"し",
|
1023 |
+
"い",
|
1024 |
+
"を",
|
1025 |
+
"で",
|
1026 |
+
"て",
|
1027 |
+
"が",
|
1028 |
+
"な",
|
1029 |
+
"れ",
|
1030 |
+
"か",
|
1031 |
+
"ら",
|
1032 |
+
"さ",
|
1033 |
+
"っ",
|
1034 |
+
"り",
|
1035 |
+
"す",
|
1036 |
+
"あ",
|
1037 |
+
"も",
|
1038 |
+
"こ",
|
1039 |
+
"ま",
|
1040 |
+
"う",
|
1041 |
+
"く",
|
1042 |
+
"よ",
|
1043 |
+
"き",
|
1044 |
+
"ん",
|
1045 |
+
"め",
|
1046 |
+
"お",
|
1047 |
+
"け",
|
1048 |
+
"そ",
|
1049 |
+
"つ",
|
1050 |
+
"だ",
|
1051 |
+
"や",
|
1052 |
+
"え",
|
1053 |
+
"ど",
|
1054 |
+
"わ",
|
1055 |
+
"ち",
|
1056 |
+
"み",
|
1057 |
+
"せ",
|
1058 |
+
"じ",
|
1059 |
+
"ば",
|
1060 |
+
"へ",
|
1061 |
+
"び",
|
1062 |
+
"ず",
|
1063 |
+
"ろ",
|
1064 |
+
"ほ",
|
1065 |
+
"げ",
|
1066 |
+
"む",
|
1067 |
+
"べ",
|
1068 |
+
"ひ",
|
1069 |
+
"ょ",
|
1070 |
+
"ゆ",
|
1071 |
+
"ぶ",
|
1072 |
+
"ご",
|
1073 |
+
"ゃ",
|
1074 |
+
"ね",
|
1075 |
+
"ふ",
|
1076 |
+
"ぐ",
|
1077 |
+
"ぎ",
|
1078 |
+
"ぼ",
|
1079 |
+
"ゅ",
|
1080 |
+
"づ",
|
1081 |
+
"ざ",
|
1082 |
+
"ぞ",
|
1083 |
+
"ぬ",
|
1084 |
+
"ぜ",
|
1085 |
+
"ぱ",
|
1086 |
+
"ぽ",
|
1087 |
+
"ぷ",
|
1088 |
+
"ぴ",
|
1089 |
+
"ぃ",
|
1090 |
+
"ぁ",
|
1091 |
+
"ぇ",
|
1092 |
+
"ぺ",
|
1093 |
+
"ゞ",
|
1094 |
+
"ぢ",
|
1095 |
+
"ぉ",
|
1096 |
+
"ぅ",
|
1097 |
+
"ゐ",
|
1098 |
+
"ゝ",
|
1099 |
+
"ゑ",
|
1100 |
+
"゛",
|
1101 |
+
"゜",
|
1102 |
+
"ゎ",
|
1103 |
+
"ゔ",
|
1104 |
+
"゚",
|
1105 |
+
"ゟ",
|
1106 |
+
"゙",
|
1107 |
+
"ゕ",
|
1108 |
+
"ゖ",
|
1109 |
+
],
|
1110 |
+
"Portuguese": [
|
1111 |
+
"a",
|
1112 |
+
"e",
|
1113 |
+
"o",
|
1114 |
+
"s",
|
1115 |
+
"i",
|
1116 |
+
"r",
|
1117 |
+
"d",
|
1118 |
+
"n",
|
1119 |
+
"t",
|
1120 |
+
"m",
|
1121 |
+
"u",
|
1122 |
+
"c",
|
1123 |
+
"l",
|
1124 |
+
"p",
|
1125 |
+
"g",
|
1126 |
+
"v",
|
1127 |
+
"b",
|
1128 |
+
"f",
|
1129 |
+
"h",
|
1130 |
+
"ã",
|
1131 |
+
"q",
|
1132 |
+
"é",
|
1133 |
+
"ç",
|
1134 |
+
"á",
|
1135 |
+
"z",
|
1136 |
+
"í",
|
1137 |
+
],
|
1138 |
+
"Swedish": [
|
1139 |
+
"e",
|
1140 |
+
"a",
|
1141 |
+
"n",
|
1142 |
+
"r",
|
1143 |
+
"t",
|
1144 |
+
"s",
|
1145 |
+
"i",
|
1146 |
+
"l",
|
1147 |
+
"d",
|
1148 |
+
"o",
|
1149 |
+
"m",
|
1150 |
+
"k",
|
1151 |
+
"g",
|
1152 |
+
"v",
|
1153 |
+
"h",
|
1154 |
+
"f",
|
1155 |
+
"u",
|
1156 |
+
"p",
|
1157 |
+
"ä",
|
1158 |
+
"c",
|
1159 |
+
"b",
|
1160 |
+
"ö",
|
1161 |
+
"å",
|
1162 |
+
"y",
|
1163 |
+
"j",
|
1164 |
+
"x",
|
1165 |
+
],
|
1166 |
+
"Chinese": [
|
1167 |
+
"的",
|
1168 |
+
"一",
|
1169 |
+
"是",
|
1170 |
+
"不",
|
1171 |
+
"了",
|
1172 |
+
"在",
|
1173 |
+
"人",
|
1174 |
+
"有",
|
1175 |
+
"我",
|
1176 |
+
"他",
|
1177 |
+
"这",
|
1178 |
+
"个",
|
1179 |
+
"们",
|
1180 |
+
"中",
|
1181 |
+
"来",
|
1182 |
+
"上",
|
1183 |
+
"大",
|
1184 |
+
"为",
|
1185 |
+
"和",
|
1186 |
+
"国",
|
1187 |
+
"地",
|
1188 |
+
"到",
|
1189 |
+
"以",
|
1190 |
+
"说",
|
1191 |
+
"时",
|
1192 |
+
"要",
|
1193 |
+
"就",
|
1194 |
+
"出",
|
1195 |
+
"会",
|
1196 |
+
"可",
|
1197 |
+
"也",
|
1198 |
+
"你",
|
1199 |
+
"对",
|
1200 |
+
"生",
|
1201 |
+
"能",
|
1202 |
+
"而",
|
1203 |
+
"子",
|
1204 |
+
"那",
|
1205 |
+
"得",
|
1206 |
+
"于",
|
1207 |
+
"着",
|
1208 |
+
"下",
|
1209 |
+
"自",
|
1210 |
+
"之",
|
1211 |
+
"年",
|
1212 |
+
"过",
|
1213 |
+
"发",
|
1214 |
+
"后",
|
1215 |
+
"作",
|
1216 |
+
"里",
|
1217 |
+
"用",
|
1218 |
+
"道",
|
1219 |
+
"行",
|
1220 |
+
"所",
|
1221 |
+
"然",
|
1222 |
+
"家",
|
1223 |
+
"种",
|
1224 |
+
"事",
|
1225 |
+
"成",
|
1226 |
+
"方",
|
1227 |
+
"多",
|
1228 |
+
"经",
|
1229 |
+
"么",
|
1230 |
+
"去",
|
1231 |
+
"法",
|
1232 |
+
"学",
|
1233 |
+
"如",
|
1234 |
+
"都",
|
1235 |
+
"同",
|
1236 |
+
"现",
|
1237 |
+
"当",
|
1238 |
+
"没",
|
1239 |
+
"动",
|
1240 |
+
"面",
|
1241 |
+
"起",
|
1242 |
+
"看",
|
1243 |
+
"定",
|
1244 |
+
"天",
|
1245 |
+
"分",
|
1246 |
+
"还",
|
1247 |
+
"进",
|
1248 |
+
"好",
|
1249 |
+
"小",
|
1250 |
+
"部",
|
1251 |
+
"其",
|
1252 |
+
"些",
|
1253 |
+
"主",
|
1254 |
+
"样",
|
1255 |
+
"理",
|
1256 |
+
"心",
|
1257 |
+
"她",
|
1258 |
+
"本",
|
1259 |
+
"前",
|
1260 |
+
"开",
|
1261 |
+
"但",
|
1262 |
+
"因",
|
1263 |
+
"只",
|
1264 |
+
"从",
|
1265 |
+
"想",
|
1266 |
+
"实",
|
1267 |
+
],
|
1268 |
+
"Ukrainian": [
|
1269 |
+
"о",
|
1270 |
+
"а",
|
1271 |
+
"н",
|
1272 |
+
"і",
|
1273 |
+
"и",
|
1274 |
+
"р",
|
1275 |
+
"в",
|
1276 |
+
"т",
|
1277 |
+
"е",
|
1278 |
+
"с",
|
1279 |
+
"к",
|
1280 |
+
"л",
|
1281 |
+
"у",
|
1282 |
+
"д",
|
1283 |
+
"м",
|
1284 |
+
"п",
|
1285 |
+
"з",
|
1286 |
+
"я",
|
1287 |
+
"ь",
|
1288 |
+
"б",
|
1289 |
+
"г",
|
1290 |
+
"й",
|
1291 |
+
"ч",
|
1292 |
+
"х",
|
1293 |
+
"ц",
|
1294 |
+
"ї",
|
1295 |
+
],
|
1296 |
+
"Norwegian": [
|
1297 |
+
"e",
|
1298 |
+
"r",
|
1299 |
+
"n",
|
1300 |
+
"t",
|
1301 |
+
"a",
|
1302 |
+
"s",
|
1303 |
+
"i",
|
1304 |
+
"o",
|
1305 |
+
"l",
|
1306 |
+
"d",
|
1307 |
+
"g",
|
1308 |
+
"k",
|
1309 |
+
"m",
|
1310 |
+
"v",
|
1311 |
+
"f",
|
1312 |
+
"p",
|
1313 |
+
"u",
|
1314 |
+
"b",
|
1315 |
+
"h",
|
1316 |
+
"å",
|
1317 |
+
"y",
|
1318 |
+
"j",
|
1319 |
+
"ø",
|
1320 |
+
"c",
|
1321 |
+
"æ",
|
1322 |
+
"w",
|
1323 |
+
],
|
1324 |
+
"Finnish": [
|
1325 |
+
"a",
|
1326 |
+
"i",
|
1327 |
+
"n",
|
1328 |
+
"t",
|
1329 |
+
"e",
|
1330 |
+
"s",
|
1331 |
+
"l",
|
1332 |
+
"o",
|
1333 |
+
"u",
|
1334 |
+
"k",
|
1335 |
+
"ä",
|
1336 |
+
"m",
|
1337 |
+
"r",
|
1338 |
+
"v",
|
1339 |
+
"j",
|
1340 |
+
"h",
|
1341 |
+
"p",
|
1342 |
+
"y",
|
1343 |
+
"d",
|
1344 |
+
"ö",
|
1345 |
+
"g",
|
1346 |
+
"c",
|
1347 |
+
"b",
|
1348 |
+
"f",
|
1349 |
+
"w",
|
1350 |
+
"z",
|
1351 |
+
],
|
1352 |
+
"Vietnamese": [
|
1353 |
+
"n",
|
1354 |
+
"h",
|
1355 |
+
"t",
|
1356 |
+
"i",
|
1357 |
+
"c",
|
1358 |
+
"g",
|
1359 |
+
"a",
|
1360 |
+
"o",
|
1361 |
+
"u",
|
1362 |
+
"m",
|
1363 |
+
"l",
|
1364 |
+
"r",
|
1365 |
+
"à",
|
1366 |
+
"đ",
|
1367 |
+
"s",
|
1368 |
+
"e",
|
1369 |
+
"v",
|
1370 |
+
"p",
|
1371 |
+
"b",
|
1372 |
+
"y",
|
1373 |
+
"ư",
|
1374 |
+
"d",
|
1375 |
+
"á",
|
1376 |
+
"k",
|
1377 |
+
"ộ",
|
1378 |
+
"ế",
|
1379 |
+
],
|
1380 |
+
"Czech": [
|
1381 |
+
"o",
|
1382 |
+
"e",
|
1383 |
+
"a",
|
1384 |
+
"n",
|
1385 |
+
"t",
|
1386 |
+
"s",
|
1387 |
+
"i",
|
1388 |
+
"l",
|
1389 |
+
"v",
|
1390 |
+
"r",
|
1391 |
+
"k",
|
1392 |
+
"d",
|
1393 |
+
"u",
|
1394 |
+
"m",
|
1395 |
+
"p",
|
1396 |
+
"í",
|
1397 |
+
"c",
|
1398 |
+
"h",
|
1399 |
+
"z",
|
1400 |
+
"á",
|
1401 |
+
"y",
|
1402 |
+
"j",
|
1403 |
+
"b",
|
1404 |
+
"ě",
|
1405 |
+
"é",
|
1406 |
+
"ř",
|
1407 |
+
],
|
1408 |
+
"Hungarian": [
|
1409 |
+
"e",
|
1410 |
+
"a",
|
1411 |
+
"t",
|
1412 |
+
"l",
|
1413 |
+
"s",
|
1414 |
+
"n",
|
1415 |
+
"k",
|
1416 |
+
"r",
|
1417 |
+
"i",
|
1418 |
+
"o",
|
1419 |
+
"z",
|
1420 |
+
"á",
|
1421 |
+
"é",
|
1422 |
+
"g",
|
1423 |
+
"m",
|
1424 |
+
"b",
|
1425 |
+
"y",
|
1426 |
+
"v",
|
1427 |
+
"d",
|
1428 |
+
"h",
|
1429 |
+
"u",
|
1430 |
+
"p",
|
1431 |
+
"j",
|
1432 |
+
"ö",
|
1433 |
+
"f",
|
1434 |
+
"c",
|
1435 |
+
],
|
1436 |
+
"Korean": [
|
1437 |
+
"이",
|
1438 |
+
"다",
|
1439 |
+
"에",
|
1440 |
+
"의",
|
1441 |
+
"는",
|
1442 |
+
"로",
|
1443 |
+
"하",
|
1444 |
+
"을",
|
1445 |
+
"가",
|
1446 |
+
"고",
|
1447 |
+
"지",
|
1448 |
+
"서",
|
1449 |
+
"한",
|
1450 |
+
"은",
|
1451 |
+
"기",
|
1452 |
+
"으",
|
1453 |
+
"년",
|
1454 |
+
"대",
|
1455 |
+
"사",
|
1456 |
+
"시",
|
1457 |
+
"를",
|
1458 |
+
"리",
|
1459 |
+
"도",
|
1460 |
+
"인",
|
1461 |
+
"스",
|
1462 |
+
"일",
|
1463 |
+
],
|
1464 |
+
"Indonesian": [
|
1465 |
+
"a",
|
1466 |
+
"n",
|
1467 |
+
"e",
|
1468 |
+
"i",
|
1469 |
+
"r",
|
1470 |
+
"t",
|
1471 |
+
"u",
|
1472 |
+
"s",
|
1473 |
+
"d",
|
1474 |
+
"k",
|
1475 |
+
"m",
|
1476 |
+
"l",
|
1477 |
+
"g",
|
1478 |
+
"p",
|
1479 |
+
"b",
|
1480 |
+
"o",
|
1481 |
+
"h",
|
1482 |
+
"y",
|
1483 |
+
"j",
|
1484 |
+
"c",
|
1485 |
+
"w",
|
1486 |
+
"f",
|
1487 |
+
"v",
|
1488 |
+
"z",
|
1489 |
+
"x",
|
1490 |
+
"q",
|
1491 |
+
],
|
1492 |
+
"Turkish": [
|
1493 |
+
"a",
|
1494 |
+
"e",
|
1495 |
+
"i",
|
1496 |
+
"n",
|
1497 |
+
"r",
|
1498 |
+
"l",
|
1499 |
+
"ı",
|
1500 |
+
"k",
|
1501 |
+
"d",
|
1502 |
+
"t",
|
1503 |
+
"s",
|
1504 |
+
"m",
|
1505 |
+
"y",
|
1506 |
+
"u",
|
1507 |
+
"o",
|
1508 |
+
"b",
|
1509 |
+
"ü",
|
1510 |
+
"ş",
|
1511 |
+
"v",
|
1512 |
+
"g",
|
1513 |
+
"z",
|
1514 |
+
"h",
|
1515 |
+
"c",
|
1516 |
+
"p",
|
1517 |
+
"ç",
|
1518 |
+
"ğ",
|
1519 |
+
],
|
1520 |
+
"Romanian": [
|
1521 |
+
"e",
|
1522 |
+
"i",
|
1523 |
+
"a",
|
1524 |
+
"r",
|
1525 |
+
"n",
|
1526 |
+
"t",
|
1527 |
+
"u",
|
1528 |
+
"l",
|
1529 |
+
"o",
|
1530 |
+
"c",
|
1531 |
+
"s",
|
1532 |
+
"d",
|
1533 |
+
"p",
|
1534 |
+
"m",
|
1535 |
+
"ă",
|
1536 |
+
"f",
|
1537 |
+
"v",
|
1538 |
+
"î",
|
1539 |
+
"g",
|
1540 |
+
"b",
|
1541 |
+
"ș",
|
1542 |
+
"ț",
|
1543 |
+
"z",
|
1544 |
+
"h",
|
1545 |
+
"â",
|
1546 |
+
"j",
|
1547 |
+
],
|
1548 |
+
"Farsi": [
|
1549 |
+
"ا",
|
1550 |
+
"ی",
|
1551 |
+
"ر",
|
1552 |
+
"د",
|
1553 |
+
"ن",
|
1554 |
+
"ه",
|
1555 |
+
"و",
|
1556 |
+
"م",
|
1557 |
+
"ت",
|
1558 |
+
"ب",
|
1559 |
+
"س",
|
1560 |
+
"ل",
|
1561 |
+
"ک",
|
1562 |
+
"ش",
|
1563 |
+
"ز",
|
1564 |
+
"ف",
|
1565 |
+
"گ",
|
1566 |
+
"ع",
|
1567 |
+
"خ",
|
1568 |
+
"ق",
|
1569 |
+
"ج",
|
1570 |
+
"آ",
|
1571 |
+
"پ",
|
1572 |
+
"ح",
|
1573 |
+
"ط",
|
1574 |
+
"ص",
|
1575 |
+
],
|
1576 |
+
"Arabic": [
|
1577 |
+
"ا",
|
1578 |
+
"ل",
|
1579 |
+
"ي",
|
1580 |
+
"م",
|
1581 |
+
"و",
|
1582 |
+
"ن",
|
1583 |
+
"ر",
|
1584 |
+
"ت",
|
1585 |
+
"ب",
|
1586 |
+
"ة",
|
1587 |
+
"ع",
|
1588 |
+
"د",
|
1589 |
+
"س",
|
1590 |
+
"ف",
|
1591 |
+
"ه",
|
1592 |
+
"ك",
|
1593 |
+
"ق",
|
1594 |
+
"أ",
|
1595 |
+
"ح",
|
1596 |
+
"ج",
|
1597 |
+
"ش",
|
1598 |
+
"ط",
|
1599 |
+
"ص",
|
1600 |
+
"ى",
|
1601 |
+
"خ",
|
1602 |
+
"إ",
|
1603 |
+
],
|
1604 |
+
"Danish": [
|
1605 |
+
"e",
|
1606 |
+
"r",
|
1607 |
+
"n",
|
1608 |
+
"t",
|
1609 |
+
"a",
|
1610 |
+
"i",
|
1611 |
+
"s",
|
1612 |
+
"d",
|
1613 |
+
"l",
|
1614 |
+
"o",
|
1615 |
+
"g",
|
1616 |
+
"m",
|
1617 |
+
"k",
|
1618 |
+
"f",
|
1619 |
+
"v",
|
1620 |
+
"u",
|
1621 |
+
"b",
|
1622 |
+
"h",
|
1623 |
+
"p",
|
1624 |
+
"å",
|
1625 |
+
"y",
|
1626 |
+
"ø",
|
1627 |
+
"æ",
|
1628 |
+
"c",
|
1629 |
+
"j",
|
1630 |
+
"w",
|
1631 |
+
],
|
1632 |
+
"Serbian": [
|
1633 |
+
"а",
|
1634 |
+
"и",
|
1635 |
+
"о",
|
1636 |
+
"е",
|
1637 |
+
"н",
|
1638 |
+
"р",
|
1639 |
+
"с",
|
1640 |
+
"у",
|
1641 |
+
"т",
|
1642 |
+
"к",
|
1643 |
+
"ј",
|
1644 |
+
"в",
|
1645 |
+
"д",
|
1646 |
+
"м",
|
1647 |
+
"п",
|
1648 |
+
"л",
|
1649 |
+
"г",
|
1650 |
+
"з",
|
1651 |
+
"б",
|
1652 |
+
"a",
|
1653 |
+
"i",
|
1654 |
+
"e",
|
1655 |
+
"o",
|
1656 |
+
"n",
|
1657 |
+
"ц",
|
1658 |
+
"ш",
|
1659 |
+
],
|
1660 |
+
"Lithuanian": [
|
1661 |
+
"i",
|
1662 |
+
"a",
|
1663 |
+
"s",
|
1664 |
+
"o",
|
1665 |
+
"r",
|
1666 |
+
"e",
|
1667 |
+
"t",
|
1668 |
+
"n",
|
1669 |
+
"u",
|
1670 |
+
"k",
|
1671 |
+
"m",
|
1672 |
+
"l",
|
1673 |
+
"p",
|
1674 |
+
"v",
|
1675 |
+
"d",
|
1676 |
+
"j",
|
1677 |
+
"g",
|
1678 |
+
"ė",
|
1679 |
+
"b",
|
1680 |
+
"y",
|
1681 |
+
"ų",
|
1682 |
+
"š",
|
1683 |
+
"ž",
|
1684 |
+
"c",
|
1685 |
+
"ą",
|
1686 |
+
"į",
|
1687 |
+
],
|
1688 |
+
"Slovene": [
|
1689 |
+
"e",
|
1690 |
+
"a",
|
1691 |
+
"i",
|
1692 |
+
"o",
|
1693 |
+
"n",
|
1694 |
+
"r",
|
1695 |
+
"s",
|
1696 |
+
"l",
|
1697 |
+
"t",
|
1698 |
+
"j",
|
1699 |
+
"v",
|
1700 |
+
"k",
|
1701 |
+
"d",
|
1702 |
+
"p",
|
1703 |
+
"m",
|
1704 |
+
"u",
|
1705 |
+
"z",
|
1706 |
+
"b",
|
1707 |
+
"g",
|
1708 |
+
"h",
|
1709 |
+
"č",
|
1710 |
+
"c",
|
1711 |
+
"š",
|
1712 |
+
"ž",
|
1713 |
+
"f",
|
1714 |
+
"y",
|
1715 |
+
],
|
1716 |
+
"Slovak": [
|
1717 |
+
"o",
|
1718 |
+
"a",
|
1719 |
+
"e",
|
1720 |
+
"n",
|
1721 |
+
"i",
|
1722 |
+
"r",
|
1723 |
+
"v",
|
1724 |
+
"t",
|
1725 |
+
"s",
|
1726 |
+
"l",
|
1727 |
+
"k",
|
1728 |
+
"d",
|
1729 |
+
"m",
|
1730 |
+
"p",
|
1731 |
+
"u",
|
1732 |
+
"c",
|
1733 |
+
"h",
|
1734 |
+
"j",
|
1735 |
+
"b",
|
1736 |
+
"z",
|
1737 |
+
"á",
|
1738 |
+
"y",
|
1739 |
+
"ý",
|
1740 |
+
"í",
|
1741 |
+
"č",
|
1742 |
+
"é",
|
1743 |
+
],
|
1744 |
+
"Hebrew": [
|
1745 |
+
"י",
|
1746 |
+
"ו",
|
1747 |
+
"ה",
|
1748 |
+
"ל",
|
1749 |
+
"ר",
|
1750 |
+
"ב",
|
1751 |
+
"ת",
|
1752 |
+
"מ",
|
1753 |
+
"א",
|
1754 |
+
"ש",
|
1755 |
+
"נ",
|
1756 |
+
"ע",
|
1757 |
+
"ם",
|
1758 |
+
"ד",
|
1759 |
+
"ק",
|
1760 |
+
"ח",
|
1761 |
+
"פ",
|
1762 |
+
"ס",
|
1763 |
+
"כ",
|
1764 |
+
"ג",
|
1765 |
+
"ט",
|
1766 |
+
"צ",
|
1767 |
+
"ן",
|
1768 |
+
"ז",
|
1769 |
+
"ך",
|
1770 |
+
],
|
1771 |
+
"Bulgarian": [
|
1772 |
+
"а",
|
1773 |
+
"и",
|
1774 |
+
"о",
|
1775 |
+
"е",
|
1776 |
+
"н",
|
1777 |
+
"т",
|
1778 |
+
"р",
|
1779 |
+
"с",
|
1780 |
+
"в",
|
1781 |
+
"л",
|
1782 |
+
"к",
|
1783 |
+
"д",
|
1784 |
+
"п",
|
1785 |
+
"м",
|
1786 |
+
"з",
|
1787 |
+
"г",
|
1788 |
+
"я",
|
1789 |
+
"ъ",
|
1790 |
+
"у",
|
1791 |
+
"б",
|
1792 |
+
"ч",
|
1793 |
+
"ц",
|
1794 |
+
"й",
|
1795 |
+
"ж",
|
1796 |
+
"щ",
|
1797 |
+
"х",
|
1798 |
+
],
|
1799 |
+
"Croatian": [
|
1800 |
+
"a",
|
1801 |
+
"i",
|
1802 |
+
"o",
|
1803 |
+
"e",
|
1804 |
+
"n",
|
1805 |
+
"r",
|
1806 |
+
"j",
|
1807 |
+
"s",
|
1808 |
+
"t",
|
1809 |
+
"u",
|
1810 |
+
"k",
|
1811 |
+
"l",
|
1812 |
+
"v",
|
1813 |
+
"d",
|
1814 |
+
"m",
|
1815 |
+
"p",
|
1816 |
+
"g",
|
1817 |
+
"z",
|
1818 |
+
"b",
|
1819 |
+
"c",
|
1820 |
+
"č",
|
1821 |
+
"h",
|
1822 |
+
"š",
|
1823 |
+
"ž",
|
1824 |
+
"ć",
|
1825 |
+
"f",
|
1826 |
+
],
|
1827 |
+
"Hindi": [
|
1828 |
+
"क",
|
1829 |
+
"र",
|
1830 |
+
"स",
|
1831 |
+
"न",
|
1832 |
+
"त",
|
1833 |
+
"म",
|
1834 |
+
"ह",
|
1835 |
+
"प",
|
1836 |
+
"य",
|
1837 |
+
"ल",
|
1838 |
+
"व",
|
1839 |
+
"ज",
|
1840 |
+
"द",
|
1841 |
+
"ग",
|
1842 |
+
"ब",
|
1843 |
+
"श",
|
1844 |
+
"ट",
|
1845 |
+
"अ",
|
1846 |
+
"ए",
|
1847 |
+
"थ",
|
1848 |
+
"भ",
|
1849 |
+
"ड",
|
1850 |
+
"च",
|
1851 |
+
"ध",
|
1852 |
+
"ष",
|
1853 |
+
"इ",
|
1854 |
+
],
|
1855 |
+
"Estonian": [
|
1856 |
+
"a",
|
1857 |
+
"i",
|
1858 |
+
"e",
|
1859 |
+
"s",
|
1860 |
+
"t",
|
1861 |
+
"l",
|
1862 |
+
"u",
|
1863 |
+
"n",
|
1864 |
+
"o",
|
1865 |
+
"k",
|
1866 |
+
"r",
|
1867 |
+
"d",
|
1868 |
+
"m",
|
1869 |
+
"v",
|
1870 |
+
"g",
|
1871 |
+
"p",
|
1872 |
+
"j",
|
1873 |
+
"h",
|
1874 |
+
"ä",
|
1875 |
+
"b",
|
1876 |
+
"õ",
|
1877 |
+
"ü",
|
1878 |
+
"f",
|
1879 |
+
"c",
|
1880 |
+
"ö",
|
1881 |
+
"y",
|
1882 |
+
],
|
1883 |
+
"Thai": [
|
1884 |
+
"า",
|
1885 |
+
"น",
|
1886 |
+
"ร",
|
1887 |
+
"อ",
|
1888 |
+
"ก",
|
1889 |
+
"เ",
|
1890 |
+
"ง",
|
1891 |
+
"ม",
|
1892 |
+
"ย",
|
1893 |
+
"ล",
|
1894 |
+
"ว",
|
1895 |
+
"ด",
|
1896 |
+
"ท",
|
1897 |
+
"ส",
|
1898 |
+
"ต",
|
1899 |
+
"ะ",
|
1900 |
+
"ป",
|
1901 |
+
"บ",
|
1902 |
+
"ค",
|
1903 |
+
"ห",
|
1904 |
+
"แ",
|
1905 |
+
"จ",
|
1906 |
+
"พ",
|
1907 |
+
"ช",
|
1908 |
+
"ข",
|
1909 |
+
"ใ",
|
1910 |
+
],
|
1911 |
+
"Greek": [
|
1912 |
+
"α",
|
1913 |
+
"τ",
|
1914 |
+
"ο",
|
1915 |
+
"ι",
|
1916 |
+
"ε",
|
1917 |
+
"ν",
|
1918 |
+
"ρ",
|
1919 |
+
"σ",
|
1920 |
+
"κ",
|
1921 |
+
"η",
|
1922 |
+
"π",
|
1923 |
+
"ς",
|
1924 |
+
"υ",
|
1925 |
+
"μ",
|
1926 |
+
"λ",
|
1927 |
+
"ί",
|
1928 |
+
"ό",
|
1929 |
+
"ά",
|
1930 |
+
"γ",
|
1931 |
+
"έ",
|
1932 |
+
"δ",
|
1933 |
+
"ή",
|
1934 |
+
"ω",
|
1935 |
+
"χ",
|
1936 |
+
"θ",
|
1937 |
+
"ύ",
|
1938 |
+
],
|
1939 |
+
"Tamil": [
|
1940 |
+
"க",
|
1941 |
+
"த",
|
1942 |
+
"ப",
|
1943 |
+
"ட",
|
1944 |
+
"ர",
|
1945 |
+
"ம",
|
1946 |
+
"ல",
|
1947 |
+
"ன",
|
1948 |
+
"வ",
|
1949 |
+
"ற",
|
1950 |
+
"ய",
|
1951 |
+
"ள",
|
1952 |
+
"ச",
|
1953 |
+
"ந",
|
1954 |
+
"இ",
|
1955 |
+
"ண",
|
1956 |
+
"அ",
|
1957 |
+
"ஆ",
|
1958 |
+
"ழ",
|
1959 |
+
"ங",
|
1960 |
+
"எ",
|
1961 |
+
"உ",
|
1962 |
+
"ஒ",
|
1963 |
+
"ஸ",
|
1964 |
+
],
|
1965 |
+
"Kazakh": [
|
1966 |
+
"а",
|
1967 |
+
"ы",
|
1968 |
+
"е",
|
1969 |
+
"н",
|
1970 |
+
"т",
|
1971 |
+
"р",
|
1972 |
+
"л",
|
1973 |
+
"і",
|
1974 |
+
"д",
|
1975 |
+
"с",
|
1976 |
+
"м",
|
1977 |
+
"қ",
|
1978 |
+
"к",
|
1979 |
+
"о",
|
1980 |
+
"б",
|
1981 |
+
"и",
|
1982 |
+
"у",
|
1983 |
+
"ғ",
|
1984 |
+
"ж",
|
1985 |
+
"ң",
|
1986 |
+
"з",
|
1987 |
+
"ш",
|
1988 |
+
"й",
|
1989 |
+
"п",
|
1990 |
+
"г",
|
1991 |
+
"ө",
|
1992 |
+
],
|
1993 |
+
}
|
1994 |
+
|
1995 |
+
LANGUAGE_SUPPORTED_COUNT: int = len(FREQUENCIES)
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/legacy.py
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from typing import Any, Dict, Optional, Union
|
2 |
+
from warnings import warn
|
3 |
+
|
4 |
+
from .api import from_bytes
|
5 |
+
from .constant import CHARDET_CORRESPONDENCE
|
6 |
+
|
7 |
+
|
8 |
+
def detect(
|
9 |
+
byte_str: bytes, should_rename_legacy: bool = False, **kwargs: Any
|
10 |
+
) -> Dict[str, Optional[Union[str, float]]]:
|
11 |
+
"""
|
12 |
+
chardet legacy method
|
13 |
+
Detect the encoding of the given byte string. It should be mostly backward-compatible.
|
14 |
+
Encoding name will match Chardet own writing whenever possible. (Not on encoding name unsupported by it)
|
15 |
+
This function is deprecated and should be used to migrate your project easily, consult the documentation for
|
16 |
+
further information. Not planned for removal.
|
17 |
+
|
18 |
+
:param byte_str: The byte sequence to examine.
|
19 |
+
:param should_rename_legacy: Should we rename legacy encodings
|
20 |
+
to their more modern equivalents?
|
21 |
+
"""
|
22 |
+
if len(kwargs):
|
23 |
+
warn(
|
24 |
+
f"charset-normalizer disregard arguments '{','.join(list(kwargs.keys()))}' in legacy function detect()"
|
25 |
+
)
|
26 |
+
|
27 |
+
if not isinstance(byte_str, (bytearray, bytes)):
|
28 |
+
raise TypeError( # pragma: nocover
|
29 |
+
"Expected object of type bytes or bytearray, got: "
|
30 |
+
"{0}".format(type(byte_str))
|
31 |
+
)
|
32 |
+
|
33 |
+
if isinstance(byte_str, bytearray):
|
34 |
+
byte_str = bytes(byte_str)
|
35 |
+
|
36 |
+
r = from_bytes(byte_str).best()
|
37 |
+
|
38 |
+
encoding = r.encoding if r is not None else None
|
39 |
+
language = r.language if r is not None and r.language != "Unknown" else ""
|
40 |
+
confidence = 1.0 - r.chaos if r is not None else None
|
41 |
+
|
42 |
+
# Note: CharsetNormalizer does not return 'UTF-8-SIG' as the sig get stripped in the detection/normalization process
|
43 |
+
# but chardet does return 'utf-8-sig' and it is a valid codec name.
|
44 |
+
if r is not None and encoding == "utf_8" and r.bom:
|
45 |
+
encoding += "_sig"
|
46 |
+
|
47 |
+
if should_rename_legacy is False and encoding in CHARDET_CORRESPONDENCE:
|
48 |
+
encoding = CHARDET_CORRESPONDENCE[encoding]
|
49 |
+
|
50 |
+
return {
|
51 |
+
"encoding": encoding,
|
52 |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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from functools import lru_cache
|
2 |
+
from logging import getLogger
|
3 |
+
from typing import List, Optional
|
4 |
+
|
5 |
+
from .constant import (
|
6 |
+
COMMON_SAFE_ASCII_CHARACTERS,
|
7 |
+
TRACE,
|
8 |
+
UNICODE_SECONDARY_RANGE_KEYWORD,
|
9 |
+
)
|
10 |
+
from .utils import (
|
11 |
+
is_accentuated,
|
12 |
+
is_arabic,
|
13 |
+
is_arabic_isolated_form,
|
14 |
+
is_case_variable,
|
15 |
+
is_cjk,
|
16 |
+
is_emoticon,
|
17 |
+
is_hangul,
|
18 |
+
is_hiragana,
|
19 |
+
is_katakana,
|
20 |
+
is_latin,
|
21 |
+
is_punctuation,
|
22 |
+
is_separator,
|
23 |
+
is_symbol,
|
24 |
+
is_thai,
|
25 |
+
is_unprintable,
|
26 |
+
remove_accent,
|
27 |
+
unicode_range,
|
28 |
+
)
|
29 |
+
|
30 |
+
|
31 |
+
class MessDetectorPlugin:
|
32 |
+
"""
|
33 |
+
Base abstract class used for mess detection plugins.
|
34 |
+
All detectors MUST extend and implement given methods.
|
35 |
+
"""
|
36 |
+
|
37 |
+
def eligible(self, character: str) -> bool:
|
38 |
+
"""
|
39 |
+
Determine if given character should be fed in.
|
40 |
+
"""
|
41 |
+
raise NotImplementedError # pragma: nocover
|
42 |
+
|
43 |
+
def feed(self, character: str) -> None:
|
44 |
+
"""
|
45 |
+
The main routine to be executed upon character.
|
46 |
+
Insert the logic in witch the text would be considered chaotic.
|
47 |
+
"""
|
48 |
+
raise NotImplementedError # pragma: nocover
|
49 |
+
|
50 |
+
def reset(self) -> None: # pragma: no cover
|
51 |
+
"""
|
52 |
+
Permit to reset the plugin to the initial state.
|
53 |
+
"""
|
54 |
+
raise NotImplementedError
|
55 |
+
|
56 |
+
@property
|
57 |
+
def ratio(self) -> float:
|
58 |
+
"""
|
59 |
+
Compute the chaos ratio based on what your feed() has seen.
|
60 |
+
Must NOT be lower than 0.; No restriction gt 0.
|
61 |
+
"""
|
62 |
+
raise NotImplementedError # pragma: nocover
|
63 |
+
|
64 |
+
|
65 |
+
class TooManySymbolOrPunctuationPlugin(MessDetectorPlugin):
|
66 |
+
def __init__(self) -> None:
|
67 |
+
self._punctuation_count: int = 0
|
68 |
+
self._symbol_count: int = 0
|
69 |
+
self._character_count: int = 0
|
70 |
+
|
71 |
+
self._last_printable_char: Optional[str] = None
|
72 |
+
self._frenzy_symbol_in_word: bool = False
|
73 |
+
|
74 |
+
def eligible(self, character: str) -> bool:
|
75 |
+
return character.isprintable()
|
76 |
+
|
77 |
+
def feed(self, character: str) -> None:
|
78 |
+
self._character_count += 1
|
79 |
+
|
80 |
+
if (
|
81 |
+
character != self._last_printable_char
|
82 |
+
and character not in COMMON_SAFE_ASCII_CHARACTERS
|
83 |
+
):
|
84 |
+
if is_punctuation(character):
|
85 |
+
self._punctuation_count += 1
|
86 |
+
elif (
|
87 |
+
character.isdigit() is False
|
88 |
+
and is_symbol(character)
|
89 |
+
and is_emoticon(character) is False
|
90 |
+
):
|
91 |
+
self._symbol_count += 2
|
92 |
+
|
93 |
+
self._last_printable_char = character
|
94 |
+
|
95 |
+
def reset(self) -> None: # pragma: no cover
|
96 |
+
self._punctuation_count = 0
|
97 |
+
self._character_count = 0
|
98 |
+
self._symbol_count = 0
|
99 |
+
|
100 |
+
@property
|
101 |
+
def ratio(self) -> float:
|
102 |
+
if self._character_count == 0:
|
103 |
+
return 0.0
|
104 |
+
|
105 |
+
ratio_of_punctuation: float = (
|
106 |
+
self._punctuation_count + self._symbol_count
|
107 |
+
) / self._character_count
|
108 |
+
|
109 |
+
return ratio_of_punctuation if ratio_of_punctuation >= 0.3 else 0.0
|
110 |
+
|
111 |
+
|
112 |
+
class TooManyAccentuatedPlugin(MessDetectorPlugin):
|
113 |
+
def __init__(self) -> None:
|
114 |
+
self._character_count: int = 0
|
115 |
+
self._accentuated_count: int = 0
|
116 |
+
|
117 |
+
def eligible(self, character: str) -> bool:
|
118 |
+
return character.isalpha()
|
119 |
+
|
120 |
+
def feed(self, character: str) -> None:
|
121 |
+
self._character_count += 1
|
122 |
+
|
123 |
+
if is_accentuated(character):
|
124 |
+
self._accentuated_count += 1
|
125 |
+
|
126 |
+
def reset(self) -> None: # pragma: no cover
|
127 |
+
self._character_count = 0
|
128 |
+
self._accentuated_count = 0
|
129 |
+
|
130 |
+
@property
|
131 |
+
def ratio(self) -> float:
|
132 |
+
if self._character_count < 8:
|
133 |
+
return 0.0
|
134 |
+
|
135 |
+
ratio_of_accentuation: float = self._accentuated_count / self._character_count
|
136 |
+
return ratio_of_accentuation if ratio_of_accentuation >= 0.35 else 0.0
|
137 |
+
|
138 |
+
|
139 |
+
class UnprintablePlugin(MessDetectorPlugin):
|
140 |
+
def __init__(self) -> None:
|
141 |
+
self._unprintable_count: int = 0
|
142 |
+
self._character_count: int = 0
|
143 |
+
|
144 |
+
def eligible(self, character: str) -> bool:
|
145 |
+
return True
|
146 |
+
|
147 |
+
def feed(self, character: str) -> None:
|
148 |
+
if is_unprintable(character):
|
149 |
+
self._unprintable_count += 1
|
150 |
+
self._character_count += 1
|
151 |
+
|
152 |
+
def reset(self) -> None: # pragma: no cover
|
153 |
+
self._unprintable_count = 0
|
154 |
+
|
155 |
+
@property
|
156 |
+
def ratio(self) -> float:
|
157 |
+
if self._character_count == 0:
|
158 |
+
return 0.0
|
159 |
+
|
160 |
+
return (self._unprintable_count * 8) / self._character_count
|
161 |
+
|
162 |
+
|
163 |
+
class SuspiciousDuplicateAccentPlugin(MessDetectorPlugin):
|
164 |
+
def __init__(self) -> None:
|
165 |
+
self._successive_count: int = 0
|
166 |
+
self._character_count: int = 0
|
167 |
+
|
168 |
+
self._last_latin_character: Optional[str] = None
|
169 |
+
|
170 |
+
def eligible(self, character: str) -> bool:
|
171 |
+
return character.isalpha() and is_latin(character)
|
172 |
+
|
173 |
+
def feed(self, character: str) -> None:
|
174 |
+
self._character_count += 1
|
175 |
+
if (
|
176 |
+
self._last_latin_character is not None
|
177 |
+
and is_accentuated(character)
|
178 |
+
and is_accentuated(self._last_latin_character)
|
179 |
+
):
|
180 |
+
if character.isupper() and self._last_latin_character.isupper():
|
181 |
+
self._successive_count += 1
|
182 |
+
# Worse if its the same char duplicated with different accent.
|
183 |
+
if remove_accent(character) == remove_accent(self._last_latin_character):
|
184 |
+
self._successive_count += 1
|
185 |
+
self._last_latin_character = character
|
186 |
+
|
187 |
+
def reset(self) -> None: # pragma: no cover
|
188 |
+
self._successive_count = 0
|
189 |
+
self._character_count = 0
|
190 |
+
self._last_latin_character = None
|
191 |
+
|
192 |
+
@property
|
193 |
+
def ratio(self) -> float:
|
194 |
+
if self._character_count == 0:
|
195 |
+
return 0.0
|
196 |
+
|
197 |
+
return (self._successive_count * 2) / self._character_count
|
198 |
+
|
199 |
+
|
200 |
+
class SuspiciousRange(MessDetectorPlugin):
|
201 |
+
def __init__(self) -> None:
|
202 |
+
self._suspicious_successive_range_count: int = 0
|
203 |
+
self._character_count: int = 0
|
204 |
+
self._last_printable_seen: Optional[str] = None
|
205 |
+
|
206 |
+
def eligible(self, character: str) -> bool:
|
207 |
+
return character.isprintable()
|
208 |
+
|
209 |
+
def feed(self, character: str) -> None:
|
210 |
+
self._character_count += 1
|
211 |
+
|
212 |
+
if (
|
213 |
+
character.isspace()
|
214 |
+
or is_punctuation(character)
|
215 |
+
or character in COMMON_SAFE_ASCII_CHARACTERS
|
216 |
+
):
|
217 |
+
self._last_printable_seen = None
|
218 |
+
return
|
219 |
+
|
220 |
+
if self._last_printable_seen is None:
|
221 |
+
self._last_printable_seen = character
|
222 |
+
return
|
223 |
+
|
224 |
+
unicode_range_a: Optional[str] = unicode_range(self._last_printable_seen)
|
225 |
+
unicode_range_b: Optional[str] = unicode_range(character)
|
226 |
+
|
227 |
+
if is_suspiciously_successive_range(unicode_range_a, unicode_range_b):
|
228 |
+
self._suspicious_successive_range_count += 1
|
229 |
+
|
230 |
+
self._last_printable_seen = character
|
231 |
+
|
232 |
+
def reset(self) -> None: # pragma: no cover
|
233 |
+
self._character_count = 0
|
234 |
+
self._suspicious_successive_range_count = 0
|
235 |
+
self._last_printable_seen = None
|
236 |
+
|
237 |
+
@property
|
238 |
+
def ratio(self) -> float:
|
239 |
+
if self._character_count <= 24:
|
240 |
+
return 0.0
|
241 |
+
|
242 |
+
ratio_of_suspicious_range_usage: float = (
|
243 |
+
self._suspicious_successive_range_count * 2
|
244 |
+
) / self._character_count
|
245 |
+
|
246 |
+
return ratio_of_suspicious_range_usage
|
247 |
+
|
248 |
+
|
249 |
+
class SuperWeirdWordPlugin(MessDetectorPlugin):
|
250 |
+
def __init__(self) -> None:
|
251 |
+
self._word_count: int = 0
|
252 |
+
self._bad_word_count: int = 0
|
253 |
+
self._foreign_long_count: int = 0
|
254 |
+
|
255 |
+
self._is_current_word_bad: bool = False
|
256 |
+
self._foreign_long_watch: bool = False
|
257 |
+
|
258 |
+
self._character_count: int = 0
|
259 |
+
self._bad_character_count: int = 0
|
260 |
+
|
261 |
+
self._buffer: str = ""
|
262 |
+
self._buffer_accent_count: int = 0
|
263 |
+
|
264 |
+
def eligible(self, character: str) -> bool:
|
265 |
+
return True
|
266 |
+
|
267 |
+
def feed(self, character: str) -> None:
|
268 |
+
if character.isalpha():
|
269 |
+
self._buffer += character
|
270 |
+
if is_accentuated(character):
|
271 |
+
self._buffer_accent_count += 1
|
272 |
+
if (
|
273 |
+
self._foreign_long_watch is False
|
274 |
+
and (is_latin(character) is False or is_accentuated(character))
|
275 |
+
and is_cjk(character) is False
|
276 |
+
and is_hangul(character) is False
|
277 |
+
and is_katakana(character) is False
|
278 |
+
and is_hiragana(character) is False
|
279 |
+
and is_thai(character) is False
|
280 |
+
):
|
281 |
+
self._foreign_long_watch = True
|
282 |
+
return
|
283 |
+
if not self._buffer:
|
284 |
+
return
|
285 |
+
if (
|
286 |
+
character.isspace() or is_punctuation(character) or is_separator(character)
|
287 |
+
) and self._buffer:
|
288 |
+
self._word_count += 1
|
289 |
+
buffer_length: int = len(self._buffer)
|
290 |
+
|
291 |
+
self._character_count += buffer_length
|
292 |
+
|
293 |
+
if buffer_length >= 4:
|
294 |
+
if self._buffer_accent_count / buffer_length > 0.34:
|
295 |
+
self._is_current_word_bad = True
|
296 |
+
# Word/Buffer ending with an upper case accentuated letter are so rare,
|
297 |
+
# that we will consider them all as suspicious. Same weight as foreign_long suspicious.
|
298 |
+
if (
|
299 |
+
is_accentuated(self._buffer[-1])
|
300 |
+
and self._buffer[-1].isupper()
|
301 |
+
and all(_.isupper() for _ in self._buffer) is False
|
302 |
+
):
|
303 |
+
self._foreign_long_count += 1
|
304 |
+
self._is_current_word_bad = True
|
305 |
+
if buffer_length >= 24 and self._foreign_long_watch:
|
306 |
+
camel_case_dst = [
|
307 |
+
i
|
308 |
+
for c, i in zip(self._buffer, range(0, buffer_length))
|
309 |
+
if c.isupper()
|
310 |
+
]
|
311 |
+
probable_camel_cased: bool = False
|
312 |
+
|
313 |
+
if camel_case_dst and (len(camel_case_dst) / buffer_length <= 0.3):
|
314 |
+
probable_camel_cased = True
|
315 |
+
|
316 |
+
if not probable_camel_cased:
|
317 |
+
self._foreign_long_count += 1
|
318 |
+
self._is_current_word_bad = True
|
319 |
+
|
320 |
+
if self._is_current_word_bad:
|
321 |
+
self._bad_word_count += 1
|
322 |
+
self._bad_character_count += len(self._buffer)
|
323 |
+
self._is_current_word_bad = False
|
324 |
+
|
325 |
+
self._foreign_long_watch = False
|
326 |
+
self._buffer = ""
|
327 |
+
self._buffer_accent_count = 0
|
328 |
+
elif (
|
329 |
+
character not in {"<", ">", "-", "=", "~", "|", "_"}
|
330 |
+
and character.isdigit() is False
|
331 |
+
and is_symbol(character)
|
332 |
+
):
|
333 |
+
self._is_current_word_bad = True
|
334 |
+
self._buffer += character
|
335 |
+
|
336 |
+
def reset(self) -> None: # pragma: no cover
|
337 |
+
self._buffer = ""
|
338 |
+
self._is_current_word_bad = False
|
339 |
+
self._foreign_long_watch = False
|
340 |
+
self._bad_word_count = 0
|
341 |
+
self._word_count = 0
|
342 |
+
self._character_count = 0
|
343 |
+
self._bad_character_count = 0
|
344 |
+
self._foreign_long_count = 0
|
345 |
+
|
346 |
+
@property
|
347 |
+
def ratio(self) -> float:
|
348 |
+
if self._word_count <= 10 and self._foreign_long_count == 0:
|
349 |
+
return 0.0
|
350 |
+
|
351 |
+
return self._bad_character_count / self._character_count
|
352 |
+
|
353 |
+
|
354 |
+
class CjkInvalidStopPlugin(MessDetectorPlugin):
|
355 |
+
"""
|
356 |
+
GB(Chinese) based encoding often render the stop incorrectly when the content does not fit and
|
357 |
+
can be easily detected. Searching for the overuse of '丅' and '丄'.
|
358 |
+
"""
|
359 |
+
|
360 |
+
def __init__(self) -> None:
|
361 |
+
self._wrong_stop_count: int = 0
|
362 |
+
self._cjk_character_count: int = 0
|
363 |
+
|
364 |
+
def eligible(self, character: str) -> bool:
|
365 |
+
return True
|
366 |
+
|
367 |
+
def feed(self, character: str) -> None:
|
368 |
+
if character in {"丅", "丄"}:
|
369 |
+
self._wrong_stop_count += 1
|
370 |
+
return
|
371 |
+
if is_cjk(character):
|
372 |
+
self._cjk_character_count += 1
|
373 |
+
|
374 |
+
def reset(self) -> None: # pragma: no cover
|
375 |
+
self._wrong_stop_count = 0
|
376 |
+
self._cjk_character_count = 0
|
377 |
+
|
378 |
+
@property
|
379 |
+
def ratio(self) -> float:
|
380 |
+
if self._cjk_character_count < 16:
|
381 |
+
return 0.0
|
382 |
+
return self._wrong_stop_count / self._cjk_character_count
|
383 |
+
|
384 |
+
|
385 |
+
class ArchaicUpperLowerPlugin(MessDetectorPlugin):
|
386 |
+
def __init__(self) -> None:
|
387 |
+
self._buf: bool = False
|
388 |
+
|
389 |
+
self._character_count_since_last_sep: int = 0
|
390 |
+
|
391 |
+
self._successive_upper_lower_count: int = 0
|
392 |
+
self._successive_upper_lower_count_final: int = 0
|
393 |
+
|
394 |
+
self._character_count: int = 0
|
395 |
+
|
396 |
+
self._last_alpha_seen: Optional[str] = None
|
397 |
+
self._current_ascii_only: bool = True
|
398 |
+
|
399 |
+
def eligible(self, character: str) -> bool:
|
400 |
+
return True
|
401 |
+
|
402 |
+
def feed(self, character: str) -> None:
|
403 |
+
is_concerned = character.isalpha() and is_case_variable(character)
|
404 |
+
chunk_sep = is_concerned is False
|
405 |
+
|
406 |
+
if chunk_sep and self._character_count_since_last_sep > 0:
|
407 |
+
if (
|
408 |
+
self._character_count_since_last_sep <= 64
|
409 |
+
and character.isdigit() is False
|
410 |
+
and self._current_ascii_only is False
|
411 |
+
):
|
412 |
+
self._successive_upper_lower_count_final += (
|
413 |
+
self._successive_upper_lower_count
|
414 |
+
)
|
415 |
+
|
416 |
+
self._successive_upper_lower_count = 0
|
417 |
+
self._character_count_since_last_sep = 0
|
418 |
+
self._last_alpha_seen = None
|
419 |
+
self._buf = False
|
420 |
+
self._character_count += 1
|
421 |
+
self._current_ascii_only = True
|
422 |
+
|
423 |
+
return
|
424 |
+
|
425 |
+
if self._current_ascii_only is True and character.isascii() is False:
|
426 |
+
self._current_ascii_only = False
|
427 |
+
|
428 |
+
if self._last_alpha_seen is not None:
|
429 |
+
if (character.isupper() and self._last_alpha_seen.islower()) or (
|
430 |
+
character.islower() and self._last_alpha_seen.isupper()
|
431 |
+
):
|
432 |
+
if self._buf is True:
|
433 |
+
self._successive_upper_lower_count += 2
|
434 |
+
self._buf = False
|
435 |
+
else:
|
436 |
+
self._buf = True
|
437 |
+
else:
|
438 |
+
self._buf = False
|
439 |
+
|
440 |
+
self._character_count += 1
|
441 |
+
self._character_count_since_last_sep += 1
|
442 |
+
self._last_alpha_seen = character
|
443 |
+
|
444 |
+
def reset(self) -> None: # pragma: no cover
|
445 |
+
self._character_count = 0
|
446 |
+
self._character_count_since_last_sep = 0
|
447 |
+
self._successive_upper_lower_count = 0
|
448 |
+
self._successive_upper_lower_count_final = 0
|
449 |
+
self._last_alpha_seen = None
|
450 |
+
self._buf = False
|
451 |
+
self._current_ascii_only = True
|
452 |
+
|
453 |
+
@property
|
454 |
+
def ratio(self) -> float:
|
455 |
+
if self._character_count == 0:
|
456 |
+
return 0.0
|
457 |
+
|
458 |
+
return self._successive_upper_lower_count_final / self._character_count
|
459 |
+
|
460 |
+
|
461 |
+
class ArabicIsolatedFormPlugin(MessDetectorPlugin):
|
462 |
+
def __init__(self) -> None:
|
463 |
+
self._character_count: int = 0
|
464 |
+
self._isolated_form_count: int = 0
|
465 |
+
|
466 |
+
def reset(self) -> None: # pragma: no cover
|
467 |
+
self._character_count = 0
|
468 |
+
self._isolated_form_count = 0
|
469 |
+
|
470 |
+
def eligible(self, character: str) -> bool:
|
471 |
+
return is_arabic(character)
|
472 |
+
|
473 |
+
def feed(self, character: str) -> None:
|
474 |
+
self._character_count += 1
|
475 |
+
|
476 |
+
if is_arabic_isolated_form(character):
|
477 |
+
self._isolated_form_count += 1
|
478 |
+
|
479 |
+
@property
|
480 |
+
def ratio(self) -> float:
|
481 |
+
if self._character_count < 8:
|
482 |
+
return 0.0
|
483 |
+
|
484 |
+
isolated_form_usage: float = self._isolated_form_count / self._character_count
|
485 |
+
|
486 |
+
return isolated_form_usage
|
487 |
+
|
488 |
+
|
489 |
+
@lru_cache(maxsize=1024)
|
490 |
+
def is_suspiciously_successive_range(
|
491 |
+
unicode_range_a: Optional[str], unicode_range_b: Optional[str]
|
492 |
+
) -> bool:
|
493 |
+
"""
|
494 |
+
Determine if two Unicode range seen next to each other can be considered as suspicious.
|
495 |
+
"""
|
496 |
+
if unicode_range_a is None or unicode_range_b is None:
|
497 |
+
return True
|
498 |
+
|
499 |
+
if unicode_range_a == unicode_range_b:
|
500 |
+
return False
|
501 |
+
|
502 |
+
if "Latin" in unicode_range_a and "Latin" in unicode_range_b:
|
503 |
+
return False
|
504 |
+
|
505 |
+
if "Emoticons" in unicode_range_a or "Emoticons" in unicode_range_b:
|
506 |
+
return False
|
507 |
+
|
508 |
+
# Latin characters can be accompanied with a combining diacritical mark
|
509 |
+
# eg. Vietnamese.
|
510 |
+
if ("Latin" in unicode_range_a or "Latin" in unicode_range_b) and (
|
511 |
+
"Combining" in unicode_range_a or "Combining" in unicode_range_b
|
512 |
+
):
|
513 |
+
return False
|
514 |
+
|
515 |
+
keywords_range_a, keywords_range_b = unicode_range_a.split(
|
516 |
+
" "
|
517 |
+
), unicode_range_b.split(" ")
|
518 |
+
|
519 |
+
for el in keywords_range_a:
|
520 |
+
if el in UNICODE_SECONDARY_RANGE_KEYWORD:
|
521 |
+
continue
|
522 |
+
if el in keywords_range_b:
|
523 |
+
return False
|
524 |
+
|
525 |
+
# Japanese Exception
|
526 |
+
range_a_jp_chars, range_b_jp_chars = (
|
527 |
+
unicode_range_a
|
528 |
+
in (
|
529 |
+
"Hiragana",
|
530 |
+
"Katakana",
|
531 |
+
),
|
532 |
+
unicode_range_b in ("Hiragana", "Katakana"),
|
533 |
+
)
|
534 |
+
if (range_a_jp_chars or range_b_jp_chars) and (
|
535 |
+
"CJK" in unicode_range_a or "CJK" in unicode_range_b
|
536 |
+
):
|
537 |
+
return False
|
538 |
+
if range_a_jp_chars and range_b_jp_chars:
|
539 |
+
return False
|
540 |
+
|
541 |
+
if "Hangul" in unicode_range_a or "Hangul" in unicode_range_b:
|
542 |
+
if "CJK" in unicode_range_a or "CJK" in unicode_range_b:
|
543 |
+
return False
|
544 |
+
if unicode_range_a == "Basic Latin" or unicode_range_b == "Basic Latin":
|
545 |
+
return False
|
546 |
+
|
547 |
+
# Chinese/Japanese use dedicated range for punctuation and/or separators.
|
548 |
+
if ("CJK" in unicode_range_a or "CJK" in unicode_range_b) or (
|
549 |
+
unicode_range_a in ["Katakana", "Hiragana"]
|
550 |
+
and unicode_range_b in ["Katakana", "Hiragana"]
|
551 |
+
):
|
552 |
+
if "Punctuation" in unicode_range_a or "Punctuation" in unicode_range_b:
|
553 |
+
return False
|
554 |
+
if "Forms" in unicode_range_a or "Forms" in unicode_range_b:
|
555 |
+
return False
|
556 |
+
if unicode_range_a == "Basic Latin" or unicode_range_b == "Basic Latin":
|
557 |
+
return False
|
558 |
+
|
559 |
+
return True
|
560 |
+
|
561 |
+
|
562 |
+
@lru_cache(maxsize=2048)
|
563 |
+
def mess_ratio(
|
564 |
+
decoded_sequence: str, maximum_threshold: float = 0.2, debug: bool = False
|
565 |
+
) -> float:
|
566 |
+
"""
|
567 |
+
Compute a mess ratio given a decoded bytes sequence. The maximum threshold does stop the computation earlier.
|
568 |
+
"""
|
569 |
+
|
570 |
+
detectors: List[MessDetectorPlugin] = [
|
571 |
+
md_class() for md_class in MessDetectorPlugin.__subclasses__()
|
572 |
+
]
|
573 |
+
|
574 |
+
length: int = len(decoded_sequence) + 1
|
575 |
+
|
576 |
+
mean_mess_ratio: float = 0.0
|
577 |
+
|
578 |
+
if length < 512:
|
579 |
+
intermediary_mean_mess_ratio_calc: int = 32
|
580 |
+
elif length <= 1024:
|
581 |
+
intermediary_mean_mess_ratio_calc = 64
|
582 |
+
else:
|
583 |
+
intermediary_mean_mess_ratio_calc = 128
|
584 |
+
|
585 |
+
for character, index in zip(decoded_sequence + "\n", range(length)):
|
586 |
+
for detector in detectors:
|
587 |
+
if detector.eligible(character):
|
588 |
+
detector.feed(character)
|
589 |
+
|
590 |
+
if (
|
591 |
+
index > 0 and index % intermediary_mean_mess_ratio_calc == 0
|
592 |
+
) or index == length - 1:
|
593 |
+
mean_mess_ratio = sum(dt.ratio for dt in detectors)
|
594 |
+
|
595 |
+
if mean_mess_ratio >= maximum_threshold:
|
596 |
+
break
|
597 |
+
|
598 |
+
if debug:
|
599 |
+
logger = getLogger("charset_normalizer")
|
600 |
+
|
601 |
+
logger.log(
|
602 |
+
TRACE,
|
603 |
+
"Mess-detector extended-analysis start. "
|
604 |
+
f"intermediary_mean_mess_ratio_calc={intermediary_mean_mess_ratio_calc} mean_mess_ratio={mean_mess_ratio} "
|
605 |
+
f"maximum_threshold={maximum_threshold}",
|
606 |
+
)
|
607 |
+
|
608 |
+
if len(decoded_sequence) > 16:
|
609 |
+
logger.log(TRACE, f"Starting with: {decoded_sequence[:16]}")
|
610 |
+
logger.log(TRACE, f"Ending with: {decoded_sequence[-16::]}")
|
611 |
+
|
612 |
+
for dt in detectors: # pragma: nocover
|
613 |
+
logger.log(TRACE, f"{dt.__class__}: {dt.ratio}")
|
614 |
+
|
615 |
+
return round(mean_mess_ratio, 3)
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/md__mypyc.cpython-310-x86_64-linux-gnu.so
ADDED
Binary file (268 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/py.typed
ADDED
File without changes
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/utils.py
ADDED
@@ -0,0 +1,421 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import importlib
|
2 |
+
import logging
|
3 |
+
import unicodedata
|
4 |
+
from codecs import IncrementalDecoder
|
5 |
+
from encodings.aliases import aliases
|
6 |
+
from functools import lru_cache
|
7 |
+
from re import findall
|
8 |
+
from typing import Generator, List, Optional, Set, Tuple, Union
|
9 |
+
|
10 |
+
from _multibytecodec import MultibyteIncrementalDecoder
|
11 |
+
|
12 |
+
from .constant import (
|
13 |
+
ENCODING_MARKS,
|
14 |
+
IANA_SUPPORTED_SIMILAR,
|
15 |
+
RE_POSSIBLE_ENCODING_INDICATION,
|
16 |
+
UNICODE_RANGES_COMBINED,
|
17 |
+
UNICODE_SECONDARY_RANGE_KEYWORD,
|
18 |
+
UTF8_MAXIMAL_ALLOCATION,
|
19 |
+
)
|
20 |
+
|
21 |
+
|
22 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
23 |
+
def is_accentuated(character: str) -> bool:
|
24 |
+
try:
|
25 |
+
description: str = unicodedata.name(character)
|
26 |
+
except ValueError:
|
27 |
+
return False
|
28 |
+
return (
|
29 |
+
"WITH GRAVE" in description
|
30 |
+
or "WITH ACUTE" in description
|
31 |
+
or "WITH CEDILLA" in description
|
32 |
+
or "WITH DIAERESIS" in description
|
33 |
+
or "WITH CIRCUMFLEX" in description
|
34 |
+
or "WITH TILDE" in description
|
35 |
+
or "WITH MACRON" in description
|
36 |
+
or "WITH RING ABOVE" in description
|
37 |
+
)
|
38 |
+
|
39 |
+
|
40 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
41 |
+
def remove_accent(character: str) -> str:
|
42 |
+
decomposed: str = unicodedata.decomposition(character)
|
43 |
+
if not decomposed:
|
44 |
+
return character
|
45 |
+
|
46 |
+
codes: List[str] = decomposed.split(" ")
|
47 |
+
|
48 |
+
return chr(int(codes[0], 16))
|
49 |
+
|
50 |
+
|
51 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
52 |
+
def unicode_range(character: str) -> Optional[str]:
|
53 |
+
"""
|
54 |
+
Retrieve the Unicode range official name from a single character.
|
55 |
+
"""
|
56 |
+
character_ord: int = ord(character)
|
57 |
+
|
58 |
+
for range_name, ord_range in UNICODE_RANGES_COMBINED.items():
|
59 |
+
if character_ord in ord_range:
|
60 |
+
return range_name
|
61 |
+
|
62 |
+
return None
|
63 |
+
|
64 |
+
|
65 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
66 |
+
def is_latin(character: str) -> bool:
|
67 |
+
try:
|
68 |
+
description: str = unicodedata.name(character)
|
69 |
+
except ValueError:
|
70 |
+
return False
|
71 |
+
return "LATIN" in description
|
72 |
+
|
73 |
+
|
74 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
75 |
+
def is_punctuation(character: str) -> bool:
|
76 |
+
character_category: str = unicodedata.category(character)
|
77 |
+
|
78 |
+
if "P" in character_category:
|
79 |
+
return True
|
80 |
+
|
81 |
+
character_range: Optional[str] = unicode_range(character)
|
82 |
+
|
83 |
+
if character_range is None:
|
84 |
+
return False
|
85 |
+
|
86 |
+
return "Punctuation" in character_range
|
87 |
+
|
88 |
+
|
89 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
90 |
+
def is_symbol(character: str) -> bool:
|
91 |
+
character_category: str = unicodedata.category(character)
|
92 |
+
|
93 |
+
if "S" in character_category or "N" in character_category:
|
94 |
+
return True
|
95 |
+
|
96 |
+
character_range: Optional[str] = unicode_range(character)
|
97 |
+
|
98 |
+
if character_range is None:
|
99 |
+
return False
|
100 |
+
|
101 |
+
return "Forms" in character_range and character_category != "Lo"
|
102 |
+
|
103 |
+
|
104 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
105 |
+
def is_emoticon(character: str) -> bool:
|
106 |
+
character_range: Optional[str] = unicode_range(character)
|
107 |
+
|
108 |
+
if character_range is None:
|
109 |
+
return False
|
110 |
+
|
111 |
+
return "Emoticons" in character_range or "Pictographs" in character_range
|
112 |
+
|
113 |
+
|
114 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
115 |
+
def is_separator(character: str) -> bool:
|
116 |
+
if character.isspace() or character in {"|", "+", "<", ">"}:
|
117 |
+
return True
|
118 |
+
|
119 |
+
character_category: str = unicodedata.category(character)
|
120 |
+
|
121 |
+
return "Z" in character_category or character_category in {"Po", "Pd", "Pc"}
|
122 |
+
|
123 |
+
|
124 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
125 |
+
def is_case_variable(character: str) -> bool:
|
126 |
+
return character.islower() != character.isupper()
|
127 |
+
|
128 |
+
|
129 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
130 |
+
def is_cjk(character: str) -> bool:
|
131 |
+
try:
|
132 |
+
character_name = unicodedata.name(character)
|
133 |
+
except ValueError:
|
134 |
+
return False
|
135 |
+
|
136 |
+
return "CJK" in character_name
|
137 |
+
|
138 |
+
|
139 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
140 |
+
def is_hiragana(character: str) -> bool:
|
141 |
+
try:
|
142 |
+
character_name = unicodedata.name(character)
|
143 |
+
except ValueError:
|
144 |
+
return False
|
145 |
+
|
146 |
+
return "HIRAGANA" in character_name
|
147 |
+
|
148 |
+
|
149 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
150 |
+
def is_katakana(character: str) -> bool:
|
151 |
+
try:
|
152 |
+
character_name = unicodedata.name(character)
|
153 |
+
except ValueError:
|
154 |
+
return False
|
155 |
+
|
156 |
+
return "KATAKANA" in character_name
|
157 |
+
|
158 |
+
|
159 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
160 |
+
def is_hangul(character: str) -> bool:
|
161 |
+
try:
|
162 |
+
character_name = unicodedata.name(character)
|
163 |
+
except ValueError:
|
164 |
+
return False
|
165 |
+
|
166 |
+
return "HANGUL" in character_name
|
167 |
+
|
168 |
+
|
169 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
170 |
+
def is_thai(character: str) -> bool:
|
171 |
+
try:
|
172 |
+
character_name = unicodedata.name(character)
|
173 |
+
except ValueError:
|
174 |
+
return False
|
175 |
+
|
176 |
+
return "THAI" in character_name
|
177 |
+
|
178 |
+
|
179 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
180 |
+
def is_arabic(character: str) -> bool:
|
181 |
+
try:
|
182 |
+
character_name = unicodedata.name(character)
|
183 |
+
except ValueError:
|
184 |
+
return False
|
185 |
+
|
186 |
+
return "ARABIC" in character_name
|
187 |
+
|
188 |
+
|
189 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
190 |
+
def is_arabic_isolated_form(character: str) -> bool:
|
191 |
+
try:
|
192 |
+
character_name = unicodedata.name(character)
|
193 |
+
except ValueError:
|
194 |
+
return False
|
195 |
+
|
196 |
+
return "ARABIC" in character_name and "ISOLATED FORM" in character_name
|
197 |
+
|
198 |
+
|
199 |
+
@lru_cache(maxsize=len(UNICODE_RANGES_COMBINED))
|
200 |
+
def is_unicode_range_secondary(range_name: str) -> bool:
|
201 |
+
return any(keyword in range_name for keyword in UNICODE_SECONDARY_RANGE_KEYWORD)
|
202 |
+
|
203 |
+
|
204 |
+
@lru_cache(maxsize=UTF8_MAXIMAL_ALLOCATION)
|
205 |
+
def is_unprintable(character: str) -> bool:
|
206 |
+
return (
|
207 |
+
character.isspace() is False # includes \n \t \r \v
|
208 |
+
and character.isprintable() is False
|
209 |
+
and character != "\x1A" # Why? Its the ASCII substitute character.
|
210 |
+
and character != "\ufeff" # bug discovered in Python,
|
211 |
+
# Zero Width No-Break Space located in Arabic Presentation Forms-B, Unicode 1.1 not acknowledged as space.
|
212 |
+
)
|
213 |
+
|
214 |
+
|
215 |
+
def any_specified_encoding(sequence: bytes, search_zone: int = 8192) -> Optional[str]:
|
216 |
+
"""
|
217 |
+
Extract using ASCII-only decoder any specified encoding in the first n-bytes.
|
218 |
+
"""
|
219 |
+
if not isinstance(sequence, bytes):
|
220 |
+
raise TypeError
|
221 |
+
|
222 |
+
seq_len: int = len(sequence)
|
223 |
+
|
224 |
+
results: List[str] = findall(
|
225 |
+
RE_POSSIBLE_ENCODING_INDICATION,
|
226 |
+
sequence[: min(seq_len, search_zone)].decode("ascii", errors="ignore"),
|
227 |
+
)
|
228 |
+
|
229 |
+
if len(results) == 0:
|
230 |
+
return None
|
231 |
+
|
232 |
+
for specified_encoding in results:
|
233 |
+
specified_encoding = specified_encoding.lower().replace("-", "_")
|
234 |
+
|
235 |
+
encoding_alias: str
|
236 |
+
encoding_iana: str
|
237 |
+
|
238 |
+
for encoding_alias, encoding_iana in aliases.items():
|
239 |
+
if encoding_alias == specified_encoding:
|
240 |
+
return encoding_iana
|
241 |
+
if encoding_iana == specified_encoding:
|
242 |
+
return encoding_iana
|
243 |
+
|
244 |
+
return None
|
245 |
+
|
246 |
+
|
247 |
+
@lru_cache(maxsize=128)
|
248 |
+
def is_multi_byte_encoding(name: str) -> bool:
|
249 |
+
"""
|
250 |
+
Verify is a specific encoding is a multi byte one based on it IANA name
|
251 |
+
"""
|
252 |
+
return name in {
|
253 |
+
"utf_8",
|
254 |
+
"utf_8_sig",
|
255 |
+
"utf_16",
|
256 |
+
"utf_16_be",
|
257 |
+
"utf_16_le",
|
258 |
+
"utf_32",
|
259 |
+
"utf_32_le",
|
260 |
+
"utf_32_be",
|
261 |
+
"utf_7",
|
262 |
+
} or issubclass(
|
263 |
+
importlib.import_module("encodings.{}".format(name)).IncrementalDecoder,
|
264 |
+
MultibyteIncrementalDecoder,
|
265 |
+
)
|
266 |
+
|
267 |
+
|
268 |
+
def identify_sig_or_bom(sequence: bytes) -> Tuple[Optional[str], bytes]:
|
269 |
+
"""
|
270 |
+
Identify and extract SIG/BOM in given sequence.
|
271 |
+
"""
|
272 |
+
|
273 |
+
for iana_encoding in ENCODING_MARKS:
|
274 |
+
marks: Union[bytes, List[bytes]] = ENCODING_MARKS[iana_encoding]
|
275 |
+
|
276 |
+
if isinstance(marks, bytes):
|
277 |
+
marks = [marks]
|
278 |
+
|
279 |
+
for mark in marks:
|
280 |
+
if sequence.startswith(mark):
|
281 |
+
return iana_encoding, mark
|
282 |
+
|
283 |
+
return None, b""
|
284 |
+
|
285 |
+
|
286 |
+
def should_strip_sig_or_bom(iana_encoding: str) -> bool:
|
287 |
+
return iana_encoding not in {"utf_16", "utf_32"}
|
288 |
+
|
289 |
+
|
290 |
+
def iana_name(cp_name: str, strict: bool = True) -> str:
|
291 |
+
cp_name = cp_name.lower().replace("-", "_")
|
292 |
+
|
293 |
+
encoding_alias: str
|
294 |
+
encoding_iana: str
|
295 |
+
|
296 |
+
for encoding_alias, encoding_iana in aliases.items():
|
297 |
+
if cp_name in [encoding_alias, encoding_iana]:
|
298 |
+
return encoding_iana
|
299 |
+
|
300 |
+
if strict:
|
301 |
+
raise ValueError("Unable to retrieve IANA for '{}'".format(cp_name))
|
302 |
+
|
303 |
+
return cp_name
|
304 |
+
|
305 |
+
|
306 |
+
def range_scan(decoded_sequence: str) -> List[str]:
|
307 |
+
ranges: Set[str] = set()
|
308 |
+
|
309 |
+
for character in decoded_sequence:
|
310 |
+
character_range: Optional[str] = unicode_range(character)
|
311 |
+
|
312 |
+
if character_range is None:
|
313 |
+
continue
|
314 |
+
|
315 |
+
ranges.add(character_range)
|
316 |
+
|
317 |
+
return list(ranges)
|
318 |
+
|
319 |
+
|
320 |
+
def cp_similarity(iana_name_a: str, iana_name_b: str) -> float:
|
321 |
+
if is_multi_byte_encoding(iana_name_a) or is_multi_byte_encoding(iana_name_b):
|
322 |
+
return 0.0
|
323 |
+
|
324 |
+
decoder_a = importlib.import_module(
|
325 |
+
"encodings.{}".format(iana_name_a)
|
326 |
+
).IncrementalDecoder
|
327 |
+
decoder_b = importlib.import_module(
|
328 |
+
"encodings.{}".format(iana_name_b)
|
329 |
+
).IncrementalDecoder
|
330 |
+
|
331 |
+
id_a: IncrementalDecoder = decoder_a(errors="ignore")
|
332 |
+
id_b: IncrementalDecoder = decoder_b(errors="ignore")
|
333 |
+
|
334 |
+
character_match_count: int = 0
|
335 |
+
|
336 |
+
for i in range(255):
|
337 |
+
to_be_decoded: bytes = bytes([i])
|
338 |
+
if id_a.decode(to_be_decoded) == id_b.decode(to_be_decoded):
|
339 |
+
character_match_count += 1
|
340 |
+
|
341 |
+
return character_match_count / 254
|
342 |
+
|
343 |
+
|
344 |
+
def is_cp_similar(iana_name_a: str, iana_name_b: str) -> bool:
|
345 |
+
"""
|
346 |
+
Determine if two code page are at least 80% similar. IANA_SUPPORTED_SIMILAR dict was generated using
|
347 |
+
the function cp_similarity.
|
348 |
+
"""
|
349 |
+
return (
|
350 |
+
iana_name_a in IANA_SUPPORTED_SIMILAR
|
351 |
+
and iana_name_b in IANA_SUPPORTED_SIMILAR[iana_name_a]
|
352 |
+
)
|
353 |
+
|
354 |
+
|
355 |
+
def set_logging_handler(
|
356 |
+
name: str = "charset_normalizer",
|
357 |
+
level: int = logging.INFO,
|
358 |
+
format_string: str = "%(asctime)s | %(levelname)s | %(message)s",
|
359 |
+
) -> None:
|
360 |
+
logger = logging.getLogger(name)
|
361 |
+
logger.setLevel(level)
|
362 |
+
|
363 |
+
handler = logging.StreamHandler()
|
364 |
+
handler.setFormatter(logging.Formatter(format_string))
|
365 |
+
logger.addHandler(handler)
|
366 |
+
|
367 |
+
|
368 |
+
def cut_sequence_chunks(
|
369 |
+
sequences: bytes,
|
370 |
+
encoding_iana: str,
|
371 |
+
offsets: range,
|
372 |
+
chunk_size: int,
|
373 |
+
bom_or_sig_available: bool,
|
374 |
+
strip_sig_or_bom: bool,
|
375 |
+
sig_payload: bytes,
|
376 |
+
is_multi_byte_decoder: bool,
|
377 |
+
decoded_payload: Optional[str] = None,
|
378 |
+
) -> Generator[str, None, None]:
|
379 |
+
if decoded_payload and is_multi_byte_decoder is False:
|
380 |
+
for i in offsets:
|
381 |
+
chunk = decoded_payload[i : i + chunk_size]
|
382 |
+
if not chunk:
|
383 |
+
break
|
384 |
+
yield chunk
|
385 |
+
else:
|
386 |
+
for i in offsets:
|
387 |
+
chunk_end = i + chunk_size
|
388 |
+
if chunk_end > len(sequences) + 8:
|
389 |
+
continue
|
390 |
+
|
391 |
+
cut_sequence = sequences[i : i + chunk_size]
|
392 |
+
|
393 |
+
if bom_or_sig_available and strip_sig_or_bom is False:
|
394 |
+
cut_sequence = sig_payload + cut_sequence
|
395 |
+
|
396 |
+
chunk = cut_sequence.decode(
|
397 |
+
encoding_iana,
|
398 |
+
errors="ignore" if is_multi_byte_decoder else "strict",
|
399 |
+
)
|
400 |
+
|
401 |
+
# multi-byte bad cutting detector and adjustment
|
402 |
+
# not the cleanest way to perform that fix but clever enough for now.
|
403 |
+
if is_multi_byte_decoder and i > 0:
|
404 |
+
chunk_partial_size_chk: int = min(chunk_size, 16)
|
405 |
+
|
406 |
+
if (
|
407 |
+
decoded_payload
|
408 |
+
and chunk[:chunk_partial_size_chk] not in decoded_payload
|
409 |
+
):
|
410 |
+
for j in range(i, i - 4, -1):
|
411 |
+
cut_sequence = sequences[j:chunk_end]
|
412 |
+
|
413 |
+
if bom_or_sig_available and strip_sig_or_bom is False:
|
414 |
+
cut_sequence = sig_payload + cut_sequence
|
415 |
+
|
416 |
+
chunk = cut_sequence.decode(encoding_iana, errors="ignore")
|
417 |
+
|
418 |
+
if chunk[:chunk_partial_size_chk] in decoded_payload:
|
419 |
+
break
|
420 |
+
|
421 |
+
yield chunk
|
env-llmeval/lib/python3.10/site-packages/charset_normalizer/version.py
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
Expose version
|
3 |
+
"""
|
4 |
+
|
5 |
+
__version__ = "3.3.2"
|
6 |
+
VERSION = __version__.split(".")
|
env-llmeval/lib/python3.10/site-packages/examples/__init__.py
ADDED
File without changes
|
env-llmeval/lib/python3.10/site-packages/examples/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (173 Bytes). View file
|
|
env-llmeval/lib/python3.10/site-packages/examples/__pycache__/basic_example.cpython-310.pyc
ADDED
Binary file (2.17 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/examples/basic_example.py
ADDED
@@ -0,0 +1,60 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from time import sleep
|
2 |
+
import multiprocessing
|
3 |
+
|
4 |
+
import logging
|
5 |
+
from tqdm_multiprocess.logger import setup_logger_tqdm
|
6 |
+
logger = logging.getLogger(__name__)
|
7 |
+
|
8 |
+
from tqdm_multiprocess import TqdmMultiProcessPool
|
9 |
+
|
10 |
+
def some_other_function(tqdm_func):
|
11 |
+
iterations1 = 100
|
12 |
+
iterations2 = 5
|
13 |
+
iterations3 = 2
|
14 |
+
|
15 |
+
total_iterations = iterations1 * iterations2 * iterations3
|
16 |
+
with tqdm_func(total=total_iterations, dynamic_ncols=True) as progress3:
|
17 |
+
progress3.set_description("outer")
|
18 |
+
for i in range(iterations3):
|
19 |
+
logger.info("outer")
|
20 |
+
total_iterations = iterations1 * iterations2
|
21 |
+
with tqdm_func(total=total_iterations, dynamic_ncols=True) as progress2:
|
22 |
+
progress2.set_description("middle")
|
23 |
+
for j in range(iterations2):
|
24 |
+
logger.info("middle")
|
25 |
+
#for k in tqdm_func(range(iterations1), dynamic_ncols=True, desc="inner"):
|
26 |
+
with tqdm_func(total=iterations1, dynamic_ncols=True) as progress1:
|
27 |
+
for j in range(iterations1):
|
28 |
+
# logger.info("inner") # Spam slows down tqdm too much
|
29 |
+
progress1.set_description("innert")
|
30 |
+
sleep(0.01)
|
31 |
+
progress1.update()
|
32 |
+
progress2.update()
|
33 |
+
progress3.update()
|
34 |
+
|
35 |
+
logger.warning(f"Warning test message. {multiprocessing.current_process().name}")
|
36 |
+
logger.error(f"Error test message. {multiprocessing.current_process().name}")
|
37 |
+
|
38 |
+
|
39 |
+
# Multiprocessed
|
40 |
+
def example_multiprocessing_function(some_input, tqdm_func):
|
41 |
+
logger.debug(f"Debug test message - I won't show up in console. {multiprocessing.current_process().name}")
|
42 |
+
logger.info(f"Info test message. {multiprocessing.current_process().name}")
|
43 |
+
some_other_function(tqdm_func)
|
44 |
+
return True
|
45 |
+
|
46 |
+
def error_callback():
|
47 |
+
print("Error!")
|
48 |
+
|
49 |
+
def example():
|
50 |
+
pool = TqdmMultiProcessPool()
|
51 |
+
process_count = 4
|
52 |
+
task_count = 10
|
53 |
+
initial_tasks = [(example_multiprocessing_function, (i,)) for i in range(task_count)]
|
54 |
+
results = pool.map(process_count, initial_tasks, error_callback)
|
55 |
+
print(results)
|
56 |
+
|
57 |
+
if __name__ == '__main__':
|
58 |
+
logfile_path = "tqdm_multiprocessing_example.log"
|
59 |
+
setup_logger_tqdm(logfile_path) # Logger will write messages using tqdm.write
|
60 |
+
example()
|
env-llmeval/lib/python3.10/site-packages/frozenlist-1.4.1.dist-info/INSTALLER
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
pip
|
env-llmeval/lib/python3.10/site-packages/frozenlist-1.4.1.dist-info/LICENSE
ADDED
@@ -0,0 +1,201 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Apache License
|
2 |
+
Version 2.0, January 2004
|
3 |
+
http://www.apache.org/licenses/
|
4 |
+
|
5 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6 |
+
|
7 |
+
1. Definitions.
|
8 |
+
|
9 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
10 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
11 |
+
|
12 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
13 |
+
the copyright owner that is granting the License.
|
14 |
+
|
15 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
16 |
+
other entities that control, are controlled by, or are under common
|
17 |
+
control with that entity. For the purposes of this definition,
|
18 |
+
"control" means (i) the power, direct or indirect, to cause the
|
19 |
+
direction or management of such entity, whether by contract or
|
20 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
22 |
+
|
23 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
24 |
+
exercising permissions granted by this License.
|
25 |
+
|
26 |
+
"Source" form shall mean the preferred form for making modifications,
|
27 |
+
including but not limited to software source code, documentation
|
28 |
+
source, and configuration files.
|
29 |
+
|
30 |
+
"Object" form shall mean any form resulting from mechanical
|
31 |
+
transformation or translation of a Source form, including but
|
32 |
+
not limited to compiled object code, generated documentation,
|
33 |
+
and conversions to other media types.
|
34 |
+
|
35 |
+
"Work" shall mean the work of authorship, whether in Source or
|
36 |
+
Object form, made available under the License, as indicated by a
|
37 |
+
copyright notice that is included in or attached to the work
|
38 |
+
(an example is provided in the Appendix below).
|
39 |
+
|
40 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
41 |
+
form, that is based on (or derived from) the Work and for which the
|
42 |
+
editorial revisions, annotations, elaborations, or other modifications
|
43 |
+
represent, as a whole, an original work of authorship. For the purposes
|
44 |
+
of this License, Derivative Works shall not include works that remain
|
45 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
46 |
+
the Work and Derivative Works thereof.
|
47 |
+
|
48 |
+
"Contribution" shall mean any work of authorship, including
|
49 |
+
the original version of the Work and any modifications or additions
|
50 |
+
to that Work or Derivative Works thereof, that is intentionally
|
51 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
52 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
53 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
54 |
+
means any form of electronic, verbal, or written communication sent
|
55 |
+
to the Licensor or its representatives, including but not limited to
|
56 |
+
communication on electronic mailing lists, source code control systems,
|
57 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
58 |
+
Licensor for the purpose of discussing and improving the Work, but
|
59 |
+
excluding communication that is conspicuously marked or otherwise
|
60 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
61 |
+
|
62 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63 |
+
on behalf of whom a Contribution has been received by Licensor and
|
64 |
+
subsequently incorporated within the Work.
|
65 |
+
|
66 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
67 |
+
this License, each Contributor hereby grants to You a perpetual,
|
68 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69 |
+
copyright license to reproduce, prepare Derivative Works of,
|
70 |
+
publicly display, publicly perform, sublicense, and distribute the
|
71 |
+
Work and such Derivative Works in Source or Object form.
|
72 |
+
|
73 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
74 |
+
this License, each Contributor hereby grants to You a perpetual,
|
75 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76 |
+
(except as stated in this section) patent license to make, have made,
|
77 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78 |
+
where such license applies only to those patent claims licensable
|
79 |
+
by such Contributor that are necessarily infringed by their
|
80 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
81 |
+
with the Work to which such Contribution(s) was submitted. If You
|
82 |
+
institute patent litigation against any entity (including a
|
83 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84 |
+
or a Contribution incorporated within the Work constitutes direct
|
85 |
+
or contributory patent infringement, then any patent licenses
|
86 |
+
granted to You under this License for that Work shall terminate
|
87 |
+
as of the date such litigation is filed.
|
88 |
+
|
89 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
90 |
+
Work or Derivative Works thereof in any medium, with or without
|
91 |
+
modifications, and in Source or Object form, provided that You
|
92 |
+
meet the following conditions:
|
93 |
+
|
94 |
+
(a) You must give any other recipients of the Work or
|
95 |
+
Derivative Works a copy of this License; and
|
96 |
+
|
97 |
+
(b) You must cause any modified files to carry prominent notices
|
98 |
+
stating that You changed the files; and
|
99 |
+
|
100 |
+
(c) You must retain, in the Source form of any Derivative Works
|
101 |
+
that You distribute, all copyright, patent, trademark, and
|
102 |
+
attribution notices from the Source form of the Work,
|
103 |
+
excluding those notices that do not pertain to any part of
|
104 |
+
the Derivative Works; and
|
105 |
+
|
106 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
107 |
+
distribution, then any Derivative Works that You distribute must
|
108 |
+
include a readable copy of the attribution notices contained
|
109 |
+
within such NOTICE file, excluding those notices that do not
|
110 |
+
pertain to any part of the Derivative Works, in at least one
|
111 |
+
of the following places: within a NOTICE text file distributed
|
112 |
+
as part of the Derivative Works; within the Source form or
|
113 |
+
documentation, if provided along with the Derivative Works; or,
|
114 |
+
within a display generated by the Derivative Works, if and
|
115 |
+
wherever such third-party notices normally appear. The contents
|
116 |
+
of the NOTICE file are for informational purposes only and
|
117 |
+
do not modify the License. You may add Your own attribution
|
118 |
+
notices within Derivative Works that You distribute, alongside
|
119 |
+
or as an addendum to the NOTICE text from the Work, provided
|
120 |
+
that such additional attribution notices cannot be construed
|
121 |
+
as modifying the License.
|
122 |
+
|
123 |
+
You may add Your own copyright statement to Your modifications and
|
124 |
+
may provide additional or different license terms and conditions
|
125 |
+
for use, reproduction, or distribution of Your modifications, or
|
126 |
+
for any such Derivative Works as a whole, provided Your use,
|
127 |
+
reproduction, and distribution of the Work otherwise complies with
|
128 |
+
the conditions stated in this License.
|
129 |
+
|
130 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131 |
+
any Contribution intentionally submitted for inclusion in the Work
|
132 |
+
by You to the Licensor shall be under the terms and conditions of
|
133 |
+
this License, without any additional terms or conditions.
|
134 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
135 |
+
the terms of any separate license agreement you may have executed
|
136 |
+
with Licensor regarding such Contributions.
|
137 |
+
|
138 |
+
6. Trademarks. This License does not grant permission to use the trade
|
139 |
+
names, trademarks, service marks, or product names of the Licensor,
|
140 |
+
except as required for reasonable and customary use in describing the
|
141 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
142 |
+
|
143 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
144 |
+
agreed to in writing, Licensor provides the Work (and each
|
145 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147 |
+
implied, including, without limitation, any warranties or conditions
|
148 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150 |
+
appropriateness of using or redistributing the Work and assume any
|
151 |
+
risks associated with Your exercise of permissions under this License.
|
152 |
+
|
153 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
154 |
+
whether in tort (including negligence), contract, or otherwise,
|
155 |
+
unless required by applicable law (such as deliberate and grossly
|
156 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
157 |
+
liable to You for damages, including any direct, indirect, special,
|
158 |
+
incidental, or consequential damages of any character arising as a
|
159 |
+
result of this License or out of the use or inability to use the
|
160 |
+
Work (including but not limited to damages for loss of goodwill,
|
161 |
+
work stoppage, computer failure or malfunction, or any and all
|
162 |
+
other commercial damages or losses), even if such Contributor
|
163 |
+
has been advised of the possibility of such damages.
|
164 |
+
|
165 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
166 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
167 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
168 |
+
or other liability obligations and/or rights consistent with this
|
169 |
+
License. However, in accepting such obligations, You may act only
|
170 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
171 |
+
of any other Contributor, and only if You agree to indemnify,
|
172 |
+
defend, and hold each Contributor harmless for any liability
|
173 |
+
incurred by, or claims asserted against, such Contributor by reason
|
174 |
+
of your accepting any such warranty or additional liability.
|
175 |
+
|
176 |
+
END OF TERMS AND CONDITIONS
|
177 |
+
|
178 |
+
APPENDIX: How to apply the Apache License to your work.
|
179 |
+
|
180 |
+
To apply the Apache License to your work, attach the following
|
181 |
+
boilerplate notice, with the fields enclosed by brackets "{}"
|
182 |
+
replaced with your own identifying information. (Don't include
|
183 |
+
the brackets!) The text should be enclosed in the appropriate
|
184 |
+
comment syntax for the file format. We also recommend that a
|
185 |
+
file or class name and description of purpose be included on the
|
186 |
+
same "printed page" as the copyright notice for easier
|
187 |
+
identification within third-party archives.
|
188 |
+
|
189 |
+
Copyright 2013-2019 Nikolay Kim and Andrew Svetlov
|
190 |
+
|
191 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
192 |
+
you may not use this file except in compliance with the License.
|
193 |
+
You may obtain a copy of the License at
|
194 |
+
|
195 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
196 |
+
|
197 |
+
Unless required by applicable law or agreed to in writing, software
|
198 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
199 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200 |
+
See the License for the specific language governing permissions and
|
201 |
+
limitations under the License.
|
env-llmeval/lib/python3.10/site-packages/frozenlist-1.4.1.dist-info/METADATA
ADDED
@@ -0,0 +1,420 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Metadata-Version: 2.1
|
2 |
+
Name: frozenlist
|
3 |
+
Version: 1.4.1
|
4 |
+
Summary: A list-like structure which implements collections.abc.MutableSequence
|
5 |
+
Home-page: https://github.com/aio-libs/frozenlist
|
6 |
+
Maintainer: aiohttp team <[email protected]>
|
7 |
+
Maintainer-email: [email protected]
|
8 |
+
License: Apache 2
|
9 |
+
Project-URL: Chat: Matrix, https://matrix.to/#/#aio-libs:matrix.org
|
10 |
+
Project-URL: Chat: Matrix Space, https://matrix.to/#/#aio-libs-space:matrix.org
|
11 |
+
Project-URL: CI: Github Actions, https://github.com/aio-libs/frozenlist/actions
|
12 |
+
Project-URL: Code of Conduct, https://github.com/aio-libs/.github/blob/master/CODE_OF_CONDUCT.md
|
13 |
+
Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/frozenlist
|
14 |
+
Project-URL: Docs: Changelog, https://github.com/aio-libs/frozenlist/blob/master/CHANGES.rst#changelog
|
15 |
+
Project-URL: Docs: RTD, https://frozenlist.aio-libs.org
|
16 |
+
Project-URL: GitHub: issues, https://github.com/aio-libs/frozenlist/issues
|
17 |
+
Project-URL: GitHub: repo, https://github.com/aio-libs/frozenlist
|
18 |
+
Classifier: Development Status :: 5 - Production/Stable
|
19 |
+
Classifier: Intended Audience :: Developers
|
20 |
+
Classifier: License :: OSI Approved :: Apache Software License
|
21 |
+
Classifier: Operating System :: POSIX
|
22 |
+
Classifier: Operating System :: MacOS :: MacOS X
|
23 |
+
Classifier: Operating System :: Microsoft :: Windows
|
24 |
+
Classifier: Programming Language :: Cython
|
25 |
+
Classifier: Programming Language :: Python
|
26 |
+
Classifier: Programming Language :: Python :: 3
|
27 |
+
Classifier: Programming Language :: Python :: 3.8
|
28 |
+
Classifier: Programming Language :: Python :: 3.9
|
29 |
+
Classifier: Programming Language :: Python :: 3.10
|
30 |
+
Classifier: Programming Language :: Python :: 3.11
|
31 |
+
Classifier: Programming Language :: Python :: 3.12
|
32 |
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
33 |
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
34 |
+
Requires-Python: >=3.8
|
35 |
+
Description-Content-Type: text/x-rst
|
36 |
+
License-File: LICENSE
|
37 |
+
|
38 |
+
frozenlist
|
39 |
+
==========
|
40 |
+
|
41 |
+
.. image:: https://github.com/aio-libs/frozenlist/workflows/CI/badge.svg
|
42 |
+
:target: https://github.com/aio-libs/frozenlist/actions
|
43 |
+
:alt: GitHub status for master branch
|
44 |
+
|
45 |
+
.. image:: https://codecov.io/gh/aio-libs/frozenlist/branch/master/graph/badge.svg
|
46 |
+
:target: https://codecov.io/gh/aio-libs/frozenlist
|
47 |
+
:alt: codecov.io status for master branch
|
48 |
+
|
49 |
+
.. image:: https://img.shields.io/pypi/v/frozenlist.svg?logo=Python&logoColor=white
|
50 |
+
:target: https://pypi.org/project/frozenlist
|
51 |
+
:alt: frozenlist @ PyPI
|
52 |
+
|
53 |
+
.. image:: https://readthedocs.org/projects/frozenlist/badge/?version=latest
|
54 |
+
:target: https://frozenlist.aio-libs.org
|
55 |
+
:alt: Read The Docs build status badge
|
56 |
+
|
57 |
+
.. image:: https://img.shields.io/matrix/aio-libs:matrix.org?label=Discuss%20on%20Matrix%20at%20%23aio-libs%3Amatrix.org&logo=matrix&server_fqdn=matrix.org&style=flat
|
58 |
+
:target: https://matrix.to/#/%23aio-libs:matrix.org
|
59 |
+
:alt: Matrix Room — #aio-libs:matrix.org
|
60 |
+
|
61 |
+
.. image:: https://img.shields.io/matrix/aio-libs-space:matrix.org?label=Discuss%20on%20Matrix%20at%20%23aio-libs-space%3Amatrix.org&logo=matrix&server_fqdn=matrix.org&style=flat
|
62 |
+
:target: https://matrix.to/#/%23aio-libs-space:matrix.org
|
63 |
+
:alt: Matrix Space — #aio-libs-space:matrix.org
|
64 |
+
|
65 |
+
Introduction
|
66 |
+
------------
|
67 |
+
|
68 |
+
``frozenlist.FrozenList`` is a list-like structure which implements
|
69 |
+
``collections.abc.MutableSequence``. The list is *mutable* until ``FrozenList.freeze``
|
70 |
+
is called, after which list modifications raise ``RuntimeError``:
|
71 |
+
|
72 |
+
|
73 |
+
>>> from frozenlist import FrozenList
|
74 |
+
>>> fl = FrozenList([17, 42])
|
75 |
+
>>> fl.append('spam')
|
76 |
+
>>> fl.append('Vikings')
|
77 |
+
>>> fl
|
78 |
+
<FrozenList(frozen=False, [17, 42, 'spam', 'Vikings'])>
|
79 |
+
>>> fl.freeze()
|
80 |
+
>>> fl
|
81 |
+
<FrozenList(frozen=True, [17, 42, 'spam', 'Vikings'])>
|
82 |
+
>>> fl.frozen
|
83 |
+
True
|
84 |
+
>>> fl.append("Monty")
|
85 |
+
Traceback (most recent call last):
|
86 |
+
File "<stdin>", line 1, in <module>
|
87 |
+
File "frozenlist/_frozenlist.pyx", line 97, in frozenlist._frozenlist.FrozenList.append
|
88 |
+
self._check_frozen()
|
89 |
+
File "frozenlist/_frozenlist.pyx", line 19, in frozenlist._frozenlist.FrozenList._check_frozen
|
90 |
+
raise RuntimeError("Cannot modify frozen list.")
|
91 |
+
RuntimeError: Cannot modify frozen list.
|
92 |
+
|
93 |
+
|
94 |
+
FrozenList is also hashable, but only when frozen. Otherwise it also throws a RuntimeError:
|
95 |
+
|
96 |
+
|
97 |
+
>>> fl = FrozenList([17, 42, 'spam'])
|
98 |
+
>>> hash(fl)
|
99 |
+
Traceback (most recent call last):
|
100 |
+
File "<stdin>", line 1, in <module>
|
101 |
+
File "frozenlist/_frozenlist.pyx", line 111, in frozenlist._frozenlist.FrozenList.__hash__
|
102 |
+
raise RuntimeError("Cannot hash unfrozen list.")
|
103 |
+
RuntimeError: Cannot hash unfrozen list.
|
104 |
+
>>> fl.freeze()
|
105 |
+
>>> hash(fl)
|
106 |
+
3713081631934410656
|
107 |
+
>>> dictionary = {fl: 'Vikings'} # frozen fl can be a dict key
|
108 |
+
>>> dictionary
|
109 |
+
{<FrozenList(frozen=True, [1, 2])>: 'Vikings'}
|
110 |
+
|
111 |
+
|
112 |
+
Installation
|
113 |
+
------------
|
114 |
+
|
115 |
+
::
|
116 |
+
|
117 |
+
$ pip install frozenlist
|
118 |
+
|
119 |
+
The library requires Python 3.8 or newer.
|
120 |
+
|
121 |
+
|
122 |
+
Documentation
|
123 |
+
-------------
|
124 |
+
|
125 |
+
https://frozenlist.aio-libs.org
|
126 |
+
|
127 |
+
Communication channels
|
128 |
+
----------------------
|
129 |
+
|
130 |
+
We have a *Matrix Space* `#aio-libs-space:matrix.org
|
131 |
+
<https://matrix.to/#/%23aio-libs-space:matrix.org>`_ which is
|
132 |
+
also accessible via Gitter.
|
133 |
+
|
134 |
+
Requirements
|
135 |
+
------------
|
136 |
+
|
137 |
+
- Python >= 3.8
|
138 |
+
|
139 |
+
License
|
140 |
+
-------
|
141 |
+
|
142 |
+
``frozenlist`` is offered under the Apache 2 license.
|
143 |
+
|
144 |
+
Source code
|
145 |
+
-----------
|
146 |
+
|
147 |
+
The project is hosted on GitHub_
|
148 |
+
|
149 |
+
Please file an issue in the `bug tracker
|
150 |
+
<https://github.com/aio-libs/frozenlist/issues>`_ if you have found a bug
|
151 |
+
or have some suggestions to improve the library.
|
152 |
+
|
153 |
+
.. _GitHub: https://github.com/aio-libs/frozenlist
|
154 |
+
|
155 |
+
=========
|
156 |
+
Changelog
|
157 |
+
=========
|
158 |
+
|
159 |
+
..
|
160 |
+
You should *NOT* be adding new change log entries to this file, this
|
161 |
+
file is managed by towncrier. You *may* edit previous change logs to
|
162 |
+
fix problems like typo corrections or such.
|
163 |
+
To add a new change log entry, please see
|
164 |
+
https://pip.pypa.io/en/latest/development/contributing/#news-entries
|
165 |
+
we named the news folder "changes".
|
166 |
+
|
167 |
+
WARNING: Don't drop the next directive!
|
168 |
+
|
169 |
+
.. towncrier release notes start
|
170 |
+
|
171 |
+
1.4.1 (2023-12-15)
|
172 |
+
==================
|
173 |
+
|
174 |
+
Packaging updates and notes for downstreams
|
175 |
+
-------------------------------------------
|
176 |
+
|
177 |
+
- Declared Python 3.12 and PyPy 3.8-3.10 supported officially
|
178 |
+
in the distribution package metadata.
|
179 |
+
|
180 |
+
|
181 |
+
*Related issues and pull requests on GitHub:*
|
182 |
+
`#553 <https://github.com/aio-libs/yarl/issues/553>`__.
|
183 |
+
|
184 |
+
- Replaced the packaging is replaced from an old-fashioned ``setup.py`` to an
|
185 |
+
in-tree `PEP 517 <https://peps.python.org/pep-517>`__ build backend -- by `@webknjaz <https://github.com/sponsors/webknjaz>`__.
|
186 |
+
|
187 |
+
Whenever the end-users or downstream packagers need to build ``frozenlist``
|
188 |
+
from source (a Git checkout or an sdist), they may pass a ``config_settings``
|
189 |
+
flag ``pure-python``. If this flag is not set, a C-extension will be built
|
190 |
+
and included into the distribution.
|
191 |
+
|
192 |
+
Here is how this can be done with ``pip``:
|
193 |
+
|
194 |
+
.. code-block:: console
|
195 |
+
|
196 |
+
$ python3 -m pip install . --config-settings=pure-python=
|
197 |
+
|
198 |
+
This will also work with ``-e | --editable``.
|
199 |
+
|
200 |
+
The same can be achieved via ``pypa/build``:
|
201 |
+
|
202 |
+
.. code-block:: console
|
203 |
+
|
204 |
+
$ python3 -m build --config-setting=pure-python=
|
205 |
+
|
206 |
+
Adding ``-w | --wheel`` can force ``pypa/build`` produce a wheel from source
|
207 |
+
directly, as opposed to building an ``sdist`` and then building from it.
|
208 |
+
|
209 |
+
|
210 |
+
*Related issues and pull requests on GitHub:*
|
211 |
+
`#560 <https://github.com/aio-libs/yarl/issues/560>`__.
|
212 |
+
|
213 |
+
|
214 |
+
Contributor-facing changes
|
215 |
+
--------------------------
|
216 |
+
|
217 |
+
- It is now possible to request line tracing in Cython builds using the
|
218 |
+
``with-cython-tracing`` `PEP 517 <https://peps.python.org/pep-517>`__ config setting
|
219 |
+
-- `@webknjaz <https://github.com/sponsors/webknjaz>`__.
|
220 |
+
|
221 |
+
This can be used in CI and development environment to measure coverage
|
222 |
+
on Cython modules, but is not normally useful to the end-users or
|
223 |
+
downstream packagers.
|
224 |
+
|
225 |
+
Here's a usage example:
|
226 |
+
|
227 |
+
.. code-block:: console
|
228 |
+
|
229 |
+
$ python3 -Im pip install . --config-settings=with-cython-tracing=true
|
230 |
+
|
231 |
+
For editable installs, this setting is on by default. Otherwise, it's
|
232 |
+
off unless requested explicitly.
|
233 |
+
|
234 |
+
The following produces C-files required for the Cython coverage
|
235 |
+
plugin to map the measurements back to the PYX-files:
|
236 |
+
|
237 |
+
.. code-block:: console
|
238 |
+
|
239 |
+
$ python -Im pip install -e .
|
240 |
+
|
241 |
+
Alternatively, the ``FROZENLIST_CYTHON_TRACING=1`` environment variable
|
242 |
+
can be set to do the same as the `PEP 517 <https://peps.python.org/pep-517>`__ config setting.
|
243 |
+
|
244 |
+
|
245 |
+
*Related issues and pull requests on GitHub:*
|
246 |
+
`#560 <https://github.com/aio-libs/yarl/issues/560>`__.
|
247 |
+
|
248 |
+
- Coverage collection has been implemented for the Cython modules
|
249 |
+
-- by `@webknjaz <https://github.com/sponsors/webknjaz>`__.
|
250 |
+
|
251 |
+
It will also be reported to Codecov from any non-release CI jobs.
|
252 |
+
|
253 |
+
|
254 |
+
*Related issues and pull requests on GitHub:*
|
255 |
+
`#561 <https://github.com/aio-libs/yarl/issues/561>`__.
|
256 |
+
|
257 |
+
- A step-by-step ``Release Guide`` guide has
|
258 |
+
been added, describing how to release *frozenlist* -- by `@webknjaz <https://github.com/sponsors/webknjaz>`__.
|
259 |
+
|
260 |
+
This is primarily targeting the maintainers.
|
261 |
+
|
262 |
+
|
263 |
+
*Related issues and pull requests on GitHub:*
|
264 |
+
`#563 <https://github.com/aio-libs/yarl/issues/563>`__.
|
265 |
+
|
266 |
+
- Detailed ``Contributing Guidelines`` on
|
267 |
+
authoring the changelog fragments have been published in the
|
268 |
+
documentation -- by `@webknjaz <https://github.com/sponsors/webknjaz>`__.
|
269 |
+
|
270 |
+
|
271 |
+
*Related issues and pull requests on GitHub:*
|
272 |
+
`#564 <https://github.com/aio-libs/yarl/issues/564>`__.
|
273 |
+
|
274 |
+
|
275 |
+
----
|
276 |
+
|
277 |
+
|
278 |
+
1.4.0 (2023-07-12)
|
279 |
+
==================
|
280 |
+
|
281 |
+
The published source distribution package became buildable
|
282 |
+
under Python 3.12.
|
283 |
+
|
284 |
+
|
285 |
+
----
|
286 |
+
|
287 |
+
|
288 |
+
Bugfixes
|
289 |
+
--------
|
290 |
+
|
291 |
+
- Removed an unused ``typing.Tuple`` import
|
292 |
+
`#411 <https://github.com/aio-libs/frozenlist/issues/411>`_
|
293 |
+
|
294 |
+
|
295 |
+
Deprecations and Removals
|
296 |
+
-------------------------
|
297 |
+
|
298 |
+
- Dropped Python 3.7 support.
|
299 |
+
`#413 <https://github.com/aio-libs/frozenlist/issues/413>`_
|
300 |
+
|
301 |
+
|
302 |
+
Misc
|
303 |
+
----
|
304 |
+
|
305 |
+
- `#410 <https://github.com/aio-libs/frozenlist/issues/410>`_, `#433 <https://github.com/aio-libs/frozenlist/issues/433>`_
|
306 |
+
|
307 |
+
|
308 |
+
----
|
309 |
+
|
310 |
+
|
311 |
+
1.3.3 (2022-11-08)
|
312 |
+
==================
|
313 |
+
|
314 |
+
- Fixed CI runs when creating a new release, where new towncrier versions
|
315 |
+
fail when the current version section is already present.
|
316 |
+
|
317 |
+
|
318 |
+
----
|
319 |
+
|
320 |
+
|
321 |
+
1.3.2 (2022-11-08)
|
322 |
+
==================
|
323 |
+
|
324 |
+
Misc
|
325 |
+
----
|
326 |
+
|
327 |
+
- Updated the CI runs to better check for test results and to avoid deprecated syntax. `#327 <https://github.com/aio-libs/frozenlist/issues/327>`_
|
328 |
+
|
329 |
+
|
330 |
+
----
|
331 |
+
|
332 |
+
|
333 |
+
1.3.1 (2022-08-02)
|
334 |
+
==================
|
335 |
+
|
336 |
+
The published source distribution package became buildable
|
337 |
+
under Python 3.11.
|
338 |
+
|
339 |
+
|
340 |
+
----
|
341 |
+
|
342 |
+
|
343 |
+
1.3.0 (2022-01-18)
|
344 |
+
==================
|
345 |
+
|
346 |
+
Bugfixes
|
347 |
+
--------
|
348 |
+
|
349 |
+
- Do not install C sources with binary distributions.
|
350 |
+
`#250 <https://github.com/aio-libs/frozenlist/issues/250>`_
|
351 |
+
|
352 |
+
|
353 |
+
Deprecations and Removals
|
354 |
+
-------------------------
|
355 |
+
|
356 |
+
- Dropped Python 3.6 support
|
357 |
+
`#274 <https://github.com/aio-libs/frozenlist/issues/274>`_
|
358 |
+
|
359 |
+
|
360 |
+
----
|
361 |
+
|
362 |
+
|
363 |
+
1.2.0 (2021-10-16)
|
364 |
+
==================
|
365 |
+
|
366 |
+
Features
|
367 |
+
--------
|
368 |
+
|
369 |
+
- ``FrozenList`` now supports being used as a generic type as per PEP 585, e.g. ``frozen_int_list: FrozenList[int]`` (requires Python 3.9 or newer).
|
370 |
+
`#172 <https://github.com/aio-libs/frozenlist/issues/172>`_
|
371 |
+
- Added support for Python 3.10.
|
372 |
+
`#227 <https://github.com/aio-libs/frozenlist/issues/227>`_
|
373 |
+
- Started shipping platform-specific wheels with the ``musl`` tag targeting typical Alpine Linux runtimes.
|
374 |
+
`#227 <https://github.com/aio-libs/frozenlist/issues/227>`_
|
375 |
+
- Started shipping platform-specific arm64 wheels for Apple Silicon.
|
376 |
+
`#227 <https://github.com/aio-libs/frozenlist/issues/227>`_
|
377 |
+
|
378 |
+
|
379 |
+
----
|
380 |
+
|
381 |
+
|
382 |
+
1.1.1 (2020-11-14)
|
383 |
+
==================
|
384 |
+
|
385 |
+
Bugfixes
|
386 |
+
--------
|
387 |
+
|
388 |
+
- Provide x86 Windows wheels.
|
389 |
+
`#169 <https://github.com/aio-libs/frozenlist/issues/169>`_
|
390 |
+
|
391 |
+
|
392 |
+
----
|
393 |
+
|
394 |
+
|
395 |
+
1.1.0 (2020-10-13)
|
396 |
+
==================
|
397 |
+
|
398 |
+
Features
|
399 |
+
--------
|
400 |
+
|
401 |
+
- Add support for hashing of a frozen list.
|
402 |
+
`#136 <https://github.com/aio-libs/frozenlist/issues/136>`_
|
403 |
+
|
404 |
+
- Support Python 3.8 and 3.9.
|
405 |
+
|
406 |
+
- Provide wheels for ``aarch64``, ``i686``, ``ppc64le``, ``s390x`` architectures on
|
407 |
+
Linux as well as ``x86_64``.
|
408 |
+
|
409 |
+
|
410 |
+
----
|
411 |
+
|
412 |
+
|
413 |
+
1.0.0 (2019-11-09)
|
414 |
+
==================
|
415 |
+
|
416 |
+
Deprecations and Removals
|
417 |
+
-------------------------
|
418 |
+
|
419 |
+
- Dropped support for Python 3.5; only 3.6, 3.7 and 3.8 are supported going forward.
|
420 |
+
`#24 <https://github.com/aio-libs/frozenlist/issues/24>`_
|
env-llmeval/lib/python3.10/site-packages/frozenlist-1.4.1.dist-info/RECORD
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
frozenlist-1.4.1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
2 |
+
frozenlist-1.4.1.dist-info/LICENSE,sha256=b9UkPpLdf5jsacesN3co50kFcJ_1J6W_mNbQJjwE9bY,11332
|
3 |
+
frozenlist-1.4.1.dist-info/METADATA,sha256=i-BTxwxpJrHm-I8DMpFRvXVXJiqXwUcsPiUR47NY6eg,12136
|
4 |
+
frozenlist-1.4.1.dist-info/RECORD,,
|
5 |
+
frozenlist-1.4.1.dist-info/WHEEL,sha256=vV-3gZY0A60KvZ7BiFVUnyR1ohNO_OSjBIJIoRfk_rE,225
|
6 |
+
frozenlist-1.4.1.dist-info/top_level.txt,sha256=jivtxsPXA3nK3WBWW2LW5Mtu_GHt8UZA13NeCs2cKuA,11
|
7 |
+
frozenlist/__init__.py,sha256=hrSQhfujMaz1BWlHfwuVFrPD02-pCK7jG4e9FaCZCmM,2316
|
8 |
+
frozenlist/__init__.pyi,sha256=vMEoES1xGegPtVXoCi9XydEeHsyuIq-KdeXwP5PdsaA,1470
|
9 |
+
frozenlist/__pycache__/__init__.cpython-310.pyc,,
|
10 |
+
frozenlist/_frozenlist.cpython-310-x86_64-linux-gnu.so,sha256=NlvcEP-slIw1H6qbBejxVzEOxKG33BnttUAdSoP1wA4,766040
|
11 |
+
frozenlist/_frozenlist.pyx,sha256=9V4Z1En6TZwgFD26d-sjxyhUzUm338H1Qiz4-i5ukv0,2983
|
12 |
+
frozenlist/py.typed,sha256=sow9soTwP9T_gEAQSVh7Gb8855h04Nwmhs2We-JRgZM,7
|
env-llmeval/lib/python3.10/site-packages/frozenlist-1.4.1.dist-info/WHEEL
ADDED
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
Wheel-Version: 1.0
|
2 |
+
Generator: bdist_wheel (0.42.0)
|
3 |
+
Root-Is-Purelib: false
|
4 |
+
Tag: cp310-cp310-manylinux_2_5_x86_64
|
5 |
+
Tag: cp310-cp310-manylinux1_x86_64
|
6 |
+
Tag: cp310-cp310-manylinux_2_17_x86_64
|
7 |
+
Tag: cp310-cp310-manylinux2014_x86_64
|
8 |
+
|
env-llmeval/lib/python3.10/site-packages/frozenlist-1.4.1.dist-info/top_level.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
frozenlist
|
env-llmeval/lib/python3.10/site-packages/idna/__init__.py
ADDED
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from .package_data import __version__
|
2 |
+
from .core import (
|
3 |
+
IDNABidiError,
|
4 |
+
IDNAError,
|
5 |
+
InvalidCodepoint,
|
6 |
+
InvalidCodepointContext,
|
7 |
+
alabel,
|
8 |
+
check_bidi,
|
9 |
+
check_hyphen_ok,
|
10 |
+
check_initial_combiner,
|
11 |
+
check_label,
|
12 |
+
check_nfc,
|
13 |
+
decode,
|
14 |
+
encode,
|
15 |
+
ulabel,
|
16 |
+
uts46_remap,
|
17 |
+
valid_contextj,
|
18 |
+
valid_contexto,
|
19 |
+
valid_label_length,
|
20 |
+
valid_string_length,
|
21 |
+
)
|
22 |
+
from .intranges import intranges_contain
|
23 |
+
|
24 |
+
__all__ = [
|
25 |
+
"IDNABidiError",
|
26 |
+
"IDNAError",
|
27 |
+
"InvalidCodepoint",
|
28 |
+
"InvalidCodepointContext",
|
29 |
+
"alabel",
|
30 |
+
"check_bidi",
|
31 |
+
"check_hyphen_ok",
|
32 |
+
"check_initial_combiner",
|
33 |
+
"check_label",
|
34 |
+
"check_nfc",
|
35 |
+
"decode",
|
36 |
+
"encode",
|
37 |
+
"intranges_contain",
|
38 |
+
"ulabel",
|
39 |
+
"uts46_remap",
|
40 |
+
"valid_contextj",
|
41 |
+
"valid_contexto",
|
42 |
+
"valid_label_length",
|
43 |
+
"valid_string_length",
|
44 |
+
]
|
env-llmeval/lib/python3.10/site-packages/idna/__pycache__/__init__.cpython-310.pyc
ADDED
Binary file (828 Bytes). View file
|
|
env-llmeval/lib/python3.10/site-packages/idna/__pycache__/codec.cpython-310.pyc
ADDED
Binary file (3.25 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/idna/__pycache__/compat.cpython-310.pyc
ADDED
Binary file (728 Bytes). View file
|
|
env-llmeval/lib/python3.10/site-packages/idna/__pycache__/core.cpython-310.pyc
ADDED
Binary file (9.46 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/idna/__pycache__/idnadata.cpython-310.pyc
ADDED
Binary file (194 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/idna/__pycache__/intranges.cpython-310.pyc
ADDED
Binary file (1.97 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/idna/__pycache__/package_data.cpython-310.pyc
ADDED
Binary file (192 Bytes). View file
|
|
env-llmeval/lib/python3.10/site-packages/idna/__pycache__/uts46data.cpython-310.pyc
ADDED
Binary file (152 kB). View file
|
|
env-llmeval/lib/python3.10/site-packages/idna/codec.py
ADDED
@@ -0,0 +1,118 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from .core import encode, decode, alabel, ulabel, IDNAError
|
2 |
+
import codecs
|
3 |
+
import re
|
4 |
+
from typing import Any, Tuple, Optional
|
5 |
+
|
6 |
+
_unicode_dots_re = re.compile('[\u002e\u3002\uff0e\uff61]')
|
7 |
+
|
8 |
+
class Codec(codecs.Codec):
|
9 |
+
|
10 |
+
def encode(self, data: str, errors: str = 'strict') -> Tuple[bytes, int]:
|
11 |
+
if errors != 'strict':
|
12 |
+
raise IDNAError('Unsupported error handling \"{}\"'.format(errors))
|
13 |
+
|
14 |
+
if not data:
|
15 |
+
return b"", 0
|
16 |
+
|
17 |
+
return encode(data), len(data)
|
18 |
+
|
19 |
+
def decode(self, data: bytes, errors: str = 'strict') -> Tuple[str, int]:
|
20 |
+
if errors != 'strict':
|
21 |
+
raise IDNAError('Unsupported error handling \"{}\"'.format(errors))
|
22 |
+
|
23 |
+
if not data:
|
24 |
+
return '', 0
|
25 |
+
|
26 |
+
return decode(data), len(data)
|
27 |
+
|
28 |
+
class IncrementalEncoder(codecs.BufferedIncrementalEncoder):
|
29 |
+
def _buffer_encode(self, data: str, errors: str, final: bool) -> Tuple[bytes, int]:
|
30 |
+
if errors != 'strict':
|
31 |
+
raise IDNAError('Unsupported error handling \"{}\"'.format(errors))
|
32 |
+
|
33 |
+
if not data:
|
34 |
+
return b'', 0
|
35 |
+
|
36 |
+
labels = _unicode_dots_re.split(data)
|
37 |
+
trailing_dot = b''
|
38 |
+
if labels:
|
39 |
+
if not labels[-1]:
|
40 |
+
trailing_dot = b'.'
|
41 |
+
del labels[-1]
|
42 |
+
elif not final:
|
43 |
+
# Keep potentially unfinished label until the next call
|
44 |
+
del labels[-1]
|
45 |
+
if labels:
|
46 |
+
trailing_dot = b'.'
|
47 |
+
|
48 |
+
result = []
|
49 |
+
size = 0
|
50 |
+
for label in labels:
|
51 |
+
result.append(alabel(label))
|
52 |
+
if size:
|
53 |
+
size += 1
|
54 |
+
size += len(label)
|
55 |
+
|
56 |
+
# Join with U+002E
|
57 |
+
result_bytes = b'.'.join(result) + trailing_dot
|
58 |
+
size += len(trailing_dot)
|
59 |
+
return result_bytes, size
|
60 |
+
|
61 |
+
class IncrementalDecoder(codecs.BufferedIncrementalDecoder):
|
62 |
+
def _buffer_decode(self, data: Any, errors: str, final: bool) -> Tuple[str, int]:
|
63 |
+
if errors != 'strict':
|
64 |
+
raise IDNAError('Unsupported error handling \"{}\"'.format(errors))
|
65 |
+
|
66 |
+
if not data:
|
67 |
+
return ('', 0)
|
68 |
+
|
69 |
+
if not isinstance(data, str):
|
70 |
+
data = str(data, 'ascii')
|
71 |
+
|
72 |
+
labels = _unicode_dots_re.split(data)
|
73 |
+
trailing_dot = ''
|
74 |
+
if labels:
|
75 |
+
if not labels[-1]:
|
76 |
+
trailing_dot = '.'
|
77 |
+
del labels[-1]
|
78 |
+
elif not final:
|
79 |
+
# Keep potentially unfinished label until the next call
|
80 |
+
del labels[-1]
|
81 |
+
if labels:
|
82 |
+
trailing_dot = '.'
|
83 |
+
|
84 |
+
result = []
|
85 |
+
size = 0
|
86 |
+
for label in labels:
|
87 |
+
result.append(ulabel(label))
|
88 |
+
if size:
|
89 |
+
size += 1
|
90 |
+
size += len(label)
|
91 |
+
|
92 |
+
result_str = '.'.join(result) + trailing_dot
|
93 |
+
size += len(trailing_dot)
|
94 |
+
return (result_str, size)
|
95 |
+
|
96 |
+
|
97 |
+
class StreamWriter(Codec, codecs.StreamWriter):
|
98 |
+
pass
|
99 |
+
|
100 |
+
|
101 |
+
class StreamReader(Codec, codecs.StreamReader):
|
102 |
+
pass
|
103 |
+
|
104 |
+
|
105 |
+
def search_function(name: str) -> Optional[codecs.CodecInfo]:
|
106 |
+
if name != 'idna2008':
|
107 |
+
return None
|
108 |
+
return codecs.CodecInfo(
|
109 |
+
name=name,
|
110 |
+
encode=Codec().encode,
|
111 |
+
decode=Codec().decode,
|
112 |
+
incrementalencoder=IncrementalEncoder,
|
113 |
+
incrementaldecoder=IncrementalDecoder,
|
114 |
+
streamwriter=StreamWriter,
|
115 |
+
streamreader=StreamReader,
|
116 |
+
)
|
117 |
+
|
118 |
+
codecs.register(search_function)
|
env-llmeval/lib/python3.10/site-packages/idna/compat.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from .core import *
|
2 |
+
from .codec import *
|
3 |
+
from typing import Any, Union
|
4 |
+
|
5 |
+
def ToASCII(label: str) -> bytes:
|
6 |
+
return encode(label)
|
7 |
+
|
8 |
+
def ToUnicode(label: Union[bytes, bytearray]) -> str:
|
9 |
+
return decode(label)
|
10 |
+
|
11 |
+
def nameprep(s: Any) -> None:
|
12 |
+
raise NotImplementedError('IDNA 2008 does not utilise nameprep protocol')
|
13 |
+
|
env-llmeval/lib/python3.10/site-packages/idna/core.py
ADDED
@@ -0,0 +1,395 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from . import idnadata
|
2 |
+
import bisect
|
3 |
+
import unicodedata
|
4 |
+
import re
|
5 |
+
from typing import Union, Optional
|
6 |
+
from .intranges import intranges_contain
|
7 |
+
|
8 |
+
_virama_combining_class = 9
|
9 |
+
_alabel_prefix = b'xn--'
|
10 |
+
_unicode_dots_re = re.compile('[\u002e\u3002\uff0e\uff61]')
|
11 |
+
|
12 |
+
class IDNAError(UnicodeError):
|
13 |
+
""" Base exception for all IDNA-encoding related problems """
|
14 |
+
pass
|
15 |
+
|
16 |
+
|
17 |
+
class IDNABidiError(IDNAError):
|
18 |
+
""" Exception when bidirectional requirements are not satisfied """
|
19 |
+
pass
|
20 |
+
|
21 |
+
|
22 |
+
class InvalidCodepoint(IDNAError):
|
23 |
+
""" Exception when a disallowed or unallocated codepoint is used """
|
24 |
+
pass
|
25 |
+
|
26 |
+
|
27 |
+
class InvalidCodepointContext(IDNAError):
|
28 |
+
""" Exception when the codepoint is not valid in the context it is used """
|
29 |
+
pass
|
30 |
+
|
31 |
+
|
32 |
+
def _combining_class(cp: int) -> int:
|
33 |
+
v = unicodedata.combining(chr(cp))
|
34 |
+
if v == 0:
|
35 |
+
if not unicodedata.name(chr(cp)):
|
36 |
+
raise ValueError('Unknown character in unicodedata')
|
37 |
+
return v
|
38 |
+
|
39 |
+
def _is_script(cp: str, script: str) -> bool:
|
40 |
+
return intranges_contain(ord(cp), idnadata.scripts[script])
|
41 |
+
|
42 |
+
def _punycode(s: str) -> bytes:
|
43 |
+
return s.encode('punycode')
|
44 |
+
|
45 |
+
def _unot(s: int) -> str:
|
46 |
+
return 'U+{:04X}'.format(s)
|
47 |
+
|
48 |
+
|
49 |
+
def valid_label_length(label: Union[bytes, str]) -> bool:
|
50 |
+
if len(label) > 63:
|
51 |
+
return False
|
52 |
+
return True
|
53 |
+
|
54 |
+
|
55 |
+
def valid_string_length(label: Union[bytes, str], trailing_dot: bool) -> bool:
|
56 |
+
if len(label) > (254 if trailing_dot else 253):
|
57 |
+
return False
|
58 |
+
return True
|
59 |
+
|
60 |
+
|
61 |
+
def check_bidi(label: str, check_ltr: bool = False) -> bool:
|
62 |
+
# Bidi rules should only be applied if string contains RTL characters
|
63 |
+
bidi_label = False
|
64 |
+
for (idx, cp) in enumerate(label, 1):
|
65 |
+
direction = unicodedata.bidirectional(cp)
|
66 |
+
if direction == '':
|
67 |
+
# String likely comes from a newer version of Unicode
|
68 |
+
raise IDNABidiError('Unknown directionality in label {} at position {}'.format(repr(label), idx))
|
69 |
+
if direction in ['R', 'AL', 'AN']:
|
70 |
+
bidi_label = True
|
71 |
+
if not bidi_label and not check_ltr:
|
72 |
+
return True
|
73 |
+
|
74 |
+
# Bidi rule 1
|
75 |
+
direction = unicodedata.bidirectional(label[0])
|
76 |
+
if direction in ['R', 'AL']:
|
77 |
+
rtl = True
|
78 |
+
elif direction == 'L':
|
79 |
+
rtl = False
|
80 |
+
else:
|
81 |
+
raise IDNABidiError('First codepoint in label {} must be directionality L, R or AL'.format(repr(label)))
|
82 |
+
|
83 |
+
valid_ending = False
|
84 |
+
number_type = None # type: Optional[str]
|
85 |
+
for (idx, cp) in enumerate(label, 1):
|
86 |
+
direction = unicodedata.bidirectional(cp)
|
87 |
+
|
88 |
+
if rtl:
|
89 |
+
# Bidi rule 2
|
90 |
+
if not direction in ['R', 'AL', 'AN', 'EN', 'ES', 'CS', 'ET', 'ON', 'BN', 'NSM']:
|
91 |
+
raise IDNABidiError('Invalid direction for codepoint at position {} in a right-to-left label'.format(idx))
|
92 |
+
# Bidi rule 3
|
93 |
+
if direction in ['R', 'AL', 'EN', 'AN']:
|
94 |
+
valid_ending = True
|
95 |
+
elif direction != 'NSM':
|
96 |
+
valid_ending = False
|
97 |
+
# Bidi rule 4
|
98 |
+
if direction in ['AN', 'EN']:
|
99 |
+
if not number_type:
|
100 |
+
number_type = direction
|
101 |
+
else:
|
102 |
+
if number_type != direction:
|
103 |
+
raise IDNABidiError('Can not mix numeral types in a right-to-left label')
|
104 |
+
else:
|
105 |
+
# Bidi rule 5
|
106 |
+
if not direction in ['L', 'EN', 'ES', 'CS', 'ET', 'ON', 'BN', 'NSM']:
|
107 |
+
raise IDNABidiError('Invalid direction for codepoint at position {} in a left-to-right label'.format(idx))
|
108 |
+
# Bidi rule 6
|
109 |
+
if direction in ['L', 'EN']:
|
110 |
+
valid_ending = True
|
111 |
+
elif direction != 'NSM':
|
112 |
+
valid_ending = False
|
113 |
+
|
114 |
+
if not valid_ending:
|
115 |
+
raise IDNABidiError('Label ends with illegal codepoint directionality')
|
116 |
+
|
117 |
+
return True
|
118 |
+
|
119 |
+
|
120 |
+
def check_initial_combiner(label: str) -> bool:
|
121 |
+
if unicodedata.category(label[0])[0] == 'M':
|
122 |
+
raise IDNAError('Label begins with an illegal combining character')
|
123 |
+
return True
|
124 |
+
|
125 |
+
|
126 |
+
def check_hyphen_ok(label: str) -> bool:
|
127 |
+
if label[2:4] == '--':
|
128 |
+
raise IDNAError('Label has disallowed hyphens in 3rd and 4th position')
|
129 |
+
if label[0] == '-' or label[-1] == '-':
|
130 |
+
raise IDNAError('Label must not start or end with a hyphen')
|
131 |
+
return True
|
132 |
+
|
133 |
+
|
134 |
+
def check_nfc(label: str) -> None:
|
135 |
+
if unicodedata.normalize('NFC', label) != label:
|
136 |
+
raise IDNAError('Label must be in Normalization Form C')
|
137 |
+
|
138 |
+
|
139 |
+
def valid_contextj(label: str, pos: int) -> bool:
|
140 |
+
cp_value = ord(label[pos])
|
141 |
+
|
142 |
+
if cp_value == 0x200c:
|
143 |
+
|
144 |
+
if pos > 0:
|
145 |
+
if _combining_class(ord(label[pos - 1])) == _virama_combining_class:
|
146 |
+
return True
|
147 |
+
|
148 |
+
ok = False
|
149 |
+
for i in range(pos-1, -1, -1):
|
150 |
+
joining_type = idnadata.joining_types.get(ord(label[i]))
|
151 |
+
if joining_type == ord('T'):
|
152 |
+
continue
|
153 |
+
elif joining_type in [ord('L'), ord('D')]:
|
154 |
+
ok = True
|
155 |
+
break
|
156 |
+
else:
|
157 |
+
break
|
158 |
+
|
159 |
+
if not ok:
|
160 |
+
return False
|
161 |
+
|
162 |
+
ok = False
|
163 |
+
for i in range(pos+1, len(label)):
|
164 |
+
joining_type = idnadata.joining_types.get(ord(label[i]))
|
165 |
+
if joining_type == ord('T'):
|
166 |
+
continue
|
167 |
+
elif joining_type in [ord('R'), ord('D')]:
|
168 |
+
ok = True
|
169 |
+
break
|
170 |
+
else:
|
171 |
+
break
|
172 |
+
return ok
|
173 |
+
|
174 |
+
if cp_value == 0x200d:
|
175 |
+
|
176 |
+
if pos > 0:
|
177 |
+
if _combining_class(ord(label[pos - 1])) == _virama_combining_class:
|
178 |
+
return True
|
179 |
+
return False
|
180 |
+
|
181 |
+
else:
|
182 |
+
|
183 |
+
return False
|
184 |
+
|
185 |
+
|
186 |
+
def valid_contexto(label: str, pos: int, exception: bool = False) -> bool:
|
187 |
+
cp_value = ord(label[pos])
|
188 |
+
|
189 |
+
if cp_value == 0x00b7:
|
190 |
+
if 0 < pos < len(label)-1:
|
191 |
+
if ord(label[pos - 1]) == 0x006c and ord(label[pos + 1]) == 0x006c:
|
192 |
+
return True
|
193 |
+
return False
|
194 |
+
|
195 |
+
elif cp_value == 0x0375:
|
196 |
+
if pos < len(label)-1 and len(label) > 1:
|
197 |
+
return _is_script(label[pos + 1], 'Greek')
|
198 |
+
return False
|
199 |
+
|
200 |
+
elif cp_value == 0x05f3 or cp_value == 0x05f4:
|
201 |
+
if pos > 0:
|
202 |
+
return _is_script(label[pos - 1], 'Hebrew')
|
203 |
+
return False
|
204 |
+
|
205 |
+
elif cp_value == 0x30fb:
|
206 |
+
for cp in label:
|
207 |
+
if cp == '\u30fb':
|
208 |
+
continue
|
209 |
+
if _is_script(cp, 'Hiragana') or _is_script(cp, 'Katakana') or _is_script(cp, 'Han'):
|
210 |
+
return True
|
211 |
+
return False
|
212 |
+
|
213 |
+
elif 0x660 <= cp_value <= 0x669:
|
214 |
+
for cp in label:
|
215 |
+
if 0x6f0 <= ord(cp) <= 0x06f9:
|
216 |
+
return False
|
217 |
+
return True
|
218 |
+
|
219 |
+
elif 0x6f0 <= cp_value <= 0x6f9:
|
220 |
+
for cp in label:
|
221 |
+
if 0x660 <= ord(cp) <= 0x0669:
|
222 |
+
return False
|
223 |
+
return True
|
224 |
+
|
225 |
+
return False
|
226 |
+
|
227 |
+
|
228 |
+
def check_label(label: Union[str, bytes, bytearray]) -> None:
|
229 |
+
if isinstance(label, (bytes, bytearray)):
|
230 |
+
label = label.decode('utf-8')
|
231 |
+
if len(label) == 0:
|
232 |
+
raise IDNAError('Empty Label')
|
233 |
+
|
234 |
+
check_nfc(label)
|
235 |
+
check_hyphen_ok(label)
|
236 |
+
check_initial_combiner(label)
|
237 |
+
|
238 |
+
for (pos, cp) in enumerate(label):
|
239 |
+
cp_value = ord(cp)
|
240 |
+
if intranges_contain(cp_value, idnadata.codepoint_classes['PVALID']):
|
241 |
+
continue
|
242 |
+
elif intranges_contain(cp_value, idnadata.codepoint_classes['CONTEXTJ']):
|
243 |
+
if not valid_contextj(label, pos):
|
244 |
+
raise InvalidCodepointContext('Joiner {} not allowed at position {} in {}'.format(
|
245 |
+
_unot(cp_value), pos+1, repr(label)))
|
246 |
+
elif intranges_contain(cp_value, idnadata.codepoint_classes['CONTEXTO']):
|
247 |
+
if not valid_contexto(label, pos):
|
248 |
+
raise InvalidCodepointContext('Codepoint {} not allowed at position {} in {}'.format(_unot(cp_value), pos+1, repr(label)))
|
249 |
+
else:
|
250 |
+
raise InvalidCodepoint('Codepoint {} at position {} of {} not allowed'.format(_unot(cp_value), pos+1, repr(label)))
|
251 |
+
|
252 |
+
check_bidi(label)
|
253 |
+
|
254 |
+
|
255 |
+
def alabel(label: str) -> bytes:
|
256 |
+
try:
|
257 |
+
label_bytes = label.encode('ascii')
|
258 |
+
ulabel(label_bytes)
|
259 |
+
if not valid_label_length(label_bytes):
|
260 |
+
raise IDNAError('Label too long')
|
261 |
+
return label_bytes
|
262 |
+
except UnicodeEncodeError:
|
263 |
+
pass
|
264 |
+
|
265 |
+
check_label(label)
|
266 |
+
label_bytes = _alabel_prefix + _punycode(label)
|
267 |
+
|
268 |
+
if not valid_label_length(label_bytes):
|
269 |
+
raise IDNAError('Label too long')
|
270 |
+
|
271 |
+
return label_bytes
|
272 |
+
|
273 |
+
|
274 |
+
def ulabel(label: Union[str, bytes, bytearray]) -> str:
|
275 |
+
if not isinstance(label, (bytes, bytearray)):
|
276 |
+
try:
|
277 |
+
label_bytes = label.encode('ascii')
|
278 |
+
except UnicodeEncodeError:
|
279 |
+
check_label(label)
|
280 |
+
return label
|
281 |
+
else:
|
282 |
+
label_bytes = label
|
283 |
+
|
284 |
+
label_bytes = label_bytes.lower()
|
285 |
+
if label_bytes.startswith(_alabel_prefix):
|
286 |
+
label_bytes = label_bytes[len(_alabel_prefix):]
|
287 |
+
if not label_bytes:
|
288 |
+
raise IDNAError('Malformed A-label, no Punycode eligible content found')
|
289 |
+
if label_bytes.decode('ascii')[-1] == '-':
|
290 |
+
raise IDNAError('A-label must not end with a hyphen')
|
291 |
+
else:
|
292 |
+
check_label(label_bytes)
|
293 |
+
return label_bytes.decode('ascii')
|
294 |
+
|
295 |
+
try:
|
296 |
+
label = label_bytes.decode('punycode')
|
297 |
+
except UnicodeError:
|
298 |
+
raise IDNAError('Invalid A-label')
|
299 |
+
check_label(label)
|
300 |
+
return label
|
301 |
+
|
302 |
+
|
303 |
+
def uts46_remap(domain: str, std3_rules: bool = True, transitional: bool = False) -> str:
|
304 |
+
"""Re-map the characters in the string according to UTS46 processing."""
|
305 |
+
from .uts46data import uts46data
|
306 |
+
output = ''
|
307 |
+
|
308 |
+
for pos, char in enumerate(domain):
|
309 |
+
code_point = ord(char)
|
310 |
+
try:
|
311 |
+
uts46row = uts46data[code_point if code_point < 256 else
|
312 |
+
bisect.bisect_left(uts46data, (code_point, 'Z')) - 1]
|
313 |
+
status = uts46row[1]
|
314 |
+
replacement = None # type: Optional[str]
|
315 |
+
if len(uts46row) == 3:
|
316 |
+
replacement = uts46row[2]
|
317 |
+
if (status == 'V' or
|
318 |
+
(status == 'D' and not transitional) or
|
319 |
+
(status == '3' and not std3_rules and replacement is None)):
|
320 |
+
output += char
|
321 |
+
elif replacement is not None and (status == 'M' or
|
322 |
+
(status == '3' and not std3_rules) or
|
323 |
+
(status == 'D' and transitional)):
|
324 |
+
output += replacement
|
325 |
+
elif status != 'I':
|
326 |
+
raise IndexError()
|
327 |
+
except IndexError:
|
328 |
+
raise InvalidCodepoint(
|
329 |
+
'Codepoint {} not allowed at position {} in {}'.format(
|
330 |
+
_unot(code_point), pos + 1, repr(domain)))
|
331 |
+
|
332 |
+
return unicodedata.normalize('NFC', output)
|
333 |
+
|
334 |
+
|
335 |
+
def encode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool = False, std3_rules: bool = False, transitional: bool = False) -> bytes:
|
336 |
+
if not isinstance(s, str):
|
337 |
+
try:
|
338 |
+
s = str(s, 'ascii')
|
339 |
+
except UnicodeDecodeError:
|
340 |
+
raise IDNAError('should pass a unicode string to the function rather than a byte string.')
|
341 |
+
if uts46:
|
342 |
+
s = uts46_remap(s, std3_rules, transitional)
|
343 |
+
trailing_dot = False
|
344 |
+
result = []
|
345 |
+
if strict:
|
346 |
+
labels = s.split('.')
|
347 |
+
else:
|
348 |
+
labels = _unicode_dots_re.split(s)
|
349 |
+
if not labels or labels == ['']:
|
350 |
+
raise IDNAError('Empty domain')
|
351 |
+
if labels[-1] == '':
|
352 |
+
del labels[-1]
|
353 |
+
trailing_dot = True
|
354 |
+
for label in labels:
|
355 |
+
s = alabel(label)
|
356 |
+
if s:
|
357 |
+
result.append(s)
|
358 |
+
else:
|
359 |
+
raise IDNAError('Empty label')
|
360 |
+
if trailing_dot:
|
361 |
+
result.append(b'')
|
362 |
+
s = b'.'.join(result)
|
363 |
+
if not valid_string_length(s, trailing_dot):
|
364 |
+
raise IDNAError('Domain too long')
|
365 |
+
return s
|
366 |
+
|
367 |
+
|
368 |
+
def decode(s: Union[str, bytes, bytearray], strict: bool = False, uts46: bool = False, std3_rules: bool = False) -> str:
|
369 |
+
try:
|
370 |
+
if not isinstance(s, str):
|
371 |
+
s = str(s, 'ascii')
|
372 |
+
except UnicodeDecodeError:
|
373 |
+
raise IDNAError('Invalid ASCII in A-label')
|
374 |
+
if uts46:
|
375 |
+
s = uts46_remap(s, std3_rules, False)
|
376 |
+
trailing_dot = False
|
377 |
+
result = []
|
378 |
+
if not strict:
|
379 |
+
labels = _unicode_dots_re.split(s)
|
380 |
+
else:
|
381 |
+
labels = s.split('.')
|
382 |
+
if not labels or labels == ['']:
|
383 |
+
raise IDNAError('Empty domain')
|
384 |
+
if not labels[-1]:
|
385 |
+
del labels[-1]
|
386 |
+
trailing_dot = True
|
387 |
+
for label in labels:
|
388 |
+
s = ulabel(label)
|
389 |
+
if s:
|
390 |
+
result.append(s)
|
391 |
+
else:
|
392 |
+
raise IDNAError('Empty label')
|
393 |
+
if trailing_dot:
|
394 |
+
result.append('')
|
395 |
+
return '.'.join(result)
|
env-llmeval/lib/python3.10/site-packages/idna/idnadata.py
ADDED
@@ -0,0 +1,4245 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This file is automatically generated by tools/idna-data
|
2 |
+
|
3 |
+
__version__ = '15.1.0'
|
4 |
+
scripts = {
|
5 |
+
'Greek': (
|
6 |
+
0x37000000374,
|
7 |
+
0x37500000378,
|
8 |
+
0x37a0000037e,
|
9 |
+
0x37f00000380,
|
10 |
+
0x38400000385,
|
11 |
+
0x38600000387,
|
12 |
+
0x3880000038b,
|
13 |
+
0x38c0000038d,
|
14 |
+
0x38e000003a2,
|
15 |
+
0x3a3000003e2,
|
16 |
+
0x3f000000400,
|
17 |
+
0x1d2600001d2b,
|
18 |
+
0x1d5d00001d62,
|
19 |
+
0x1d6600001d6b,
|
20 |
+
0x1dbf00001dc0,
|
21 |
+
0x1f0000001f16,
|
22 |
+
0x1f1800001f1e,
|
23 |
+
0x1f2000001f46,
|
24 |
+
0x1f4800001f4e,
|
25 |
+
0x1f5000001f58,
|
26 |
+
0x1f5900001f5a,
|
27 |
+
0x1f5b00001f5c,
|
28 |
+
0x1f5d00001f5e,
|
29 |
+
0x1f5f00001f7e,
|
30 |
+
0x1f8000001fb5,
|
31 |
+
0x1fb600001fc5,
|
32 |
+
0x1fc600001fd4,
|
33 |
+
0x1fd600001fdc,
|
34 |
+
0x1fdd00001ff0,
|
35 |
+
0x1ff200001ff5,
|
36 |
+
0x1ff600001fff,
|
37 |
+
0x212600002127,
|
38 |
+
0xab650000ab66,
|
39 |
+
0x101400001018f,
|
40 |
+
0x101a0000101a1,
|
41 |
+
0x1d2000001d246,
|
42 |
+
),
|
43 |
+
'Han': (
|
44 |
+
0x2e8000002e9a,
|
45 |
+
0x2e9b00002ef4,
|
46 |
+
0x2f0000002fd6,
|
47 |
+
0x300500003006,
|
48 |
+
0x300700003008,
|
49 |
+
0x30210000302a,
|
50 |
+
0x30380000303c,
|
51 |
+
0x340000004dc0,
|
52 |
+
0x4e000000a000,
|
53 |
+
0xf9000000fa6e,
|
54 |
+
0xfa700000fada,
|
55 |
+
0x16fe200016fe4,
|
56 |
+
0x16ff000016ff2,
|
57 |
+
0x200000002a6e0,
|
58 |
+
0x2a7000002b73a,
|
59 |
+
0x2b7400002b81e,
|
60 |
+
0x2b8200002cea2,
|
61 |
+
0x2ceb00002ebe1,
|
62 |
+
0x2ebf00002ee5e,
|
63 |
+
0x2f8000002fa1e,
|
64 |
+
0x300000003134b,
|
65 |
+
0x31350000323b0,
|
66 |
+
),
|
67 |
+
'Hebrew': (
|
68 |
+
0x591000005c8,
|
69 |
+
0x5d0000005eb,
|
70 |
+
0x5ef000005f5,
|
71 |
+
0xfb1d0000fb37,
|
72 |
+
0xfb380000fb3d,
|
73 |
+
0xfb3e0000fb3f,
|
74 |
+
0xfb400000fb42,
|
75 |
+
0xfb430000fb45,
|
76 |
+
0xfb460000fb50,
|
77 |
+
),
|
78 |
+
'Hiragana': (
|
79 |
+
0x304100003097,
|
80 |
+
0x309d000030a0,
|
81 |
+
0x1b0010001b120,
|
82 |
+
0x1b1320001b133,
|
83 |
+
0x1b1500001b153,
|
84 |
+
0x1f2000001f201,
|
85 |
+
),
|
86 |
+
'Katakana': (
|
87 |
+
0x30a1000030fb,
|
88 |
+
0x30fd00003100,
|
89 |
+
0x31f000003200,
|
90 |
+
0x32d0000032ff,
|
91 |
+
0x330000003358,
|
92 |
+
0xff660000ff70,
|
93 |
+
0xff710000ff9e,
|
94 |
+
0x1aff00001aff4,
|
95 |
+
0x1aff50001affc,
|
96 |
+
0x1affd0001afff,
|
97 |
+
0x1b0000001b001,
|
98 |
+
0x1b1200001b123,
|
99 |
+
0x1b1550001b156,
|
100 |
+
0x1b1640001b168,
|
101 |
+
),
|
102 |
+
}
|
103 |
+
joining_types = {
|
104 |
+
0xad: 84,
|
105 |
+
0x300: 84,
|
106 |
+
0x301: 84,
|
107 |
+
0x302: 84,
|
108 |
+
0x303: 84,
|
109 |
+
0x304: 84,
|
110 |
+
0x305: 84,
|
111 |
+
0x306: 84,
|
112 |
+
0x307: 84,
|
113 |
+
0x308: 84,
|
114 |
+
0x309: 84,
|
115 |
+
0x30a: 84,
|
116 |
+
0x30b: 84,
|
117 |
+
0x30c: 84,
|
118 |
+
0x30d: 84,
|
119 |
+
0x30e: 84,
|
120 |
+
0x30f: 84,
|
121 |
+
0x310: 84,
|
122 |
+
0x311: 84,
|
123 |
+
0x312: 84,
|
124 |
+
0x313: 84,
|
125 |
+
0x314: 84,
|
126 |
+
0x315: 84,
|
127 |
+
0x316: 84,
|
128 |
+
0x317: 84,
|
129 |
+
0x318: 84,
|
130 |
+
0x319: 84,
|
131 |
+
0x31a: 84,
|
132 |
+
0x31b: 84,
|
133 |
+
0x31c: 84,
|
134 |
+
0x31d: 84,
|
135 |
+
0x31e: 84,
|
136 |
+
0x31f: 84,
|
137 |
+
0x320: 84,
|
138 |
+
0x321: 84,
|
139 |
+
0x322: 84,
|
140 |
+
0x323: 84,
|
141 |
+
0x324: 84,
|
142 |
+
0x325: 84,
|
143 |
+
0x326: 84,
|
144 |
+
0x327: 84,
|
145 |
+
0x328: 84,
|
146 |
+
0x329: 84,
|
147 |
+
0x32a: 84,
|
148 |
+
0x32b: 84,
|
149 |
+
0x32c: 84,
|
150 |
+
0x32d: 84,
|
151 |
+
0x32e: 84,
|
152 |
+
0x32f: 84,
|
153 |
+
0x330: 84,
|
154 |
+
0x331: 84,
|
155 |
+
0x332: 84,
|
156 |
+
0x333: 84,
|
157 |
+
0x334: 84,
|
158 |
+
0x335: 84,
|
159 |
+
0x336: 84,
|
160 |
+
0x337: 84,
|
161 |
+
0x338: 84,
|
162 |
+
0x339: 84,
|
163 |
+
0x33a: 84,
|
164 |
+
0x33b: 84,
|
165 |
+
0x33c: 84,
|
166 |
+
0x33d: 84,
|
167 |
+
0x33e: 84,
|
168 |
+
0x33f: 84,
|
169 |
+
0x340: 84,
|
170 |
+
0x341: 84,
|
171 |
+
0x342: 84,
|
172 |
+
0x343: 84,
|
173 |
+
0x344: 84,
|
174 |
+
0x345: 84,
|
175 |
+
0x346: 84,
|
176 |
+
0x347: 84,
|
177 |
+
0x348: 84,
|
178 |
+
0x349: 84,
|
179 |
+
0x34a: 84,
|
180 |
+
0x34b: 84,
|
181 |
+
0x34c: 84,
|
182 |
+
0x34d: 84,
|
183 |
+
0x34e: 84,
|
184 |
+
0x34f: 84,
|
185 |
+
0x350: 84,
|
186 |
+
0x351: 84,
|
187 |
+
0x352: 84,
|
188 |
+
0x353: 84,
|
189 |
+
0x354: 84,
|
190 |
+
0x355: 84,
|
191 |
+
0x356: 84,
|
192 |
+
0x357: 84,
|
193 |
+
0x358: 84,
|
194 |
+
0x359: 84,
|
195 |
+
0x35a: 84,
|
196 |
+
0x35b: 84,
|
197 |
+
0x35c: 84,
|
198 |
+
0x35d: 84,
|
199 |
+
0x35e: 84,
|
200 |
+
0x35f: 84,
|
201 |
+
0x360: 84,
|
202 |
+
0x361: 84,
|
203 |
+
0x362: 84,
|
204 |
+
0x363: 84,
|
205 |
+
0x364: 84,
|
206 |
+
0x365: 84,
|
207 |
+
0x366: 84,
|
208 |
+
0x367: 84,
|
209 |
+
0x368: 84,
|
210 |
+
0x369: 84,
|
211 |
+
0x36a: 84,
|
212 |
+
0x36b: 84,
|
213 |
+
0x36c: 84,
|
214 |
+
0x36d: 84,
|
215 |
+
0x36e: 84,
|
216 |
+
0x36f: 84,
|
217 |
+
0x483: 84,
|
218 |
+
0x484: 84,
|
219 |
+
0x485: 84,
|
220 |
+
0x486: 84,
|
221 |
+
0x487: 84,
|
222 |
+
0x488: 84,
|
223 |
+
0x489: 84,
|
224 |
+
0x591: 84,
|
225 |
+
0x592: 84,
|
226 |
+
0x593: 84,
|
227 |
+
0x594: 84,
|
228 |
+
0x595: 84,
|
229 |
+
0x596: 84,
|
230 |
+
0x597: 84,
|
231 |
+
0x598: 84,
|
232 |
+
0x599: 84,
|
233 |
+
0x59a: 84,
|
234 |
+
0x59b: 84,
|
235 |
+
0x59c: 84,
|
236 |
+
0x59d: 84,
|
237 |
+
0x59e: 84,
|
238 |
+
0x59f: 84,
|
239 |
+
0x5a0: 84,
|
240 |
+
0x5a1: 84,
|
241 |
+
0x5a2: 84,
|
242 |
+
0x5a3: 84,
|
243 |
+
0x5a4: 84,
|
244 |
+
0x5a5: 84,
|
245 |
+
0x5a6: 84,
|
246 |
+
0x5a7: 84,
|
247 |
+
0x5a8: 84,
|
248 |
+
0x5a9: 84,
|
249 |
+
0x5aa: 84,
|
250 |
+
0x5ab: 84,
|
251 |
+
0x5ac: 84,
|
252 |
+
0x5ad: 84,
|
253 |
+
0x5ae: 84,
|
254 |
+
0x5af: 84,
|
255 |
+
0x5b0: 84,
|
256 |
+
0x5b1: 84,
|
257 |
+
0x5b2: 84,
|
258 |
+
0x5b3: 84,
|
259 |
+
0x5b4: 84,
|
260 |
+
0x5b5: 84,
|
261 |
+
0x5b6: 84,
|
262 |
+
0x5b7: 84,
|
263 |
+
0x5b8: 84,
|
264 |
+
0x5b9: 84,
|
265 |
+
0x5ba: 84,
|
266 |
+
0x5bb: 84,
|
267 |
+
0x5bc: 84,
|
268 |
+
0x5bd: 84,
|
269 |
+
0x5bf: 84,
|
270 |
+
0x5c1: 84,
|
271 |
+
0x5c2: 84,
|
272 |
+
0x5c4: 84,
|
273 |
+
0x5c5: 84,
|
274 |
+
0x5c7: 84,
|
275 |
+
0x610: 84,
|
276 |
+
0x611: 84,
|
277 |
+
0x612: 84,
|
278 |
+
0x613: 84,
|
279 |
+
0x614: 84,
|
280 |
+
0x615: 84,
|
281 |
+
0x616: 84,
|
282 |
+
0x617: 84,
|
283 |
+
0x618: 84,
|
284 |
+
0x619: 84,
|
285 |
+
0x61a: 84,
|
286 |
+
0x61c: 84,
|
287 |
+
0x620: 68,
|
288 |
+
0x622: 82,
|
289 |
+
0x623: 82,
|
290 |
+
0x624: 82,
|
291 |
+
0x625: 82,
|
292 |
+
0x626: 68,
|
293 |
+
0x627: 82,
|
294 |
+
0x628: 68,
|
295 |
+
0x629: 82,
|
296 |
+
0x62a: 68,
|
297 |
+
0x62b: 68,
|
298 |
+
0x62c: 68,
|
299 |
+
0x62d: 68,
|
300 |
+
0x62e: 68,
|
301 |
+
0x62f: 82,
|
302 |
+
0x630: 82,
|
303 |
+
0x631: 82,
|
304 |
+
0x632: 82,
|
305 |
+
0x633: 68,
|
306 |
+
0x634: 68,
|
307 |
+
0x635: 68,
|
308 |
+
0x636: 68,
|
309 |
+
0x637: 68,
|
310 |
+
0x638: 68,
|
311 |
+
0x639: 68,
|
312 |
+
0x63a: 68,
|
313 |
+
0x63b: 68,
|
314 |
+
0x63c: 68,
|
315 |
+
0x63d: 68,
|
316 |
+
0x63e: 68,
|
317 |
+
0x63f: 68,
|
318 |
+
0x640: 67,
|
319 |
+
0x641: 68,
|
320 |
+
0x642: 68,
|
321 |
+
0x643: 68,
|
322 |
+
0x644: 68,
|
323 |
+
0x645: 68,
|
324 |
+
0x646: 68,
|
325 |
+
0x647: 68,
|
326 |
+
0x648: 82,
|
327 |
+
0x649: 68,
|
328 |
+
0x64a: 68,
|
329 |
+
0x64b: 84,
|
330 |
+
0x64c: 84,
|
331 |
+
0x64d: 84,
|
332 |
+
0x64e: 84,
|
333 |
+
0x64f: 84,
|
334 |
+
0x650: 84,
|
335 |
+
0x651: 84,
|
336 |
+
0x652: 84,
|
337 |
+
0x653: 84,
|
338 |
+
0x654: 84,
|
339 |
+
0x655: 84,
|
340 |
+
0x656: 84,
|
341 |
+
0x657: 84,
|
342 |
+
0x658: 84,
|
343 |
+
0x659: 84,
|
344 |
+
0x65a: 84,
|
345 |
+
0x65b: 84,
|
346 |
+
0x65c: 84,
|
347 |
+
0x65d: 84,
|
348 |
+
0x65e: 84,
|
349 |
+
0x65f: 84,
|
350 |
+
0x66e: 68,
|
351 |
+
0x66f: 68,
|
352 |
+
0x670: 84,
|
353 |
+
0x671: 82,
|
354 |
+
0x672: 82,
|
355 |
+
0x673: 82,
|
356 |
+
0x675: 82,
|
357 |
+
0x676: 82,
|
358 |
+
0x677: 82,
|
359 |
+
0x678: 68,
|
360 |
+
0x679: 68,
|
361 |
+
0x67a: 68,
|
362 |
+
0x67b: 68,
|
363 |
+
0x67c: 68,
|
364 |
+
0x67d: 68,
|
365 |
+
0x67e: 68,
|
366 |
+
0x67f: 68,
|
367 |
+
0x680: 68,
|
368 |
+
0x681: 68,
|
369 |
+
0x682: 68,
|
370 |
+
0x683: 68,
|
371 |
+
0x684: 68,
|
372 |
+
0x685: 68,
|
373 |
+
0x686: 68,
|
374 |
+
0x687: 68,
|
375 |
+
0x688: 82,
|
376 |
+
0x689: 82,
|
377 |
+
0x68a: 82,
|
378 |
+
0x68b: 82,
|
379 |
+
0x68c: 82,
|
380 |
+
0x68d: 82,
|
381 |
+
0x68e: 82,
|
382 |
+
0x68f: 82,
|
383 |
+
0x690: 82,
|
384 |
+
0x691: 82,
|
385 |
+
0x692: 82,
|
386 |
+
0x693: 82,
|
387 |
+
0x694: 82,
|
388 |
+
0x695: 82,
|
389 |
+
0x696: 82,
|
390 |
+
0x697: 82,
|
391 |
+
0x698: 82,
|
392 |
+
0x699: 82,
|
393 |
+
0x69a: 68,
|
394 |
+
0x69b: 68,
|
395 |
+
0x69c: 68,
|
396 |
+
0x69d: 68,
|
397 |
+
0x69e: 68,
|
398 |
+
0x69f: 68,
|
399 |
+
0x6a0: 68,
|
400 |
+
0x6a1: 68,
|
401 |
+
0x6a2: 68,
|
402 |
+
0x6a3: 68,
|
403 |
+
0x6a4: 68,
|
404 |
+
0x6a5: 68,
|
405 |
+
0x6a6: 68,
|
406 |
+
0x6a7: 68,
|
407 |
+
0x6a8: 68,
|
408 |
+
0x6a9: 68,
|
409 |
+
0x6aa: 68,
|
410 |
+
0x6ab: 68,
|
411 |
+
0x6ac: 68,
|
412 |
+
0x6ad: 68,
|
413 |
+
0x6ae: 68,
|
414 |
+
0x6af: 68,
|
415 |
+
0x6b0: 68,
|
416 |
+
0x6b1: 68,
|
417 |
+
0x6b2: 68,
|
418 |
+
0x6b3: 68,
|
419 |
+
0x6b4: 68,
|
420 |
+
0x6b5: 68,
|
421 |
+
0x6b6: 68,
|
422 |
+
0x6b7: 68,
|
423 |
+
0x6b8: 68,
|
424 |
+
0x6b9: 68,
|
425 |
+
0x6ba: 68,
|
426 |
+
0x6bb: 68,
|
427 |
+
0x6bc: 68,
|
428 |
+
0x6bd: 68,
|
429 |
+
0x6be: 68,
|
430 |
+
0x6bf: 68,
|
431 |
+
0x6c0: 82,
|
432 |
+
0x6c1: 68,
|
433 |
+
0x6c2: 68,
|
434 |
+
0x6c3: 82,
|
435 |
+
0x6c4: 82,
|
436 |
+
0x6c5: 82,
|
437 |
+
0x6c6: 82,
|
438 |
+
0x6c7: 82,
|
439 |
+
0x6c8: 82,
|
440 |
+
0x6c9: 82,
|
441 |
+
0x6ca: 82,
|
442 |
+
0x6cb: 82,
|
443 |
+
0x6cc: 68,
|
444 |
+
0x6cd: 82,
|
445 |
+
0x6ce: 68,
|
446 |
+
0x6cf: 82,
|
447 |
+
0x6d0: 68,
|
448 |
+
0x6d1: 68,
|
449 |
+
0x6d2: 82,
|
450 |
+
0x6d3: 82,
|
451 |
+
0x6d5: 82,
|
452 |
+
0x6d6: 84,
|
453 |
+
0x6d7: 84,
|
454 |
+
0x6d8: 84,
|
455 |
+
0x6d9: 84,
|
456 |
+
0x6da: 84,
|
457 |
+
0x6db: 84,
|
458 |
+
0x6dc: 84,
|
459 |
+
0x6df: 84,
|
460 |
+
0x6e0: 84,
|
461 |
+
0x6e1: 84,
|
462 |
+
0x6e2: 84,
|
463 |
+
0x6e3: 84,
|
464 |
+
0x6e4: 84,
|
465 |
+
0x6e7: 84,
|
466 |
+
0x6e8: 84,
|
467 |
+
0x6ea: 84,
|
468 |
+
0x6eb: 84,
|
469 |
+
0x6ec: 84,
|
470 |
+
0x6ed: 84,
|
471 |
+
0x6ee: 82,
|
472 |
+
0x6ef: 82,
|
473 |
+
0x6fa: 68,
|
474 |
+
0x6fb: 68,
|
475 |
+
0x6fc: 68,
|
476 |
+
0x6ff: 68,
|
477 |
+
0x70f: 84,
|
478 |
+
0x710: 82,
|
479 |
+
0x711: 84,
|
480 |
+
0x712: 68,
|
481 |
+
0x713: 68,
|
482 |
+
0x714: 68,
|
483 |
+
0x715: 82,
|
484 |
+
0x716: 82,
|
485 |
+
0x717: 82,
|
486 |
+
0x718: 82,
|
487 |
+
0x719: 82,
|
488 |
+
0x71a: 68,
|
489 |
+
0x71b: 68,
|
490 |
+
0x71c: 68,
|
491 |
+
0x71d: 68,
|
492 |
+
0x71e: 82,
|
493 |
+
0x71f: 68,
|
494 |
+
0x720: 68,
|
495 |
+
0x721: 68,
|
496 |
+
0x722: 68,
|
497 |
+
0x723: 68,
|
498 |
+
0x724: 68,
|
499 |
+
0x725: 68,
|
500 |
+
0x726: 68,
|
501 |
+
0x727: 68,
|
502 |
+
0x728: 82,
|
503 |
+
0x729: 68,
|
504 |
+
0x72a: 82,
|
505 |
+
0x72b: 68,
|
506 |
+
0x72c: 82,
|
507 |
+
0x72d: 68,
|
508 |
+
0x72e: 68,
|
509 |
+
0x72f: 82,
|
510 |
+
0x730: 84,
|
511 |
+
0x731: 84,
|
512 |
+
0x732: 84,
|
513 |
+
0x733: 84,
|
514 |
+
0x734: 84,
|
515 |
+
0x735: 84,
|
516 |
+
0x736: 84,
|
517 |
+
0x737: 84,
|
518 |
+
0x738: 84,
|
519 |
+
0x739: 84,
|
520 |
+
0x73a: 84,
|
521 |
+
0x73b: 84,
|
522 |
+
0x73c: 84,
|
523 |
+
0x73d: 84,
|
524 |
+
0x73e: 84,
|
525 |
+
0x73f: 84,
|
526 |
+
0x740: 84,
|
527 |
+
0x741: 84,
|
528 |
+
0x742: 84,
|
529 |
+
0x743: 84,
|
530 |
+
0x744: 84,
|
531 |
+
0x745: 84,
|
532 |
+
0x746: 84,
|
533 |
+
0x747: 84,
|
534 |
+
0x748: 84,
|
535 |
+
0x749: 84,
|
536 |
+
0x74a: 84,
|
537 |
+
0x74d: 82,
|
538 |
+
0x74e: 68,
|
539 |
+
0x74f: 68,
|
540 |
+
0x750: 68,
|
541 |
+
0x751: 68,
|
542 |
+
0x752: 68,
|
543 |
+
0x753: 68,
|
544 |
+
0x754: 68,
|
545 |
+
0x755: 68,
|
546 |
+
0x756: 68,
|
547 |
+
0x757: 68,
|
548 |
+
0x758: 68,
|
549 |
+
0x759: 82,
|
550 |
+
0x75a: 82,
|
551 |
+
0x75b: 82,
|
552 |
+
0x75c: 68,
|
553 |
+
0x75d: 68,
|
554 |
+
0x75e: 68,
|
555 |
+
0x75f: 68,
|
556 |
+
0x760: 68,
|
557 |
+
0x761: 68,
|
558 |
+
0x762: 68,
|
559 |
+
0x763: 68,
|
560 |
+
0x764: 68,
|
561 |
+
0x765: 68,
|
562 |
+
0x766: 68,
|
563 |
+
0x767: 68,
|
564 |
+
0x768: 68,
|
565 |
+
0x769: 68,
|
566 |
+
0x76a: 68,
|
567 |
+
0x76b: 82,
|
568 |
+
0x76c: 82,
|
569 |
+
0x76d: 68,
|
570 |
+
0x76e: 68,
|
571 |
+
0x76f: 68,
|
572 |
+
0x770: 68,
|
573 |
+
0x771: 82,
|
574 |
+
0x772: 68,
|
575 |
+
0x773: 82,
|
576 |
+
0x774: 82,
|
577 |
+
0x775: 68,
|
578 |
+
0x776: 68,
|
579 |
+
0x777: 68,
|
580 |
+
0x778: 82,
|
581 |
+
0x779: 82,
|
582 |
+
0x77a: 68,
|
583 |
+
0x77b: 68,
|
584 |
+
0x77c: 68,
|
585 |
+
0x77d: 68,
|
586 |
+
0x77e: 68,
|
587 |
+
0x77f: 68,
|
588 |
+
0x7a6: 84,
|
589 |
+
0x7a7: 84,
|
590 |
+
0x7a8: 84,
|
591 |
+
0x7a9: 84,
|
592 |
+
0x7aa: 84,
|
593 |
+
0x7ab: 84,
|
594 |
+
0x7ac: 84,
|
595 |
+
0x7ad: 84,
|
596 |
+
0x7ae: 84,
|
597 |
+
0x7af: 84,
|
598 |
+
0x7b0: 84,
|
599 |
+
0x7ca: 68,
|
600 |
+
0x7cb: 68,
|
601 |
+
0x7cc: 68,
|
602 |
+
0x7cd: 68,
|
603 |
+
0x7ce: 68,
|
604 |
+
0x7cf: 68,
|
605 |
+
0x7d0: 68,
|
606 |
+
0x7d1: 68,
|
607 |
+
0x7d2: 68,
|
608 |
+
0x7d3: 68,
|
609 |
+
0x7d4: 68,
|
610 |
+
0x7d5: 68,
|
611 |
+
0x7d6: 68,
|
612 |
+
0x7d7: 68,
|
613 |
+
0x7d8: 68,
|
614 |
+
0x7d9: 68,
|
615 |
+
0x7da: 68,
|
616 |
+
0x7db: 68,
|
617 |
+
0x7dc: 68,
|
618 |
+
0x7dd: 68,
|
619 |
+
0x7de: 68,
|
620 |
+
0x7df: 68,
|
621 |
+
0x7e0: 68,
|
622 |
+
0x7e1: 68,
|
623 |
+
0x7e2: 68,
|
624 |
+
0x7e3: 68,
|
625 |
+
0x7e4: 68,
|
626 |
+
0x7e5: 68,
|
627 |
+
0x7e6: 68,
|
628 |
+
0x7e7: 68,
|
629 |
+
0x7e8: 68,
|
630 |
+
0x7e9: 68,
|
631 |
+
0x7ea: 68,
|
632 |
+
0x7eb: 84,
|
633 |
+
0x7ec: 84,
|
634 |
+
0x7ed: 84,
|
635 |
+
0x7ee: 84,
|
636 |
+
0x7ef: 84,
|
637 |
+
0x7f0: 84,
|
638 |
+
0x7f1: 84,
|
639 |
+
0x7f2: 84,
|
640 |
+
0x7f3: 84,
|
641 |
+
0x7fa: 67,
|
642 |
+
0x7fd: 84,
|
643 |
+
0x816: 84,
|
644 |
+
0x817: 84,
|
645 |
+
0x818: 84,
|
646 |
+
0x819: 84,
|
647 |
+
0x81b: 84,
|
648 |
+
0x81c: 84,
|
649 |
+
0x81d: 84,
|
650 |
+
0x81e: 84,
|
651 |
+
0x81f: 84,
|
652 |
+
0x820: 84,
|
653 |
+
0x821: 84,
|
654 |
+
0x822: 84,
|
655 |
+
0x823: 84,
|
656 |
+
0x825: 84,
|
657 |
+
0x826: 84,
|
658 |
+
0x827: 84,
|
659 |
+
0x829: 84,
|
660 |
+
0x82a: 84,
|
661 |
+
0x82b: 84,
|
662 |
+
0x82c: 84,
|
663 |
+
0x82d: 84,
|
664 |
+
0x840: 82,
|
665 |
+
0x841: 68,
|
666 |
+
0x842: 68,
|
667 |
+
0x843: 68,
|
668 |
+
0x844: 68,
|
669 |
+
0x845: 68,
|
670 |
+
0x846: 82,
|
671 |
+
0x847: 82,
|
672 |
+
0x848: 68,
|
673 |
+
0x849: 82,
|
674 |
+
0x84a: 68,
|
675 |
+
0x84b: 68,
|
676 |
+
0x84c: 68,
|
677 |
+
0x84d: 68,
|
678 |
+
0x84e: 68,
|
679 |
+
0x84f: 68,
|
680 |
+
0x850: 68,
|
681 |
+
0x851: 68,
|
682 |
+
0x852: 68,
|
683 |
+
0x853: 68,
|
684 |
+
0x854: 82,
|
685 |
+
0x855: 68,
|
686 |
+
0x856: 82,
|
687 |
+
0x857: 82,
|
688 |
+
0x858: 82,
|
689 |
+
0x859: 84,
|
690 |
+
0x85a: 84,
|
691 |
+
0x85b: 84,
|
692 |
+
0x860: 68,
|
693 |
+
0x862: 68,
|
694 |
+
0x863: 68,
|
695 |
+
0x864: 68,
|
696 |
+
0x865: 68,
|
697 |
+
0x867: 82,
|
698 |
+
0x868: 68,
|
699 |
+
0x869: 82,
|
700 |
+
0x86a: 82,
|
701 |
+
0x870: 82,
|
702 |
+
0x871: 82,
|
703 |
+
0x872: 82,
|
704 |
+
0x873: 82,
|
705 |
+
0x874: 82,
|
706 |
+
0x875: 82,
|
707 |
+
0x876: 82,
|
708 |
+
0x877: 82,
|
709 |
+
0x878: 82,
|
710 |
+
0x879: 82,
|
711 |
+
0x87a: 82,
|
712 |
+
0x87b: 82,
|
713 |
+
0x87c: 82,
|
714 |
+
0x87d: 82,
|
715 |
+
0x87e: 82,
|
716 |
+
0x87f: 82,
|
717 |
+
0x880: 82,
|
718 |
+
0x881: 82,
|
719 |
+
0x882: 82,
|
720 |
+
0x883: 67,
|
721 |
+
0x884: 67,
|
722 |
+
0x885: 67,
|
723 |
+
0x886: 68,
|
724 |
+
0x889: 68,
|
725 |
+
0x88a: 68,
|
726 |
+
0x88b: 68,
|
727 |
+
0x88c: 68,
|
728 |
+
0x88d: 68,
|
729 |
+
0x88e: 82,
|
730 |
+
0x898: 84,
|
731 |
+
0x899: 84,
|
732 |
+
0x89a: 84,
|
733 |
+
0x89b: 84,
|
734 |
+
0x89c: 84,
|
735 |
+
0x89d: 84,
|
736 |
+
0x89e: 84,
|
737 |
+
0x89f: 84,
|
738 |
+
0x8a0: 68,
|
739 |
+
0x8a1: 68,
|
740 |
+
0x8a2: 68,
|
741 |
+
0x8a3: 68,
|
742 |
+
0x8a4: 68,
|
743 |
+
0x8a5: 68,
|
744 |
+
0x8a6: 68,
|
745 |
+
0x8a7: 68,
|
746 |
+
0x8a8: 68,
|
747 |
+
0x8a9: 68,
|
748 |
+
0x8aa: 82,
|
749 |
+
0x8ab: 82,
|
750 |
+
0x8ac: 82,
|
751 |
+
0x8ae: 82,
|
752 |
+
0x8af: 68,
|
753 |
+
0x8b0: 68,
|
754 |
+
0x8b1: 82,
|
755 |
+
0x8b2: 82,
|
756 |
+
0x8b3: 68,
|
757 |
+
0x8b4: 68,
|
758 |
+
0x8b5: 68,
|
759 |
+
0x8b6: 68,
|
760 |
+
0x8b7: 68,
|
761 |
+
0x8b8: 68,
|
762 |
+
0x8b9: 82,
|
763 |
+
0x8ba: 68,
|
764 |
+
0x8bb: 68,
|
765 |
+
0x8bc: 68,
|
766 |
+
0x8bd: 68,
|
767 |
+
0x8be: 68,
|
768 |
+
0x8bf: 68,
|
769 |
+
0x8c0: 68,
|
770 |
+
0x8c1: 68,
|
771 |
+
0x8c2: 68,
|
772 |
+
0x8c3: 68,
|
773 |
+
0x8c4: 68,
|
774 |
+
0x8c5: 68,
|
775 |
+
0x8c6: 68,
|
776 |
+
0x8c7: 68,
|
777 |
+
0x8c8: 68,
|
778 |
+
0x8ca: 84,
|
779 |
+
0x8cb: 84,
|
780 |
+
0x8cc: 84,
|
781 |
+
0x8cd: 84,
|
782 |
+
0x8ce: 84,
|
783 |
+
0x8cf: 84,
|
784 |
+
0x8d0: 84,
|
785 |
+
0x8d1: 84,
|
786 |
+
0x8d2: 84,
|
787 |
+
0x8d3: 84,
|
788 |
+
0x8d4: 84,
|
789 |
+
0x8d5: 84,
|
790 |
+
0x8d6: 84,
|
791 |
+
0x8d7: 84,
|
792 |
+
0x8d8: 84,
|
793 |
+
0x8d9: 84,
|
794 |
+
0x8da: 84,
|
795 |
+
0x8db: 84,
|
796 |
+
0x8dc: 84,
|
797 |
+
0x8dd: 84,
|
798 |
+
0x8de: 84,
|
799 |
+
0x8df: 84,
|
800 |
+
0x8e0: 84,
|
801 |
+
0x8e1: 84,
|
802 |
+
0x8e3: 84,
|
803 |
+
0x8e4: 84,
|
804 |
+
0x8e5: 84,
|
805 |
+
0x8e6: 84,
|
806 |
+
0x8e7: 84,
|
807 |
+
0x8e8: 84,
|
808 |
+
0x8e9: 84,
|
809 |
+
0x8ea: 84,
|
810 |
+
0x8eb: 84,
|
811 |
+
0x8ec: 84,
|
812 |
+
0x8ed: 84,
|
813 |
+
0x8ee: 84,
|
814 |
+
0x8ef: 84,
|
815 |
+
0x8f0: 84,
|
816 |
+
0x8f1: 84,
|
817 |
+
0x8f2: 84,
|
818 |
+
0x8f3: 84,
|
819 |
+
0x8f4: 84,
|
820 |
+
0x8f5: 84,
|
821 |
+
0x8f6: 84,
|
822 |
+
0x8f7: 84,
|
823 |
+
0x8f8: 84,
|
824 |
+
0x8f9: 84,
|
825 |
+
0x8fa: 84,
|
826 |
+
0x8fb: 84,
|
827 |
+
0x8fc: 84,
|
828 |
+
0x8fd: 84,
|
829 |
+
0x8fe: 84,
|
830 |
+
0x8ff: 84,
|
831 |
+
0x900: 84,
|
832 |
+
0x901: 84,
|
833 |
+
0x902: 84,
|
834 |
+
0x93a: 84,
|
835 |
+
0x93c: 84,
|
836 |
+
0x941: 84,
|
837 |
+
0x942: 84,
|
838 |
+
0x943: 84,
|
839 |
+
0x944: 84,
|
840 |
+
0x945: 84,
|
841 |
+
0x946: 84,
|
842 |
+
0x947: 84,
|
843 |
+
0x948: 84,
|
844 |
+
0x94d: 84,
|
845 |
+
0x951: 84,
|
846 |
+
0x952: 84,
|
847 |
+
0x953: 84,
|
848 |
+
0x954: 84,
|
849 |
+
0x955: 84,
|
850 |
+
0x956: 84,
|
851 |
+
0x957: 84,
|
852 |
+
0x962: 84,
|
853 |
+
0x963: 84,
|
854 |
+
0x981: 84,
|
855 |
+
0x9bc: 84,
|
856 |
+
0x9c1: 84,
|
857 |
+
0x9c2: 84,
|
858 |
+
0x9c3: 84,
|
859 |
+
0x9c4: 84,
|
860 |
+
0x9cd: 84,
|
861 |
+
0x9e2: 84,
|
862 |
+
0x9e3: 84,
|
863 |
+
0x9fe: 84,
|
864 |
+
0xa01: 84,
|
865 |
+
0xa02: 84,
|
866 |
+
0xa3c: 84,
|
867 |
+
0xa41: 84,
|
868 |
+
0xa42: 84,
|
869 |
+
0xa47: 84,
|
870 |
+
0xa48: 84,
|
871 |
+
0xa4b: 84,
|
872 |
+
0xa4c: 84,
|
873 |
+
0xa4d: 84,
|
874 |
+
0xa51: 84,
|
875 |
+
0xa70: 84,
|
876 |
+
0xa71: 84,
|
877 |
+
0xa75: 84,
|
878 |
+
0xa81: 84,
|
879 |
+
0xa82: 84,
|
880 |
+
0xabc: 84,
|
881 |
+
0xac1: 84,
|
882 |
+
0xac2: 84,
|
883 |
+
0xac3: 84,
|
884 |
+
0xac4: 84,
|
885 |
+
0xac5: 84,
|
886 |
+
0xac7: 84,
|
887 |
+
0xac8: 84,
|
888 |
+
0xacd: 84,
|
889 |
+
0xae2: 84,
|
890 |
+
0xae3: 84,
|
891 |
+
0xafa: 84,
|
892 |
+
0xafb: 84,
|
893 |
+
0xafc: 84,
|
894 |
+
0xafd: 84,
|
895 |
+
0xafe: 84,
|
896 |
+
0xaff: 84,
|
897 |
+
0xb01: 84,
|
898 |
+
0xb3c: 84,
|
899 |
+
0xb3f: 84,
|
900 |
+
0xb41: 84,
|
901 |
+
0xb42: 84,
|
902 |
+
0xb43: 84,
|
903 |
+
0xb44: 84,
|
904 |
+
0xb4d: 84,
|
905 |
+
0xb55: 84,
|
906 |
+
0xb56: 84,
|
907 |
+
0xb62: 84,
|
908 |
+
0xb63: 84,
|
909 |
+
0xb82: 84,
|
910 |
+
0xbc0: 84,
|
911 |
+
0xbcd: 84,
|
912 |
+
0xc00: 84,
|
913 |
+
0xc04: 84,
|
914 |
+
0xc3c: 84,
|
915 |
+
0xc3e: 84,
|
916 |
+
0xc3f: 84,
|
917 |
+
0xc40: 84,
|
918 |
+
0xc46: 84,
|
919 |
+
0xc47: 84,
|
920 |
+
0xc48: 84,
|
921 |
+
0xc4a: 84,
|
922 |
+
0xc4b: 84,
|
923 |
+
0xc4c: 84,
|
924 |
+
0xc4d: 84,
|
925 |
+
0xc55: 84,
|
926 |
+
0xc56: 84,
|
927 |
+
0xc62: 84,
|
928 |
+
0xc63: 84,
|
929 |
+
0xc81: 84,
|
930 |
+
0xcbc: 84,
|
931 |
+
0xcbf: 84,
|
932 |
+
0xcc6: 84,
|
933 |
+
0xccc: 84,
|
934 |
+
0xccd: 84,
|
935 |
+
0xce2: 84,
|
936 |
+
0xce3: 84,
|
937 |
+
0xd00: 84,
|
938 |
+
0xd01: 84,
|
939 |
+
0xd3b: 84,
|
940 |
+
0xd3c: 84,
|
941 |
+
0xd41: 84,
|
942 |
+
0xd42: 84,
|
943 |
+
0xd43: 84,
|
944 |
+
0xd44: 84,
|
945 |
+
0xd4d: 84,
|
946 |
+
0xd62: 84,
|
947 |
+
0xd63: 84,
|
948 |
+
0xd81: 84,
|
949 |
+
0xdca: 84,
|
950 |
+
0xdd2: 84,
|
951 |
+
0xdd3: 84,
|
952 |
+
0xdd4: 84,
|
953 |
+
0xdd6: 84,
|
954 |
+
0xe31: 84,
|
955 |
+
0xe34: 84,
|
956 |
+
0xe35: 84,
|
957 |
+
0xe36: 84,
|
958 |
+
0xe37: 84,
|
959 |
+
0xe38: 84,
|
960 |
+
0xe39: 84,
|
961 |
+
0xe3a: 84,
|
962 |
+
0xe47: 84,
|
963 |
+
0xe48: 84,
|
964 |
+
0xe49: 84,
|
965 |
+
0xe4a: 84,
|
966 |
+
0xe4b: 84,
|
967 |
+
0xe4c: 84,
|
968 |
+
0xe4d: 84,
|
969 |
+
0xe4e: 84,
|
970 |
+
0xeb1: 84,
|
971 |
+
0xeb4: 84,
|
972 |
+
0xeb5: 84,
|
973 |
+
0xeb6: 84,
|
974 |
+
0xeb7: 84,
|
975 |
+
0xeb8: 84,
|
976 |
+
0xeb9: 84,
|
977 |
+
0xeba: 84,
|
978 |
+
0xebb: 84,
|
979 |
+
0xebc: 84,
|
980 |
+
0xec8: 84,
|
981 |
+
0xec9: 84,
|
982 |
+
0xeca: 84,
|
983 |
+
0xecb: 84,
|
984 |
+
0xecc: 84,
|
985 |
+
0xecd: 84,
|
986 |
+
0xece: 84,
|
987 |
+
0xf18: 84,
|
988 |
+
0xf19: 84,
|
989 |
+
0xf35: 84,
|
990 |
+
0xf37: 84,
|
991 |
+
0xf39: 84,
|
992 |
+
0xf71: 84,
|
993 |
+
0xf72: 84,
|
994 |
+
0xf73: 84,
|
995 |
+
0xf74: 84,
|
996 |
+
0xf75: 84,
|
997 |
+
0xf76: 84,
|
998 |
+
0xf77: 84,
|
999 |
+
0xf78: 84,
|
1000 |
+
0xf79: 84,
|
1001 |
+
0xf7a: 84,
|
1002 |
+
0xf7b: 84,
|
1003 |
+
0xf7c: 84,
|
1004 |
+
0xf7d: 84,
|
1005 |
+
0xf7e: 84,
|
1006 |
+
0xf80: 84,
|
1007 |
+
0xf81: 84,
|
1008 |
+
0xf82: 84,
|
1009 |
+
0xf83: 84,
|
1010 |
+
0xf84: 84,
|
1011 |
+
0xf86: 84,
|
1012 |
+
0xf87: 84,
|
1013 |
+
0xf8d: 84,
|
1014 |
+
0xf8e: 84,
|
1015 |
+
0xf8f: 84,
|
1016 |
+
0xf90: 84,
|
1017 |
+
0xf91: 84,
|
1018 |
+
0xf92: 84,
|
1019 |
+
0xf93: 84,
|
1020 |
+
0xf94: 84,
|
1021 |
+
0xf95: 84,
|
1022 |
+
0xf96: 84,
|
1023 |
+
0xf97: 84,
|
1024 |
+
0xf99: 84,
|
1025 |
+
0xf9a: 84,
|
1026 |
+
0xf9b: 84,
|
1027 |
+
0xf9c: 84,
|
1028 |
+
0xf9d: 84,
|
1029 |
+
0xf9e: 84,
|
1030 |
+
0xf9f: 84,
|
1031 |
+
0xfa0: 84,
|
1032 |
+
0xfa1: 84,
|
1033 |
+
0xfa2: 84,
|
1034 |
+
0xfa3: 84,
|
1035 |
+
0xfa4: 84,
|
1036 |
+
0xfa5: 84,
|
1037 |
+
0xfa6: 84,
|
1038 |
+
0xfa7: 84,
|
1039 |
+
0xfa8: 84,
|
1040 |
+
0xfa9: 84,
|
1041 |
+
0xfaa: 84,
|
1042 |
+
0xfab: 84,
|
1043 |
+
0xfac: 84,
|
1044 |
+
0xfad: 84,
|
1045 |
+
0xfae: 84,
|
1046 |
+
0xfaf: 84,
|
1047 |
+
0xfb0: 84,
|
1048 |
+
0xfb1: 84,
|
1049 |
+
0xfb2: 84,
|
1050 |
+
0xfb3: 84,
|
1051 |
+
0xfb4: 84,
|
1052 |
+
0xfb5: 84,
|
1053 |
+
0xfb6: 84,
|
1054 |
+
0xfb7: 84,
|
1055 |
+
0xfb8: 84,
|
1056 |
+
0xfb9: 84,
|
1057 |
+
0xfba: 84,
|
1058 |
+
0xfbb: 84,
|
1059 |
+
0xfbc: 84,
|
1060 |
+
0xfc6: 84,
|
1061 |
+
0x102d: 84,
|
1062 |
+
0x102e: 84,
|
1063 |
+
0x102f: 84,
|
1064 |
+
0x1030: 84,
|
1065 |
+
0x1032: 84,
|
1066 |
+
0x1033: 84,
|
1067 |
+
0x1034: 84,
|
1068 |
+
0x1035: 84,
|
1069 |
+
0x1036: 84,
|
1070 |
+
0x1037: 84,
|
1071 |
+
0x1039: 84,
|
1072 |
+
0x103a: 84,
|
1073 |
+
0x103d: 84,
|
1074 |
+
0x103e: 84,
|
1075 |
+
0x1058: 84,
|
1076 |
+
0x1059: 84,
|
1077 |
+
0x105e: 84,
|
1078 |
+
0x105f: 84,
|
1079 |
+
0x1060: 84,
|
1080 |
+
0x1071: 84,
|
1081 |
+
0x1072: 84,
|
1082 |
+
0x1073: 84,
|
1083 |
+
0x1074: 84,
|
1084 |
+
0x1082: 84,
|
1085 |
+
0x1085: 84,
|
1086 |
+
0x1086: 84,
|
1087 |
+
0x108d: 84,
|
1088 |
+
0x109d: 84,
|
1089 |
+
0x135d: 84,
|
1090 |
+
0x135e: 84,
|
1091 |
+
0x135f: 84,
|
1092 |
+
0x1712: 84,
|
1093 |
+
0x1713: 84,
|
1094 |
+
0x1714: 84,
|
1095 |
+
0x1732: 84,
|
1096 |
+
0x1733: 84,
|
1097 |
+
0x1752: 84,
|
1098 |
+
0x1753: 84,
|
1099 |
+
0x1772: 84,
|
1100 |
+
0x1773: 84,
|
1101 |
+
0x17b4: 84,
|
1102 |
+
0x17b5: 84,
|
1103 |
+
0x17b7: 84,
|
1104 |
+
0x17b8: 84,
|
1105 |
+
0x17b9: 84,
|
1106 |
+
0x17ba: 84,
|
1107 |
+
0x17bb: 84,
|
1108 |
+
0x17bc: 84,
|
1109 |
+
0x17bd: 84,
|
1110 |
+
0x17c6: 84,
|
1111 |
+
0x17c9: 84,
|
1112 |
+
0x17ca: 84,
|
1113 |
+
0x17cb: 84,
|
1114 |
+
0x17cc: 84,
|
1115 |
+
0x17cd: 84,
|
1116 |
+
0x17ce: 84,
|
1117 |
+
0x17cf: 84,
|
1118 |
+
0x17d0: 84,
|
1119 |
+
0x17d1: 84,
|
1120 |
+
0x17d2: 84,
|
1121 |
+
0x17d3: 84,
|
1122 |
+
0x17dd: 84,
|
1123 |
+
0x1807: 68,
|
1124 |
+
0x180a: 67,
|
1125 |
+
0x180b: 84,
|
1126 |
+
0x180c: 84,
|
1127 |
+
0x180d: 84,
|
1128 |
+
0x180f: 84,
|
1129 |
+
0x1820: 68,
|
1130 |
+
0x1821: 68,
|
1131 |
+
0x1822: 68,
|
1132 |
+
0x1823: 68,
|
1133 |
+
0x1824: 68,
|
1134 |
+
0x1825: 68,
|
1135 |
+
0x1826: 68,
|
1136 |
+
0x1827: 68,
|
1137 |
+
0x1828: 68,
|
1138 |
+
0x1829: 68,
|
1139 |
+
0x182a: 68,
|
1140 |
+
0x182b: 68,
|
1141 |
+
0x182c: 68,
|
1142 |
+
0x182d: 68,
|
1143 |
+
0x182e: 68,
|
1144 |
+
0x182f: 68,
|
1145 |
+
0x1830: 68,
|
1146 |
+
0x1831: 68,
|
1147 |
+
0x1832: 68,
|
1148 |
+
0x1833: 68,
|
1149 |
+
0x1834: 68,
|
1150 |
+
0x1835: 68,
|
1151 |
+
0x1836: 68,
|
1152 |
+
0x1837: 68,
|
1153 |
+
0x1838: 68,
|
1154 |
+
0x1839: 68,
|
1155 |
+
0x183a: 68,
|
1156 |
+
0x183b: 68,
|
1157 |
+
0x183c: 68,
|
1158 |
+
0x183d: 68,
|
1159 |
+
0x183e: 68,
|
1160 |
+
0x183f: 68,
|
1161 |
+
0x1840: 68,
|
1162 |
+
0x1841: 68,
|
1163 |
+
0x1842: 68,
|
1164 |
+
0x1843: 68,
|
1165 |
+
0x1844: 68,
|
1166 |
+
0x1845: 68,
|
1167 |
+
0x1846: 68,
|
1168 |
+
0x1847: 68,
|
1169 |
+
0x1848: 68,
|
1170 |
+
0x1849: 68,
|
1171 |
+
0x184a: 68,
|
1172 |
+
0x184b: 68,
|
1173 |
+
0x184c: 68,
|
1174 |
+
0x184d: 68,
|
1175 |
+
0x184e: 68,
|
1176 |
+
0x184f: 68,
|
1177 |
+
0x1850: 68,
|
1178 |
+
0x1851: 68,
|
1179 |
+
0x1852: 68,
|
1180 |
+
0x1853: 68,
|
1181 |
+
0x1854: 68,
|
1182 |
+
0x1855: 68,
|
1183 |
+
0x1856: 68,
|
1184 |
+
0x1857: 68,
|
1185 |
+
0x1858: 68,
|
1186 |
+
0x1859: 68,
|
1187 |
+
0x185a: 68,
|
1188 |
+
0x185b: 68,
|
1189 |
+
0x185c: 68,
|
1190 |
+
0x185d: 68,
|
1191 |
+
0x185e: 68,
|
1192 |
+
0x185f: 68,
|
1193 |
+
0x1860: 68,
|
1194 |
+
0x1861: 68,
|
1195 |
+
0x1862: 68,
|
1196 |
+
0x1863: 68,
|
1197 |
+
0x1864: 68,
|
1198 |
+
0x1865: 68,
|
1199 |
+
0x1866: 68,
|
1200 |
+
0x1867: 68,
|
1201 |
+
0x1868: 68,
|
1202 |
+
0x1869: 68,
|
1203 |
+
0x186a: 68,
|
1204 |
+
0x186b: 68,
|
1205 |
+
0x186c: 68,
|
1206 |
+
0x186d: 68,
|
1207 |
+
0x186e: 68,
|
1208 |
+
0x186f: 68,
|
1209 |
+
0x1870: 68,
|
1210 |
+
0x1871: 68,
|
1211 |
+
0x1872: 68,
|
1212 |
+
0x1873: 68,
|
1213 |
+
0x1874: 68,
|
1214 |
+
0x1875: 68,
|
1215 |
+
0x1876: 68,
|
1216 |
+
0x1877: 68,
|
1217 |
+
0x1878: 68,
|
1218 |
+
0x1885: 84,
|
1219 |
+
0x1886: 84,
|
1220 |
+
0x1887: 68,
|
1221 |
+
0x1888: 68,
|
1222 |
+
0x1889: 68,
|
1223 |
+
0x188a: 68,
|
1224 |
+
0x188b: 68,
|
1225 |
+
0x188c: 68,
|
1226 |
+
0x188d: 68,
|
1227 |
+
0x188e: 68,
|
1228 |
+
0x188f: 68,
|
1229 |
+
0x1890: 68,
|
1230 |
+
0x1891: 68,
|
1231 |
+
0x1892: 68,
|
1232 |
+
0x1893: 68,
|
1233 |
+
0x1894: 68,
|
1234 |
+
0x1895: 68,
|
1235 |
+
0x1896: 68,
|
1236 |
+
0x1897: 68,
|
1237 |
+
0x1898: 68,
|
1238 |
+
0x1899: 68,
|
1239 |
+
0x189a: 68,
|
1240 |
+
0x189b: 68,
|
1241 |
+
0x189c: 68,
|
1242 |
+
0x189d: 68,
|
1243 |
+
0x189e: 68,
|
1244 |
+
0x189f: 68,
|
1245 |
+
0x18a0: 68,
|
1246 |
+
0x18a1: 68,
|
1247 |
+
0x18a2: 68,
|
1248 |
+
0x18a3: 68,
|
1249 |
+
0x18a4: 68,
|
1250 |
+
0x18a5: 68,
|
1251 |
+
0x18a6: 68,
|
1252 |
+
0x18a7: 68,
|
1253 |
+
0x18a8: 68,
|
1254 |
+
0x18a9: 84,
|
1255 |
+
0x18aa: 68,
|
1256 |
+
0x1920: 84,
|
1257 |
+
0x1921: 84,
|
1258 |
+
0x1922: 84,
|
1259 |
+
0x1927: 84,
|
1260 |
+
0x1928: 84,
|
1261 |
+
0x1932: 84,
|
1262 |
+
0x1939: 84,
|
1263 |
+
0x193a: 84,
|
1264 |
+
0x193b: 84,
|
1265 |
+
0x1a17: 84,
|
1266 |
+
0x1a18: 84,
|
1267 |
+
0x1a1b: 84,
|
1268 |
+
0x1a56: 84,
|
1269 |
+
0x1a58: 84,
|
1270 |
+
0x1a59: 84,
|
1271 |
+
0x1a5a: 84,
|
1272 |
+
0x1a5b: 84,
|
1273 |
+
0x1a5c: 84,
|
1274 |
+
0x1a5d: 84,
|
1275 |
+
0x1a5e: 84,
|
1276 |
+
0x1a60: 84,
|
1277 |
+
0x1a62: 84,
|
1278 |
+
0x1a65: 84,
|
1279 |
+
0x1a66: 84,
|
1280 |
+
0x1a67: 84,
|
1281 |
+
0x1a68: 84,
|
1282 |
+
0x1a69: 84,
|
1283 |
+
0x1a6a: 84,
|
1284 |
+
0x1a6b: 84,
|
1285 |
+
0x1a6c: 84,
|
1286 |
+
0x1a73: 84,
|
1287 |
+
0x1a74: 84,
|
1288 |
+
0x1a75: 84,
|
1289 |
+
0x1a76: 84,
|
1290 |
+
0x1a77: 84,
|
1291 |
+
0x1a78: 84,
|
1292 |
+
0x1a79: 84,
|
1293 |
+
0x1a7a: 84,
|
1294 |
+
0x1a7b: 84,
|
1295 |
+
0x1a7c: 84,
|
1296 |
+
0x1a7f: 84,
|
1297 |
+
0x1ab0: 84,
|
1298 |
+
0x1ab1: 84,
|
1299 |
+
0x1ab2: 84,
|
1300 |
+
0x1ab3: 84,
|
1301 |
+
0x1ab4: 84,
|
1302 |
+
0x1ab5: 84,
|
1303 |
+
0x1ab6: 84,
|
1304 |
+
0x1ab7: 84,
|
1305 |
+
0x1ab8: 84,
|
1306 |
+
0x1ab9: 84,
|
1307 |
+
0x1aba: 84,
|
1308 |
+
0x1abb: 84,
|
1309 |
+
0x1abc: 84,
|
1310 |
+
0x1abd: 84,
|
1311 |
+
0x1abe: 84,
|
1312 |
+
0x1abf: 84,
|
1313 |
+
0x1ac0: 84,
|
1314 |
+
0x1ac1: 84,
|
1315 |
+
0x1ac2: 84,
|
1316 |
+
0x1ac3: 84,
|
1317 |
+
0x1ac4: 84,
|
1318 |
+
0x1ac5: 84,
|
1319 |
+
0x1ac6: 84,
|
1320 |
+
0x1ac7: 84,
|
1321 |
+
0x1ac8: 84,
|
1322 |
+
0x1ac9: 84,
|
1323 |
+
0x1aca: 84,
|
1324 |
+
0x1acb: 84,
|
1325 |
+
0x1acc: 84,
|
1326 |
+
0x1acd: 84,
|
1327 |
+
0x1ace: 84,
|
1328 |
+
0x1b00: 84,
|
1329 |
+
0x1b01: 84,
|
1330 |
+
0x1b02: 84,
|
1331 |
+
0x1b03: 84,
|
1332 |
+
0x1b34: 84,
|
1333 |
+
0x1b36: 84,
|
1334 |
+
0x1b37: 84,
|
1335 |
+
0x1b38: 84,
|
1336 |
+
0x1b39: 84,
|
1337 |
+
0x1b3a: 84,
|
1338 |
+
0x1b3c: 84,
|
1339 |
+
0x1b42: 84,
|
1340 |
+
0x1b6b: 84,
|
1341 |
+
0x1b6c: 84,
|
1342 |
+
0x1b6d: 84,
|
1343 |
+
0x1b6e: 84,
|
1344 |
+
0x1b6f: 84,
|
1345 |
+
0x1b70: 84,
|
1346 |
+
0x1b71: 84,
|
1347 |
+
0x1b72: 84,
|
1348 |
+
0x1b73: 84,
|
1349 |
+
0x1b80: 84,
|
1350 |
+
0x1b81: 84,
|
1351 |
+
0x1ba2: 84,
|
1352 |
+
0x1ba3: 84,
|
1353 |
+
0x1ba4: 84,
|
1354 |
+
0x1ba5: 84,
|
1355 |
+
0x1ba8: 84,
|
1356 |
+
0x1ba9: 84,
|
1357 |
+
0x1bab: 84,
|
1358 |
+
0x1bac: 84,
|
1359 |
+
0x1bad: 84,
|
1360 |
+
0x1be6: 84,
|
1361 |
+
0x1be8: 84,
|
1362 |
+
0x1be9: 84,
|
1363 |
+
0x1bed: 84,
|
1364 |
+
0x1bef: 84,
|
1365 |
+
0x1bf0: 84,
|
1366 |
+
0x1bf1: 84,
|
1367 |
+
0x1c2c: 84,
|
1368 |
+
0x1c2d: 84,
|
1369 |
+
0x1c2e: 84,
|
1370 |
+
0x1c2f: 84,
|
1371 |
+
0x1c30: 84,
|
1372 |
+
0x1c31: 84,
|
1373 |
+
0x1c32: 84,
|
1374 |
+
0x1c33: 84,
|
1375 |
+
0x1c36: 84,
|
1376 |
+
0x1c37: 84,
|
1377 |
+
0x1cd0: 84,
|
1378 |
+
0x1cd1: 84,
|
1379 |
+
0x1cd2: 84,
|
1380 |
+
0x1cd4: 84,
|
1381 |
+
0x1cd5: 84,
|
1382 |
+
0x1cd6: 84,
|
1383 |
+
0x1cd7: 84,
|
1384 |
+
0x1cd8: 84,
|
1385 |
+
0x1cd9: 84,
|
1386 |
+
0x1cda: 84,
|
1387 |
+
0x1cdb: 84,
|
1388 |
+
0x1cdc: 84,
|
1389 |
+
0x1cdd: 84,
|
1390 |
+
0x1cde: 84,
|
1391 |
+
0x1cdf: 84,
|
1392 |
+
0x1ce0: 84,
|
1393 |
+
0x1ce2: 84,
|
1394 |
+
0x1ce3: 84,
|
1395 |
+
0x1ce4: 84,
|
1396 |
+
0x1ce5: 84,
|
1397 |
+
0x1ce6: 84,
|
1398 |
+
0x1ce7: 84,
|
1399 |
+
0x1ce8: 84,
|
1400 |
+
0x1ced: 84,
|
1401 |
+
0x1cf4: 84,
|
1402 |
+
0x1cf8: 84,
|
1403 |
+
0x1cf9: 84,
|
1404 |
+
0x1dc0: 84,
|
1405 |
+
0x1dc1: 84,
|
1406 |
+
0x1dc2: 84,
|
1407 |
+
0x1dc3: 84,
|
1408 |
+
0x1dc4: 84,
|
1409 |
+
0x1dc5: 84,
|
1410 |
+
0x1dc6: 84,
|
1411 |
+
0x1dc7: 84,
|
1412 |
+
0x1dc8: 84,
|
1413 |
+
0x1dc9: 84,
|
1414 |
+
0x1dca: 84,
|
1415 |
+
0x1dcb: 84,
|
1416 |
+
0x1dcc: 84,
|
1417 |
+
0x1dcd: 84,
|
1418 |
+
0x1dce: 84,
|
1419 |
+
0x1dcf: 84,
|
1420 |
+
0x1dd0: 84,
|
1421 |
+
0x1dd1: 84,
|
1422 |
+
0x1dd2: 84,
|
1423 |
+
0x1dd3: 84,
|
1424 |
+
0x1dd4: 84,
|
1425 |
+
0x1dd5: 84,
|
1426 |
+
0x1dd6: 84,
|
1427 |
+
0x1dd7: 84,
|
1428 |
+
0x1dd8: 84,
|
1429 |
+
0x1dd9: 84,
|
1430 |
+
0x1dda: 84,
|
1431 |
+
0x1ddb: 84,
|
1432 |
+
0x1ddc: 84,
|
1433 |
+
0x1ddd: 84,
|
1434 |
+
0x1dde: 84,
|
1435 |
+
0x1ddf: 84,
|
1436 |
+
0x1de0: 84,
|
1437 |
+
0x1de1: 84,
|
1438 |
+
0x1de2: 84,
|
1439 |
+
0x1de3: 84,
|
1440 |
+
0x1de4: 84,
|
1441 |
+
0x1de5: 84,
|
1442 |
+
0x1de6: 84,
|
1443 |
+
0x1de7: 84,
|
1444 |
+
0x1de8: 84,
|
1445 |
+
0x1de9: 84,
|
1446 |
+
0x1dea: 84,
|
1447 |
+
0x1deb: 84,
|
1448 |
+
0x1dec: 84,
|
1449 |
+
0x1ded: 84,
|
1450 |
+
0x1dee: 84,
|
1451 |
+
0x1def: 84,
|
1452 |
+
0x1df0: 84,
|
1453 |
+
0x1df1: 84,
|
1454 |
+
0x1df2: 84,
|
1455 |
+
0x1df3: 84,
|
1456 |
+
0x1df4: 84,
|
1457 |
+
0x1df5: 84,
|
1458 |
+
0x1df6: 84,
|
1459 |
+
0x1df7: 84,
|
1460 |
+
0x1df8: 84,
|
1461 |
+
0x1df9: 84,
|
1462 |
+
0x1dfa: 84,
|
1463 |
+
0x1dfb: 84,
|
1464 |
+
0x1dfc: 84,
|
1465 |
+
0x1dfd: 84,
|
1466 |
+
0x1dfe: 84,
|
1467 |
+
0x1dff: 84,
|
1468 |
+
0x200b: 84,
|
1469 |
+
0x200d: 67,
|
1470 |
+
0x200e: 84,
|
1471 |
+
0x200f: 84,
|
1472 |
+
0x202a: 84,
|
1473 |
+
0x202b: 84,
|
1474 |
+
0x202c: 84,
|
1475 |
+
0x202d: 84,
|
1476 |
+
0x202e: 84,
|
1477 |
+
0x2060: 84,
|
1478 |
+
0x2061: 84,
|
1479 |
+
0x2062: 84,
|
1480 |
+
0x2063: 84,
|
1481 |
+
0x2064: 84,
|
1482 |
+
0x206a: 84,
|
1483 |
+
0x206b: 84,
|
1484 |
+
0x206c: 84,
|
1485 |
+
0x206d: 84,
|
1486 |
+
0x206e: 84,
|
1487 |
+
0x206f: 84,
|
1488 |
+
0x20d0: 84,
|
1489 |
+
0x20d1: 84,
|
1490 |
+
0x20d2: 84,
|
1491 |
+
0x20d3: 84,
|
1492 |
+
0x20d4: 84,
|
1493 |
+
0x20d5: 84,
|
1494 |
+
0x20d6: 84,
|
1495 |
+
0x20d7: 84,
|
1496 |
+
0x20d8: 84,
|
1497 |
+
0x20d9: 84,
|
1498 |
+
0x20da: 84,
|
1499 |
+
0x20db: 84,
|
1500 |
+
0x20dc: 84,
|
1501 |
+
0x20dd: 84,
|
1502 |
+
0x20de: 84,
|
1503 |
+
0x20df: 84,
|
1504 |
+
0x20e0: 84,
|
1505 |
+
0x20e1: 84,
|
1506 |
+
0x20e2: 84,
|
1507 |
+
0x20e3: 84,
|
1508 |
+
0x20e4: 84,
|
1509 |
+
0x20e5: 84,
|
1510 |
+
0x20e6: 84,
|
1511 |
+
0x20e7: 84,
|
1512 |
+
0x20e8: 84,
|
1513 |
+
0x20e9: 84,
|
1514 |
+
0x20ea: 84,
|
1515 |
+
0x20eb: 84,
|
1516 |
+
0x20ec: 84,
|
1517 |
+
0x20ed: 84,
|
1518 |
+
0x20ee: 84,
|
1519 |
+
0x20ef: 84,
|
1520 |
+
0x20f0: 84,
|
1521 |
+
0x2cef: 84,
|
1522 |
+
0x2cf0: 84,
|
1523 |
+
0x2cf1: 84,
|
1524 |
+
0x2d7f: 84,
|
1525 |
+
0x2de0: 84,
|
1526 |
+
0x2de1: 84,
|
1527 |
+
0x2de2: 84,
|
1528 |
+
0x2de3: 84,
|
1529 |
+
0x2de4: 84,
|
1530 |
+
0x2de5: 84,
|
1531 |
+
0x2de6: 84,
|
1532 |
+
0x2de7: 84,
|
1533 |
+
0x2de8: 84,
|
1534 |
+
0x2de9: 84,
|
1535 |
+
0x2dea: 84,
|
1536 |
+
0x2deb: 84,
|
1537 |
+
0x2dec: 84,
|
1538 |
+
0x2ded: 84,
|
1539 |
+
0x2dee: 84,
|
1540 |
+
0x2def: 84,
|
1541 |
+
0x2df0: 84,
|
1542 |
+
0x2df1: 84,
|
1543 |
+
0x2df2: 84,
|
1544 |
+
0x2df3: 84,
|
1545 |
+
0x2df4: 84,
|
1546 |
+
0x2df5: 84,
|
1547 |
+
0x2df6: 84,
|
1548 |
+
0x2df7: 84,
|
1549 |
+
0x2df8: 84,
|
1550 |
+
0x2df9: 84,
|
1551 |
+
0x2dfa: 84,
|
1552 |
+
0x2dfb: 84,
|
1553 |
+
0x2dfc: 84,
|
1554 |
+
0x2dfd: 84,
|
1555 |
+
0x2dfe: 84,
|
1556 |
+
0x2dff: 84,
|
1557 |
+
0x302a: 84,
|
1558 |
+
0x302b: 84,
|
1559 |
+
0x302c: 84,
|
1560 |
+
0x302d: 84,
|
1561 |
+
0x3099: 84,
|
1562 |
+
0x309a: 84,
|
1563 |
+
0xa66f: 84,
|
1564 |
+
0xa670: 84,
|
1565 |
+
0xa671: 84,
|
1566 |
+
0xa672: 84,
|
1567 |
+
0xa674: 84,
|
1568 |
+
0xa675: 84,
|
1569 |
+
0xa676: 84,
|
1570 |
+
0xa677: 84,
|
1571 |
+
0xa678: 84,
|
1572 |
+
0xa679: 84,
|
1573 |
+
0xa67a: 84,
|
1574 |
+
0xa67b: 84,
|
1575 |
+
0xa67c: 84,
|
1576 |
+
0xa67d: 84,
|
1577 |
+
0xa69e: 84,
|
1578 |
+
0xa69f: 84,
|
1579 |
+
0xa6f0: 84,
|
1580 |
+
0xa6f1: 84,
|
1581 |
+
0xa802: 84,
|
1582 |
+
0xa806: 84,
|
1583 |
+
0xa80b: 84,
|
1584 |
+
0xa825: 84,
|
1585 |
+
0xa826: 84,
|
1586 |
+
0xa82c: 84,
|
1587 |
+
0xa840: 68,
|
1588 |
+
0xa841: 68,
|
1589 |
+
0xa842: 68,
|
1590 |
+
0xa843: 68,
|
1591 |
+
0xa844: 68,
|
1592 |
+
0xa845: 68,
|
1593 |
+
0xa846: 68,
|
1594 |
+
0xa847: 68,
|
1595 |
+
0xa848: 68,
|
1596 |
+
0xa849: 68,
|
1597 |
+
0xa84a: 68,
|
1598 |
+
0xa84b: 68,
|
1599 |
+
0xa84c: 68,
|
1600 |
+
0xa84d: 68,
|
1601 |
+
0xa84e: 68,
|
1602 |
+
0xa84f: 68,
|
1603 |
+
0xa850: 68,
|
1604 |
+
0xa851: 68,
|
1605 |
+
0xa852: 68,
|
1606 |
+
0xa853: 68,
|
1607 |
+
0xa854: 68,
|
1608 |
+
0xa855: 68,
|
1609 |
+
0xa856: 68,
|
1610 |
+
0xa857: 68,
|
1611 |
+
0xa858: 68,
|
1612 |
+
0xa859: 68,
|
1613 |
+
0xa85a: 68,
|
1614 |
+
0xa85b: 68,
|
1615 |
+
0xa85c: 68,
|
1616 |
+
0xa85d: 68,
|
1617 |
+
0xa85e: 68,
|
1618 |
+
0xa85f: 68,
|
1619 |
+
0xa860: 68,
|
1620 |
+
0xa861: 68,
|
1621 |
+
0xa862: 68,
|
1622 |
+
0xa863: 68,
|
1623 |
+
0xa864: 68,
|
1624 |
+
0xa865: 68,
|
1625 |
+
0xa866: 68,
|
1626 |
+
0xa867: 68,
|
1627 |
+
0xa868: 68,
|
1628 |
+
0xa869: 68,
|
1629 |
+
0xa86a: 68,
|
1630 |
+
0xa86b: 68,
|
1631 |
+
0xa86c: 68,
|
1632 |
+
0xa86d: 68,
|
1633 |
+
0xa86e: 68,
|
1634 |
+
0xa86f: 68,
|
1635 |
+
0xa870: 68,
|
1636 |
+
0xa871: 68,
|
1637 |
+
0xa872: 76,
|
1638 |
+
0xa8c4: 84,
|
1639 |
+
0xa8c5: 84,
|
1640 |
+
0xa8e0: 84,
|
1641 |
+
0xa8e1: 84,
|
1642 |
+
0xa8e2: 84,
|
1643 |
+
0xa8e3: 84,
|
1644 |
+
0xa8e4: 84,
|
1645 |
+
0xa8e5: 84,
|
1646 |
+
0xa8e6: 84,
|
1647 |
+
0xa8e7: 84,
|
1648 |
+
0xa8e8: 84,
|
1649 |
+
0xa8e9: 84,
|
1650 |
+
0xa8ea: 84,
|
1651 |
+
0xa8eb: 84,
|
1652 |
+
0xa8ec: 84,
|
1653 |
+
0xa8ed: 84,
|
1654 |
+
0xa8ee: 84,
|
1655 |
+
0xa8ef: 84,
|
1656 |
+
0xa8f0: 84,
|
1657 |
+
0xa8f1: 84,
|
1658 |
+
0xa8ff: 84,
|
1659 |
+
0xa926: 84,
|
1660 |
+
0xa927: 84,
|
1661 |
+
0xa928: 84,
|
1662 |
+
0xa929: 84,
|
1663 |
+
0xa92a: 84,
|
1664 |
+
0xa92b: 84,
|
1665 |
+
0xa92c: 84,
|
1666 |
+
0xa92d: 84,
|
1667 |
+
0xa947: 84,
|
1668 |
+
0xa948: 84,
|
1669 |
+
0xa949: 84,
|
1670 |
+
0xa94a: 84,
|
1671 |
+
0xa94b: 84,
|
1672 |
+
0xa94c: 84,
|
1673 |
+
0xa94d: 84,
|
1674 |
+
0xa94e: 84,
|
1675 |
+
0xa94f: 84,
|
1676 |
+
0xa950: 84,
|
1677 |
+
0xa951: 84,
|
1678 |
+
0xa980: 84,
|
1679 |
+
0xa981: 84,
|
1680 |
+
0xa982: 84,
|
1681 |
+
0xa9b3: 84,
|
1682 |
+
0xa9b6: 84,
|
1683 |
+
0xa9b7: 84,
|
1684 |
+
0xa9b8: 84,
|
1685 |
+
0xa9b9: 84,
|
1686 |
+
0xa9bc: 84,
|
1687 |
+
0xa9bd: 84,
|
1688 |
+
0xa9e5: 84,
|
1689 |
+
0xaa29: 84,
|
1690 |
+
0xaa2a: 84,
|
1691 |
+
0xaa2b: 84,
|
1692 |
+
0xaa2c: 84,
|
1693 |
+
0xaa2d: 84,
|
1694 |
+
0xaa2e: 84,
|
1695 |
+
0xaa31: 84,
|
1696 |
+
0xaa32: 84,
|
1697 |
+
0xaa35: 84,
|
1698 |
+
0xaa36: 84,
|
1699 |
+
0xaa43: 84,
|
1700 |
+
0xaa4c: 84,
|
1701 |
+
0xaa7c: 84,
|
1702 |
+
0xaab0: 84,
|
1703 |
+
0xaab2: 84,
|
1704 |
+
0xaab3: 84,
|
1705 |
+
0xaab4: 84,
|
1706 |
+
0xaab7: 84,
|
1707 |
+
0xaab8: 84,
|
1708 |
+
0xaabe: 84,
|
1709 |
+
0xaabf: 84,
|
1710 |
+
0xaac1: 84,
|
1711 |
+
0xaaec: 84,
|
1712 |
+
0xaaed: 84,
|
1713 |
+
0xaaf6: 84,
|
1714 |
+
0xabe5: 84,
|
1715 |
+
0xabe8: 84,
|
1716 |
+
0xabed: 84,
|
1717 |
+
0xfb1e: 84,
|
1718 |
+
0xfe00: 84,
|
1719 |
+
0xfe01: 84,
|
1720 |
+
0xfe02: 84,
|
1721 |
+
0xfe03: 84,
|
1722 |
+
0xfe04: 84,
|
1723 |
+
0xfe05: 84,
|
1724 |
+
0xfe06: 84,
|
1725 |
+
0xfe07: 84,
|
1726 |
+
0xfe08: 84,
|
1727 |
+
0xfe09: 84,
|
1728 |
+
0xfe0a: 84,
|
1729 |
+
0xfe0b: 84,
|
1730 |
+
0xfe0c: 84,
|
1731 |
+
0xfe0d: 84,
|
1732 |
+
0xfe0e: 84,
|
1733 |
+
0xfe0f: 84,
|
1734 |
+
0xfe20: 84,
|
1735 |
+
0xfe21: 84,
|
1736 |
+
0xfe22: 84,
|
1737 |
+
0xfe23: 84,
|
1738 |
+
0xfe24: 84,
|
1739 |
+
0xfe25: 84,
|
1740 |
+
0xfe26: 84,
|
1741 |
+
0xfe27: 84,
|
1742 |
+
0xfe28: 84,
|
1743 |
+
0xfe29: 84,
|
1744 |
+
0xfe2a: 84,
|
1745 |
+
0xfe2b: 84,
|
1746 |
+
0xfe2c: 84,
|
1747 |
+
0xfe2d: 84,
|
1748 |
+
0xfe2e: 84,
|
1749 |
+
0xfe2f: 84,
|
1750 |
+
0xfeff: 84,
|
1751 |
+
0xfff9: 84,
|
1752 |
+
0xfffa: 84,
|
1753 |
+
0xfffb: 84,
|
1754 |
+
0x101fd: 84,
|
1755 |
+
0x102e0: 84,
|
1756 |
+
0x10376: 84,
|
1757 |
+
0x10377: 84,
|
1758 |
+
0x10378: 84,
|
1759 |
+
0x10379: 84,
|
1760 |
+
0x1037a: 84,
|
1761 |
+
0x10a01: 84,
|
1762 |
+
0x10a02: 84,
|
1763 |
+
0x10a03: 84,
|
1764 |
+
0x10a05: 84,
|
1765 |
+
0x10a06: 84,
|
1766 |
+
0x10a0c: 84,
|
1767 |
+
0x10a0d: 84,
|
1768 |
+
0x10a0e: 84,
|
1769 |
+
0x10a0f: 84,
|
1770 |
+
0x10a38: 84,
|
1771 |
+
0x10a39: 84,
|
1772 |
+
0x10a3a: 84,
|
1773 |
+
0x10a3f: 84,
|
1774 |
+
0x10ac0: 68,
|
1775 |
+
0x10ac1: 68,
|
1776 |
+
0x10ac2: 68,
|
1777 |
+
0x10ac3: 68,
|
1778 |
+
0x10ac4: 68,
|
1779 |
+
0x10ac5: 82,
|
1780 |
+
0x10ac7: 82,
|
1781 |
+
0x10ac9: 82,
|
1782 |
+
0x10aca: 82,
|
1783 |
+
0x10acd: 76,
|
1784 |
+
0x10ace: 82,
|
1785 |
+
0x10acf: 82,
|
1786 |
+
0x10ad0: 82,
|
1787 |
+
0x10ad1: 82,
|
1788 |
+
0x10ad2: 82,
|
1789 |
+
0x10ad3: 68,
|
1790 |
+
0x10ad4: 68,
|
1791 |
+
0x10ad5: 68,
|
1792 |
+
0x10ad6: 68,
|
1793 |
+
0x10ad7: 76,
|
1794 |
+
0x10ad8: 68,
|
1795 |
+
0x10ad9: 68,
|
1796 |
+
0x10ada: 68,
|
1797 |
+
0x10adb: 68,
|
1798 |
+
0x10adc: 68,
|
1799 |
+
0x10add: 82,
|
1800 |
+
0x10ade: 68,
|
1801 |
+
0x10adf: 68,
|
1802 |
+
0x10ae0: 68,
|
1803 |
+
0x10ae1: 82,
|
1804 |
+
0x10ae4: 82,
|
1805 |
+
0x10ae5: 84,
|
1806 |
+
0x10ae6: 84,
|
1807 |
+
0x10aeb: 68,
|
1808 |
+
0x10aec: 68,
|
1809 |
+
0x10aed: 68,
|
1810 |
+
0x10aee: 68,
|
1811 |
+
0x10aef: 82,
|
1812 |
+
0x10b80: 68,
|
1813 |
+
0x10b81: 82,
|
1814 |
+
0x10b82: 68,
|
1815 |
+
0x10b83: 82,
|
1816 |
+
0x10b84: 82,
|
1817 |
+
0x10b85: 82,
|
1818 |
+
0x10b86: 68,
|
1819 |
+
0x10b87: 68,
|
1820 |
+
0x10b88: 68,
|
1821 |
+
0x10b89: 82,
|
1822 |
+
0x10b8a: 68,
|
1823 |
+
0x10b8b: 68,
|
1824 |
+
0x10b8c: 82,
|
1825 |
+
0x10b8d: 68,
|
1826 |
+
0x10b8e: 82,
|
1827 |
+
0x10b8f: 82,
|
1828 |
+
0x10b90: 68,
|
1829 |
+
0x10b91: 82,
|
1830 |
+
0x10ba9: 82,
|
1831 |
+
0x10baa: 82,
|
1832 |
+
0x10bab: 82,
|
1833 |
+
0x10bac: 82,
|
1834 |
+
0x10bad: 68,
|
1835 |
+
0x10bae: 68,
|
1836 |
+
0x10d00: 76,
|
1837 |
+
0x10d01: 68,
|
1838 |
+
0x10d02: 68,
|
1839 |
+
0x10d03: 68,
|
1840 |
+
0x10d04: 68,
|
1841 |
+
0x10d05: 68,
|
1842 |
+
0x10d06: 68,
|
1843 |
+
0x10d07: 68,
|
1844 |
+
0x10d08: 68,
|
1845 |
+
0x10d09: 68,
|
1846 |
+
0x10d0a: 68,
|
1847 |
+
0x10d0b: 68,
|
1848 |
+
0x10d0c: 68,
|
1849 |
+
0x10d0d: 68,
|
1850 |
+
0x10d0e: 68,
|
1851 |
+
0x10d0f: 68,
|
1852 |
+
0x10d10: 68,
|
1853 |
+
0x10d11: 68,
|
1854 |
+
0x10d12: 68,
|
1855 |
+
0x10d13: 68,
|
1856 |
+
0x10d14: 68,
|
1857 |
+
0x10d15: 68,
|
1858 |
+
0x10d16: 68,
|
1859 |
+
0x10d17: 68,
|
1860 |
+
0x10d18: 68,
|
1861 |
+
0x10d19: 68,
|
1862 |
+
0x10d1a: 68,
|
1863 |
+
0x10d1b: 68,
|
1864 |
+
0x10d1c: 68,
|
1865 |
+
0x10d1d: 68,
|
1866 |
+
0x10d1e: 68,
|
1867 |
+
0x10d1f: 68,
|
1868 |
+
0x10d20: 68,
|
1869 |
+
0x10d21: 68,
|
1870 |
+
0x10d22: 82,
|
1871 |
+
0x10d23: 68,
|
1872 |
+
0x10d24: 84,
|
1873 |
+
0x10d25: 84,
|
1874 |
+
0x10d26: 84,
|
1875 |
+
0x10d27: 84,
|
1876 |
+
0x10eab: 84,
|
1877 |
+
0x10eac: 84,
|
1878 |
+
0x10efd: 84,
|
1879 |
+
0x10efe: 84,
|
1880 |
+
0x10eff: 84,
|
1881 |
+
0x10f30: 68,
|
1882 |
+
0x10f31: 68,
|
1883 |
+
0x10f32: 68,
|
1884 |
+
0x10f33: 82,
|
1885 |
+
0x10f34: 68,
|
1886 |
+
0x10f35: 68,
|
1887 |
+
0x10f36: 68,
|
1888 |
+
0x10f37: 68,
|
1889 |
+
0x10f38: 68,
|
1890 |
+
0x10f39: 68,
|
1891 |
+
0x10f3a: 68,
|
1892 |
+
0x10f3b: 68,
|
1893 |
+
0x10f3c: 68,
|
1894 |
+
0x10f3d: 68,
|
1895 |
+
0x10f3e: 68,
|
1896 |
+
0x10f3f: 68,
|
1897 |
+
0x10f40: 68,
|
1898 |
+
0x10f41: 68,
|
1899 |
+
0x10f42: 68,
|
1900 |
+
0x10f43: 68,
|
1901 |
+
0x10f44: 68,
|
1902 |
+
0x10f46: 84,
|
1903 |
+
0x10f47: 84,
|
1904 |
+
0x10f48: 84,
|
1905 |
+
0x10f49: 84,
|
1906 |
+
0x10f4a: 84,
|
1907 |
+
0x10f4b: 84,
|
1908 |
+
0x10f4c: 84,
|
1909 |
+
0x10f4d: 84,
|
1910 |
+
0x10f4e: 84,
|
1911 |
+
0x10f4f: 84,
|
1912 |
+
0x10f50: 84,
|
1913 |
+
0x10f51: 68,
|
1914 |
+
0x10f52: 68,
|
1915 |
+
0x10f53: 68,
|
1916 |
+
0x10f54: 82,
|
1917 |
+
0x10f70: 68,
|
1918 |
+
0x10f71: 68,
|
1919 |
+
0x10f72: 68,
|
1920 |
+
0x10f73: 68,
|
1921 |
+
0x10f74: 82,
|
1922 |
+
0x10f75: 82,
|
1923 |
+
0x10f76: 68,
|
1924 |
+
0x10f77: 68,
|
1925 |
+
0x10f78: 68,
|
1926 |
+
0x10f79: 68,
|
1927 |
+
0x10f7a: 68,
|
1928 |
+
0x10f7b: 68,
|
1929 |
+
0x10f7c: 68,
|
1930 |
+
0x10f7d: 68,
|
1931 |
+
0x10f7e: 68,
|
1932 |
+
0x10f7f: 68,
|
1933 |
+
0x10f80: 68,
|
1934 |
+
0x10f81: 68,
|
1935 |
+
0x10f82: 84,
|
1936 |
+
0x10f83: 84,
|
1937 |
+
0x10f84: 84,
|
1938 |
+
0x10f85: 84,
|
1939 |
+
0x10fb0: 68,
|
1940 |
+
0x10fb2: 68,
|
1941 |
+
0x10fb3: 68,
|
1942 |
+
0x10fb4: 82,
|
1943 |
+
0x10fb5: 82,
|
1944 |
+
0x10fb6: 82,
|
1945 |
+
0x10fb8: 68,
|
1946 |
+
0x10fb9: 82,
|
1947 |
+
0x10fba: 82,
|
1948 |
+
0x10fbb: 68,
|
1949 |
+
0x10fbc: 68,
|
1950 |
+
0x10fbd: 82,
|
1951 |
+
0x10fbe: 68,
|
1952 |
+
0x10fbf: 68,
|
1953 |
+
0x10fc1: 68,
|
1954 |
+
0x10fc2: 82,
|
1955 |
+
0x10fc3: 82,
|
1956 |
+
0x10fc4: 68,
|
1957 |
+
0x10fc9: 82,
|
1958 |
+
0x10fca: 68,
|
1959 |
+
0x10fcb: 76,
|
1960 |
+
0x11001: 84,
|
1961 |
+
0x11038: 84,
|
1962 |
+
0x11039: 84,
|
1963 |
+
0x1103a: 84,
|
1964 |
+
0x1103b: 84,
|
1965 |
+
0x1103c: 84,
|
1966 |
+
0x1103d: 84,
|
1967 |
+
0x1103e: 84,
|
1968 |
+
0x1103f: 84,
|
1969 |
+
0x11040: 84,
|
1970 |
+
0x11041: 84,
|
1971 |
+
0x11042: 84,
|
1972 |
+
0x11043: 84,
|
1973 |
+
0x11044: 84,
|
1974 |
+
0x11045: 84,
|
1975 |
+
0x11046: 84,
|
1976 |
+
0x11070: 84,
|
1977 |
+
0x11073: 84,
|
1978 |
+
0x11074: 84,
|
1979 |
+
0x1107f: 84,
|
1980 |
+
0x11080: 84,
|
1981 |
+
0x11081: 84,
|
1982 |
+
0x110b3: 84,
|
1983 |
+
0x110b4: 84,
|
1984 |
+
0x110b5: 84,
|
1985 |
+
0x110b6: 84,
|
1986 |
+
0x110b9: 84,
|
1987 |
+
0x110ba: 84,
|
1988 |
+
0x110c2: 84,
|
1989 |
+
0x11100: 84,
|
1990 |
+
0x11101: 84,
|
1991 |
+
0x11102: 84,
|
1992 |
+
0x11127: 84,
|
1993 |
+
0x11128: 84,
|
1994 |
+
0x11129: 84,
|
1995 |
+
0x1112a: 84,
|
1996 |
+
0x1112b: 84,
|
1997 |
+
0x1112d: 84,
|
1998 |
+
0x1112e: 84,
|
1999 |
+
0x1112f: 84,
|
2000 |
+
0x11130: 84,
|
2001 |
+
0x11131: 84,
|
2002 |
+
0x11132: 84,
|
2003 |
+
0x11133: 84,
|
2004 |
+
0x11134: 84,
|
2005 |
+
0x11173: 84,
|
2006 |
+
0x11180: 84,
|
2007 |
+
0x11181: 84,
|
2008 |
+
0x111b6: 84,
|
2009 |
+
0x111b7: 84,
|
2010 |
+
0x111b8: 84,
|
2011 |
+
0x111b9: 84,
|
2012 |
+
0x111ba: 84,
|
2013 |
+
0x111bb: 84,
|
2014 |
+
0x111bc: 84,
|
2015 |
+
0x111bd: 84,
|
2016 |
+
0x111be: 84,
|
2017 |
+
0x111c9: 84,
|
2018 |
+
0x111ca: 84,
|
2019 |
+
0x111cb: 84,
|
2020 |
+
0x111cc: 84,
|
2021 |
+
0x111cf: 84,
|
2022 |
+
0x1122f: 84,
|
2023 |
+
0x11230: 84,
|
2024 |
+
0x11231: 84,
|
2025 |
+
0x11234: 84,
|
2026 |
+
0x11236: 84,
|
2027 |
+
0x11237: 84,
|
2028 |
+
0x1123e: 84,
|
2029 |
+
0x11241: 84,
|
2030 |
+
0x112df: 84,
|
2031 |
+
0x112e3: 84,
|
2032 |
+
0x112e4: 84,
|
2033 |
+
0x112e5: 84,
|
2034 |
+
0x112e6: 84,
|
2035 |
+
0x112e7: 84,
|
2036 |
+
0x112e8: 84,
|
2037 |
+
0x112e9: 84,
|
2038 |
+
0x112ea: 84,
|
2039 |
+
0x11300: 84,
|
2040 |
+
0x11301: 84,
|
2041 |
+
0x1133b: 84,
|
2042 |
+
0x1133c: 84,
|
2043 |
+
0x11340: 84,
|
2044 |
+
0x11366: 84,
|
2045 |
+
0x11367: 84,
|
2046 |
+
0x11368: 84,
|
2047 |
+
0x11369: 84,
|
2048 |
+
0x1136a: 84,
|
2049 |
+
0x1136b: 84,
|
2050 |
+
0x1136c: 84,
|
2051 |
+
0x11370: 84,
|
2052 |
+
0x11371: 84,
|
2053 |
+
0x11372: 84,
|
2054 |
+
0x11373: 84,
|
2055 |
+
0x11374: 84,
|
2056 |
+
0x11438: 84,
|
2057 |
+
0x11439: 84,
|
2058 |
+
0x1143a: 84,
|
2059 |
+
0x1143b: 84,
|
2060 |
+
0x1143c: 84,
|
2061 |
+
0x1143d: 84,
|
2062 |
+
0x1143e: 84,
|
2063 |
+
0x1143f: 84,
|
2064 |
+
0x11442: 84,
|
2065 |
+
0x11443: 84,
|
2066 |
+
0x11444: 84,
|
2067 |
+
0x11446: 84,
|
2068 |
+
0x1145e: 84,
|
2069 |
+
0x114b3: 84,
|
2070 |
+
0x114b4: 84,
|
2071 |
+
0x114b5: 84,
|
2072 |
+
0x114b6: 84,
|
2073 |
+
0x114b7: 84,
|
2074 |
+
0x114b8: 84,
|
2075 |
+
0x114ba: 84,
|
2076 |
+
0x114bf: 84,
|
2077 |
+
0x114c0: 84,
|
2078 |
+
0x114c2: 84,
|
2079 |
+
0x114c3: 84,
|
2080 |
+
0x115b2: 84,
|
2081 |
+
0x115b3: 84,
|
2082 |
+
0x115b4: 84,
|
2083 |
+
0x115b5: 84,
|
2084 |
+
0x115bc: 84,
|
2085 |
+
0x115bd: 84,
|
2086 |
+
0x115bf: 84,
|
2087 |
+
0x115c0: 84,
|
2088 |
+
0x115dc: 84,
|
2089 |
+
0x115dd: 84,
|
2090 |
+
0x11633: 84,
|
2091 |
+
0x11634: 84,
|
2092 |
+
0x11635: 84,
|
2093 |
+
0x11636: 84,
|
2094 |
+
0x11637: 84,
|
2095 |
+
0x11638: 84,
|
2096 |
+
0x11639: 84,
|
2097 |
+
0x1163a: 84,
|
2098 |
+
0x1163d: 84,
|
2099 |
+
0x1163f: 84,
|
2100 |
+
0x11640: 84,
|
2101 |
+
0x116ab: 84,
|
2102 |
+
0x116ad: 84,
|
2103 |
+
0x116b0: 84,
|
2104 |
+
0x116b1: 84,
|
2105 |
+
0x116b2: 84,
|
2106 |
+
0x116b3: 84,
|
2107 |
+
0x116b4: 84,
|
2108 |
+
0x116b5: 84,
|
2109 |
+
0x116b7: 84,
|
2110 |
+
0x1171d: 84,
|
2111 |
+
0x1171e: 84,
|
2112 |
+
0x1171f: 84,
|
2113 |
+
0x11722: 84,
|
2114 |
+
0x11723: 84,
|
2115 |
+
0x11724: 84,
|
2116 |
+
0x11725: 84,
|
2117 |
+
0x11727: 84,
|
2118 |
+
0x11728: 84,
|
2119 |
+
0x11729: 84,
|
2120 |
+
0x1172a: 84,
|
2121 |
+
0x1172b: 84,
|
2122 |
+
0x1182f: 84,
|
2123 |
+
0x11830: 84,
|
2124 |
+
0x11831: 84,
|
2125 |
+
0x11832: 84,
|
2126 |
+
0x11833: 84,
|
2127 |
+
0x11834: 84,
|
2128 |
+
0x11835: 84,
|
2129 |
+
0x11836: 84,
|
2130 |
+
0x11837: 84,
|
2131 |
+
0x11839: 84,
|
2132 |
+
0x1183a: 84,
|
2133 |
+
0x1193b: 84,
|
2134 |
+
0x1193c: 84,
|
2135 |
+
0x1193e: 84,
|
2136 |
+
0x11943: 84,
|
2137 |
+
0x119d4: 84,
|
2138 |
+
0x119d5: 84,
|
2139 |
+
0x119d6: 84,
|
2140 |
+
0x119d7: 84,
|
2141 |
+
0x119da: 84,
|
2142 |
+
0x119db: 84,
|
2143 |
+
0x119e0: 84,
|
2144 |
+
0x11a01: 84,
|
2145 |
+
0x11a02: 84,
|
2146 |
+
0x11a03: 84,
|
2147 |
+
0x11a04: 84,
|
2148 |
+
0x11a05: 84,
|
2149 |
+
0x11a06: 84,
|
2150 |
+
0x11a07: 84,
|
2151 |
+
0x11a08: 84,
|
2152 |
+
0x11a09: 84,
|
2153 |
+
0x11a0a: 84,
|
2154 |
+
0x11a33: 84,
|
2155 |
+
0x11a34: 84,
|
2156 |
+
0x11a35: 84,
|
2157 |
+
0x11a36: 84,
|
2158 |
+
0x11a37: 84,
|
2159 |
+
0x11a38: 84,
|
2160 |
+
0x11a3b: 84,
|
2161 |
+
0x11a3c: 84,
|
2162 |
+
0x11a3d: 84,
|
2163 |
+
0x11a3e: 84,
|
2164 |
+
0x11a47: 84,
|
2165 |
+
0x11a51: 84,
|
2166 |
+
0x11a52: 84,
|
2167 |
+
0x11a53: 84,
|
2168 |
+
0x11a54: 84,
|
2169 |
+
0x11a55: 84,
|
2170 |
+
0x11a56: 84,
|
2171 |
+
0x11a59: 84,
|
2172 |
+
0x11a5a: 84,
|
2173 |
+
0x11a5b: 84,
|
2174 |
+
0x11a8a: 84,
|
2175 |
+
0x11a8b: 84,
|
2176 |
+
0x11a8c: 84,
|
2177 |
+
0x11a8d: 84,
|
2178 |
+
0x11a8e: 84,
|
2179 |
+
0x11a8f: 84,
|
2180 |
+
0x11a90: 84,
|
2181 |
+
0x11a91: 84,
|
2182 |
+
0x11a92: 84,
|
2183 |
+
0x11a93: 84,
|
2184 |
+
0x11a94: 84,
|
2185 |
+
0x11a95: 84,
|
2186 |
+
0x11a96: 84,
|
2187 |
+
0x11a98: 84,
|
2188 |
+
0x11a99: 84,
|
2189 |
+
0x11c30: 84,
|
2190 |
+
0x11c31: 84,
|
2191 |
+
0x11c32: 84,
|
2192 |
+
0x11c33: 84,
|
2193 |
+
0x11c34: 84,
|
2194 |
+
0x11c35: 84,
|
2195 |
+
0x11c36: 84,
|
2196 |
+
0x11c38: 84,
|
2197 |
+
0x11c39: 84,
|
2198 |
+
0x11c3a: 84,
|
2199 |
+
0x11c3b: 84,
|
2200 |
+
0x11c3c: 84,
|
2201 |
+
0x11c3d: 84,
|
2202 |
+
0x11c3f: 84,
|
2203 |
+
0x11c92: 84,
|
2204 |
+
0x11c93: 84,
|
2205 |
+
0x11c94: 84,
|
2206 |
+
0x11c95: 84,
|
2207 |
+
0x11c96: 84,
|
2208 |
+
0x11c97: 84,
|
2209 |
+
0x11c98: 84,
|
2210 |
+
0x11c99: 84,
|
2211 |
+
0x11c9a: 84,
|
2212 |
+
0x11c9b: 84,
|
2213 |
+
0x11c9c: 84,
|
2214 |
+
0x11c9d: 84,
|
2215 |
+
0x11c9e: 84,
|
2216 |
+
0x11c9f: 84,
|
2217 |
+
0x11ca0: 84,
|
2218 |
+
0x11ca1: 84,
|
2219 |
+
0x11ca2: 84,
|
2220 |
+
0x11ca3: 84,
|
2221 |
+
0x11ca4: 84,
|
2222 |
+
0x11ca5: 84,
|
2223 |
+
0x11ca6: 84,
|
2224 |
+
0x11ca7: 84,
|
2225 |
+
0x11caa: 84,
|
2226 |
+
0x11cab: 84,
|
2227 |
+
0x11cac: 84,
|
2228 |
+
0x11cad: 84,
|
2229 |
+
0x11cae: 84,
|
2230 |
+
0x11caf: 84,
|
2231 |
+
0x11cb0: 84,
|
2232 |
+
0x11cb2: 84,
|
2233 |
+
0x11cb3: 84,
|
2234 |
+
0x11cb5: 84,
|
2235 |
+
0x11cb6: 84,
|
2236 |
+
0x11d31: 84,
|
2237 |
+
0x11d32: 84,
|
2238 |
+
0x11d33: 84,
|
2239 |
+
0x11d34: 84,
|
2240 |
+
0x11d35: 84,
|
2241 |
+
0x11d36: 84,
|
2242 |
+
0x11d3a: 84,
|
2243 |
+
0x11d3c: 84,
|
2244 |
+
0x11d3d: 84,
|
2245 |
+
0x11d3f: 84,
|
2246 |
+
0x11d40: 84,
|
2247 |
+
0x11d41: 84,
|
2248 |
+
0x11d42: 84,
|
2249 |
+
0x11d43: 84,
|
2250 |
+
0x11d44: 84,
|
2251 |
+
0x11d45: 84,
|
2252 |
+
0x11d47: 84,
|
2253 |
+
0x11d90: 84,
|
2254 |
+
0x11d91: 84,
|
2255 |
+
0x11d95: 84,
|
2256 |
+
0x11d97: 84,
|
2257 |
+
0x11ef3: 84,
|
2258 |
+
0x11ef4: 84,
|
2259 |
+
0x11f00: 84,
|
2260 |
+
0x11f01: 84,
|
2261 |
+
0x11f36: 84,
|
2262 |
+
0x11f37: 84,
|
2263 |
+
0x11f38: 84,
|
2264 |
+
0x11f39: 84,
|
2265 |
+
0x11f3a: 84,
|
2266 |
+
0x11f40: 84,
|
2267 |
+
0x11f42: 84,
|
2268 |
+
0x13430: 84,
|
2269 |
+
0x13431: 84,
|
2270 |
+
0x13432: 84,
|
2271 |
+
0x13433: 84,
|
2272 |
+
0x13434: 84,
|
2273 |
+
0x13435: 84,
|
2274 |
+
0x13436: 84,
|
2275 |
+
0x13437: 84,
|
2276 |
+
0x13438: 84,
|
2277 |
+
0x13439: 84,
|
2278 |
+
0x1343a: 84,
|
2279 |
+
0x1343b: 84,
|
2280 |
+
0x1343c: 84,
|
2281 |
+
0x1343d: 84,
|
2282 |
+
0x1343e: 84,
|
2283 |
+
0x1343f: 84,
|
2284 |
+
0x13440: 84,
|
2285 |
+
0x13447: 84,
|
2286 |
+
0x13448: 84,
|
2287 |
+
0x13449: 84,
|
2288 |
+
0x1344a: 84,
|
2289 |
+
0x1344b: 84,
|
2290 |
+
0x1344c: 84,
|
2291 |
+
0x1344d: 84,
|
2292 |
+
0x1344e: 84,
|
2293 |
+
0x1344f: 84,
|
2294 |
+
0x13450: 84,
|
2295 |
+
0x13451: 84,
|
2296 |
+
0x13452: 84,
|
2297 |
+
0x13453: 84,
|
2298 |
+
0x13454: 84,
|
2299 |
+
0x13455: 84,
|
2300 |
+
0x16af0: 84,
|
2301 |
+
0x16af1: 84,
|
2302 |
+
0x16af2: 84,
|
2303 |
+
0x16af3: 84,
|
2304 |
+
0x16af4: 84,
|
2305 |
+
0x16b30: 84,
|
2306 |
+
0x16b31: 84,
|
2307 |
+
0x16b32: 84,
|
2308 |
+
0x16b33: 84,
|
2309 |
+
0x16b34: 84,
|
2310 |
+
0x16b35: 84,
|
2311 |
+
0x16b36: 84,
|
2312 |
+
0x16f4f: 84,
|
2313 |
+
0x16f8f: 84,
|
2314 |
+
0x16f90: 84,
|
2315 |
+
0x16f91: 84,
|
2316 |
+
0x16f92: 84,
|
2317 |
+
0x16fe4: 84,
|
2318 |
+
0x1bc9d: 84,
|
2319 |
+
0x1bc9e: 84,
|
2320 |
+
0x1bca0: 84,
|
2321 |
+
0x1bca1: 84,
|
2322 |
+
0x1bca2: 84,
|
2323 |
+
0x1bca3: 84,
|
2324 |
+
0x1cf00: 84,
|
2325 |
+
0x1cf01: 84,
|
2326 |
+
0x1cf02: 84,
|
2327 |
+
0x1cf03: 84,
|
2328 |
+
0x1cf04: 84,
|
2329 |
+
0x1cf05: 84,
|
2330 |
+
0x1cf06: 84,
|
2331 |
+
0x1cf07: 84,
|
2332 |
+
0x1cf08: 84,
|
2333 |
+
0x1cf09: 84,
|
2334 |
+
0x1cf0a: 84,
|
2335 |
+
0x1cf0b: 84,
|
2336 |
+
0x1cf0c: 84,
|
2337 |
+
0x1cf0d: 84,
|
2338 |
+
0x1cf0e: 84,
|
2339 |
+
0x1cf0f: 84,
|
2340 |
+
0x1cf10: 84,
|
2341 |
+
0x1cf11: 84,
|
2342 |
+
0x1cf12: 84,
|
2343 |
+
0x1cf13: 84,
|
2344 |
+
0x1cf14: 84,
|
2345 |
+
0x1cf15: 84,
|
2346 |
+
0x1cf16: 84,
|
2347 |
+
0x1cf17: 84,
|
2348 |
+
0x1cf18: 84,
|
2349 |
+
0x1cf19: 84,
|
2350 |
+
0x1cf1a: 84,
|
2351 |
+
0x1cf1b: 84,
|
2352 |
+
0x1cf1c: 84,
|
2353 |
+
0x1cf1d: 84,
|
2354 |
+
0x1cf1e: 84,
|
2355 |
+
0x1cf1f: 84,
|
2356 |
+
0x1cf20: 84,
|
2357 |
+
0x1cf21: 84,
|
2358 |
+
0x1cf22: 84,
|
2359 |
+
0x1cf23: 84,
|
2360 |
+
0x1cf24: 84,
|
2361 |
+
0x1cf25: 84,
|
2362 |
+
0x1cf26: 84,
|
2363 |
+
0x1cf27: 84,
|
2364 |
+
0x1cf28: 84,
|
2365 |
+
0x1cf29: 84,
|
2366 |
+
0x1cf2a: 84,
|
2367 |
+
0x1cf2b: 84,
|
2368 |
+
0x1cf2c: 84,
|
2369 |
+
0x1cf2d: 84,
|
2370 |
+
0x1cf30: 84,
|
2371 |
+
0x1cf31: 84,
|
2372 |
+
0x1cf32: 84,
|
2373 |
+
0x1cf33: 84,
|
2374 |
+
0x1cf34: 84,
|
2375 |
+
0x1cf35: 84,
|
2376 |
+
0x1cf36: 84,
|
2377 |
+
0x1cf37: 84,
|
2378 |
+
0x1cf38: 84,
|
2379 |
+
0x1cf39: 84,
|
2380 |
+
0x1cf3a: 84,
|
2381 |
+
0x1cf3b: 84,
|
2382 |
+
0x1cf3c: 84,
|
2383 |
+
0x1cf3d: 84,
|
2384 |
+
0x1cf3e: 84,
|
2385 |
+
0x1cf3f: 84,
|
2386 |
+
0x1cf40: 84,
|
2387 |
+
0x1cf41: 84,
|
2388 |
+
0x1cf42: 84,
|
2389 |
+
0x1cf43: 84,
|
2390 |
+
0x1cf44: 84,
|
2391 |
+
0x1cf45: 84,
|
2392 |
+
0x1cf46: 84,
|
2393 |
+
0x1d167: 84,
|
2394 |
+
0x1d168: 84,
|
2395 |
+
0x1d169: 84,
|
2396 |
+
0x1d173: 84,
|
2397 |
+
0x1d174: 84,
|
2398 |
+
0x1d175: 84,
|
2399 |
+
0x1d176: 84,
|
2400 |
+
0x1d177: 84,
|
2401 |
+
0x1d178: 84,
|
2402 |
+
0x1d179: 84,
|
2403 |
+
0x1d17a: 84,
|
2404 |
+
0x1d17b: 84,
|
2405 |
+
0x1d17c: 84,
|
2406 |
+
0x1d17d: 84,
|
2407 |
+
0x1d17e: 84,
|
2408 |
+
0x1d17f: 84,
|
2409 |
+
0x1d180: 84,
|
2410 |
+
0x1d181: 84,
|
2411 |
+
0x1d182: 84,
|
2412 |
+
0x1d185: 84,
|
2413 |
+
0x1d186: 84,
|
2414 |
+
0x1d187: 84,
|
2415 |
+
0x1d188: 84,
|
2416 |
+
0x1d189: 84,
|
2417 |
+
0x1d18a: 84,
|
2418 |
+
0x1d18b: 84,
|
2419 |
+
0x1d1aa: 84,
|
2420 |
+
0x1d1ab: 84,
|
2421 |
+
0x1d1ac: 84,
|
2422 |
+
0x1d1ad: 84,
|
2423 |
+
0x1d242: 84,
|
2424 |
+
0x1d243: 84,
|
2425 |
+
0x1d244: 84,
|
2426 |
+
0x1da00: 84,
|
2427 |
+
0x1da01: 84,
|
2428 |
+
0x1da02: 84,
|
2429 |
+
0x1da03: 84,
|
2430 |
+
0x1da04: 84,
|
2431 |
+
0x1da05: 84,
|
2432 |
+
0x1da06: 84,
|
2433 |
+
0x1da07: 84,
|
2434 |
+
0x1da08: 84,
|
2435 |
+
0x1da09: 84,
|
2436 |
+
0x1da0a: 84,
|
2437 |
+
0x1da0b: 84,
|
2438 |
+
0x1da0c: 84,
|
2439 |
+
0x1da0d: 84,
|
2440 |
+
0x1da0e: 84,
|
2441 |
+
0x1da0f: 84,
|
2442 |
+
0x1da10: 84,
|
2443 |
+
0x1da11: 84,
|
2444 |
+
0x1da12: 84,
|
2445 |
+
0x1da13: 84,
|
2446 |
+
0x1da14: 84,
|
2447 |
+
0x1da15: 84,
|
2448 |
+
0x1da16: 84,
|
2449 |
+
0x1da17: 84,
|
2450 |
+
0x1da18: 84,
|
2451 |
+
0x1da19: 84,
|
2452 |
+
0x1da1a: 84,
|
2453 |
+
0x1da1b: 84,
|
2454 |
+
0x1da1c: 84,
|
2455 |
+
0x1da1d: 84,
|
2456 |
+
0x1da1e: 84,
|
2457 |
+
0x1da1f: 84,
|
2458 |
+
0x1da20: 84,
|
2459 |
+
0x1da21: 84,
|
2460 |
+
0x1da22: 84,
|
2461 |
+
0x1da23: 84,
|
2462 |
+
0x1da24: 84,
|
2463 |
+
0x1da25: 84,
|
2464 |
+
0x1da26: 84,
|
2465 |
+
0x1da27: 84,
|
2466 |
+
0x1da28: 84,
|
2467 |
+
0x1da29: 84,
|
2468 |
+
0x1da2a: 84,
|
2469 |
+
0x1da2b: 84,
|
2470 |
+
0x1da2c: 84,
|
2471 |
+
0x1da2d: 84,
|
2472 |
+
0x1da2e: 84,
|
2473 |
+
0x1da2f: 84,
|
2474 |
+
0x1da30: 84,
|
2475 |
+
0x1da31: 84,
|
2476 |
+
0x1da32: 84,
|
2477 |
+
0x1da33: 84,
|
2478 |
+
0x1da34: 84,
|
2479 |
+
0x1da35: 84,
|
2480 |
+
0x1da36: 84,
|
2481 |
+
0x1da3b: 84,
|
2482 |
+
0x1da3c: 84,
|
2483 |
+
0x1da3d: 84,
|
2484 |
+
0x1da3e: 84,
|
2485 |
+
0x1da3f: 84,
|
2486 |
+
0x1da40: 84,
|
2487 |
+
0x1da41: 84,
|
2488 |
+
0x1da42: 84,
|
2489 |
+
0x1da43: 84,
|
2490 |
+
0x1da44: 84,
|
2491 |
+
0x1da45: 84,
|
2492 |
+
0x1da46: 84,
|
2493 |
+
0x1da47: 84,
|
2494 |
+
0x1da48: 84,
|
2495 |
+
0x1da49: 84,
|
2496 |
+
0x1da4a: 84,
|
2497 |
+
0x1da4b: 84,
|
2498 |
+
0x1da4c: 84,
|
2499 |
+
0x1da4d: 84,
|
2500 |
+
0x1da4e: 84,
|
2501 |
+
0x1da4f: 84,
|
2502 |
+
0x1da50: 84,
|
2503 |
+
0x1da51: 84,
|
2504 |
+
0x1da52: 84,
|
2505 |
+
0x1da53: 84,
|
2506 |
+
0x1da54: 84,
|
2507 |
+
0x1da55: 84,
|
2508 |
+
0x1da56: 84,
|
2509 |
+
0x1da57: 84,
|
2510 |
+
0x1da58: 84,
|
2511 |
+
0x1da59: 84,
|
2512 |
+
0x1da5a: 84,
|
2513 |
+
0x1da5b: 84,
|
2514 |
+
0x1da5c: 84,
|
2515 |
+
0x1da5d: 84,
|
2516 |
+
0x1da5e: 84,
|
2517 |
+
0x1da5f: 84,
|
2518 |
+
0x1da60: 84,
|
2519 |
+
0x1da61: 84,
|
2520 |
+
0x1da62: 84,
|
2521 |
+
0x1da63: 84,
|
2522 |
+
0x1da64: 84,
|
2523 |
+
0x1da65: 84,
|
2524 |
+
0x1da66: 84,
|
2525 |
+
0x1da67: 84,
|
2526 |
+
0x1da68: 84,
|
2527 |
+
0x1da69: 84,
|
2528 |
+
0x1da6a: 84,
|
2529 |
+
0x1da6b: 84,
|
2530 |
+
0x1da6c: 84,
|
2531 |
+
0x1da75: 84,
|
2532 |
+
0x1da84: 84,
|
2533 |
+
0x1da9b: 84,
|
2534 |
+
0x1da9c: 84,
|
2535 |
+
0x1da9d: 84,
|
2536 |
+
0x1da9e: 84,
|
2537 |
+
0x1da9f: 84,
|
2538 |
+
0x1daa1: 84,
|
2539 |
+
0x1daa2: 84,
|
2540 |
+
0x1daa3: 84,
|
2541 |
+
0x1daa4: 84,
|
2542 |
+
0x1daa5: 84,
|
2543 |
+
0x1daa6: 84,
|
2544 |
+
0x1daa7: 84,
|
2545 |
+
0x1daa8: 84,
|
2546 |
+
0x1daa9: 84,
|
2547 |
+
0x1daaa: 84,
|
2548 |
+
0x1daab: 84,
|
2549 |
+
0x1daac: 84,
|
2550 |
+
0x1daad: 84,
|
2551 |
+
0x1daae: 84,
|
2552 |
+
0x1daaf: 84,
|
2553 |
+
0x1e000: 84,
|
2554 |
+
0x1e001: 84,
|
2555 |
+
0x1e002: 84,
|
2556 |
+
0x1e003: 84,
|
2557 |
+
0x1e004: 84,
|
2558 |
+
0x1e005: 84,
|
2559 |
+
0x1e006: 84,
|
2560 |
+
0x1e008: 84,
|
2561 |
+
0x1e009: 84,
|
2562 |
+
0x1e00a: 84,
|
2563 |
+
0x1e00b: 84,
|
2564 |
+
0x1e00c: 84,
|
2565 |
+
0x1e00d: 84,
|
2566 |
+
0x1e00e: 84,
|
2567 |
+
0x1e00f: 84,
|
2568 |
+
0x1e010: 84,
|
2569 |
+
0x1e011: 84,
|
2570 |
+
0x1e012: 84,
|
2571 |
+
0x1e013: 84,
|
2572 |
+
0x1e014: 84,
|
2573 |
+
0x1e015: 84,
|
2574 |
+
0x1e016: 84,
|
2575 |
+
0x1e017: 84,
|
2576 |
+
0x1e018: 84,
|
2577 |
+
0x1e01b: 84,
|
2578 |
+
0x1e01c: 84,
|
2579 |
+
0x1e01d: 84,
|
2580 |
+
0x1e01e: 84,
|
2581 |
+
0x1e01f: 84,
|
2582 |
+
0x1e020: 84,
|
2583 |
+
0x1e021: 84,
|
2584 |
+
0x1e023: 84,
|
2585 |
+
0x1e024: 84,
|
2586 |
+
0x1e026: 84,
|
2587 |
+
0x1e027: 84,
|
2588 |
+
0x1e028: 84,
|
2589 |
+
0x1e029: 84,
|
2590 |
+
0x1e02a: 84,
|
2591 |
+
0x1e08f: 84,
|
2592 |
+
0x1e130: 84,
|
2593 |
+
0x1e131: 84,
|
2594 |
+
0x1e132: 84,
|
2595 |
+
0x1e133: 84,
|
2596 |
+
0x1e134: 84,
|
2597 |
+
0x1e135: 84,
|
2598 |
+
0x1e136: 84,
|
2599 |
+
0x1e2ae: 84,
|
2600 |
+
0x1e2ec: 84,
|
2601 |
+
0x1e2ed: 84,
|
2602 |
+
0x1e2ee: 84,
|
2603 |
+
0x1e2ef: 84,
|
2604 |
+
0x1e4ec: 84,
|
2605 |
+
0x1e4ed: 84,
|
2606 |
+
0x1e4ee: 84,
|
2607 |
+
0x1e4ef: 84,
|
2608 |
+
0x1e8d0: 84,
|
2609 |
+
0x1e8d1: 84,
|
2610 |
+
0x1e8d2: 84,
|
2611 |
+
0x1e8d3: 84,
|
2612 |
+
0x1e8d4: 84,
|
2613 |
+
0x1e8d5: 84,
|
2614 |
+
0x1e8d6: 84,
|
2615 |
+
0x1e900: 68,
|
2616 |
+
0x1e901: 68,
|
2617 |
+
0x1e902: 68,
|
2618 |
+
0x1e903: 68,
|
2619 |
+
0x1e904: 68,
|
2620 |
+
0x1e905: 68,
|
2621 |
+
0x1e906: 68,
|
2622 |
+
0x1e907: 68,
|
2623 |
+
0x1e908: 68,
|
2624 |
+
0x1e909: 68,
|
2625 |
+
0x1e90a: 68,
|
2626 |
+
0x1e90b: 68,
|
2627 |
+
0x1e90c: 68,
|
2628 |
+
0x1e90d: 68,
|
2629 |
+
0x1e90e: 68,
|
2630 |
+
0x1e90f: 68,
|
2631 |
+
0x1e910: 68,
|
2632 |
+
0x1e911: 68,
|
2633 |
+
0x1e912: 68,
|
2634 |
+
0x1e913: 68,
|
2635 |
+
0x1e914: 68,
|
2636 |
+
0x1e915: 68,
|
2637 |
+
0x1e916: 68,
|
2638 |
+
0x1e917: 68,
|
2639 |
+
0x1e918: 68,
|
2640 |
+
0x1e919: 68,
|
2641 |
+
0x1e91a: 68,
|
2642 |
+
0x1e91b: 68,
|
2643 |
+
0x1e91c: 68,
|
2644 |
+
0x1e91d: 68,
|
2645 |
+
0x1e91e: 68,
|
2646 |
+
0x1e91f: 68,
|
2647 |
+
0x1e920: 68,
|
2648 |
+
0x1e921: 68,
|
2649 |
+
0x1e922: 68,
|
2650 |
+
0x1e923: 68,
|
2651 |
+
0x1e924: 68,
|
2652 |
+
0x1e925: 68,
|
2653 |
+
0x1e926: 68,
|
2654 |
+
0x1e927: 68,
|
2655 |
+
0x1e928: 68,
|
2656 |
+
0x1e929: 68,
|
2657 |
+
0x1e92a: 68,
|
2658 |
+
0x1e92b: 68,
|
2659 |
+
0x1e92c: 68,
|
2660 |
+
0x1e92d: 68,
|
2661 |
+
0x1e92e: 68,
|
2662 |
+
0x1e92f: 68,
|
2663 |
+
0x1e930: 68,
|
2664 |
+
0x1e931: 68,
|
2665 |
+
0x1e932: 68,
|
2666 |
+
0x1e933: 68,
|
2667 |
+
0x1e934: 68,
|
2668 |
+
0x1e935: 68,
|
2669 |
+
0x1e936: 68,
|
2670 |
+
0x1e937: 68,
|
2671 |
+
0x1e938: 68,
|
2672 |
+
0x1e939: 68,
|
2673 |
+
0x1e93a: 68,
|
2674 |
+
0x1e93b: 68,
|
2675 |
+
0x1e93c: 68,
|
2676 |
+
0x1e93d: 68,
|
2677 |
+
0x1e93e: 68,
|
2678 |
+
0x1e93f: 68,
|
2679 |
+
0x1e940: 68,
|
2680 |
+
0x1e941: 68,
|
2681 |
+
0x1e942: 68,
|
2682 |
+
0x1e943: 68,
|
2683 |
+
0x1e944: 84,
|
2684 |
+
0x1e945: 84,
|
2685 |
+
0x1e946: 84,
|
2686 |
+
0x1e947: 84,
|
2687 |
+
0x1e948: 84,
|
2688 |
+
0x1e949: 84,
|
2689 |
+
0x1e94a: 84,
|
2690 |
+
0x1e94b: 84,
|
2691 |
+
0xe0001: 84,
|
2692 |
+
0xe0020: 84,
|
2693 |
+
0xe0021: 84,
|
2694 |
+
0xe0022: 84,
|
2695 |
+
0xe0023: 84,
|
2696 |
+
0xe0024: 84,
|
2697 |
+
0xe0025: 84,
|
2698 |
+
0xe0026: 84,
|
2699 |
+
0xe0027: 84,
|
2700 |
+
0xe0028: 84,
|
2701 |
+
0xe0029: 84,
|
2702 |
+
0xe002a: 84,
|
2703 |
+
0xe002b: 84,
|
2704 |
+
0xe002c: 84,
|
2705 |
+
0xe002d: 84,
|
2706 |
+
0xe002e: 84,
|
2707 |
+
0xe002f: 84,
|
2708 |
+
0xe0030: 84,
|
2709 |
+
0xe0031: 84,
|
2710 |
+
0xe0032: 84,
|
2711 |
+
0xe0033: 84,
|
2712 |
+
0xe0034: 84,
|
2713 |
+
0xe0035: 84,
|
2714 |
+
0xe0036: 84,
|
2715 |
+
0xe0037: 84,
|
2716 |
+
0xe0038: 84,
|
2717 |
+
0xe0039: 84,
|
2718 |
+
0xe003a: 84,
|
2719 |
+
0xe003b: 84,
|
2720 |
+
0xe003c: 84,
|
2721 |
+
0xe003d: 84,
|
2722 |
+
0xe003e: 84,
|
2723 |
+
0xe003f: 84,
|
2724 |
+
0xe0040: 84,
|
2725 |
+
0xe0041: 84,
|
2726 |
+
0xe0042: 84,
|
2727 |
+
0xe0043: 84,
|
2728 |
+
0xe0044: 84,
|
2729 |
+
0xe0045: 84,
|
2730 |
+
0xe0046: 84,
|
2731 |
+
0xe0047: 84,
|
2732 |
+
0xe0048: 84,
|
2733 |
+
0xe0049: 84,
|
2734 |
+
0xe004a: 84,
|
2735 |
+
0xe004b: 84,
|
2736 |
+
0xe004c: 84,
|
2737 |
+
0xe004d: 84,
|
2738 |
+
0xe004e: 84,
|
2739 |
+
0xe004f: 84,
|
2740 |
+
0xe0050: 84,
|
2741 |
+
0xe0051: 84,
|
2742 |
+
0xe0052: 84,
|
2743 |
+
0xe0053: 84,
|
2744 |
+
0xe0054: 84,
|
2745 |
+
0xe0055: 84,
|
2746 |
+
0xe0056: 84,
|
2747 |
+
0xe0057: 84,
|
2748 |
+
0xe0058: 84,
|
2749 |
+
0xe0059: 84,
|
2750 |
+
0xe005a: 84,
|
2751 |
+
0xe005b: 84,
|
2752 |
+
0xe005c: 84,
|
2753 |
+
0xe005d: 84,
|
2754 |
+
0xe005e: 84,
|
2755 |
+
0xe005f: 84,
|
2756 |
+
0xe0060: 84,
|
2757 |
+
0xe0061: 84,
|
2758 |
+
0xe0062: 84,
|
2759 |
+
0xe0063: 84,
|
2760 |
+
0xe0064: 84,
|
2761 |
+
0xe0065: 84,
|
2762 |
+
0xe0066: 84,
|
2763 |
+
0xe0067: 84,
|
2764 |
+
0xe0068: 84,
|
2765 |
+
0xe0069: 84,
|
2766 |
+
0xe006a: 84,
|
2767 |
+
0xe006b: 84,
|
2768 |
+
0xe006c: 84,
|
2769 |
+
0xe006d: 84,
|
2770 |
+
0xe006e: 84,
|
2771 |
+
0xe006f: 84,
|
2772 |
+
0xe0070: 84,
|
2773 |
+
0xe0071: 84,
|
2774 |
+
0xe0072: 84,
|
2775 |
+
0xe0073: 84,
|
2776 |
+
0xe0074: 84,
|
2777 |
+
0xe0075: 84,
|
2778 |
+
0xe0076: 84,
|
2779 |
+
0xe0077: 84,
|
2780 |
+
0xe0078: 84,
|
2781 |
+
0xe0079: 84,
|
2782 |
+
0xe007a: 84,
|
2783 |
+
0xe007b: 84,
|
2784 |
+
0xe007c: 84,
|
2785 |
+
0xe007d: 84,
|
2786 |
+
0xe007e: 84,
|
2787 |
+
0xe007f: 84,
|
2788 |
+
0xe0100: 84,
|
2789 |
+
0xe0101: 84,
|
2790 |
+
0xe0102: 84,
|
2791 |
+
0xe0103: 84,
|
2792 |
+
0xe0104: 84,
|
2793 |
+
0xe0105: 84,
|
2794 |
+
0xe0106: 84,
|
2795 |
+
0xe0107: 84,
|
2796 |
+
0xe0108: 84,
|
2797 |
+
0xe0109: 84,
|
2798 |
+
0xe010a: 84,
|
2799 |
+
0xe010b: 84,
|
2800 |
+
0xe010c: 84,
|
2801 |
+
0xe010d: 84,
|
2802 |
+
0xe010e: 84,
|
2803 |
+
0xe010f: 84,
|
2804 |
+
0xe0110: 84,
|
2805 |
+
0xe0111: 84,
|
2806 |
+
0xe0112: 84,
|
2807 |
+
0xe0113: 84,
|
2808 |
+
0xe0114: 84,
|
2809 |
+
0xe0115: 84,
|
2810 |
+
0xe0116: 84,
|
2811 |
+
0xe0117: 84,
|
2812 |
+
0xe0118: 84,
|
2813 |
+
0xe0119: 84,
|
2814 |
+
0xe011a: 84,
|
2815 |
+
0xe011b: 84,
|
2816 |
+
0xe011c: 84,
|
2817 |
+
0xe011d: 84,
|
2818 |
+
0xe011e: 84,
|
2819 |
+
0xe011f: 84,
|
2820 |
+
0xe0120: 84,
|
2821 |
+
0xe0121: 84,
|
2822 |
+
0xe0122: 84,
|
2823 |
+
0xe0123: 84,
|
2824 |
+
0xe0124: 84,
|
2825 |
+
0xe0125: 84,
|
2826 |
+
0xe0126: 84,
|
2827 |
+
0xe0127: 84,
|
2828 |
+
0xe0128: 84,
|
2829 |
+
0xe0129: 84,
|
2830 |
+
0xe012a: 84,
|
2831 |
+
0xe012b: 84,
|
2832 |
+
0xe012c: 84,
|
2833 |
+
0xe012d: 84,
|
2834 |
+
0xe012e: 84,
|
2835 |
+
0xe012f: 84,
|
2836 |
+
0xe0130: 84,
|
2837 |
+
0xe0131: 84,
|
2838 |
+
0xe0132: 84,
|
2839 |
+
0xe0133: 84,
|
2840 |
+
0xe0134: 84,
|
2841 |
+
0xe0135: 84,
|
2842 |
+
0xe0136: 84,
|
2843 |
+
0xe0137: 84,
|
2844 |
+
0xe0138: 84,
|
2845 |
+
0xe0139: 84,
|
2846 |
+
0xe013a: 84,
|
2847 |
+
0xe013b: 84,
|
2848 |
+
0xe013c: 84,
|
2849 |
+
0xe013d: 84,
|
2850 |
+
0xe013e: 84,
|
2851 |
+
0xe013f: 84,
|
2852 |
+
0xe0140: 84,
|
2853 |
+
0xe0141: 84,
|
2854 |
+
0xe0142: 84,
|
2855 |
+
0xe0143: 84,
|
2856 |
+
0xe0144: 84,
|
2857 |
+
0xe0145: 84,
|
2858 |
+
0xe0146: 84,
|
2859 |
+
0xe0147: 84,
|
2860 |
+
0xe0148: 84,
|
2861 |
+
0xe0149: 84,
|
2862 |
+
0xe014a: 84,
|
2863 |
+
0xe014b: 84,
|
2864 |
+
0xe014c: 84,
|
2865 |
+
0xe014d: 84,
|
2866 |
+
0xe014e: 84,
|
2867 |
+
0xe014f: 84,
|
2868 |
+
0xe0150: 84,
|
2869 |
+
0xe0151: 84,
|
2870 |
+
0xe0152: 84,
|
2871 |
+
0xe0153: 84,
|
2872 |
+
0xe0154: 84,
|
2873 |
+
0xe0155: 84,
|
2874 |
+
0xe0156: 84,
|
2875 |
+
0xe0157: 84,
|
2876 |
+
0xe0158: 84,
|
2877 |
+
0xe0159: 84,
|
2878 |
+
0xe015a: 84,
|
2879 |
+
0xe015b: 84,
|
2880 |
+
0xe015c: 84,
|
2881 |
+
0xe015d: 84,
|
2882 |
+
0xe015e: 84,
|
2883 |
+
0xe015f: 84,
|
2884 |
+
0xe0160: 84,
|
2885 |
+
0xe0161: 84,
|
2886 |
+
0xe0162: 84,
|
2887 |
+
0xe0163: 84,
|
2888 |
+
0xe0164: 84,
|
2889 |
+
0xe0165: 84,
|
2890 |
+
0xe0166: 84,
|
2891 |
+
0xe0167: 84,
|
2892 |
+
0xe0168: 84,
|
2893 |
+
0xe0169: 84,
|
2894 |
+
0xe016a: 84,
|
2895 |
+
0xe016b: 84,
|
2896 |
+
0xe016c: 84,
|
2897 |
+
0xe016d: 84,
|
2898 |
+
0xe016e: 84,
|
2899 |
+
0xe016f: 84,
|
2900 |
+
0xe0170: 84,
|
2901 |
+
0xe0171: 84,
|
2902 |
+
0xe0172: 84,
|
2903 |
+
0xe0173: 84,
|
2904 |
+
0xe0174: 84,
|
2905 |
+
0xe0175: 84,
|
2906 |
+
0xe0176: 84,
|
2907 |
+
0xe0177: 84,
|
2908 |
+
0xe0178: 84,
|
2909 |
+
0xe0179: 84,
|
2910 |
+
0xe017a: 84,
|
2911 |
+
0xe017b: 84,
|
2912 |
+
0xe017c: 84,
|
2913 |
+
0xe017d: 84,
|
2914 |
+
0xe017e: 84,
|
2915 |
+
0xe017f: 84,
|
2916 |
+
0xe0180: 84,
|
2917 |
+
0xe0181: 84,
|
2918 |
+
0xe0182: 84,
|
2919 |
+
0xe0183: 84,
|
2920 |
+
0xe0184: 84,
|
2921 |
+
0xe0185: 84,
|
2922 |
+
0xe0186: 84,
|
2923 |
+
0xe0187: 84,
|
2924 |
+
0xe0188: 84,
|
2925 |
+
0xe0189: 84,
|
2926 |
+
0xe018a: 84,
|
2927 |
+
0xe018b: 84,
|
2928 |
+
0xe018c: 84,
|
2929 |
+
0xe018d: 84,
|
2930 |
+
0xe018e: 84,
|
2931 |
+
0xe018f: 84,
|
2932 |
+
0xe0190: 84,
|
2933 |
+
0xe0191: 84,
|
2934 |
+
0xe0192: 84,
|
2935 |
+
0xe0193: 84,
|
2936 |
+
0xe0194: 84,
|
2937 |
+
0xe0195: 84,
|
2938 |
+
0xe0196: 84,
|
2939 |
+
0xe0197: 84,
|
2940 |
+
0xe0198: 84,
|
2941 |
+
0xe0199: 84,
|
2942 |
+
0xe019a: 84,
|
2943 |
+
0xe019b: 84,
|
2944 |
+
0xe019c: 84,
|
2945 |
+
0xe019d: 84,
|
2946 |
+
0xe019e: 84,
|
2947 |
+
0xe019f: 84,
|
2948 |
+
0xe01a0: 84,
|
2949 |
+
0xe01a1: 84,
|
2950 |
+
0xe01a2: 84,
|
2951 |
+
0xe01a3: 84,
|
2952 |
+
0xe01a4: 84,
|
2953 |
+
0xe01a5: 84,
|
2954 |
+
0xe01a6: 84,
|
2955 |
+
0xe01a7: 84,
|
2956 |
+
0xe01a8: 84,
|
2957 |
+
0xe01a9: 84,
|
2958 |
+
0xe01aa: 84,
|
2959 |
+
0xe01ab: 84,
|
2960 |
+
0xe01ac: 84,
|
2961 |
+
0xe01ad: 84,
|
2962 |
+
0xe01ae: 84,
|
2963 |
+
0xe01af: 84,
|
2964 |
+
0xe01b0: 84,
|
2965 |
+
0xe01b1: 84,
|
2966 |
+
0xe01b2: 84,
|
2967 |
+
0xe01b3: 84,
|
2968 |
+
0xe01b4: 84,
|
2969 |
+
0xe01b5: 84,
|
2970 |
+
0xe01b6: 84,
|
2971 |
+
0xe01b7: 84,
|
2972 |
+
0xe01b8: 84,
|
2973 |
+
0xe01b9: 84,
|
2974 |
+
0xe01ba: 84,
|
2975 |
+
0xe01bb: 84,
|
2976 |
+
0xe01bc: 84,
|
2977 |
+
0xe01bd: 84,
|
2978 |
+
0xe01be: 84,
|
2979 |
+
0xe01bf: 84,
|
2980 |
+
0xe01c0: 84,
|
2981 |
+
0xe01c1: 84,
|
2982 |
+
0xe01c2: 84,
|
2983 |
+
0xe01c3: 84,
|
2984 |
+
0xe01c4: 84,
|
2985 |
+
0xe01c5: 84,
|
2986 |
+
0xe01c6: 84,
|
2987 |
+
0xe01c7: 84,
|
2988 |
+
0xe01c8: 84,
|
2989 |
+
0xe01c9: 84,
|
2990 |
+
0xe01ca: 84,
|
2991 |
+
0xe01cb: 84,
|
2992 |
+
0xe01cc: 84,
|
2993 |
+
0xe01cd: 84,
|
2994 |
+
0xe01ce: 84,
|
2995 |
+
0xe01cf: 84,
|
2996 |
+
0xe01d0: 84,
|
2997 |
+
0xe01d1: 84,
|
2998 |
+
0xe01d2: 84,
|
2999 |
+
0xe01d3: 84,
|
3000 |
+
0xe01d4: 84,
|
3001 |
+
0xe01d5: 84,
|
3002 |
+
0xe01d6: 84,
|
3003 |
+
0xe01d7: 84,
|
3004 |
+
0xe01d8: 84,
|
3005 |
+
0xe01d9: 84,
|
3006 |
+
0xe01da: 84,
|
3007 |
+
0xe01db: 84,
|
3008 |
+
0xe01dc: 84,
|
3009 |
+
0xe01dd: 84,
|
3010 |
+
0xe01de: 84,
|
3011 |
+
0xe01df: 84,
|
3012 |
+
0xe01e0: 84,
|
3013 |
+
0xe01e1: 84,
|
3014 |
+
0xe01e2: 84,
|
3015 |
+
0xe01e3: 84,
|
3016 |
+
0xe01e4: 84,
|
3017 |
+
0xe01e5: 84,
|
3018 |
+
0xe01e6: 84,
|
3019 |
+
0xe01e7: 84,
|
3020 |
+
0xe01e8: 84,
|
3021 |
+
0xe01e9: 84,
|
3022 |
+
0xe01ea: 84,
|
3023 |
+
0xe01eb: 84,
|
3024 |
+
0xe01ec: 84,
|
3025 |
+
0xe01ed: 84,
|
3026 |
+
0xe01ee: 84,
|
3027 |
+
0xe01ef: 84,
|
3028 |
+
}
|
3029 |
+
codepoint_classes = {
|
3030 |
+
'PVALID': (
|
3031 |
+
0x2d0000002e,
|
3032 |
+
0x300000003a,
|
3033 |
+
0x610000007b,
|
3034 |
+
0xdf000000f7,
|
3035 |
+
0xf800000100,
|
3036 |
+
0x10100000102,
|
3037 |
+
0x10300000104,
|
3038 |
+
0x10500000106,
|
3039 |
+
0x10700000108,
|
3040 |
+
0x1090000010a,
|
3041 |
+
0x10b0000010c,
|
3042 |
+
0x10d0000010e,
|
3043 |
+
0x10f00000110,
|
3044 |
+
0x11100000112,
|
3045 |
+
0x11300000114,
|
3046 |
+
0x11500000116,
|
3047 |
+
0x11700000118,
|
3048 |
+
0x1190000011a,
|
3049 |
+
0x11b0000011c,
|
3050 |
+
0x11d0000011e,
|
3051 |
+
0x11f00000120,
|
3052 |
+
0x12100000122,
|
3053 |
+
0x12300000124,
|
3054 |
+
0x12500000126,
|
3055 |
+
0x12700000128,
|
3056 |
+
0x1290000012a,
|
3057 |
+
0x12b0000012c,
|
3058 |
+
0x12d0000012e,
|
3059 |
+
0x12f00000130,
|
3060 |
+
0x13100000132,
|
3061 |
+
0x13500000136,
|
3062 |
+
0x13700000139,
|
3063 |
+
0x13a0000013b,
|
3064 |
+
0x13c0000013d,
|
3065 |
+
0x13e0000013f,
|
3066 |
+
0x14200000143,
|
3067 |
+
0x14400000145,
|
3068 |
+
0x14600000147,
|
3069 |
+
0x14800000149,
|
3070 |
+
0x14b0000014c,
|
3071 |
+
0x14d0000014e,
|
3072 |
+
0x14f00000150,
|
3073 |
+
0x15100000152,
|
3074 |
+
0x15300000154,
|
3075 |
+
0x15500000156,
|
3076 |
+
0x15700000158,
|
3077 |
+
0x1590000015a,
|
3078 |
+
0x15b0000015c,
|
3079 |
+
0x15d0000015e,
|
3080 |
+
0x15f00000160,
|
3081 |
+
0x16100000162,
|
3082 |
+
0x16300000164,
|
3083 |
+
0x16500000166,
|
3084 |
+
0x16700000168,
|
3085 |
+
0x1690000016a,
|
3086 |
+
0x16b0000016c,
|
3087 |
+
0x16d0000016e,
|
3088 |
+
0x16f00000170,
|
3089 |
+
0x17100000172,
|
3090 |
+
0x17300000174,
|
3091 |
+
0x17500000176,
|
3092 |
+
0x17700000178,
|
3093 |
+
0x17a0000017b,
|
3094 |
+
0x17c0000017d,
|
3095 |
+
0x17e0000017f,
|
3096 |
+
0x18000000181,
|
3097 |
+
0x18300000184,
|
3098 |
+
0x18500000186,
|
3099 |
+
0x18800000189,
|
3100 |
+
0x18c0000018e,
|
3101 |
+
0x19200000193,
|
3102 |
+
0x19500000196,
|
3103 |
+
0x1990000019c,
|
3104 |
+
0x19e0000019f,
|
3105 |
+
0x1a1000001a2,
|
3106 |
+
0x1a3000001a4,
|
3107 |
+
0x1a5000001a6,
|
3108 |
+
0x1a8000001a9,
|
3109 |
+
0x1aa000001ac,
|
3110 |
+
0x1ad000001ae,
|
3111 |
+
0x1b0000001b1,
|
3112 |
+
0x1b4000001b5,
|
3113 |
+
0x1b6000001b7,
|
3114 |
+
0x1b9000001bc,
|
3115 |
+
0x1bd000001c4,
|
3116 |
+
0x1ce000001cf,
|
3117 |
+
0x1d0000001d1,
|
3118 |
+
0x1d2000001d3,
|
3119 |
+
0x1d4000001d5,
|
3120 |
+
0x1d6000001d7,
|
3121 |
+
0x1d8000001d9,
|
3122 |
+
0x1da000001db,
|
3123 |
+
0x1dc000001de,
|
3124 |
+
0x1df000001e0,
|
3125 |
+
0x1e1000001e2,
|
3126 |
+
0x1e3000001e4,
|
3127 |
+
0x1e5000001e6,
|
3128 |
+
0x1e7000001e8,
|
3129 |
+
0x1e9000001ea,
|
3130 |
+
0x1eb000001ec,
|
3131 |
+
0x1ed000001ee,
|
3132 |
+
0x1ef000001f1,
|
3133 |
+
0x1f5000001f6,
|
3134 |
+
0x1f9000001fa,
|
3135 |
+
0x1fb000001fc,
|
3136 |
+
0x1fd000001fe,
|
3137 |
+
0x1ff00000200,
|
3138 |
+
0x20100000202,
|
3139 |
+
0x20300000204,
|
3140 |
+
0x20500000206,
|
3141 |
+
0x20700000208,
|
3142 |
+
0x2090000020a,
|
3143 |
+
0x20b0000020c,
|
3144 |
+
0x20d0000020e,
|
3145 |
+
0x20f00000210,
|
3146 |
+
0x21100000212,
|
3147 |
+
0x21300000214,
|
3148 |
+
0x21500000216,
|
3149 |
+
0x21700000218,
|
3150 |
+
0x2190000021a,
|
3151 |
+
0x21b0000021c,
|
3152 |
+
0x21d0000021e,
|
3153 |
+
0x21f00000220,
|
3154 |
+
0x22100000222,
|
3155 |
+
0x22300000224,
|
3156 |
+
0x22500000226,
|
3157 |
+
0x22700000228,
|
3158 |
+
0x2290000022a,
|
3159 |
+
0x22b0000022c,
|
3160 |
+
0x22d0000022e,
|
3161 |
+
0x22f00000230,
|
3162 |
+
0x23100000232,
|
3163 |
+
0x2330000023a,
|
3164 |
+
0x23c0000023d,
|
3165 |
+
0x23f00000241,
|
3166 |
+
0x24200000243,
|
3167 |
+
0x24700000248,
|
3168 |
+
0x2490000024a,
|
3169 |
+
0x24b0000024c,
|
3170 |
+
0x24d0000024e,
|
3171 |
+
0x24f000002b0,
|
3172 |
+
0x2b9000002c2,
|
3173 |
+
0x2c6000002d2,
|
3174 |
+
0x2ec000002ed,
|
3175 |
+
0x2ee000002ef,
|
3176 |
+
0x30000000340,
|
3177 |
+
0x34200000343,
|
3178 |
+
0x3460000034f,
|
3179 |
+
0x35000000370,
|
3180 |
+
0x37100000372,
|
3181 |
+
0x37300000374,
|
3182 |
+
0x37700000378,
|
3183 |
+
0x37b0000037e,
|
3184 |
+
0x39000000391,
|
3185 |
+
0x3ac000003cf,
|
3186 |
+
0x3d7000003d8,
|
3187 |
+
0x3d9000003da,
|
3188 |
+
0x3db000003dc,
|
3189 |
+
0x3dd000003de,
|
3190 |
+
0x3df000003e0,
|
3191 |
+
0x3e1000003e2,
|
3192 |
+
0x3e3000003e4,
|
3193 |
+
0x3e5000003e6,
|
3194 |
+
0x3e7000003e8,
|
3195 |
+
0x3e9000003ea,
|
3196 |
+
0x3eb000003ec,
|
3197 |
+
0x3ed000003ee,
|
3198 |
+
0x3ef000003f0,
|
3199 |
+
0x3f3000003f4,
|
3200 |
+
0x3f8000003f9,
|
3201 |
+
0x3fb000003fd,
|
3202 |
+
0x43000000460,
|
3203 |
+
0x46100000462,
|
3204 |
+
0x46300000464,
|
3205 |
+
0x46500000466,
|
3206 |
+
0x46700000468,
|
3207 |
+
0x4690000046a,
|
3208 |
+
0x46b0000046c,
|
3209 |
+
0x46d0000046e,
|
3210 |
+
0x46f00000470,
|
3211 |
+
0x47100000472,
|
3212 |
+
0x47300000474,
|
3213 |
+
0x47500000476,
|
3214 |
+
0x47700000478,
|
3215 |
+
0x4790000047a,
|
3216 |
+
0x47b0000047c,
|
3217 |
+
0x47d0000047e,
|
3218 |
+
0x47f00000480,
|
3219 |
+
0x48100000482,
|
3220 |
+
0x48300000488,
|
3221 |
+
0x48b0000048c,
|
3222 |
+
0x48d0000048e,
|
3223 |
+
0x48f00000490,
|
3224 |
+
0x49100000492,
|
3225 |
+
0x49300000494,
|
3226 |
+
0x49500000496,
|
3227 |
+
0x49700000498,
|
3228 |
+
0x4990000049a,
|
3229 |
+
0x49b0000049c,
|
3230 |
+
0x49d0000049e,
|
3231 |
+
0x49f000004a0,
|
3232 |
+
0x4a1000004a2,
|
3233 |
+
0x4a3000004a4,
|
3234 |
+
0x4a5000004a6,
|
3235 |
+
0x4a7000004a8,
|
3236 |
+
0x4a9000004aa,
|
3237 |
+
0x4ab000004ac,
|
3238 |
+
0x4ad000004ae,
|
3239 |
+
0x4af000004b0,
|
3240 |
+
0x4b1000004b2,
|
3241 |
+
0x4b3000004b4,
|
3242 |
+
0x4b5000004b6,
|
3243 |
+
0x4b7000004b8,
|
3244 |
+
0x4b9000004ba,
|
3245 |
+
0x4bb000004bc,
|
3246 |
+
0x4bd000004be,
|
3247 |
+
0x4bf000004c0,
|
3248 |
+
0x4c2000004c3,
|
3249 |
+
0x4c4000004c5,
|
3250 |
+
0x4c6000004c7,
|
3251 |
+
0x4c8000004c9,
|
3252 |
+
0x4ca000004cb,
|
3253 |
+
0x4cc000004cd,
|
3254 |
+
0x4ce000004d0,
|
3255 |
+
0x4d1000004d2,
|
3256 |
+
0x4d3000004d4,
|
3257 |
+
0x4d5000004d6,
|
3258 |
+
0x4d7000004d8,
|
3259 |
+
0x4d9000004da,
|
3260 |
+
0x4db000004dc,
|
3261 |
+
0x4dd000004de,
|
3262 |
+
0x4df000004e0,
|
3263 |
+
0x4e1000004e2,
|
3264 |
+
0x4e3000004e4,
|
3265 |
+
0x4e5000004e6,
|
3266 |
+
0x4e7000004e8,
|
3267 |
+
0x4e9000004ea,
|
3268 |
+
0x4eb000004ec,
|
3269 |
+
0x4ed000004ee,
|
3270 |
+
0x4ef000004f0,
|
3271 |
+
0x4f1000004f2,
|
3272 |
+
0x4f3000004f4,
|
3273 |
+
0x4f5000004f6,
|
3274 |
+
0x4f7000004f8,
|
3275 |
+
0x4f9000004fa,
|
3276 |
+
0x4fb000004fc,
|
3277 |
+
0x4fd000004fe,
|
3278 |
+
0x4ff00000500,
|
3279 |
+
0x50100000502,
|
3280 |
+
0x50300000504,
|
3281 |
+
0x50500000506,
|
3282 |
+
0x50700000508,
|
3283 |
+
0x5090000050a,
|
3284 |
+
0x50b0000050c,
|
3285 |
+
0x50d0000050e,
|
3286 |
+
0x50f00000510,
|
3287 |
+
0x51100000512,
|
3288 |
+
0x51300000514,
|
3289 |
+
0x51500000516,
|
3290 |
+
0x51700000518,
|
3291 |
+
0x5190000051a,
|
3292 |
+
0x51b0000051c,
|
3293 |
+
0x51d0000051e,
|
3294 |
+
0x51f00000520,
|
3295 |
+
0x52100000522,
|
3296 |
+
0x52300000524,
|
3297 |
+
0x52500000526,
|
3298 |
+
0x52700000528,
|
3299 |
+
0x5290000052a,
|
3300 |
+
0x52b0000052c,
|
3301 |
+
0x52d0000052e,
|
3302 |
+
0x52f00000530,
|
3303 |
+
0x5590000055a,
|
3304 |
+
0x56000000587,
|
3305 |
+
0x58800000589,
|
3306 |
+
0x591000005be,
|
3307 |
+
0x5bf000005c0,
|
3308 |
+
0x5c1000005c3,
|
3309 |
+
0x5c4000005c6,
|
3310 |
+
0x5c7000005c8,
|
3311 |
+
0x5d0000005eb,
|
3312 |
+
0x5ef000005f3,
|
3313 |
+
0x6100000061b,
|
3314 |
+
0x62000000640,
|
3315 |
+
0x64100000660,
|
3316 |
+
0x66e00000675,
|
3317 |
+
0x679000006d4,
|
3318 |
+
0x6d5000006dd,
|
3319 |
+
0x6df000006e9,
|
3320 |
+
0x6ea000006f0,
|
3321 |
+
0x6fa00000700,
|
3322 |
+
0x7100000074b,
|
3323 |
+
0x74d000007b2,
|
3324 |
+
0x7c0000007f6,
|
3325 |
+
0x7fd000007fe,
|
3326 |
+
0x8000000082e,
|
3327 |
+
0x8400000085c,
|
3328 |
+
0x8600000086b,
|
3329 |
+
0x87000000888,
|
3330 |
+
0x8890000088f,
|
3331 |
+
0x898000008e2,
|
3332 |
+
0x8e300000958,
|
3333 |
+
0x96000000964,
|
3334 |
+
0x96600000970,
|
3335 |
+
0x97100000984,
|
3336 |
+
0x9850000098d,
|
3337 |
+
0x98f00000991,
|
3338 |
+
0x993000009a9,
|
3339 |
+
0x9aa000009b1,
|
3340 |
+
0x9b2000009b3,
|
3341 |
+
0x9b6000009ba,
|
3342 |
+
0x9bc000009c5,
|
3343 |
+
0x9c7000009c9,
|
3344 |
+
0x9cb000009cf,
|
3345 |
+
0x9d7000009d8,
|
3346 |
+
0x9e0000009e4,
|
3347 |
+
0x9e6000009f2,
|
3348 |
+
0x9fc000009fd,
|
3349 |
+
0x9fe000009ff,
|
3350 |
+
0xa0100000a04,
|
3351 |
+
0xa0500000a0b,
|
3352 |
+
0xa0f00000a11,
|
3353 |
+
0xa1300000a29,
|
3354 |
+
0xa2a00000a31,
|
3355 |
+
0xa3200000a33,
|
3356 |
+
0xa3500000a36,
|
3357 |
+
0xa3800000a3a,
|
3358 |
+
0xa3c00000a3d,
|
3359 |
+
0xa3e00000a43,
|
3360 |
+
0xa4700000a49,
|
3361 |
+
0xa4b00000a4e,
|
3362 |
+
0xa5100000a52,
|
3363 |
+
0xa5c00000a5d,
|
3364 |
+
0xa6600000a76,
|
3365 |
+
0xa8100000a84,
|
3366 |
+
0xa8500000a8e,
|
3367 |
+
0xa8f00000a92,
|
3368 |
+
0xa9300000aa9,
|
3369 |
+
0xaaa00000ab1,
|
3370 |
+
0xab200000ab4,
|
3371 |
+
0xab500000aba,
|
3372 |
+
0xabc00000ac6,
|
3373 |
+
0xac700000aca,
|
3374 |
+
0xacb00000ace,
|
3375 |
+
0xad000000ad1,
|
3376 |
+
0xae000000ae4,
|
3377 |
+
0xae600000af0,
|
3378 |
+
0xaf900000b00,
|
3379 |
+
0xb0100000b04,
|
3380 |
+
0xb0500000b0d,
|
3381 |
+
0xb0f00000b11,
|
3382 |
+
0xb1300000b29,
|
3383 |
+
0xb2a00000b31,
|
3384 |
+
0xb3200000b34,
|
3385 |
+
0xb3500000b3a,
|
3386 |
+
0xb3c00000b45,
|
3387 |
+
0xb4700000b49,
|
3388 |
+
0xb4b00000b4e,
|
3389 |
+
0xb5500000b58,
|
3390 |
+
0xb5f00000b64,
|
3391 |
+
0xb6600000b70,
|
3392 |
+
0xb7100000b72,
|
3393 |
+
0xb8200000b84,
|
3394 |
+
0xb8500000b8b,
|
3395 |
+
0xb8e00000b91,
|
3396 |
+
0xb9200000b96,
|
3397 |
+
0xb9900000b9b,
|
3398 |
+
0xb9c00000b9d,
|
3399 |
+
0xb9e00000ba0,
|
3400 |
+
0xba300000ba5,
|
3401 |
+
0xba800000bab,
|
3402 |
+
0xbae00000bba,
|
3403 |
+
0xbbe00000bc3,
|
3404 |
+
0xbc600000bc9,
|
3405 |
+
0xbca00000bce,
|
3406 |
+
0xbd000000bd1,
|
3407 |
+
0xbd700000bd8,
|
3408 |
+
0xbe600000bf0,
|
3409 |
+
0xc0000000c0d,
|
3410 |
+
0xc0e00000c11,
|
3411 |
+
0xc1200000c29,
|
3412 |
+
0xc2a00000c3a,
|
3413 |
+
0xc3c00000c45,
|
3414 |
+
0xc4600000c49,
|
3415 |
+
0xc4a00000c4e,
|
3416 |
+
0xc5500000c57,
|
3417 |
+
0xc5800000c5b,
|
3418 |
+
0xc5d00000c5e,
|
3419 |
+
0xc6000000c64,
|
3420 |
+
0xc6600000c70,
|
3421 |
+
0xc8000000c84,
|
3422 |
+
0xc8500000c8d,
|
3423 |
+
0xc8e00000c91,
|
3424 |
+
0xc9200000ca9,
|
3425 |
+
0xcaa00000cb4,
|
3426 |
+
0xcb500000cba,
|
3427 |
+
0xcbc00000cc5,
|
3428 |
+
0xcc600000cc9,
|
3429 |
+
0xcca00000cce,
|
3430 |
+
0xcd500000cd7,
|
3431 |
+
0xcdd00000cdf,
|
3432 |
+
0xce000000ce4,
|
3433 |
+
0xce600000cf0,
|
3434 |
+
0xcf100000cf4,
|
3435 |
+
0xd0000000d0d,
|
3436 |
+
0xd0e00000d11,
|
3437 |
+
0xd1200000d45,
|
3438 |
+
0xd4600000d49,
|
3439 |
+
0xd4a00000d4f,
|
3440 |
+
0xd5400000d58,
|
3441 |
+
0xd5f00000d64,
|
3442 |
+
0xd6600000d70,
|
3443 |
+
0xd7a00000d80,
|
3444 |
+
0xd8100000d84,
|
3445 |
+
0xd8500000d97,
|
3446 |
+
0xd9a00000db2,
|
3447 |
+
0xdb300000dbc,
|
3448 |
+
0xdbd00000dbe,
|
3449 |
+
0xdc000000dc7,
|
3450 |
+
0xdca00000dcb,
|
3451 |
+
0xdcf00000dd5,
|
3452 |
+
0xdd600000dd7,
|
3453 |
+
0xdd800000de0,
|
3454 |
+
0xde600000df0,
|
3455 |
+
0xdf200000df4,
|
3456 |
+
0xe0100000e33,
|
3457 |
+
0xe3400000e3b,
|
3458 |
+
0xe4000000e4f,
|
3459 |
+
0xe5000000e5a,
|
3460 |
+
0xe8100000e83,
|
3461 |
+
0xe8400000e85,
|
3462 |
+
0xe8600000e8b,
|
3463 |
+
0xe8c00000ea4,
|
3464 |
+
0xea500000ea6,
|
3465 |
+
0xea700000eb3,
|
3466 |
+
0xeb400000ebe,
|
3467 |
+
0xec000000ec5,
|
3468 |
+
0xec600000ec7,
|
3469 |
+
0xec800000ecf,
|
3470 |
+
0xed000000eda,
|
3471 |
+
0xede00000ee0,
|
3472 |
+
0xf0000000f01,
|
3473 |
+
0xf0b00000f0c,
|
3474 |
+
0xf1800000f1a,
|
3475 |
+
0xf2000000f2a,
|
3476 |
+
0xf3500000f36,
|
3477 |
+
0xf3700000f38,
|
3478 |
+
0xf3900000f3a,
|
3479 |
+
0xf3e00000f43,
|
3480 |
+
0xf4400000f48,
|
3481 |
+
0xf4900000f4d,
|
3482 |
+
0xf4e00000f52,
|
3483 |
+
0xf5300000f57,
|
3484 |
+
0xf5800000f5c,
|
3485 |
+
0xf5d00000f69,
|
3486 |
+
0xf6a00000f6d,
|
3487 |
+
0xf7100000f73,
|
3488 |
+
0xf7400000f75,
|
3489 |
+
0xf7a00000f81,
|
3490 |
+
0xf8200000f85,
|
3491 |
+
0xf8600000f93,
|
3492 |
+
0xf9400000f98,
|
3493 |
+
0xf9900000f9d,
|
3494 |
+
0xf9e00000fa2,
|
3495 |
+
0xfa300000fa7,
|
3496 |
+
0xfa800000fac,
|
3497 |
+
0xfad00000fb9,
|
3498 |
+
0xfba00000fbd,
|
3499 |
+
0xfc600000fc7,
|
3500 |
+
0x10000000104a,
|
3501 |
+
0x10500000109e,
|
3502 |
+
0x10d0000010fb,
|
3503 |
+
0x10fd00001100,
|
3504 |
+
0x120000001249,
|
3505 |
+
0x124a0000124e,
|
3506 |
+
0x125000001257,
|
3507 |
+
0x125800001259,
|
3508 |
+
0x125a0000125e,
|
3509 |
+
0x126000001289,
|
3510 |
+
0x128a0000128e,
|
3511 |
+
0x1290000012b1,
|
3512 |
+
0x12b2000012b6,
|
3513 |
+
0x12b8000012bf,
|
3514 |
+
0x12c0000012c1,
|
3515 |
+
0x12c2000012c6,
|
3516 |
+
0x12c8000012d7,
|
3517 |
+
0x12d800001311,
|
3518 |
+
0x131200001316,
|
3519 |
+
0x13180000135b,
|
3520 |
+
0x135d00001360,
|
3521 |
+
0x138000001390,
|
3522 |
+
0x13a0000013f6,
|
3523 |
+
0x14010000166d,
|
3524 |
+
0x166f00001680,
|
3525 |
+
0x16810000169b,
|
3526 |
+
0x16a0000016eb,
|
3527 |
+
0x16f1000016f9,
|
3528 |
+
0x170000001716,
|
3529 |
+
0x171f00001735,
|
3530 |
+
0x174000001754,
|
3531 |
+
0x17600000176d,
|
3532 |
+
0x176e00001771,
|
3533 |
+
0x177200001774,
|
3534 |
+
0x1780000017b4,
|
3535 |
+
0x17b6000017d4,
|
3536 |
+
0x17d7000017d8,
|
3537 |
+
0x17dc000017de,
|
3538 |
+
0x17e0000017ea,
|
3539 |
+
0x18100000181a,
|
3540 |
+
0x182000001879,
|
3541 |
+
0x1880000018ab,
|
3542 |
+
0x18b0000018f6,
|
3543 |
+
0x19000000191f,
|
3544 |
+
0x19200000192c,
|
3545 |
+
0x19300000193c,
|
3546 |
+
0x19460000196e,
|
3547 |
+
0x197000001975,
|
3548 |
+
0x1980000019ac,
|
3549 |
+
0x19b0000019ca,
|
3550 |
+
0x19d0000019da,
|
3551 |
+
0x1a0000001a1c,
|
3552 |
+
0x1a2000001a5f,
|
3553 |
+
0x1a6000001a7d,
|
3554 |
+
0x1a7f00001a8a,
|
3555 |
+
0x1a9000001a9a,
|
3556 |
+
0x1aa700001aa8,
|
3557 |
+
0x1ab000001abe,
|
3558 |
+
0x1abf00001acf,
|
3559 |
+
0x1b0000001b4d,
|
3560 |
+
0x1b5000001b5a,
|
3561 |
+
0x1b6b00001b74,
|
3562 |
+
0x1b8000001bf4,
|
3563 |
+
0x1c0000001c38,
|
3564 |
+
0x1c4000001c4a,
|
3565 |
+
0x1c4d00001c7e,
|
3566 |
+
0x1cd000001cd3,
|
3567 |
+
0x1cd400001cfb,
|
3568 |
+
0x1d0000001d2c,
|
3569 |
+
0x1d2f00001d30,
|
3570 |
+
0x1d3b00001d3c,
|
3571 |
+
0x1d4e00001d4f,
|
3572 |
+
0x1d6b00001d78,
|
3573 |
+
0x1d7900001d9b,
|
3574 |
+
0x1dc000001e00,
|
3575 |
+
0x1e0100001e02,
|
3576 |
+
0x1e0300001e04,
|
3577 |
+
0x1e0500001e06,
|
3578 |
+
0x1e0700001e08,
|
3579 |
+
0x1e0900001e0a,
|
3580 |
+
0x1e0b00001e0c,
|
3581 |
+
0x1e0d00001e0e,
|
3582 |
+
0x1e0f00001e10,
|
3583 |
+
0x1e1100001e12,
|
3584 |
+
0x1e1300001e14,
|
3585 |
+
0x1e1500001e16,
|
3586 |
+
0x1e1700001e18,
|
3587 |
+
0x1e1900001e1a,
|
3588 |
+
0x1e1b00001e1c,
|
3589 |
+
0x1e1d00001e1e,
|
3590 |
+
0x1e1f00001e20,
|
3591 |
+
0x1e2100001e22,
|
3592 |
+
0x1e2300001e24,
|
3593 |
+
0x1e2500001e26,
|
3594 |
+
0x1e2700001e28,
|
3595 |
+
0x1e2900001e2a,
|
3596 |
+
0x1e2b00001e2c,
|
3597 |
+
0x1e2d00001e2e,
|
3598 |
+
0x1e2f00001e30,
|
3599 |
+
0x1e3100001e32,
|
3600 |
+
0x1e3300001e34,
|
3601 |
+
0x1e3500001e36,
|
3602 |
+
0x1e3700001e38,
|
3603 |
+
0x1e3900001e3a,
|
3604 |
+
0x1e3b00001e3c,
|
3605 |
+
0x1e3d00001e3e,
|
3606 |
+
0x1e3f00001e40,
|
3607 |
+
0x1e4100001e42,
|
3608 |
+
0x1e4300001e44,
|
3609 |
+
0x1e4500001e46,
|
3610 |
+
0x1e4700001e48,
|
3611 |
+
0x1e4900001e4a,
|
3612 |
+
0x1e4b00001e4c,
|
3613 |
+
0x1e4d00001e4e,
|
3614 |
+
0x1e4f00001e50,
|
3615 |
+
0x1e5100001e52,
|
3616 |
+
0x1e5300001e54,
|
3617 |
+
0x1e5500001e56,
|
3618 |
+
0x1e5700001e58,
|
3619 |
+
0x1e5900001e5a,
|
3620 |
+
0x1e5b00001e5c,
|
3621 |
+
0x1e5d00001e5e,
|
3622 |
+
0x1e5f00001e60,
|
3623 |
+
0x1e6100001e62,
|
3624 |
+
0x1e6300001e64,
|
3625 |
+
0x1e6500001e66,
|
3626 |
+
0x1e6700001e68,
|
3627 |
+
0x1e6900001e6a,
|
3628 |
+
0x1e6b00001e6c,
|
3629 |
+
0x1e6d00001e6e,
|
3630 |
+
0x1e6f00001e70,
|
3631 |
+
0x1e7100001e72,
|
3632 |
+
0x1e7300001e74,
|
3633 |
+
0x1e7500001e76,
|
3634 |
+
0x1e7700001e78,
|
3635 |
+
0x1e7900001e7a,
|
3636 |
+
0x1e7b00001e7c,
|
3637 |
+
0x1e7d00001e7e,
|
3638 |
+
0x1e7f00001e80,
|
3639 |
+
0x1e8100001e82,
|
3640 |
+
0x1e8300001e84,
|
3641 |
+
0x1e8500001e86,
|
3642 |
+
0x1e8700001e88,
|
3643 |
+
0x1e8900001e8a,
|
3644 |
+
0x1e8b00001e8c,
|
3645 |
+
0x1e8d00001e8e,
|
3646 |
+
0x1e8f00001e90,
|
3647 |
+
0x1e9100001e92,
|
3648 |
+
0x1e9300001e94,
|
3649 |
+
0x1e9500001e9a,
|
3650 |
+
0x1e9c00001e9e,
|
3651 |
+
0x1e9f00001ea0,
|
3652 |
+
0x1ea100001ea2,
|
3653 |
+
0x1ea300001ea4,
|
3654 |
+
0x1ea500001ea6,
|
3655 |
+
0x1ea700001ea8,
|
3656 |
+
0x1ea900001eaa,
|
3657 |
+
0x1eab00001eac,
|
3658 |
+
0x1ead00001eae,
|
3659 |
+
0x1eaf00001eb0,
|
3660 |
+
0x1eb100001eb2,
|
3661 |
+
0x1eb300001eb4,
|
3662 |
+
0x1eb500001eb6,
|
3663 |
+
0x1eb700001eb8,
|
3664 |
+
0x1eb900001eba,
|
3665 |
+
0x1ebb00001ebc,
|
3666 |
+
0x1ebd00001ebe,
|
3667 |
+
0x1ebf00001ec0,
|
3668 |
+
0x1ec100001ec2,
|
3669 |
+
0x1ec300001ec4,
|
3670 |
+
0x1ec500001ec6,
|
3671 |
+
0x1ec700001ec8,
|
3672 |
+
0x1ec900001eca,
|
3673 |
+
0x1ecb00001ecc,
|
3674 |
+
0x1ecd00001ece,
|
3675 |
+
0x1ecf00001ed0,
|
3676 |
+
0x1ed100001ed2,
|
3677 |
+
0x1ed300001ed4,
|
3678 |
+
0x1ed500001ed6,
|
3679 |
+
0x1ed700001ed8,
|
3680 |
+
0x1ed900001eda,
|
3681 |
+
0x1edb00001edc,
|
3682 |
+
0x1edd00001ede,
|
3683 |
+
0x1edf00001ee0,
|
3684 |
+
0x1ee100001ee2,
|
3685 |
+
0x1ee300001ee4,
|
3686 |
+
0x1ee500001ee6,
|
3687 |
+
0x1ee700001ee8,
|
3688 |
+
0x1ee900001eea,
|
3689 |
+
0x1eeb00001eec,
|
3690 |
+
0x1eed00001eee,
|
3691 |
+
0x1eef00001ef0,
|
3692 |
+
0x1ef100001ef2,
|
3693 |
+
0x1ef300001ef4,
|
3694 |
+
0x1ef500001ef6,
|
3695 |
+
0x1ef700001ef8,
|
3696 |
+
0x1ef900001efa,
|
3697 |
+
0x1efb00001efc,
|
3698 |
+
0x1efd00001efe,
|
3699 |
+
0x1eff00001f08,
|
3700 |
+
0x1f1000001f16,
|
3701 |
+
0x1f2000001f28,
|
3702 |
+
0x1f3000001f38,
|
3703 |
+
0x1f4000001f46,
|
3704 |
+
0x1f5000001f58,
|
3705 |
+
0x1f6000001f68,
|
3706 |
+
0x1f7000001f71,
|
3707 |
+
0x1f7200001f73,
|
3708 |
+
0x1f7400001f75,
|
3709 |
+
0x1f7600001f77,
|
3710 |
+
0x1f7800001f79,
|
3711 |
+
0x1f7a00001f7b,
|
3712 |
+
0x1f7c00001f7d,
|
3713 |
+
0x1fb000001fb2,
|
3714 |
+
0x1fb600001fb7,
|
3715 |
+
0x1fc600001fc7,
|
3716 |
+
0x1fd000001fd3,
|
3717 |
+
0x1fd600001fd8,
|
3718 |
+
0x1fe000001fe3,
|
3719 |
+
0x1fe400001fe8,
|
3720 |
+
0x1ff600001ff7,
|
3721 |
+
0x214e0000214f,
|
3722 |
+
0x218400002185,
|
3723 |
+
0x2c3000002c60,
|
3724 |
+
0x2c6100002c62,
|
3725 |
+
0x2c6500002c67,
|
3726 |
+
0x2c6800002c69,
|
3727 |
+
0x2c6a00002c6b,
|
3728 |
+
0x2c6c00002c6d,
|
3729 |
+
0x2c7100002c72,
|
3730 |
+
0x2c7300002c75,
|
3731 |
+
0x2c7600002c7c,
|
3732 |
+
0x2c8100002c82,
|
3733 |
+
0x2c8300002c84,
|
3734 |
+
0x2c8500002c86,
|
3735 |
+
0x2c8700002c88,
|
3736 |
+
0x2c8900002c8a,
|
3737 |
+
0x2c8b00002c8c,
|
3738 |
+
0x2c8d00002c8e,
|
3739 |
+
0x2c8f00002c90,
|
3740 |
+
0x2c9100002c92,
|
3741 |
+
0x2c9300002c94,
|
3742 |
+
0x2c9500002c96,
|
3743 |
+
0x2c9700002c98,
|
3744 |
+
0x2c9900002c9a,
|
3745 |
+
0x2c9b00002c9c,
|
3746 |
+
0x2c9d00002c9e,
|
3747 |
+
0x2c9f00002ca0,
|
3748 |
+
0x2ca100002ca2,
|
3749 |
+
0x2ca300002ca4,
|
3750 |
+
0x2ca500002ca6,
|
3751 |
+
0x2ca700002ca8,
|
3752 |
+
0x2ca900002caa,
|
3753 |
+
0x2cab00002cac,
|
3754 |
+
0x2cad00002cae,
|
3755 |
+
0x2caf00002cb0,
|
3756 |
+
0x2cb100002cb2,
|
3757 |
+
0x2cb300002cb4,
|
3758 |
+
0x2cb500002cb6,
|
3759 |
+
0x2cb700002cb8,
|
3760 |
+
0x2cb900002cba,
|
3761 |
+
0x2cbb00002cbc,
|
3762 |
+
0x2cbd00002cbe,
|
3763 |
+
0x2cbf00002cc0,
|
3764 |
+
0x2cc100002cc2,
|
3765 |
+
0x2cc300002cc4,
|
3766 |
+
0x2cc500002cc6,
|
3767 |
+
0x2cc700002cc8,
|
3768 |
+
0x2cc900002cca,
|
3769 |
+
0x2ccb00002ccc,
|
3770 |
+
0x2ccd00002cce,
|
3771 |
+
0x2ccf00002cd0,
|
3772 |
+
0x2cd100002cd2,
|
3773 |
+
0x2cd300002cd4,
|
3774 |
+
0x2cd500002cd6,
|
3775 |
+
0x2cd700002cd8,
|
3776 |
+
0x2cd900002cda,
|
3777 |
+
0x2cdb00002cdc,
|
3778 |
+
0x2cdd00002cde,
|
3779 |
+
0x2cdf00002ce0,
|
3780 |
+
0x2ce100002ce2,
|
3781 |
+
0x2ce300002ce5,
|
3782 |
+
0x2cec00002ced,
|
3783 |
+
0x2cee00002cf2,
|
3784 |
+
0x2cf300002cf4,
|
3785 |
+
0x2d0000002d26,
|
3786 |
+
0x2d2700002d28,
|
3787 |
+
0x2d2d00002d2e,
|
3788 |
+
0x2d3000002d68,
|
3789 |
+
0x2d7f00002d97,
|
3790 |
+
0x2da000002da7,
|
3791 |
+
0x2da800002daf,
|
3792 |
+
0x2db000002db7,
|
3793 |
+
0x2db800002dbf,
|
3794 |
+
0x2dc000002dc7,
|
3795 |
+
0x2dc800002dcf,
|
3796 |
+
0x2dd000002dd7,
|
3797 |
+
0x2dd800002ddf,
|
3798 |
+
0x2de000002e00,
|
3799 |
+
0x2e2f00002e30,
|
3800 |
+
0x300500003008,
|
3801 |
+
0x302a0000302e,
|
3802 |
+
0x303c0000303d,
|
3803 |
+
0x304100003097,
|
3804 |
+
0x30990000309b,
|
3805 |
+
0x309d0000309f,
|
3806 |
+
0x30a1000030fb,
|
3807 |
+
0x30fc000030ff,
|
3808 |
+
0x310500003130,
|
3809 |
+
0x31a0000031c0,
|
3810 |
+
0x31f000003200,
|
3811 |
+
0x340000004dc0,
|
3812 |
+
0x4e000000a48d,
|
3813 |
+
0xa4d00000a4fe,
|
3814 |
+
0xa5000000a60d,
|
3815 |
+
0xa6100000a62c,
|
3816 |
+
0xa6410000a642,
|
3817 |
+
0xa6430000a644,
|
3818 |
+
0xa6450000a646,
|
3819 |
+
0xa6470000a648,
|
3820 |
+
0xa6490000a64a,
|
3821 |
+
0xa64b0000a64c,
|
3822 |
+
0xa64d0000a64e,
|
3823 |
+
0xa64f0000a650,
|
3824 |
+
0xa6510000a652,
|
3825 |
+
0xa6530000a654,
|
3826 |
+
0xa6550000a656,
|
3827 |
+
0xa6570000a658,
|
3828 |
+
0xa6590000a65a,
|
3829 |
+
0xa65b0000a65c,
|
3830 |
+
0xa65d0000a65e,
|
3831 |
+
0xa65f0000a660,
|
3832 |
+
0xa6610000a662,
|
3833 |
+
0xa6630000a664,
|
3834 |
+
0xa6650000a666,
|
3835 |
+
0xa6670000a668,
|
3836 |
+
0xa6690000a66a,
|
3837 |
+
0xa66b0000a66c,
|
3838 |
+
0xa66d0000a670,
|
3839 |
+
0xa6740000a67e,
|
3840 |
+
0xa67f0000a680,
|
3841 |
+
0xa6810000a682,
|
3842 |
+
0xa6830000a684,
|
3843 |
+
0xa6850000a686,
|
3844 |
+
0xa6870000a688,
|
3845 |
+
0xa6890000a68a,
|
3846 |
+
0xa68b0000a68c,
|
3847 |
+
0xa68d0000a68e,
|
3848 |
+
0xa68f0000a690,
|
3849 |
+
0xa6910000a692,
|
3850 |
+
0xa6930000a694,
|
3851 |
+
0xa6950000a696,
|
3852 |
+
0xa6970000a698,
|
3853 |
+
0xa6990000a69a,
|
3854 |
+
0xa69b0000a69c,
|
3855 |
+
0xa69e0000a6e6,
|
3856 |
+
0xa6f00000a6f2,
|
3857 |
+
0xa7170000a720,
|
3858 |
+
0xa7230000a724,
|
3859 |
+
0xa7250000a726,
|
3860 |
+
0xa7270000a728,
|
3861 |
+
0xa7290000a72a,
|
3862 |
+
0xa72b0000a72c,
|
3863 |
+
0xa72d0000a72e,
|
3864 |
+
0xa72f0000a732,
|
3865 |
+
0xa7330000a734,
|
3866 |
+
0xa7350000a736,
|
3867 |
+
0xa7370000a738,
|
3868 |
+
0xa7390000a73a,
|
3869 |
+
0xa73b0000a73c,
|
3870 |
+
0xa73d0000a73e,
|
3871 |
+
0xa73f0000a740,
|
3872 |
+
0xa7410000a742,
|
3873 |
+
0xa7430000a744,
|
3874 |
+
0xa7450000a746,
|
3875 |
+
0xa7470000a748,
|
3876 |
+
0xa7490000a74a,
|
3877 |
+
0xa74b0000a74c,
|
3878 |
+
0xa74d0000a74e,
|
3879 |
+
0xa74f0000a750,
|
3880 |
+
0xa7510000a752,
|
3881 |
+
0xa7530000a754,
|
3882 |
+
0xa7550000a756,
|
3883 |
+
0xa7570000a758,
|
3884 |
+
0xa7590000a75a,
|
3885 |
+
0xa75b0000a75c,
|
3886 |
+
0xa75d0000a75e,
|
3887 |
+
0xa75f0000a760,
|
3888 |
+
0xa7610000a762,
|
3889 |
+
0xa7630000a764,
|
3890 |
+
0xa7650000a766,
|
3891 |
+
0xa7670000a768,
|
3892 |
+
0xa7690000a76a,
|
3893 |
+
0xa76b0000a76c,
|
3894 |
+
0xa76d0000a76e,
|
3895 |
+
0xa76f0000a770,
|
3896 |
+
0xa7710000a779,
|
3897 |
+
0xa77a0000a77b,
|
3898 |
+
0xa77c0000a77d,
|
3899 |
+
0xa77f0000a780,
|
3900 |
+
0xa7810000a782,
|
3901 |
+
0xa7830000a784,
|
3902 |
+
0xa7850000a786,
|
3903 |
+
0xa7870000a789,
|
3904 |
+
0xa78c0000a78d,
|
3905 |
+
0xa78e0000a790,
|
3906 |
+
0xa7910000a792,
|
3907 |
+
0xa7930000a796,
|
3908 |
+
0xa7970000a798,
|
3909 |
+
0xa7990000a79a,
|
3910 |
+
0xa79b0000a79c,
|
3911 |
+
0xa79d0000a79e,
|
3912 |
+
0xa79f0000a7a0,
|
3913 |
+
0xa7a10000a7a2,
|
3914 |
+
0xa7a30000a7a4,
|
3915 |
+
0xa7a50000a7a6,
|
3916 |
+
0xa7a70000a7a8,
|
3917 |
+
0xa7a90000a7aa,
|
3918 |
+
0xa7af0000a7b0,
|
3919 |
+
0xa7b50000a7b6,
|
3920 |
+
0xa7b70000a7b8,
|
3921 |
+
0xa7b90000a7ba,
|
3922 |
+
0xa7bb0000a7bc,
|
3923 |
+
0xa7bd0000a7be,
|
3924 |
+
0xa7bf0000a7c0,
|
3925 |
+
0xa7c10000a7c2,
|
3926 |
+
0xa7c30000a7c4,
|
3927 |
+
0xa7c80000a7c9,
|
3928 |
+
0xa7ca0000a7cb,
|
3929 |
+
0xa7d10000a7d2,
|
3930 |
+
0xa7d30000a7d4,
|
3931 |
+
0xa7d50000a7d6,
|
3932 |
+
0xa7d70000a7d8,
|
3933 |
+
0xa7d90000a7da,
|
3934 |
+
0xa7f60000a7f8,
|
3935 |
+
0xa7fa0000a828,
|
3936 |
+
0xa82c0000a82d,
|
3937 |
+
0xa8400000a874,
|
3938 |
+
0xa8800000a8c6,
|
3939 |
+
0xa8d00000a8da,
|
3940 |
+
0xa8e00000a8f8,
|
3941 |
+
0xa8fb0000a8fc,
|
3942 |
+
0xa8fd0000a92e,
|
3943 |
+
0xa9300000a954,
|
3944 |
+
0xa9800000a9c1,
|
3945 |
+
0xa9cf0000a9da,
|
3946 |
+
0xa9e00000a9ff,
|
3947 |
+
0xaa000000aa37,
|
3948 |
+
0xaa400000aa4e,
|
3949 |
+
0xaa500000aa5a,
|
3950 |
+
0xaa600000aa77,
|
3951 |
+
0xaa7a0000aac3,
|
3952 |
+
0xaadb0000aade,
|
3953 |
+
0xaae00000aaf0,
|
3954 |
+
0xaaf20000aaf7,
|
3955 |
+
0xab010000ab07,
|
3956 |
+
0xab090000ab0f,
|
3957 |
+
0xab110000ab17,
|
3958 |
+
0xab200000ab27,
|
3959 |
+
0xab280000ab2f,
|
3960 |
+
0xab300000ab5b,
|
3961 |
+
0xab600000ab69,
|
3962 |
+
0xabc00000abeb,
|
3963 |
+
0xabec0000abee,
|
3964 |
+
0xabf00000abfa,
|
3965 |
+
0xac000000d7a4,
|
3966 |
+
0xfa0e0000fa10,
|
3967 |
+
0xfa110000fa12,
|
3968 |
+
0xfa130000fa15,
|
3969 |
+
0xfa1f0000fa20,
|
3970 |
+
0xfa210000fa22,
|
3971 |
+
0xfa230000fa25,
|
3972 |
+
0xfa270000fa2a,
|
3973 |
+
0xfb1e0000fb1f,
|
3974 |
+
0xfe200000fe30,
|
3975 |
+
0xfe730000fe74,
|
3976 |
+
0x100000001000c,
|
3977 |
+
0x1000d00010027,
|
3978 |
+
0x100280001003b,
|
3979 |
+
0x1003c0001003e,
|
3980 |
+
0x1003f0001004e,
|
3981 |
+
0x100500001005e,
|
3982 |
+
0x10080000100fb,
|
3983 |
+
0x101fd000101fe,
|
3984 |
+
0x102800001029d,
|
3985 |
+
0x102a0000102d1,
|
3986 |
+
0x102e0000102e1,
|
3987 |
+
0x1030000010320,
|
3988 |
+
0x1032d00010341,
|
3989 |
+
0x103420001034a,
|
3990 |
+
0x103500001037b,
|
3991 |
+
0x103800001039e,
|
3992 |
+
0x103a0000103c4,
|
3993 |
+
0x103c8000103d0,
|
3994 |
+
0x104280001049e,
|
3995 |
+
0x104a0000104aa,
|
3996 |
+
0x104d8000104fc,
|
3997 |
+
0x1050000010528,
|
3998 |
+
0x1053000010564,
|
3999 |
+
0x10597000105a2,
|
4000 |
+
0x105a3000105b2,
|
4001 |
+
0x105b3000105ba,
|
4002 |
+
0x105bb000105bd,
|
4003 |
+
0x1060000010737,
|
4004 |
+
0x1074000010756,
|
4005 |
+
0x1076000010768,
|
4006 |
+
0x1078000010781,
|
4007 |
+
0x1080000010806,
|
4008 |
+
0x1080800010809,
|
4009 |
+
0x1080a00010836,
|
4010 |
+
0x1083700010839,
|
4011 |
+
0x1083c0001083d,
|
4012 |
+
0x1083f00010856,
|
4013 |
+
0x1086000010877,
|
4014 |
+
0x108800001089f,
|
4015 |
+
0x108e0000108f3,
|
4016 |
+
0x108f4000108f6,
|
4017 |
+
0x1090000010916,
|
4018 |
+
0x109200001093a,
|
4019 |
+
0x10980000109b8,
|
4020 |
+
0x109be000109c0,
|
4021 |
+
0x10a0000010a04,
|
4022 |
+
0x10a0500010a07,
|
4023 |
+
0x10a0c00010a14,
|
4024 |
+
0x10a1500010a18,
|
4025 |
+
0x10a1900010a36,
|
4026 |
+
0x10a3800010a3b,
|
4027 |
+
0x10a3f00010a40,
|
4028 |
+
0x10a6000010a7d,
|
4029 |
+
0x10a8000010a9d,
|
4030 |
+
0x10ac000010ac8,
|
4031 |
+
0x10ac900010ae7,
|
4032 |
+
0x10b0000010b36,
|
4033 |
+
0x10b4000010b56,
|
4034 |
+
0x10b6000010b73,
|
4035 |
+
0x10b8000010b92,
|
4036 |
+
0x10c0000010c49,
|
4037 |
+
0x10cc000010cf3,
|
4038 |
+
0x10d0000010d28,
|
4039 |
+
0x10d3000010d3a,
|
4040 |
+
0x10e8000010eaa,
|
4041 |
+
0x10eab00010ead,
|
4042 |
+
0x10eb000010eb2,
|
4043 |
+
0x10efd00010f1d,
|
4044 |
+
0x10f2700010f28,
|
4045 |
+
0x10f3000010f51,
|
4046 |
+
0x10f7000010f86,
|
4047 |
+
0x10fb000010fc5,
|
4048 |
+
0x10fe000010ff7,
|
4049 |
+
0x1100000011047,
|
4050 |
+
0x1106600011076,
|
4051 |
+
0x1107f000110bb,
|
4052 |
+
0x110c2000110c3,
|
4053 |
+
0x110d0000110e9,
|
4054 |
+
0x110f0000110fa,
|
4055 |
+
0x1110000011135,
|
4056 |
+
0x1113600011140,
|
4057 |
+
0x1114400011148,
|
4058 |
+
0x1115000011174,
|
4059 |
+
0x1117600011177,
|
4060 |
+
0x11180000111c5,
|
4061 |
+
0x111c9000111cd,
|
4062 |
+
0x111ce000111db,
|
4063 |
+
0x111dc000111dd,
|
4064 |
+
0x1120000011212,
|
4065 |
+
0x1121300011238,
|
4066 |
+
0x1123e00011242,
|
4067 |
+
0x1128000011287,
|
4068 |
+
0x1128800011289,
|
4069 |
+
0x1128a0001128e,
|
4070 |
+
0x1128f0001129e,
|
4071 |
+
0x1129f000112a9,
|
4072 |
+
0x112b0000112eb,
|
4073 |
+
0x112f0000112fa,
|
4074 |
+
0x1130000011304,
|
4075 |
+
0x113050001130d,
|
4076 |
+
0x1130f00011311,
|
4077 |
+
0x1131300011329,
|
4078 |
+
0x1132a00011331,
|
4079 |
+
0x1133200011334,
|
4080 |
+
0x113350001133a,
|
4081 |
+
0x1133b00011345,
|
4082 |
+
0x1134700011349,
|
4083 |
+
0x1134b0001134e,
|
4084 |
+
0x1135000011351,
|
4085 |
+
0x1135700011358,
|
4086 |
+
0x1135d00011364,
|
4087 |
+
0x113660001136d,
|
4088 |
+
0x1137000011375,
|
4089 |
+
0x114000001144b,
|
4090 |
+
0x114500001145a,
|
4091 |
+
0x1145e00011462,
|
4092 |
+
0x11480000114c6,
|
4093 |
+
0x114c7000114c8,
|
4094 |
+
0x114d0000114da,
|
4095 |
+
0x11580000115b6,
|
4096 |
+
0x115b8000115c1,
|
4097 |
+
0x115d8000115de,
|
4098 |
+
0x1160000011641,
|
4099 |
+
0x1164400011645,
|
4100 |
+
0x116500001165a,
|
4101 |
+
0x11680000116b9,
|
4102 |
+
0x116c0000116ca,
|
4103 |
+
0x117000001171b,
|
4104 |
+
0x1171d0001172c,
|
4105 |
+
0x117300001173a,
|
4106 |
+
0x1174000011747,
|
4107 |
+
0x118000001183b,
|
4108 |
+
0x118c0000118ea,
|
4109 |
+
0x118ff00011907,
|
4110 |
+
0x119090001190a,
|
4111 |
+
0x1190c00011914,
|
4112 |
+
0x1191500011917,
|
4113 |
+
0x1191800011936,
|
4114 |
+
0x1193700011939,
|
4115 |
+
0x1193b00011944,
|
4116 |
+
0x119500001195a,
|
4117 |
+
0x119a0000119a8,
|
4118 |
+
0x119aa000119d8,
|
4119 |
+
0x119da000119e2,
|
4120 |
+
0x119e3000119e5,
|
4121 |
+
0x11a0000011a3f,
|
4122 |
+
0x11a4700011a48,
|
4123 |
+
0x11a5000011a9a,
|
4124 |
+
0x11a9d00011a9e,
|
4125 |
+
0x11ab000011af9,
|
4126 |
+
0x11c0000011c09,
|
4127 |
+
0x11c0a00011c37,
|
4128 |
+
0x11c3800011c41,
|
4129 |
+
0x11c5000011c5a,
|
4130 |
+
0x11c7200011c90,
|
4131 |
+
0x11c9200011ca8,
|
4132 |
+
0x11ca900011cb7,
|
4133 |
+
0x11d0000011d07,
|
4134 |
+
0x11d0800011d0a,
|
4135 |
+
0x11d0b00011d37,
|
4136 |
+
0x11d3a00011d3b,
|
4137 |
+
0x11d3c00011d3e,
|
4138 |
+
0x11d3f00011d48,
|
4139 |
+
0x11d5000011d5a,
|
4140 |
+
0x11d6000011d66,
|
4141 |
+
0x11d6700011d69,
|
4142 |
+
0x11d6a00011d8f,
|
4143 |
+
0x11d9000011d92,
|
4144 |
+
0x11d9300011d99,
|
4145 |
+
0x11da000011daa,
|
4146 |
+
0x11ee000011ef7,
|
4147 |
+
0x11f0000011f11,
|
4148 |
+
0x11f1200011f3b,
|
4149 |
+
0x11f3e00011f43,
|
4150 |
+
0x11f5000011f5a,
|
4151 |
+
0x11fb000011fb1,
|
4152 |
+
0x120000001239a,
|
4153 |
+
0x1248000012544,
|
4154 |
+
0x12f9000012ff1,
|
4155 |
+
0x1300000013430,
|
4156 |
+
0x1344000013456,
|
4157 |
+
0x1440000014647,
|
4158 |
+
0x1680000016a39,
|
4159 |
+
0x16a4000016a5f,
|
4160 |
+
0x16a6000016a6a,
|
4161 |
+
0x16a7000016abf,
|
4162 |
+
0x16ac000016aca,
|
4163 |
+
0x16ad000016aee,
|
4164 |
+
0x16af000016af5,
|
4165 |
+
0x16b0000016b37,
|
4166 |
+
0x16b4000016b44,
|
4167 |
+
0x16b5000016b5a,
|
4168 |
+
0x16b6300016b78,
|
4169 |
+
0x16b7d00016b90,
|
4170 |
+
0x16e6000016e80,
|
4171 |
+
0x16f0000016f4b,
|
4172 |
+
0x16f4f00016f88,
|
4173 |
+
0x16f8f00016fa0,
|
4174 |
+
0x16fe000016fe2,
|
4175 |
+
0x16fe300016fe5,
|
4176 |
+
0x16ff000016ff2,
|
4177 |
+
0x17000000187f8,
|
4178 |
+
0x1880000018cd6,
|
4179 |
+
0x18d0000018d09,
|
4180 |
+
0x1aff00001aff4,
|
4181 |
+
0x1aff50001affc,
|
4182 |
+
0x1affd0001afff,
|
4183 |
+
0x1b0000001b123,
|
4184 |
+
0x1b1320001b133,
|
4185 |
+
0x1b1500001b153,
|
4186 |
+
0x1b1550001b156,
|
4187 |
+
0x1b1640001b168,
|
4188 |
+
0x1b1700001b2fc,
|
4189 |
+
0x1bc000001bc6b,
|
4190 |
+
0x1bc700001bc7d,
|
4191 |
+
0x1bc800001bc89,
|
4192 |
+
0x1bc900001bc9a,
|
4193 |
+
0x1bc9d0001bc9f,
|
4194 |
+
0x1cf000001cf2e,
|
4195 |
+
0x1cf300001cf47,
|
4196 |
+
0x1da000001da37,
|
4197 |
+
0x1da3b0001da6d,
|
4198 |
+
0x1da750001da76,
|
4199 |
+
0x1da840001da85,
|
4200 |
+
0x1da9b0001daa0,
|
4201 |
+
0x1daa10001dab0,
|
4202 |
+
0x1df000001df1f,
|
4203 |
+
0x1df250001df2b,
|
4204 |
+
0x1e0000001e007,
|
4205 |
+
0x1e0080001e019,
|
4206 |
+
0x1e01b0001e022,
|
4207 |
+
0x1e0230001e025,
|
4208 |
+
0x1e0260001e02b,
|
4209 |
+
0x1e08f0001e090,
|
4210 |
+
0x1e1000001e12d,
|
4211 |
+
0x1e1300001e13e,
|
4212 |
+
0x1e1400001e14a,
|
4213 |
+
0x1e14e0001e14f,
|
4214 |
+
0x1e2900001e2af,
|
4215 |
+
0x1e2c00001e2fa,
|
4216 |
+
0x1e4d00001e4fa,
|
4217 |
+
0x1e7e00001e7e7,
|
4218 |
+
0x1e7e80001e7ec,
|
4219 |
+
0x1e7ed0001e7ef,
|
4220 |
+
0x1e7f00001e7ff,
|
4221 |
+
0x1e8000001e8c5,
|
4222 |
+
0x1e8d00001e8d7,
|
4223 |
+
0x1e9220001e94c,
|
4224 |
+
0x1e9500001e95a,
|
4225 |
+
0x200000002a6e0,
|
4226 |
+
0x2a7000002b73a,
|
4227 |
+
0x2b7400002b81e,
|
4228 |
+
0x2b8200002cea2,
|
4229 |
+
0x2ceb00002ebe1,
|
4230 |
+
0x2ebf00002ee5e,
|
4231 |
+
0x300000003134b,
|
4232 |
+
0x31350000323b0,
|
4233 |
+
),
|
4234 |
+
'CONTEXTJ': (
|
4235 |
+
0x200c0000200e,
|
4236 |
+
),
|
4237 |
+
'CONTEXTO': (
|
4238 |
+
0xb7000000b8,
|
4239 |
+
0x37500000376,
|
4240 |
+
0x5f3000005f5,
|
4241 |
+
0x6600000066a,
|
4242 |
+
0x6f0000006fa,
|
4243 |
+
0x30fb000030fc,
|
4244 |
+
),
|
4245 |
+
}
|
env-llmeval/lib/python3.10/site-packages/idna/intranges.py
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
"""
|
2 |
+
Given a list of integers, made up of (hopefully) a small number of long runs
|
3 |
+
of consecutive integers, compute a representation of the form
|
4 |
+
((start1, end1), (start2, end2) ...). Then answer the question "was x present
|
5 |
+
in the original list?" in time O(log(# runs)).
|
6 |
+
"""
|
7 |
+
|
8 |
+
import bisect
|
9 |
+
from typing import List, Tuple
|
10 |
+
|
11 |
+
def intranges_from_list(list_: List[int]) -> Tuple[int, ...]:
|
12 |
+
"""Represent a list of integers as a sequence of ranges:
|
13 |
+
((start_0, end_0), (start_1, end_1), ...), such that the original
|
14 |
+
integers are exactly those x such that start_i <= x < end_i for some i.
|
15 |
+
|
16 |
+
Ranges are encoded as single integers (start << 32 | end), not as tuples.
|
17 |
+
"""
|
18 |
+
|
19 |
+
sorted_list = sorted(list_)
|
20 |
+
ranges = []
|
21 |
+
last_write = -1
|
22 |
+
for i in range(len(sorted_list)):
|
23 |
+
if i+1 < len(sorted_list):
|
24 |
+
if sorted_list[i] == sorted_list[i+1]-1:
|
25 |
+
continue
|
26 |
+
current_range = sorted_list[last_write+1:i+1]
|
27 |
+
ranges.append(_encode_range(current_range[0], current_range[-1] + 1))
|
28 |
+
last_write = i
|
29 |
+
|
30 |
+
return tuple(ranges)
|
31 |
+
|
32 |
+
def _encode_range(start: int, end: int) -> int:
|
33 |
+
return (start << 32) | end
|
34 |
+
|
35 |
+
def _decode_range(r: int) -> Tuple[int, int]:
|
36 |
+
return (r >> 32), (r & ((1 << 32) - 1))
|
37 |
+
|
38 |
+
|
39 |
+
def intranges_contain(int_: int, ranges: Tuple[int, ...]) -> bool:
|
40 |
+
"""Determine if `int_` falls into one of the ranges in `ranges`."""
|
41 |
+
tuple_ = _encode_range(int_, 0)
|
42 |
+
pos = bisect.bisect_left(ranges, tuple_)
|
43 |
+
# we could be immediately ahead of a tuple (start, end)
|
44 |
+
# with start < int_ <= end
|
45 |
+
if pos > 0:
|
46 |
+
left, right = _decode_range(ranges[pos-1])
|
47 |
+
if left <= int_ < right:
|
48 |
+
return True
|
49 |
+
# or we could be immediately behind a tuple (int_, end)
|
50 |
+
if pos < len(ranges):
|
51 |
+
left, _ = _decode_range(ranges[pos])
|
52 |
+
if left == int_:
|
53 |
+
return True
|
54 |
+
return False
|