Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/apiclient/__init__.py +27 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis-1.3.3.dist-info/INSTALLER +1 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis-1.3.3.dist-info/METADATA +187 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis-1.3.3.dist-info/RECORD +26 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis-1.3.3.dist-info/WHEEL +6 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis-1.3.3.dist-info/top_level.txt +1 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis/__init__.pxd +0 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis/__init__.py +5 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis/about.py +17 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis/benchmark.py +107 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis/cy.pxd +200 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis/cy.pyx +641 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis/py.pyx +195 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/__init__.py +176 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/__main__.py +6 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/big5freq.py +385 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/big5prober.py +46 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/chardistribution.py +237 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/charsetgroupprober.py +147 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/charsetprober.py +185 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/codingstatemachine.py +89 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/codingstatemachinedict.py +10 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/cp949prober.py +48 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/enums.py +104 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/escprober.py +103 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/escsm.py +201 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/eucjpprober.py +101 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/euckrfreq.py +195 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/euckrprober.py +46 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/gb18030prober.py +48 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/gb2312freq.py +283 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/hebrewprober.py +315 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/jisfreq.py +324 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/johabfreq.py +2381 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/johabprober.py +46 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/jpcntx.py +237 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langarabicmodel.py +3160 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langbelarusianmodel.py +0 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langbretonmodel.py +0 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langbulgarianmodel.py +0 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langcroatianmodel.py +0 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langdanishmodel.py +0 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langdutchmodel.py +0 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langenglishmodel.py +0 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langesperantomodel.py +0 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langestonianmodel.py +0 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langfarsimodel.py +0 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langfinnishmodel.py +0 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langfrenchmodel.py +0 -0
- data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langgermanmodel.py +0 -0
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/apiclient/__init__.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Retain apiclient as an alias for googleapiclient."""
|
| 2 |
+
|
| 3 |
+
from googleapiclient import channel, discovery, errors, http, mimeparse, model
|
| 4 |
+
|
| 5 |
+
try:
|
| 6 |
+
from googleapiclient import sample_tools
|
| 7 |
+
except ImportError:
|
| 8 |
+
# Silently ignore, because the vast majority of consumers won't use it and
|
| 9 |
+
# it has deep dependence on oauth2client, an optional dependency.
|
| 10 |
+
sample_tools = None
|
| 11 |
+
from googleapiclient import schema
|
| 12 |
+
|
| 13 |
+
_SUBMODULES = {
|
| 14 |
+
"channel": channel,
|
| 15 |
+
"discovery": discovery,
|
| 16 |
+
"errors": errors,
|
| 17 |
+
"http": http,
|
| 18 |
+
"mimeparse": mimeparse,
|
| 19 |
+
"model": model,
|
| 20 |
+
"sample_tools": sample_tools,
|
| 21 |
+
"schema": schema,
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
import sys
|
| 25 |
+
|
| 26 |
+
for module_name, module in _SUBMODULES.items():
|
| 27 |
+
sys.modules["apiclient.%s" % module_name] = module
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis-1.3.3.dist-info/INSTALLER
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
pip
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis-1.3.3.dist-info/METADATA
ADDED
|
@@ -0,0 +1,187 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.4
|
| 2 |
+
Name: blis
|
| 3 |
+
Version: 1.3.3
|
| 4 |
+
Summary: The Blis BLAS-like linear algebra library, as a self-contained C-extension.
|
| 5 |
+
Home-page: https://github.com/explosion/cython-blis
|
| 6 |
+
Author: Matthew Honnibal
|
| 7 |
+
Author-email: matt@explosion.ai
|
| 8 |
+
License: BSD
|
| 9 |
+
Classifier: Development Status :: 4 - Beta
|
| 10 |
+
Classifier: Environment :: Console
|
| 11 |
+
Classifier: Intended Audience :: Developers
|
| 12 |
+
Classifier: Intended Audience :: Information Technology
|
| 13 |
+
Classifier: License :: OSI Approved :: BSD License
|
| 14 |
+
Classifier: Operating System :: POSIX :: Linux
|
| 15 |
+
Classifier: Operating System :: MacOS :: MacOS X
|
| 16 |
+
Classifier: Programming Language :: Python :: 3.10
|
| 17 |
+
Classifier: Programming Language :: Python :: 3.11
|
| 18 |
+
Classifier: Programming Language :: Python :: 3.12
|
| 19 |
+
Classifier: Programming Language :: Python :: 3.13
|
| 20 |
+
Classifier: Programming Language :: Python :: 3.14
|
| 21 |
+
Classifier: Topic :: Scientific/Engineering
|
| 22 |
+
Requires-Python: >=3.9,<3.15
|
| 23 |
+
Description-Content-Type: text/markdown
|
| 24 |
+
License-File: LICENSE
|
| 25 |
+
Requires-Dist: numpy<3.0.0,>=1.15.0; python_version < "3.9"
|
| 26 |
+
Requires-Dist: numpy<3.0.0,>=1.19.0; python_version >= "3.9"
|
| 27 |
+
Dynamic: author
|
| 28 |
+
Dynamic: author-email
|
| 29 |
+
Dynamic: classifier
|
| 30 |
+
Dynamic: description
|
| 31 |
+
Dynamic: description-content-type
|
| 32 |
+
Dynamic: home-page
|
| 33 |
+
Dynamic: license
|
| 34 |
+
Dynamic: license-file
|
| 35 |
+
Dynamic: requires-dist
|
| 36 |
+
Dynamic: requires-python
|
| 37 |
+
Dynamic: summary
|
| 38 |
+
|
| 39 |
+
<a href="https://explosion.ai"><img src="https://explosion.ai/assets/img/logo.svg" width="125" height="125" align="right" /></a>
|
| 40 |
+
|
| 41 |
+
# Cython BLIS: Fast BLAS-like operations from Python and Cython, without the tears
|
| 42 |
+
|
| 43 |
+
This repository provides the
|
| 44 |
+
[Blis linear algebra](https://github.com/flame/blis) routines as a
|
| 45 |
+
self-contained Python C-extension.
|
| 46 |
+
|
| 47 |
+
Currently, we only supports single-threaded execution, as this is actually best
|
| 48 |
+
for our workloads (ML inference).
|
| 49 |
+
|
| 50 |
+
[](https://github.com/explosion/cython-blis/actions/workflows/tests.yml)
|
| 51 |
+
[](https://pypi.python.org/pypi/blis)
|
| 52 |
+
[](https://anaconda.org/conda-forge/cython-blis)
|
| 53 |
+
[](https://github.com/explosion/wheelwright/releases)
|
| 54 |
+
|
| 55 |
+
## Installation
|
| 56 |
+
|
| 57 |
+
You can install the package via pip, first making sure that `pip`, `setuptools`,
|
| 58 |
+
and `wheel` are up-to-date:
|
| 59 |
+
|
| 60 |
+
```bash
|
| 61 |
+
pip install -U pip setuptools wheel
|
| 62 |
+
pip install blis
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
Wheels should be available, so installation should be fast. If you want to
|
| 66 |
+
install from source and you're on Windows, you'll need to install LLVM.
|
| 67 |
+
|
| 68 |
+
### Building BLIS for alternative architectures
|
| 69 |
+
|
| 70 |
+
The provided wheels should work on x86_64 architectures. Unfortunately we do not
|
| 71 |
+
currently know a way to provide different wheels for alternative architectures,
|
| 72 |
+
and we cannot provide a single binary that works everywhere. So if the wheel
|
| 73 |
+
doesn't work for your CPU, you'll need to specify source distribution, and tell
|
| 74 |
+
Blis your CPU architecture using the `BLIS_ARCH` environment variable.
|
| 75 |
+
|
| 76 |
+
#### a) Installing with generic arch support
|
| 77 |
+
|
| 78 |
+
```bash
|
| 79 |
+
BLIS_ARCH="generic" pip install spacy --no-binary blis
|
| 80 |
+
```
|
| 81 |
+
|
| 82 |
+
#### b) Building specific support
|
| 83 |
+
|
| 84 |
+
In order to compile Blis, `cython-blis` bundles makefile scripts for specific
|
| 85 |
+
architectures, that are compiled by running the Blis build system and logging
|
| 86 |
+
the commands. We do not yet have logs for every architecture, as there are some
|
| 87 |
+
architectures we have not had access to.
|
| 88 |
+
|
| 89 |
+
[See here](https://github.com/flame/blis/blob/0.5.1/config_registry) for list of
|
| 90 |
+
architectures. For example, here's how to build support for the ARM architecture
|
| 91 |
+
`cortexa57`:
|
| 92 |
+
|
| 93 |
+
```bash
|
| 94 |
+
git clone https://github.com/explosion/cython-blis && cd cython-blis
|
| 95 |
+
git pull && git submodule init && git submodule update && git submodule status
|
| 96 |
+
python3 -m venv env3.6
|
| 97 |
+
source env3.6/bin/activate
|
| 98 |
+
pip install -r requirements.txt
|
| 99 |
+
./bin/generate-make-jsonl linux cortexa57
|
| 100 |
+
BLIS_ARCH="cortexa57" python setup.py build_ext --inplace
|
| 101 |
+
BLIS_ARCH="cortexa57" python setup.py bdist_wheel
|
| 102 |
+
```
|
| 103 |
+
|
| 104 |
+
Fingers crossed, this will build you a wheel that supports your platform. You
|
| 105 |
+
could then [submit a PR](https://github.com/explosion/cython-blis/pulls) with
|
| 106 |
+
the `blis/_src/make/linux-cortexa57.jsonl` and
|
| 107 |
+
`blis/_src/include/linux-cortexa57/blis.h` files so that you can run:
|
| 108 |
+
|
| 109 |
+
```bash
|
| 110 |
+
BLIS_ARCH=cortexa57 pip install --no-binary=blis
|
| 111 |
+
```
|
| 112 |
+
|
| 113 |
+
## Usage
|
| 114 |
+
|
| 115 |
+
Two APIs are provided: a high-level Python API, and direct
|
| 116 |
+
[Cython](http://cython.org) access, which provides fused-type, nogil Cython
|
| 117 |
+
bindings to the underlying Blis linear algebra library. Fused types are a simple
|
| 118 |
+
template mechanism, allowing just a touch of compile-time generic programming:
|
| 119 |
+
|
| 120 |
+
```python
|
| 121 |
+
cimport blis.cy
|
| 122 |
+
A = <float*>calloc(nN * nI, sizeof(float))
|
| 123 |
+
B = <float*>calloc(nO * nI, sizeof(float))
|
| 124 |
+
C = <float*>calloc(nr_b0 * nr_b1, sizeof(float))
|
| 125 |
+
blis.cy.gemm(blis.cy.NO_TRANSPOSE, blis.cy.NO_TRANSPOSE,
|
| 126 |
+
nO, nI, nN,
|
| 127 |
+
1.0, A, nI, 1, B, nO, 1,
|
| 128 |
+
1.0, C, nO, 1)
|
| 129 |
+
```
|
| 130 |
+
|
| 131 |
+
Bindings have been added as we've needed them. Please submit pull requests if
|
| 132 |
+
the library is missing some functions you require.
|
| 133 |
+
|
| 134 |
+
## Development
|
| 135 |
+
|
| 136 |
+
To build the source package, you should run the following command:
|
| 137 |
+
|
| 138 |
+
```bash
|
| 139 |
+
./bin/update-vendored-source
|
| 140 |
+
```
|
| 141 |
+
|
| 142 |
+
This populates the `blis/_src` folder for the various architectures, using the
|
| 143 |
+
`flame-blis` submodule.
|
| 144 |
+
|
| 145 |
+
## Updating the build files
|
| 146 |
+
|
| 147 |
+
In order to compile the Blis sources, we use jsonl files that provide the
|
| 148 |
+
explicit compiler flags. We build these jsonl files by running Blis's build
|
| 149 |
+
system, and then converting the log. This avoids us having to replicate the
|
| 150 |
+
build system within Python: we just use the jsonl to make a bunch of subprocess
|
| 151 |
+
calls. To support a new OS/architecture combination, we have to provide the
|
| 152 |
+
jsonl file and the header.
|
| 153 |
+
|
| 154 |
+
### Linux
|
| 155 |
+
|
| 156 |
+
The Linux build files need to be produced from within the manylinux1 docker
|
| 157 |
+
container, so that they will be compatible with the wheel building process.
|
| 158 |
+
|
| 159 |
+
First, install docker. Then do the following to start the container:
|
| 160 |
+
|
| 161 |
+
sudo docker run -it quay.io/pypa/manylinux1_x86_64:latest
|
| 162 |
+
|
| 163 |
+
Once within the container, the following commands should check out the repo and
|
| 164 |
+
build the jsonl files for the generic arch:
|
| 165 |
+
|
| 166 |
+
mkdir /usr/local/repos
|
| 167 |
+
cd /usr/local/repos
|
| 168 |
+
git clone https://github.com/explosion/cython-blis && cd cython-blis
|
| 169 |
+
git pull && git submodule init && git submodule update && git submodule
|
| 170 |
+
status
|
| 171 |
+
/opt/python/cp36-cp36m/bin/python -m venv env3.6
|
| 172 |
+
source env3.6/bin/activate
|
| 173 |
+
pip install -r requirements.txt
|
| 174 |
+
./bin/generate-make-jsonl linux generic --export
|
| 175 |
+
BLIS_ARCH=generic python setup.py build_ext --inplace
|
| 176 |
+
# N.B.: don't copy to /tmp, docker cp doesn't work from there.
|
| 177 |
+
cp blis/_src/include/linux-generic/blis.h /linux-generic-blis.h
|
| 178 |
+
cp blis/_src/make/linux-generic.jsonl /
|
| 179 |
+
|
| 180 |
+
Then from a new terminal, retrieve the two files we need out of the container:
|
| 181 |
+
|
| 182 |
+
sudo docker ps -l # Get the container ID
|
| 183 |
+
# When I'm in Vagrant, I need to go via cat -- but then I end up with dummy
|
| 184 |
+
# lines at the top and bottom. Sigh. If you don't have that problem and
|
| 185 |
+
# sudo docker cp just works, just copy the file.
|
| 186 |
+
sudo docker cp aa9d42588791:/linux-generic-blis.h - | cat > linux-generic-blis.h
|
| 187 |
+
sudo docker cp aa9d42588791:/linux-generic.jsonl - | cat > linux-generic.jsonl
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis-1.3.3.dist-info/RECORD
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
blis-1.3.3.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
| 2 |
+
blis-1.3.3.dist-info/METADATA,sha256=U1qpS6ElEVtMWvlPBnFo8Ls48ie_p9G13M9W5m_2bLQ,7520
|
| 3 |
+
blis-1.3.3.dist-info/RECORD,,
|
| 4 |
+
blis-1.3.3.dist-info/WHEEL,sha256=DTnKjM5OInJxWADod3iQyWxWcdG-eRwxzGww236swpY,151
|
| 5 |
+
blis-1.3.3.dist-info/licenses/LICENSE,sha256=cwAx5BjFOCjTKzdG4qxhitp9jnpNVokJwPmJtT-oQ3g,2033
|
| 6 |
+
blis-1.3.3.dist-info/top_level.txt,sha256=yqZIBDPqq9RefHu0PWPWmOQfhhKsBy120eoLTMlmXkA,5
|
| 7 |
+
blis/__init__.pxd,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 8 |
+
blis/__init__.py,sha256=NOZ7al5kVL5drdxhEhA-DtHu86xcyT9I1UtzKVNv1iE,79
|
| 9 |
+
blis/__pycache__/__init__.cpython-310.pyc,,
|
| 10 |
+
blis/__pycache__/about.cpython-310.pyc,,
|
| 11 |
+
blis/__pycache__/benchmark.cpython-310.pyc,,
|
| 12 |
+
blis/about.py,sha256=k2FbxXlSNy09jwGAMFfCZBv4N0i9-w-6rfIkv8OdSIU,541
|
| 13 |
+
blis/benchmark.py,sha256=0dzrOotEhrKPBphFQi-7KtzNYR2xumAw3DhpJeEAuVw,2659
|
| 14 |
+
blis/cy.cpython-310-x86_64-linux-gnu.so,sha256=1wwNQmc6aFJkuiwNqCi3wTEl0eGPRoA8rX-aVgQNhL8,16739784
|
| 15 |
+
blis/cy.pxd,sha256=o2TOSbe4vPtQQibHZyEPVHuitR8DKwXS4-dWoSFrhPs,3733
|
| 16 |
+
blis/cy.pyx,sha256=13AhjUaoGOyS-MK-FGDIZAwBdU7NRRhnYcIALubcSbM,17371
|
| 17 |
+
blis/py.cpython-310-x86_64-linux-gnu.so,sha256=N42ik6MlVKESK2RUvvGXbPVV7ExADBPVWDwwjxWrOw0,18004240
|
| 18 |
+
blis/py.pyx,sha256=oJjeHBxlpXMWG7mrog4T_KeG5Y_KpU4p-m2FKbCxUMk,7055
|
| 19 |
+
blis/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
| 20 |
+
blis/tests/__pycache__/__init__.cpython-310.pyc,,
|
| 21 |
+
blis/tests/__pycache__/common.cpython-310.pyc,,
|
| 22 |
+
blis/tests/__pycache__/test_dotv.cpython-310.pyc,,
|
| 23 |
+
blis/tests/__pycache__/test_gemm.cpython-310.pyc,,
|
| 24 |
+
blis/tests/common.py,sha256=kEf52fhdGNXxahQVgaxGc4-DyOG50c7_M6kMBumXkUM,2577
|
| 25 |
+
blis/tests/test_dotv.py,sha256=BGsHlSdfZWJDDSy7Z5NKXaJqJlEOVa9_f3gfwWdtYhs,1134
|
| 26 |
+
blis/tests/test_gemm.py,sha256=P04047RRuJS4akhzrOsh2-5UgO9dZVsDdZPYwNXJKc4,2493
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis-1.3.3.dist-info/WHEEL
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Wheel-Version: 1.0
|
| 2 |
+
Generator: setuptools (80.9.0)
|
| 3 |
+
Root-Is-Purelib: false
|
| 4 |
+
Tag: cp310-cp310-manylinux_2_17_x86_64
|
| 5 |
+
Tag: cp310-cp310-manylinux2014_x86_64
|
| 6 |
+
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis-1.3.3.dist-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
blis
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis/__init__.pxd
ADDED
|
File without changes
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis/__init__.py
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright ExplsionAI GmbH, released under BSD.
|
| 2 |
+
|
| 3 |
+
from .cy import init
|
| 4 |
+
|
| 5 |
+
init()
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis/about.py
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright ExplosionAI GmbH, released under BSD
|
| 2 |
+
# inspired from:
|
| 3 |
+
|
| 4 |
+
# https://python-packaging-user-guide.readthedocs.org/en/latest/single_source_version/
|
| 5 |
+
# https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py
|
| 6 |
+
|
| 7 |
+
__name__ = "blis"
|
| 8 |
+
__version__ = "1.3.3"
|
| 9 |
+
__summary__ = (
|
| 10 |
+
"The Blis BLAS-like linear algebra library, as a self-contained C-extension."
|
| 11 |
+
)
|
| 12 |
+
__uri__ = "https://github.com/explosion/cython-blis"
|
| 13 |
+
__author__ = "Matthew Honnibal"
|
| 14 |
+
__email__ = "matt@explosion.ai"
|
| 15 |
+
__license__ = "BSD"
|
| 16 |
+
__title__ = "blis"
|
| 17 |
+
__release__ = True
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis/benchmark.py
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright ExplsionAI GmbH, released under BSD.
|
| 2 |
+
import numpy
|
| 3 |
+
import numpy.random
|
| 4 |
+
from .py import gemm, einsum
|
| 5 |
+
from timeit import default_timer as timer
|
| 6 |
+
|
| 7 |
+
numpy.random.seed(0)
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
def create_data(nO, nI, batch_size):
|
| 11 |
+
X = numpy.zeros((batch_size, nI), dtype="f")
|
| 12 |
+
X += numpy.random.uniform(-1.0, 1.0, X.shape)
|
| 13 |
+
W = numpy.zeros((nO, nI), dtype="f")
|
| 14 |
+
W += numpy.random.uniform(-1.0, 1.0, W.shape)
|
| 15 |
+
return X, W
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
def get_numpy_blas():
|
| 19 |
+
blas_libs = numpy.__config__.blas_opt_info["libraries"]
|
| 20 |
+
return blas_libs[0]
|
| 21 |
+
|
| 22 |
+
|
| 23 |
+
def numpy_gemm(X, W, n=1000):
|
| 24 |
+
nO, nI = W.shape
|
| 25 |
+
batch_size = X.shape[0]
|
| 26 |
+
total = 0.0
|
| 27 |
+
y = numpy.zeros((batch_size, nO), dtype="f")
|
| 28 |
+
for i in range(n):
|
| 29 |
+
numpy.dot(X, W, out=y)
|
| 30 |
+
total += y.sum()
|
| 31 |
+
y.fill(0)
|
| 32 |
+
print("Total:", total)
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
def blis_gemm(X, W, n=1000):
|
| 36 |
+
nO, nI = W.shape
|
| 37 |
+
batch_size = X.shape[0]
|
| 38 |
+
total = 0.0
|
| 39 |
+
y = numpy.zeros((batch_size, nO), dtype="f")
|
| 40 |
+
for i in range(n):
|
| 41 |
+
gemm(X, W, out=y)
|
| 42 |
+
total += y.sum()
|
| 43 |
+
y.fill(0.0)
|
| 44 |
+
print("Total:", total)
|
| 45 |
+
|
| 46 |
+
|
| 47 |
+
def numpy_einsum(X, W, n=1000):
|
| 48 |
+
nO, nI = W.shape
|
| 49 |
+
batch_size = X.shape[0]
|
| 50 |
+
total = 0.0
|
| 51 |
+
y = numpy.zeros((nO, batch_size), dtype="f")
|
| 52 |
+
for i in range(n):
|
| 53 |
+
numpy.einsum("ab,cb->ca", X, W, out=y)
|
| 54 |
+
total += y.sum()
|
| 55 |
+
y.fill(0.0)
|
| 56 |
+
print("Total:", total)
|
| 57 |
+
|
| 58 |
+
|
| 59 |
+
def blis_einsum(X, W, n=1000):
|
| 60 |
+
nO, nI = W.shape
|
| 61 |
+
batch_size = X.shape[0]
|
| 62 |
+
total = 0.0
|
| 63 |
+
y = numpy.zeros((nO, batch_size), dtype="f")
|
| 64 |
+
for i in range(n):
|
| 65 |
+
einsum("ab,cb->ca", X, W, out=y)
|
| 66 |
+
total += y.sum()
|
| 67 |
+
y.fill(0.0)
|
| 68 |
+
print("Total:", total)
|
| 69 |
+
|
| 70 |
+
|
| 71 |
+
def main(nI=128 * 3, nO=128 * 3, batch_size=2000):
|
| 72 |
+
print(
|
| 73 |
+
"Setting up data for gemm. 1000 iters, "
|
| 74 |
+
"nO={nO} nI={nI} batch_size={batch_size}".format(**locals())
|
| 75 |
+
)
|
| 76 |
+
numpy_blas = get_numpy_blas()
|
| 77 |
+
X1, W1 = create_data(nI, nO, batch_size)
|
| 78 |
+
X2 = X1.copy()
|
| 79 |
+
W2 = W1.copy()
|
| 80 |
+
print("Blis gemm...")
|
| 81 |
+
start = timer()
|
| 82 |
+
blis_gemm(X2, W2, n=1000)
|
| 83 |
+
end = timer()
|
| 84 |
+
blis_time = end - start
|
| 85 |
+
print("%.2f seconds" % blis_time)
|
| 86 |
+
print("Numpy (%s) gemm..." % numpy_blas)
|
| 87 |
+
start = timer()
|
| 88 |
+
numpy_gemm(X1, W1)
|
| 89 |
+
end = timer()
|
| 90 |
+
numpy_time = end - start
|
| 91 |
+
print("%.2f seconds" % numpy_time)
|
| 92 |
+
print("Blis einsum ab,cb->ca")
|
| 93 |
+
start = timer()
|
| 94 |
+
blis_einsum(X2, W2, n=1000)
|
| 95 |
+
end = timer()
|
| 96 |
+
blis_time = end - start
|
| 97 |
+
print("%.2f seconds" % blis_time)
|
| 98 |
+
print("Numpy (%s) einsum ab,cb->ca" % numpy_blas)
|
| 99 |
+
start = timer()
|
| 100 |
+
numpy_einsum(X2, W2)
|
| 101 |
+
end = timer()
|
| 102 |
+
numpy_time = end - start
|
| 103 |
+
print("%.2f seconds" % numpy_time)
|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
if __name__:
|
| 107 |
+
main()
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis/cy.pxd
ADDED
|
@@ -0,0 +1,200 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Copyright ExplsionAI GmbH, released under BSD.
|
| 2 |
+
from cython cimport view
|
| 3 |
+
from libc.stdint cimport int64_t
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
ctypedef float[::1] float1d_t
|
| 7 |
+
ctypedef double[::1] double1d_t
|
| 8 |
+
ctypedef float[:, ::1] float2d_t
|
| 9 |
+
ctypedef double[:, ::1] double2d_t
|
| 10 |
+
ctypedef float* floats_t
|
| 11 |
+
ctypedef double* doubles_t
|
| 12 |
+
ctypedef const float[::1] const_float1d_t
|
| 13 |
+
ctypedef const double[::1] const_double1d_t
|
| 14 |
+
ctypedef const float[:, ::1] const_float2d_t
|
| 15 |
+
ctypedef const double[:, ::1] const_double2d_t
|
| 16 |
+
ctypedef const float* const_floats_t
|
| 17 |
+
ctypedef const double* const_doubles_t
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
cdef fused reals_ft:
|
| 22 |
+
floats_t
|
| 23 |
+
doubles_t
|
| 24 |
+
float1d_t
|
| 25 |
+
double1d_t
|
| 26 |
+
|
| 27 |
+
cdef fused const_reals_ft:
|
| 28 |
+
const_floats_t
|
| 29 |
+
const_doubles_t
|
| 30 |
+
const_float1d_t
|
| 31 |
+
const_double1d_t
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
cdef fused reals1d_ft:
|
| 35 |
+
float1d_t
|
| 36 |
+
double1d_t
|
| 37 |
+
|
| 38 |
+
cdef fused const_reals1d_ft:
|
| 39 |
+
const_float1d_t
|
| 40 |
+
const_double1d_t
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
cdef fused reals2d_ft:
|
| 44 |
+
float2d_t
|
| 45 |
+
double2d_t
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
cdef fused const_reals2d_ft:
|
| 49 |
+
const_float2d_t
|
| 50 |
+
const_double2d_t
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
cdef fused real_ft:
|
| 54 |
+
float
|
| 55 |
+
double
|
| 56 |
+
|
| 57 |
+
|
| 58 |
+
ctypedef int64_t dim_t
|
| 59 |
+
ctypedef int64_t inc_t
|
| 60 |
+
ctypedef int64_t doff_t
|
| 61 |
+
|
| 62 |
+
|
| 63 |
+
# Sucks to set these from magic numbers, but it's better than dragging
|
| 64 |
+
# the header into our header.
|
| 65 |
+
# We get some piece of mind from checking the values on init.
|
| 66 |
+
cpdef enum trans_t:
|
| 67 |
+
NO_TRANSPOSE = 0
|
| 68 |
+
TRANSPOSE = 8
|
| 69 |
+
CONJ_NO_TRANSPOSE = 16
|
| 70 |
+
CONJ_TRANSPOSE = 24
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
cpdef enum conj_t:
|
| 74 |
+
NO_CONJUGATE = 0
|
| 75 |
+
CONJUGATE = 16
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
cpdef enum side_t:
|
| 79 |
+
LEFT = 0
|
| 80 |
+
RIGHT = 1
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
cpdef enum uplo_t:
|
| 84 |
+
LOWER = 192
|
| 85 |
+
UPPER = 96
|
| 86 |
+
DENSE = 224
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
cpdef enum diag_t:
|
| 90 |
+
NONUNIT_DIAG = 0
|
| 91 |
+
UNIT_DIAG = 256
|
| 92 |
+
|
| 93 |
+
|
| 94 |
+
cdef void gemm(
|
| 95 |
+
trans_t transa,
|
| 96 |
+
trans_t transb,
|
| 97 |
+
dim_t m,
|
| 98 |
+
dim_t n,
|
| 99 |
+
dim_t k,
|
| 100 |
+
double alpha,
|
| 101 |
+
reals_ft a, inc_t rsa, inc_t csa,
|
| 102 |
+
reals_ft b, inc_t rsb, inc_t csb,
|
| 103 |
+
double beta,
|
| 104 |
+
reals_ft c, inc_t rsc, inc_t csc,
|
| 105 |
+
) noexcept nogil
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
cdef void ger(
|
| 109 |
+
conj_t conjx,
|
| 110 |
+
conj_t conjy,
|
| 111 |
+
dim_t m,
|
| 112 |
+
dim_t n,
|
| 113 |
+
double alpha,
|
| 114 |
+
reals_ft x, inc_t incx,
|
| 115 |
+
reals_ft y, inc_t incy,
|
| 116 |
+
reals_ft a, inc_t rsa, inc_t csa
|
| 117 |
+
) noexcept nogil
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
cdef void gemv(
|
| 121 |
+
trans_t transa,
|
| 122 |
+
conj_t conjx,
|
| 123 |
+
dim_t m,
|
| 124 |
+
dim_t n,
|
| 125 |
+
real_ft alpha,
|
| 126 |
+
reals_ft a, inc_t rsa, inc_t csa,
|
| 127 |
+
reals_ft x, inc_t incx,
|
| 128 |
+
real_ft beta,
|
| 129 |
+
reals_ft y, inc_t incy
|
| 130 |
+
) noexcept nogil
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
cdef void axpyv(
|
| 134 |
+
conj_t conjx,
|
| 135 |
+
dim_t m,
|
| 136 |
+
real_ft alpha,
|
| 137 |
+
reals_ft x, inc_t incx,
|
| 138 |
+
reals_ft y, inc_t incy
|
| 139 |
+
) noexcept nogil
|
| 140 |
+
|
| 141 |
+
|
| 142 |
+
cdef void scalv(
|
| 143 |
+
conj_t conjalpha,
|
| 144 |
+
dim_t m,
|
| 145 |
+
real_ft alpha,
|
| 146 |
+
reals_ft x, inc_t incx
|
| 147 |
+
) noexcept nogil
|
| 148 |
+
|
| 149 |
+
|
| 150 |
+
cdef double dotv(
|
| 151 |
+
conj_t conjx,
|
| 152 |
+
conj_t conjy,
|
| 153 |
+
dim_t m,
|
| 154 |
+
reals_ft x,
|
| 155 |
+
reals_ft y,
|
| 156 |
+
inc_t incx,
|
| 157 |
+
inc_t incy,
|
| 158 |
+
) noexcept nogil
|
| 159 |
+
|
| 160 |
+
|
| 161 |
+
cdef double norm_L1(
|
| 162 |
+
dim_t n,
|
| 163 |
+
reals_ft x, inc_t incx
|
| 164 |
+
) noexcept nogil
|
| 165 |
+
|
| 166 |
+
|
| 167 |
+
cdef double norm_L2(
|
| 168 |
+
dim_t n,
|
| 169 |
+
reals_ft x, inc_t incx
|
| 170 |
+
) noexcept nogil
|
| 171 |
+
|
| 172 |
+
|
| 173 |
+
cdef double norm_inf(
|
| 174 |
+
dim_t n,
|
| 175 |
+
reals_ft x, inc_t incx
|
| 176 |
+
) noexcept nogil
|
| 177 |
+
|
| 178 |
+
|
| 179 |
+
cdef void randv(
|
| 180 |
+
dim_t m,
|
| 181 |
+
reals_ft x, inc_t incx
|
| 182 |
+
) noexcept nogil
|
| 183 |
+
|
| 184 |
+
|
| 185 |
+
cdef void dgemm(bint transA, bint transB, int M, int N, int K,
|
| 186 |
+
double alpha, const double* A, int lda, const double* B,
|
| 187 |
+
int ldb, double beta, double* C, int ldc) noexcept nogil
|
| 188 |
+
|
| 189 |
+
|
| 190 |
+
cdef void sgemm(bint transA, bint transB, int M, int N, int K,
|
| 191 |
+
float alpha, const float* A, int lda, const float* B,
|
| 192 |
+
int ldb, float beta, float* C, int ldc) noexcept nogil
|
| 193 |
+
|
| 194 |
+
|
| 195 |
+
cdef void daxpy(int N, double alpha, const double* X, int incX,
|
| 196 |
+
double* Y, int incY) noexcept nogil
|
| 197 |
+
|
| 198 |
+
|
| 199 |
+
cdef void saxpy(int N, float alpha, const float* X, int incX,
|
| 200 |
+
float* Y, int incY) noexcept nogil
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/blis/cy.pyx
ADDED
|
@@ -0,0 +1,641 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# cython: infer_types=True
|
| 2 |
+
# cython: boundscheck=False
|
| 3 |
+
# Copyright ExplsionAI GmbH, released under BSD.
|
| 4 |
+
|
| 5 |
+
import atexit
|
| 6 |
+
|
| 7 |
+
|
| 8 |
+
cdef extern from "blis.h" nogil:
|
| 9 |
+
enum blis_err_t "err_t":
|
| 10 |
+
pass
|
| 11 |
+
|
| 12 |
+
|
| 13 |
+
cdef struct blis_cntx_t "cntx_t":
|
| 14 |
+
pass
|
| 15 |
+
|
| 16 |
+
cdef struct blis_rntm_t "rntm_s":
|
| 17 |
+
pass
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
ctypedef enum blis_trans_t "trans_t":
|
| 21 |
+
BLIS_NO_TRANSPOSE
|
| 22 |
+
BLIS_TRANSPOSE
|
| 23 |
+
BLIS_CONJ_NO_TRANSPOSE
|
| 24 |
+
BLIS_CONJ_TRANSPOSE
|
| 25 |
+
|
| 26 |
+
ctypedef enum blis_conj_t "conj_t":
|
| 27 |
+
BLIS_NO_CONJUGATE
|
| 28 |
+
BLIS_CONJUGATE
|
| 29 |
+
|
| 30 |
+
ctypedef enum blis_side_t "side_t":
|
| 31 |
+
BLIS_LEFT
|
| 32 |
+
BLIS_RIGHT
|
| 33 |
+
|
| 34 |
+
ctypedef enum blis_uplo_t "uplo_t":
|
| 35 |
+
BLIS_LOWER
|
| 36 |
+
BLIS_UPPER
|
| 37 |
+
BLIS_DENSE
|
| 38 |
+
|
| 39 |
+
ctypedef enum blis_diag_t "diag_t":
|
| 40 |
+
BLIS_NONUNIT_DIAG
|
| 41 |
+
BLIS_UNIT_DIAG
|
| 42 |
+
|
| 43 |
+
char* bli_info_get_int_type_size_str()
|
| 44 |
+
|
| 45 |
+
blis_err_t bli_init()
|
| 46 |
+
blis_err_t bli_finalize()
|
| 47 |
+
|
| 48 |
+
blis_err_t bli_rntm_init(blis_rntm_t* rntm);
|
| 49 |
+
|
| 50 |
+
# BLAS level 3 routines
|
| 51 |
+
void bli_dgemm_ex(
|
| 52 |
+
blis_trans_t transa,
|
| 53 |
+
blis_trans_t transb,
|
| 54 |
+
dim_t m,
|
| 55 |
+
dim_t n,
|
| 56 |
+
dim_t k,
|
| 57 |
+
double* alpha,
|
| 58 |
+
double* a, inc_t rsa, inc_t csa,
|
| 59 |
+
double* b, inc_t rsb, inc_t csb,
|
| 60 |
+
double* beta,
|
| 61 |
+
double* c, inc_t rsc, inc_t csc,
|
| 62 |
+
blis_cntx_t* cntx,
|
| 63 |
+
blis_rntm_t* rntm,
|
| 64 |
+
) noexcept nogil
|
| 65 |
+
# BLAS level 3 routines
|
| 66 |
+
void bli_sgemm_ex(
|
| 67 |
+
blis_trans_t transa,
|
| 68 |
+
blis_trans_t transb,
|
| 69 |
+
dim_t m,
|
| 70 |
+
dim_t n,
|
| 71 |
+
dim_t k,
|
| 72 |
+
float* alpha,
|
| 73 |
+
float* a, inc_t rsa, inc_t csa,
|
| 74 |
+
float* b, inc_t rsb, inc_t csb,
|
| 75 |
+
float* beta,
|
| 76 |
+
float* c, inc_t rsc, inc_t csc,
|
| 77 |
+
blis_cntx_t* cntx,
|
| 78 |
+
blis_rntm_t* rntm,
|
| 79 |
+
) noexcept nogil
|
| 80 |
+
|
| 81 |
+
void bli_dger_ex(
|
| 82 |
+
blis_conj_t conjx,
|
| 83 |
+
blis_conj_t conjy,
|
| 84 |
+
dim_t m,
|
| 85 |
+
dim_t n,
|
| 86 |
+
double* alpha,
|
| 87 |
+
double* x, inc_t incx,
|
| 88 |
+
double* y, inc_t incy,
|
| 89 |
+
double* a, inc_t rsa, inc_t csa,
|
| 90 |
+
blis_cntx_t* cntx,
|
| 91 |
+
blis_rntm_t* rntm,
|
| 92 |
+
) noexcept nogil
|
| 93 |
+
|
| 94 |
+
void bli_sger_ex(
|
| 95 |
+
blis_conj_t conjx,
|
| 96 |
+
blis_conj_t conjy,
|
| 97 |
+
dim_t m,
|
| 98 |
+
dim_t n,
|
| 99 |
+
float* alpha,
|
| 100 |
+
float* x, inc_t incx,
|
| 101 |
+
float* y, inc_t incy,
|
| 102 |
+
float* a, inc_t rsa, inc_t csa,
|
| 103 |
+
blis_cntx_t* cntx,
|
| 104 |
+
blis_rntm_t* rntm,
|
| 105 |
+
) noexcept nogil
|
| 106 |
+
|
| 107 |
+
void bli_dgemv_ex(
|
| 108 |
+
blis_trans_t transa,
|
| 109 |
+
blis_conj_t conjx,
|
| 110 |
+
dim_t m,
|
| 111 |
+
dim_t n,
|
| 112 |
+
double* alpha,
|
| 113 |
+
double* a, inc_t rsa, inc_t csa,
|
| 114 |
+
double* x, inc_t incx,
|
| 115 |
+
double* beta,
|
| 116 |
+
double* y, inc_t incy,
|
| 117 |
+
blis_cntx_t* cntx,
|
| 118 |
+
blis_rntm_t* rntm,
|
| 119 |
+
) noexcept nogil
|
| 120 |
+
|
| 121 |
+
void bli_sgemv_ex(
|
| 122 |
+
blis_trans_t transa,
|
| 123 |
+
blis_conj_t conjx,
|
| 124 |
+
dim_t m,
|
| 125 |
+
dim_t n,
|
| 126 |
+
float* alpha,
|
| 127 |
+
float* a, inc_t rsa, inc_t csa,
|
| 128 |
+
float* x, inc_t incx,
|
| 129 |
+
float* beta,
|
| 130 |
+
float* y, inc_t incy,
|
| 131 |
+
blis_cntx_t* cntx,
|
| 132 |
+
blis_rntm_t* rntm,
|
| 133 |
+
) noexcept nogil
|
| 134 |
+
|
| 135 |
+
void bli_daxpyv_ex(
|
| 136 |
+
blis_conj_t conjx,
|
| 137 |
+
dim_t m,
|
| 138 |
+
double* alpha,
|
| 139 |
+
double* x, inc_t incx,
|
| 140 |
+
double* y, inc_t incy,
|
| 141 |
+
blis_cntx_t* cntx,
|
| 142 |
+
blis_rntm_t* rntm,
|
| 143 |
+
) noexcept nogil
|
| 144 |
+
|
| 145 |
+
void bli_saxpyv_ex(
|
| 146 |
+
blis_conj_t conjx,
|
| 147 |
+
dim_t m,
|
| 148 |
+
float* alpha,
|
| 149 |
+
float* x, inc_t incx,
|
| 150 |
+
float* y, inc_t incy,
|
| 151 |
+
blis_cntx_t* cntx,
|
| 152 |
+
blis_rntm_t* rntm,
|
| 153 |
+
) noexcept nogil
|
| 154 |
+
|
| 155 |
+
void bli_dscalv_ex(
|
| 156 |
+
blis_conj_t conjalpha,
|
| 157 |
+
dim_t m,
|
| 158 |
+
double* alpha,
|
| 159 |
+
double* x, inc_t incx,
|
| 160 |
+
blis_cntx_t* cntx,
|
| 161 |
+
blis_rntm_t* rntm,
|
| 162 |
+
) noexcept nogil
|
| 163 |
+
|
| 164 |
+
void bli_sscalv_ex(
|
| 165 |
+
blis_conj_t conjalpha,
|
| 166 |
+
dim_t m,
|
| 167 |
+
float* alpha,
|
| 168 |
+
float* x, inc_t incx,
|
| 169 |
+
blis_cntx_t* cntx,
|
| 170 |
+
blis_rntm_t* rntm,
|
| 171 |
+
) noexcept nogil
|
| 172 |
+
|
| 173 |
+
void bli_ddotv_ex(
|
| 174 |
+
blis_conj_t conjx,
|
| 175 |
+
blis_conj_t conjy,
|
| 176 |
+
dim_t m,
|
| 177 |
+
double* x, inc_t incx,
|
| 178 |
+
double* y, inc_t incy,
|
| 179 |
+
double* rho,
|
| 180 |
+
blis_cntx_t* cntx,
|
| 181 |
+
blis_rntm_t* rntm,
|
| 182 |
+
) noexcept nogil
|
| 183 |
+
|
| 184 |
+
void bli_sdotv_ex(
|
| 185 |
+
blis_conj_t conjx,
|
| 186 |
+
blis_conj_t conjy,
|
| 187 |
+
dim_t m,
|
| 188 |
+
float* x, inc_t incx,
|
| 189 |
+
float* y, inc_t incy,
|
| 190 |
+
float* rho,
|
| 191 |
+
blis_cntx_t* cntx,
|
| 192 |
+
blis_rntm_t* rntm,
|
| 193 |
+
) noexcept nogil
|
| 194 |
+
|
| 195 |
+
void bli_snorm1v_ex(
|
| 196 |
+
dim_t n,
|
| 197 |
+
float* x, inc_t incx,
|
| 198 |
+
float* norm,
|
| 199 |
+
blis_cntx_t* cntx,
|
| 200 |
+
blis_rntm_t* rntm,
|
| 201 |
+
) noexcept nogil
|
| 202 |
+
|
| 203 |
+
void bli_dnorm1v_ex(
|
| 204 |
+
dim_t n,
|
| 205 |
+
double* x, inc_t incx,
|
| 206 |
+
double* norm,
|
| 207 |
+
blis_cntx_t* cntx,
|
| 208 |
+
blis_rntm_t* rntm,
|
| 209 |
+
) noexcept nogil
|
| 210 |
+
|
| 211 |
+
void bli_snormfv_ex(
|
| 212 |
+
dim_t n,
|
| 213 |
+
float* x, inc_t incx,
|
| 214 |
+
float* norm,
|
| 215 |
+
blis_cntx_t* cntx,
|
| 216 |
+
blis_rntm_t* rntm,
|
| 217 |
+
) noexcept nogil
|
| 218 |
+
|
| 219 |
+
void bli_dnormfv_ex(
|
| 220 |
+
dim_t n,
|
| 221 |
+
double* x, inc_t incx,
|
| 222 |
+
double* norm,
|
| 223 |
+
blis_cntx_t* cntx,
|
| 224 |
+
blis_rntm_t* rntm,
|
| 225 |
+
) noexcept nogil
|
| 226 |
+
|
| 227 |
+
void bli_snormiv_ex(
|
| 228 |
+
dim_t n,
|
| 229 |
+
float* x, inc_t incx,
|
| 230 |
+
float* norm,
|
| 231 |
+
blis_cntx_t* cntx,
|
| 232 |
+
blis_rntm_t* rntm,
|
| 233 |
+
) noexcept nogil
|
| 234 |
+
|
| 235 |
+
void bli_dnormiv_ex(
|
| 236 |
+
dim_t n,
|
| 237 |
+
double* x, inc_t incx,
|
| 238 |
+
double* norm,
|
| 239 |
+
blis_cntx_t* cntx,
|
| 240 |
+
blis_rntm_t* rntm,
|
| 241 |
+
) noexcept nogil
|
| 242 |
+
|
| 243 |
+
void bli_srandv_ex(
|
| 244 |
+
dim_t m,
|
| 245 |
+
float* x, inc_t incx,
|
| 246 |
+
blis_cntx_t* cntx,
|
| 247 |
+
blis_rntm_t* rntm,
|
| 248 |
+
) noexcept nogil
|
| 249 |
+
|
| 250 |
+
void bli_drandv_ex(
|
| 251 |
+
dim_t m,
|
| 252 |
+
double* x, inc_t incx,
|
| 253 |
+
blis_cntx_t* cntx,
|
| 254 |
+
blis_rntm_t* rntm,
|
| 255 |
+
) noexcept nogil
|
| 256 |
+
|
| 257 |
+
void bli_ssumsqv_ex(
|
| 258 |
+
dim_t m,
|
| 259 |
+
float* x, inc_t incx,
|
| 260 |
+
float* scale,
|
| 261 |
+
float* sumsq,
|
| 262 |
+
blis_cntx_t* cntx,
|
| 263 |
+
blis_rntm_t* rntm,
|
| 264 |
+
) noexcept nogil
|
| 265 |
+
|
| 266 |
+
void bli_dsumsqv_ex(
|
| 267 |
+
dim_t m,
|
| 268 |
+
double* x, inc_t incx,
|
| 269 |
+
double* scale,
|
| 270 |
+
double* sumsq,
|
| 271 |
+
blis_cntx_t* cntx,
|
| 272 |
+
blis_rntm_t* rntm,
|
| 273 |
+
) noexcept nogil
|
| 274 |
+
|
| 275 |
+
|
| 276 |
+
|
| 277 |
+
bli_init()
|
| 278 |
+
cdef blis_rntm_t rntm;
|
| 279 |
+
|
| 280 |
+
def init():
|
| 281 |
+
bli_init()
|
| 282 |
+
bli_rntm_init(&rntm);
|
| 283 |
+
assert BLIS_NO_TRANSPOSE == <blis_trans_t>NO_TRANSPOSE
|
| 284 |
+
assert BLIS_TRANSPOSE == <blis_trans_t>TRANSPOSE
|
| 285 |
+
assert BLIS_CONJ_NO_TRANSPOSE == <blis_trans_t>CONJ_NO_TRANSPOSE
|
| 286 |
+
assert BLIS_CONJ_TRANSPOSE == <blis_trans_t>CONJ_TRANSPOSE
|
| 287 |
+
assert BLIS_NO_CONJUGATE == <blis_conj_t>NO_CONJUGATE
|
| 288 |
+
assert BLIS_CONJUGATE == <blis_conj_t>CONJUGATE
|
| 289 |
+
assert BLIS_LEFT == <blis_side_t>LEFT
|
| 290 |
+
assert BLIS_RIGHT == <blis_side_t>RIGHT
|
| 291 |
+
assert BLIS_LOWER == <blis_uplo_t>LOWER
|
| 292 |
+
assert BLIS_UPPER == <blis_uplo_t>UPPER
|
| 293 |
+
assert BLIS_DENSE == <blis_uplo_t>DENSE
|
| 294 |
+
assert BLIS_NONUNIT_DIAG == <blis_diag_t>NONUNIT_DIAG
|
| 295 |
+
assert BLIS_UNIT_DIAG == <blis_diag_t>UNIT_DIAG
|
| 296 |
+
|
| 297 |
+
|
| 298 |
+
def get_int_type_size():
|
| 299 |
+
cdef char* int_size = bli_info_get_int_type_size_str()
|
| 300 |
+
return '%d' % int_size[0]
|
| 301 |
+
|
| 302 |
+
|
| 303 |
+
# BLAS level 3 routines
|
| 304 |
+
cdef void gemm(
|
| 305 |
+
trans_t trans_a,
|
| 306 |
+
trans_t trans_b,
|
| 307 |
+
dim_t m,
|
| 308 |
+
dim_t n,
|
| 309 |
+
dim_t k,
|
| 310 |
+
double alpha,
|
| 311 |
+
reals_ft a, inc_t rsa, inc_t csa,
|
| 312 |
+
reals_ft b, inc_t rsb, inc_t csb,
|
| 313 |
+
double beta,
|
| 314 |
+
reals_ft c, inc_t rsc, inc_t csc
|
| 315 |
+
) noexcept nogil:
|
| 316 |
+
cdef float alpha_f = alpha
|
| 317 |
+
cdef float beta_f = beta
|
| 318 |
+
cdef double alpha_d = alpha
|
| 319 |
+
cdef double beta_d = beta
|
| 320 |
+
if reals_ft is floats_t:
|
| 321 |
+
bli_sgemm_ex(
|
| 322 |
+
<blis_trans_t>trans_a, <blis_trans_t>trans_b,
|
| 323 |
+
m, n, k,
|
| 324 |
+
&alpha_f, a, rsa, csa, b, rsb, csb, &beta_f, c, rsc, csc, NULL, &rntm)
|
| 325 |
+
elif reals_ft is doubles_t:
|
| 326 |
+
bli_dgemm_ex(
|
| 327 |
+
<blis_trans_t>trans_a, <blis_trans_t>trans_b,
|
| 328 |
+
m, n, k,
|
| 329 |
+
&alpha_d, a, rsa, csa, b, rsb, csb, &beta_d, c, rsc, csc, NULL, &rntm)
|
| 330 |
+
elif reals_ft is float1d_t:
|
| 331 |
+
bli_sgemm_ex(
|
| 332 |
+
<blis_trans_t>trans_a, <blis_trans_t>trans_b,
|
| 333 |
+
m, n, k,
|
| 334 |
+
&alpha_f, &a[0], rsa, csa, &b[0], rsb, csb, &beta_f, &c[0],
|
| 335 |
+
rsc, csc, NULL, &rntm)
|
| 336 |
+
elif reals_ft is double1d_t:
|
| 337 |
+
bli_dgemm_ex(
|
| 338 |
+
<blis_trans_t>trans_a, <blis_trans_t>trans_b,
|
| 339 |
+
m, n, k,
|
| 340 |
+
&alpha_d, &a[0], rsa, csa, &b[0], rsb, csb, &beta_d, &c[0],
|
| 341 |
+
rsc, csc, NULL, &rntm)
|
| 342 |
+
else:
|
| 343 |
+
# Impossible --- panic?
|
| 344 |
+
pass
|
| 345 |
+
|
| 346 |
+
|
| 347 |
+
cdef void ger(
|
| 348 |
+
conj_t conjx,
|
| 349 |
+
conj_t conjy,
|
| 350 |
+
dim_t m,
|
| 351 |
+
dim_t n,
|
| 352 |
+
double alpha,
|
| 353 |
+
reals_ft x, inc_t incx,
|
| 354 |
+
reals_ft y, inc_t incy,
|
| 355 |
+
reals_ft a, inc_t rsa, inc_t csa
|
| 356 |
+
) noexcept nogil:
|
| 357 |
+
cdef float alpha_f = alpha
|
| 358 |
+
cdef double alpha_d = alpha
|
| 359 |
+
if reals_ft is floats_t:
|
| 360 |
+
bli_sger_ex(
|
| 361 |
+
<blis_conj_t>conjx, <blis_conj_t>conjy,
|
| 362 |
+
m, n,
|
| 363 |
+
&alpha_f,
|
| 364 |
+
x, incx, y, incy, a, rsa, csa, NULL, &rntm)
|
| 365 |
+
elif reals_ft is doubles_t:
|
| 366 |
+
bli_dger_ex(
|
| 367 |
+
<blis_conj_t>conjx, <blis_conj_t>conjy,
|
| 368 |
+
m, n,
|
| 369 |
+
&alpha_d,
|
| 370 |
+
x, incx, y, incy, a, rsa, csa, NULL, &rntm)
|
| 371 |
+
elif reals_ft is float1d_t:
|
| 372 |
+
bli_sger_ex(
|
| 373 |
+
<blis_conj_t>conjx, <blis_conj_t>conjy,
|
| 374 |
+
m, n,
|
| 375 |
+
&alpha_f,
|
| 376 |
+
&x[0], incx, &y[0], incy, &a[0], rsa, csa, NULL, &rntm)
|
| 377 |
+
elif reals_ft is double1d_t:
|
| 378 |
+
bli_dger_ex(
|
| 379 |
+
<blis_conj_t>conjx, <blis_conj_t>conjy,
|
| 380 |
+
m, n,
|
| 381 |
+
&alpha_d,
|
| 382 |
+
&x[0], incx, &y[0], incy, &a[0], rsa, csa, NULL, &rntm)
|
| 383 |
+
else:
|
| 384 |
+
# Impossible --- panic?
|
| 385 |
+
pass
|
| 386 |
+
|
| 387 |
+
|
| 388 |
+
cdef void gemv(
|
| 389 |
+
trans_t transa,
|
| 390 |
+
conj_t conjx,
|
| 391 |
+
dim_t m,
|
| 392 |
+
dim_t n,
|
| 393 |
+
real_ft alpha,
|
| 394 |
+
reals_ft a, inc_t rsa, inc_t csa,
|
| 395 |
+
reals_ft x, inc_t incx,
|
| 396 |
+
real_ft beta,
|
| 397 |
+
reals_ft y, inc_t incy
|
| 398 |
+
) noexcept nogil:
|
| 399 |
+
cdef float alpha_f = alpha
|
| 400 |
+
cdef double alpha_d = alpha
|
| 401 |
+
cdef float beta_f = alpha
|
| 402 |
+
cdef double beta_d = alpha
|
| 403 |
+
if reals_ft is floats_t:
|
| 404 |
+
bli_sgemv_ex(
|
| 405 |
+
<blis_trans_t>transa, <blis_conj_t>conjx,
|
| 406 |
+
m, n,
|
| 407 |
+
&alpha_f, a, rsa, csa,
|
| 408 |
+
x, incx, &beta_f,
|
| 409 |
+
y, incy, NULL, &rntm)
|
| 410 |
+
elif reals_ft is doubles_t:
|
| 411 |
+
bli_dgemv_ex(
|
| 412 |
+
<blis_trans_t>transa, <blis_conj_t>conjx,
|
| 413 |
+
m, n,
|
| 414 |
+
&alpha_d, a, rsa, csa,
|
| 415 |
+
x, incx, &beta_d,
|
| 416 |
+
y, incy, NULL, &rntm)
|
| 417 |
+
elif reals_ft is float1d_t:
|
| 418 |
+
bli_sgemv_ex(
|
| 419 |
+
<blis_trans_t>transa, <blis_conj_t>conjx,
|
| 420 |
+
m, n,
|
| 421 |
+
&alpha_f, &a[0], rsa, csa,
|
| 422 |
+
&x[0], incx, &beta_f,
|
| 423 |
+
&y[0], incy, NULL, &rntm)
|
| 424 |
+
elif reals_ft is double1d_t:
|
| 425 |
+
bli_dgemv_ex(
|
| 426 |
+
<blis_trans_t>transa, <blis_conj_t>conjx,
|
| 427 |
+
m, n,
|
| 428 |
+
&alpha_d, &a[0], rsa, csa,
|
| 429 |
+
&x[0], incx, &beta_d,
|
| 430 |
+
&y[0], incy, NULL, &rntm)
|
| 431 |
+
else:
|
| 432 |
+
# Impossible --- panic?
|
| 433 |
+
pass
|
| 434 |
+
|
| 435 |
+
|
| 436 |
+
cdef void axpyv(
|
| 437 |
+
conj_t conjx,
|
| 438 |
+
dim_t m,
|
| 439 |
+
real_ft alpha,
|
| 440 |
+
reals_ft x, inc_t incx,
|
| 441 |
+
reals_ft y, inc_t incy
|
| 442 |
+
) noexcept nogil:
|
| 443 |
+
cdef float alpha_f = alpha
|
| 444 |
+
cdef double alpha_d = alpha
|
| 445 |
+
if reals_ft is floats_t:
|
| 446 |
+
bli_saxpyv_ex(<blis_conj_t>conjx, m, &alpha_f, x, incx, y, incy, NULL, &rntm)
|
| 447 |
+
elif reals_ft is doubles_t:
|
| 448 |
+
bli_daxpyv_ex(<blis_conj_t>conjx, m, &alpha_d, x, incx, y, incy, NULL, &rntm)
|
| 449 |
+
elif reals_ft is float1d_t:
|
| 450 |
+
bli_saxpyv_ex(<blis_conj_t>conjx, m, &alpha_f, &x[0], incx, &y[0], incy, NULL, &rntm)
|
| 451 |
+
elif reals_ft is double1d_t:
|
| 452 |
+
bli_daxpyv_ex(<blis_conj_t>conjx, m, &alpha_d, &x[0], incx, &y[0], incy, NULL, &rntm)
|
| 453 |
+
else:
|
| 454 |
+
# Impossible --- panic?
|
| 455 |
+
pass
|
| 456 |
+
|
| 457 |
+
|
| 458 |
+
cdef void scalv(
|
| 459 |
+
conj_t conjalpha,
|
| 460 |
+
dim_t m,
|
| 461 |
+
real_ft alpha,
|
| 462 |
+
reals_ft x, inc_t incx
|
| 463 |
+
) noexcept nogil:
|
| 464 |
+
cdef float alpha_f = alpha
|
| 465 |
+
cdef double alpha_d = alpha
|
| 466 |
+
if reals_ft is floats_t:
|
| 467 |
+
bli_sscalv_ex(<blis_conj_t>conjalpha, m, &alpha_f, x, incx, NULL, &rntm)
|
| 468 |
+
elif reals_ft is doubles_t:
|
| 469 |
+
bli_dscalv_ex(<blis_conj_t>conjalpha, m, &alpha_d, x, incx, NULL, &rntm)
|
| 470 |
+
elif reals_ft is float1d_t:
|
| 471 |
+
bli_sscalv_ex(<blis_conj_t>conjalpha, m, &alpha_f, &x[0], incx, NULL, &rntm)
|
| 472 |
+
elif reals_ft is double1d_t:
|
| 473 |
+
bli_dscalv_ex(<blis_conj_t>conjalpha, m, &alpha_d, &x[0], incx, NULL, &rntm)
|
| 474 |
+
else:
|
| 475 |
+
# Impossible --- panic?
|
| 476 |
+
pass
|
| 477 |
+
|
| 478 |
+
|
| 479 |
+
cdef double norm_L1(
|
| 480 |
+
dim_t n,
|
| 481 |
+
reals_ft x, inc_t incx
|
| 482 |
+
) noexcept nogil:
|
| 483 |
+
cdef double dnorm = 0
|
| 484 |
+
cdef float snorm = 0
|
| 485 |
+
if reals_ft is floats_t:
|
| 486 |
+
bli_snorm1v_ex(n, x, incx, &snorm, NULL, &rntm)
|
| 487 |
+
dnorm = snorm
|
| 488 |
+
elif reals_ft is doubles_t:
|
| 489 |
+
bli_dnorm1v_ex(n, x, incx, &dnorm, NULL, &rntm)
|
| 490 |
+
elif reals_ft is float1d_t:
|
| 491 |
+
bli_snorm1v_ex(n, &x[0], incx, &snorm, NULL, &rntm)
|
| 492 |
+
dnorm = snorm
|
| 493 |
+
elif reals_ft is double1d_t:
|
| 494 |
+
bli_dnorm1v_ex(n, &x[0], incx, &dnorm, NULL, &rntm)
|
| 495 |
+
else:
|
| 496 |
+
# Impossible --- panic?
|
| 497 |
+
pass
|
| 498 |
+
return dnorm
|
| 499 |
+
|
| 500 |
+
|
| 501 |
+
cdef double norm_L2(
|
| 502 |
+
dim_t n,
|
| 503 |
+
reals_ft x, inc_t incx
|
| 504 |
+
) noexcept nogil:
|
| 505 |
+
cdef double dnorm = 0
|
| 506 |
+
cdef float snorm = 0
|
| 507 |
+
if reals_ft is floats_t:
|
| 508 |
+
bli_snormfv_ex(n, x, incx, &snorm, NULL, &rntm)
|
| 509 |
+
dnorm = snorm
|
| 510 |
+
elif reals_ft is doubles_t:
|
| 511 |
+
bli_dnormfv_ex(n, x, incx, &dnorm, NULL, &rntm)
|
| 512 |
+
elif reals_ft is float1d_t:
|
| 513 |
+
bli_snormfv_ex(n, &x[0], incx, &snorm, NULL, &rntm)
|
| 514 |
+
dnorm = snorm
|
| 515 |
+
elif reals_ft is double1d_t:
|
| 516 |
+
bli_dnormfv_ex(n, &x[0], incx, &dnorm, NULL, &rntm)
|
| 517 |
+
else:
|
| 518 |
+
# Impossible --- panic?
|
| 519 |
+
pass
|
| 520 |
+
return dnorm
|
| 521 |
+
|
| 522 |
+
|
| 523 |
+
cdef double norm_inf(
|
| 524 |
+
dim_t n,
|
| 525 |
+
reals_ft x, inc_t incx
|
| 526 |
+
) noexcept nogil:
|
| 527 |
+
cdef double dnorm = 0
|
| 528 |
+
cdef float snorm = 0
|
| 529 |
+
if reals_ft is floats_t:
|
| 530 |
+
bli_snormiv_ex(n, x, incx, &snorm, NULL, &rntm)
|
| 531 |
+
dnorm = snorm
|
| 532 |
+
elif reals_ft is doubles_t:
|
| 533 |
+
bli_dnormiv_ex(n, x, incx, &dnorm, NULL, &rntm)
|
| 534 |
+
elif reals_ft is float1d_t:
|
| 535 |
+
bli_snormiv_ex(n, &x[0], incx, &snorm, NULL, &rntm)
|
| 536 |
+
dnorm = snorm
|
| 537 |
+
elif reals_ft is double1d_t:
|
| 538 |
+
bli_dnormiv_ex(n, &x[0], incx, &dnorm, NULL, &rntm)
|
| 539 |
+
else:
|
| 540 |
+
# Impossible --- panic?
|
| 541 |
+
pass
|
| 542 |
+
return dnorm
|
| 543 |
+
|
| 544 |
+
|
| 545 |
+
cdef double dotv(
|
| 546 |
+
conj_t conjx,
|
| 547 |
+
conj_t conjy,
|
| 548 |
+
dim_t m,
|
| 549 |
+
reals_ft x,
|
| 550 |
+
reals_ft y,
|
| 551 |
+
inc_t incx,
|
| 552 |
+
inc_t incy,
|
| 553 |
+
) noexcept nogil:
|
| 554 |
+
cdef double rho_d = 0.0
|
| 555 |
+
cdef float rho_f = 0.0
|
| 556 |
+
if reals_ft is floats_t:
|
| 557 |
+
bli_sdotv_ex(<blis_conj_t>conjx, <blis_conj_t>conjy, m, x, incx, y, incy, &rho_f, NULL, &rntm)
|
| 558 |
+
return rho_f
|
| 559 |
+
elif reals_ft is doubles_t:
|
| 560 |
+
bli_ddotv_ex(<blis_conj_t>conjx, <blis_conj_t>conjy, m, x, incx, y, incy, &rho_d, NULL, &rntm)
|
| 561 |
+
return rho_d
|
| 562 |
+
elif reals_ft is float1d_t:
|
| 563 |
+
bli_sdotv_ex(<blis_conj_t>conjx, <blis_conj_t>conjy, m, &x[0], incx, &y[0], incy,
|
| 564 |
+
&rho_f, NULL, &rntm)
|
| 565 |
+
return rho_f
|
| 566 |
+
elif reals_ft is double1d_t:
|
| 567 |
+
bli_ddotv_ex(<blis_conj_t>conjx, <blis_conj_t>conjy, m, &x[0], incx, &y[0], incy,
|
| 568 |
+
&rho_d, NULL, &rntm)
|
| 569 |
+
return rho_d
|
| 570 |
+
else:
|
| 571 |
+
raise ValueError("Unhandled fused type")
|
| 572 |
+
|
| 573 |
+
|
| 574 |
+
cdef void randv(dim_t m, reals_ft x, inc_t incx) noexcept nogil:
|
| 575 |
+
if reals_ft is floats_t:
|
| 576 |
+
bli_srandv_ex(m, x, incx, NULL, &rntm)
|
| 577 |
+
elif reals_ft is float1d_t:
|
| 578 |
+
bli_srandv_ex(m, &x[0], incx, NULL, &rntm)
|
| 579 |
+
if reals_ft is doubles_t:
|
| 580 |
+
bli_drandv_ex(m, x, incx, NULL, &rntm)
|
| 581 |
+
elif reals_ft is double1d_t:
|
| 582 |
+
bli_drandv_ex(m, &x[0], incx, NULL, &rntm)
|
| 583 |
+
else:
|
| 584 |
+
with gil:
|
| 585 |
+
raise ValueError("Unhandled fused type")
|
| 586 |
+
|
| 587 |
+
|
| 588 |
+
cdef void sumsqv(dim_t m, reals_ft x, inc_t incx,
|
| 589 |
+
reals_ft scale, reals_ft sumsq) noexcept nogil:
|
| 590 |
+
if reals_ft is floats_t:
|
| 591 |
+
bli_ssumsqv_ex(m, &x[0], incx, scale, sumsq, NULL, &rntm)
|
| 592 |
+
elif reals_ft is float1d_t:
|
| 593 |
+
bli_ssumsqv_ex(m, &x[0], incx, &scale[0], &sumsq[0], NULL, &rntm)
|
| 594 |
+
if reals_ft is doubles_t:
|
| 595 |
+
bli_dsumsqv_ex(m, x, incx, scale, sumsq, NULL, &rntm)
|
| 596 |
+
elif reals_ft is double1d_t:
|
| 597 |
+
bli_dsumsqv_ex(m, &x[0], incx, &scale[0], &sumsq[0], NULL, &rntm)
|
| 598 |
+
else:
|
| 599 |
+
with gil:
|
| 600 |
+
raise ValueError("Unhandled fused type")
|
| 601 |
+
|
| 602 |
+
|
| 603 |
+
cdef void dgemm(bint transA, bint transB, int M, int N, int K,
|
| 604 |
+
double alpha, const double* A, int lda, const double* B,
|
| 605 |
+
int ldb, double beta, double* C, int ldc) noexcept nogil:
|
| 606 |
+
gemm(
|
| 607 |
+
TRANSPOSE if transA else NO_TRANSPOSE,
|
| 608 |
+
TRANSPOSE if transB else NO_TRANSPOSE,
|
| 609 |
+
M, N, K,
|
| 610 |
+
alpha, A, lda, 1,
|
| 611 |
+
B, ldb, 1,
|
| 612 |
+
beta, C, ldc, 1
|
| 613 |
+
)
|
| 614 |
+
|
| 615 |
+
|
| 616 |
+
cdef void sgemm(bint transA, bint transB, int M, int N, int K,
|
| 617 |
+
float alpha, const float* A, int lda, const float* B,
|
| 618 |
+
int ldb, float beta, float* C, int ldc) noexcept nogil:
|
| 619 |
+
gemm(
|
| 620 |
+
TRANSPOSE if transA else NO_TRANSPOSE,
|
| 621 |
+
TRANSPOSE if transB else NO_TRANSPOSE,
|
| 622 |
+
M, N, K,
|
| 623 |
+
alpha, A, lda, 1,
|
| 624 |
+
B, ldb, 1,
|
| 625 |
+
beta, C, ldc, 1
|
| 626 |
+
)
|
| 627 |
+
|
| 628 |
+
|
| 629 |
+
cdef void saxpy(int N, float alpha, const float* X, int incX,
|
| 630 |
+
float* Y, int incY) noexcept nogil:
|
| 631 |
+
axpyv(NO_CONJUGATE, N, alpha, X, incX, Y, incY)
|
| 632 |
+
|
| 633 |
+
|
| 634 |
+
cdef void daxpy(int N, double alpha, const double* X, int incX,
|
| 635 |
+
double* Y, int incY) noexcept nogil:
|
| 636 |
+
axpyv(NO_CONJUGATE, N, alpha, X, incX, Y, incY)
|
| 637 |
+
|
| 638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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# cython: boundscheck=False
|
| 2 |
+
# Copyright ExplsionAI GmbH, released under BSD.
|
| 3 |
+
cimport numpy as np
|
| 4 |
+
from . cimport cy
|
| 5 |
+
from .cy cimport reals1d_ft, reals2d_ft, float1d_t, float2d_t
|
| 6 |
+
from .cy cimport const_reals1d_ft, const_reals2d_ft, const_float1d_t, const_float2d_t
|
| 7 |
+
from .cy cimport const_double1d_t, const_double2d_t
|
| 8 |
+
|
| 9 |
+
import numpy
|
| 10 |
+
|
| 11 |
+
|
| 12 |
+
def axpy(const_reals1d_ft A, double scale=1., np.ndarray out=None):
|
| 13 |
+
if const_reals1d_ft is const_float1d_t:
|
| 14 |
+
if out is None:
|
| 15 |
+
out = numpy.zeros((A.shape[0],), dtype='f')
|
| 16 |
+
B = <float*>out.data
|
| 17 |
+
return out
|
| 18 |
+
elif const_reals1d_ft is const_double1d_t:
|
| 19 |
+
if out is None:
|
| 20 |
+
out = numpy.zeros((A.shape[0],), dtype='d')
|
| 21 |
+
B = <double*>out.data
|
| 22 |
+
with nogil:
|
| 23 |
+
cy.axpyv(cy.NO_CONJUGATE, A.shape[0], scale, &A[0], 1, B, 1)
|
| 24 |
+
return out
|
| 25 |
+
else:
|
| 26 |
+
B = NULL
|
| 27 |
+
raise TypeError("Unhandled fused type")
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
def batch_axpy(reals2d_ft A, reals1d_ft B, np.ndarray out=None):
|
| 31 |
+
pass
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
def ger(const_reals2d_ft A, const_reals1d_ft B, double scale=1., np.ndarray out=None):
|
| 35 |
+
if const_reals2d_ft is const_float2d_t and const_reals1d_ft is const_float1d_t:
|
| 36 |
+
if out is None:
|
| 37 |
+
out = numpy.zeros((A.shape[0], B.shape[0]), dtype='f')
|
| 38 |
+
with nogil:
|
| 39 |
+
cy.ger(
|
| 40 |
+
cy.NO_CONJUGATE, cy.NO_CONJUGATE,
|
| 41 |
+
A.shape[0], B.shape[0],
|
| 42 |
+
scale,
|
| 43 |
+
&A[0,0], 1,
|
| 44 |
+
&B[0], 1,
|
| 45 |
+
<float*>out.data, out.shape[1], 1)
|
| 46 |
+
return out
|
| 47 |
+
elif const_reals2d_ft is const_double2d_t and const_reals1d_ft is const_double1d_t:
|
| 48 |
+
if out is None:
|
| 49 |
+
out = numpy.zeros((A.shape[0], B.shape[0]), dtype='d')
|
| 50 |
+
with nogil:
|
| 51 |
+
cy.ger(
|
| 52 |
+
cy.NO_CONJUGATE, cy.NO_CONJUGATE,
|
| 53 |
+
A.shape[0], B.shape[0],
|
| 54 |
+
scale,
|
| 55 |
+
&A[0,0], 1,
|
| 56 |
+
&B[0], 1,
|
| 57 |
+
<double*>out.data, out.shape[1], 1)
|
| 58 |
+
return out
|
| 59 |
+
else:
|
| 60 |
+
C = NULL
|
| 61 |
+
raise TypeError("Unhandled fused type")
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
def gemm(const_reals2d_ft A, const_reals2d_ft B,
|
| 65 |
+
np.ndarray out=None, bint trans1=False, bint trans2=False,
|
| 66 |
+
double alpha=1., double beta=1.):
|
| 67 |
+
cdef cy.dim_t nM = A.shape[0] if not trans1 else A.shape[1]
|
| 68 |
+
cdef cy.dim_t nK = A.shape[1] if not trans1 else A.shape[0]
|
| 69 |
+
cdef cy.dim_t nK_b = B.shape[0] if not trans2 else B.shape[1]
|
| 70 |
+
cdef cy.dim_t nN = B.shape[1] if not trans2 else B.shape[0]
|
| 71 |
+
|
| 72 |
+
if nK != nK_b:
|
| 73 |
+
msg = "Shape mismatch for blis.gemm: (%d, %d), (%d, %d)"
|
| 74 |
+
raise ValueError(msg % (nM, nK, nK_b, nN))
|
| 75 |
+
|
| 76 |
+
if const_reals2d_ft is const_float2d_t:
|
| 77 |
+
if out is None:
|
| 78 |
+
if beta == 0.:
|
| 79 |
+
out = numpy.empty((nM, nN), dtype='f')
|
| 80 |
+
else:
|
| 81 |
+
out = numpy.zeros((nM, nN), dtype='f')
|
| 82 |
+
C = <float*>out.data
|
| 83 |
+
with nogil:
|
| 84 |
+
cy.gemm(
|
| 85 |
+
cy.TRANSPOSE if trans1 else cy.NO_TRANSPOSE,
|
| 86 |
+
cy.TRANSPOSE if trans2 else cy.NO_TRANSPOSE,
|
| 87 |
+
nM, nN, nK,
|
| 88 |
+
alpha,
|
| 89 |
+
&A[0,0], A.shape[1], 1,
|
| 90 |
+
&B[0,0], B.shape[1], 1,
|
| 91 |
+
beta,
|
| 92 |
+
C, out.shape[1], 1)
|
| 93 |
+
return out
|
| 94 |
+
elif const_reals2d_ft is const_double2d_t:
|
| 95 |
+
if out is None:
|
| 96 |
+
out = numpy.zeros((A.shape[0], B.shape[1]), dtype='d')
|
| 97 |
+
C = <double*>out.data
|
| 98 |
+
with nogil:
|
| 99 |
+
cy.gemm(
|
| 100 |
+
cy.TRANSPOSE if trans1 else cy.NO_TRANSPOSE,
|
| 101 |
+
cy.TRANSPOSE if trans2 else cy.NO_TRANSPOSE,
|
| 102 |
+
A.shape[0], B.shape[1], A.shape[1],
|
| 103 |
+
alpha,
|
| 104 |
+
&A[0,0], A.shape[1], 1,
|
| 105 |
+
&B[0,0], B.shape[1], 1,
|
| 106 |
+
beta,
|
| 107 |
+
C, out.shape[1], 1)
|
| 108 |
+
return out
|
| 109 |
+
else:
|
| 110 |
+
C = NULL
|
| 111 |
+
raise TypeError("Unhandled fused type")
|
| 112 |
+
|
| 113 |
+
def gemv(const_reals2d_ft A, const_reals1d_ft B,
|
| 114 |
+
bint trans1=False, double alpha=1., double beta=1.,
|
| 115 |
+
np.ndarray out=None):
|
| 116 |
+
if const_reals1d_ft is const_float1d_t and const_reals2d_ft is const_float2d_t:
|
| 117 |
+
if out is None:
|
| 118 |
+
out = numpy.zeros((A.shape[0],), dtype='f')
|
| 119 |
+
with nogil:
|
| 120 |
+
cy.gemv(
|
| 121 |
+
cy.TRANSPOSE if trans1 else cy.NO_TRANSPOSE,
|
| 122 |
+
cy.NO_CONJUGATE,
|
| 123 |
+
A.shape[0], A.shape[1],
|
| 124 |
+
alpha,
|
| 125 |
+
&A[0,0], A.shape[1], 1,
|
| 126 |
+
&B[0], 1,
|
| 127 |
+
beta,
|
| 128 |
+
<float*>out.data, 1)
|
| 129 |
+
return out
|
| 130 |
+
elif const_reals1d_ft is const_double1d_t and const_reals2d_ft is const_double2d_t:
|
| 131 |
+
if out is None:
|
| 132 |
+
out = numpy.zeros((A.shape[0],), dtype='d')
|
| 133 |
+
with nogil:
|
| 134 |
+
cy.gemv(
|
| 135 |
+
cy.TRANSPOSE if trans1 else cy.NO_TRANSPOSE,
|
| 136 |
+
cy.NO_CONJUGATE,
|
| 137 |
+
A.shape[0], A.shape[1],
|
| 138 |
+
alpha,
|
| 139 |
+
&A[0,0], A.shape[1], 1,
|
| 140 |
+
&B[0], 1,
|
| 141 |
+
beta,
|
| 142 |
+
<double*>out.data, 1)
|
| 143 |
+
return out
|
| 144 |
+
else:
|
| 145 |
+
raise TypeError("Unhandled fused type")
|
| 146 |
+
|
| 147 |
+
|
| 148 |
+
def dotv(const_reals1d_ft X, const_reals1d_ft Y, bint conjX=False, bint conjY=False):
|
| 149 |
+
if X.shape[0] != Y.shape[0]:
|
| 150 |
+
msg = "Shape mismatch for blis.dotv: (%d,), (%d,)"
|
| 151 |
+
raise ValueError(msg % (X.shape[0], Y.shape[0]))
|
| 152 |
+
return cy.dotv(
|
| 153 |
+
cy.CONJUGATE if conjX else cy.NO_CONJUGATE,
|
| 154 |
+
cy.CONJUGATE if conjY else cy.NO_CONJUGATE,
|
| 155 |
+
X.shape[0], &X[0], &Y[0], 1, 1
|
| 156 |
+
)
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
def einsum(todo, A, B, out=None):
|
| 160 |
+
if todo == 'a,a->a':
|
| 161 |
+
return axpy(A, B, out=out)
|
| 162 |
+
elif todo == 'a,b->ab':
|
| 163 |
+
return ger(A, B, out=out)
|
| 164 |
+
elif todo == 'a,b->ba':
|
| 165 |
+
return ger(B, A, out=out)
|
| 166 |
+
elif todo == 'ab,a->ab':
|
| 167 |
+
return batch_axpy(A, B, out=out)
|
| 168 |
+
elif todo == 'ab,a->ba':
|
| 169 |
+
return batch_axpy(A, B, trans1=True, out=out)
|
| 170 |
+
elif todo == 'ab,b->a':
|
| 171 |
+
return gemv(A, B, out=out)
|
| 172 |
+
elif todo == 'ab,a->b':
|
| 173 |
+
return gemv(A, B, trans1=True, out=out)
|
| 174 |
+
# The rule here is, look at the first dimension of the output. That must
|
| 175 |
+
# occur in arg1. Set trans1 if it's dimension 2.
|
| 176 |
+
# E.g. bc is output, b occurs in ab, so that must be arg1. So we need
|
| 177 |
+
# trans1=True, to make ba,ac->bc
|
| 178 |
+
elif todo == 'ab,ac->bc':
|
| 179 |
+
return gemm(A, B, trans1=True, trans2=False, out=out)
|
| 180 |
+
elif todo == 'ab,ac->cb':
|
| 181 |
+
return gemm(B, A, out=out, trans1=True, trans2=True)
|
| 182 |
+
elif todo == 'ab,bc->ac':
|
| 183 |
+
return gemm(A, B, out=out, trans1=False, trans2=False)
|
| 184 |
+
elif todo == 'ab,bc->ca':
|
| 185 |
+
return gemm(B, A, out=out, trans1=True, trans2=True)
|
| 186 |
+
elif todo == 'ab,ca->bc':
|
| 187 |
+
return gemm(A, B, out=out, trans1=True, trans2=True)
|
| 188 |
+
elif todo == 'ab,ca->cb':
|
| 189 |
+
return gemm(B, A, out=out, trans1=False, trans2=False)
|
| 190 |
+
elif todo == 'ab,cb->ac':
|
| 191 |
+
return gemm(A, B, out=out, trans1=False, trans2=True)
|
| 192 |
+
elif todo == 'ab,cb->ca':
|
| 193 |
+
return gemm(B, A, out=out, trans1=False, trans2=True)
|
| 194 |
+
else:
|
| 195 |
+
raise ValueError("Invalid einsum: %s" % todo)
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/__init__.py
ADDED
|
@@ -0,0 +1,176 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# This library is free software; you can redistribute it and/or
|
| 3 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 4 |
+
# License as published by the Free Software Foundation; either
|
| 5 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 6 |
+
#
|
| 7 |
+
# This library is distributed in the hope that it will be useful,
|
| 8 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 9 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 10 |
+
# Lesser General Public License for more details.
|
| 11 |
+
#
|
| 12 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 13 |
+
# License along with this library; if not, see
|
| 14 |
+
# <https://www.gnu.org/licenses/>.
|
| 15 |
+
######################### END LICENSE BLOCK #########################
|
| 16 |
+
|
| 17 |
+
from typing import Union
|
| 18 |
+
|
| 19 |
+
from .charsetgroupprober import CharSetGroupProber
|
| 20 |
+
from .charsetprober import CharSetProber
|
| 21 |
+
from .enums import EncodingEra, InputState
|
| 22 |
+
from .resultdict import ResultDict
|
| 23 |
+
from .universaldetector import UniversalDetector
|
| 24 |
+
from .version import VERSION, __version__
|
| 25 |
+
|
| 26 |
+
__all__ = [
|
| 27 |
+
"EncodingEra",
|
| 28 |
+
"UniversalDetector",
|
| 29 |
+
"detect",
|
| 30 |
+
"detect_all",
|
| 31 |
+
"__version__",
|
| 32 |
+
"VERSION",
|
| 33 |
+
]
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
def detect(
|
| 37 |
+
byte_str: Union[bytes, bytearray],
|
| 38 |
+
should_rename_legacy: bool | None = None,
|
| 39 |
+
encoding_era: EncodingEra = EncodingEra.MODERN_WEB,
|
| 40 |
+
chunk_size: int = 65_536,
|
| 41 |
+
max_bytes: int = 200_000,
|
| 42 |
+
) -> ResultDict:
|
| 43 |
+
"""
|
| 44 |
+
Detect the encoding of the given byte string.
|
| 45 |
+
|
| 46 |
+
:param byte_str: The byte sequence to examine.
|
| 47 |
+
:type byte_str: ``bytes`` or ``bytearray``
|
| 48 |
+
:param should_rename_legacy: Should we rename legacy encodings
|
| 49 |
+
to their more modern equivalents?
|
| 50 |
+
If None (default), automatically enabled
|
| 51 |
+
when encoding_era is MODERN_WEB.
|
| 52 |
+
:type should_rename_legacy: ``bool`` or ``None``
|
| 53 |
+
:param encoding_era: Which era of encodings to consider during detection.
|
| 54 |
+
:type encoding_era: ``EncodingEra``
|
| 55 |
+
:param chunk_size: Size of chunks to process at a time
|
| 56 |
+
:type chunk_size: ``int``
|
| 57 |
+
:param max_bytes: Maximum number of bytes to examine.
|
| 58 |
+
:type max_bytes: ``int``
|
| 59 |
+
"""
|
| 60 |
+
if not isinstance(byte_str, bytearray):
|
| 61 |
+
if not isinstance(byte_str, bytes):
|
| 62 |
+
raise TypeError(
|
| 63 |
+
f"Expected object of type bytes or bytearray, got: {type(byte_str)}"
|
| 64 |
+
)
|
| 65 |
+
byte_str = bytearray(byte_str)
|
| 66 |
+
|
| 67 |
+
# Automatically enable legacy remapping for MODERN_WEB era if not explicitly set
|
| 68 |
+
if should_rename_legacy is None:
|
| 69 |
+
should_rename_legacy = encoding_era == EncodingEra.MODERN_WEB
|
| 70 |
+
|
| 71 |
+
detector = UniversalDetector(
|
| 72 |
+
should_rename_legacy=should_rename_legacy,
|
| 73 |
+
encoding_era=encoding_era,
|
| 74 |
+
max_bytes=max_bytes,
|
| 75 |
+
)
|
| 76 |
+
|
| 77 |
+
# Process in chunks like uchardet does
|
| 78 |
+
for i in range(0, len(byte_str), chunk_size):
|
| 79 |
+
chunk = byte_str[i : i + chunk_size]
|
| 80 |
+
detector.feed(chunk)
|
| 81 |
+
if detector.done:
|
| 82 |
+
break
|
| 83 |
+
|
| 84 |
+
return detector.close()
|
| 85 |
+
|
| 86 |
+
|
| 87 |
+
def detect_all(
|
| 88 |
+
byte_str: Union[bytes, bytearray],
|
| 89 |
+
ignore_threshold: bool = False,
|
| 90 |
+
should_rename_legacy: bool | None = None,
|
| 91 |
+
encoding_era: EncodingEra = EncodingEra.MODERN_WEB,
|
| 92 |
+
chunk_size: int = 65_536,
|
| 93 |
+
max_bytes: int = 200_000,
|
| 94 |
+
) -> list[ResultDict]:
|
| 95 |
+
"""
|
| 96 |
+
Detect all the possible encodings of the given byte string.
|
| 97 |
+
|
| 98 |
+
:param byte_str: The byte sequence to examine.
|
| 99 |
+
:type byte_str: ``bytes`` or ``bytearray``
|
| 100 |
+
:param ignore_threshold: Include encodings that are below
|
| 101 |
+
``UniversalDetector.MINIMUM_THRESHOLD``
|
| 102 |
+
in results.
|
| 103 |
+
:type ignore_threshold: ``bool``
|
| 104 |
+
:param should_rename_legacy: Should we rename legacy encodings
|
| 105 |
+
to their more modern equivalents?
|
| 106 |
+
If None (default), automatically enabled
|
| 107 |
+
when encoding_era is MODERN_WEB.
|
| 108 |
+
:type should_rename_legacy: ``bool`` or ``None``
|
| 109 |
+
:param encoding_era: Which era of encodings to consider during detection.
|
| 110 |
+
:type encoding_era: ``EncodingEra``
|
| 111 |
+
:param chunk_size: Size of chunks to process at a time.
|
| 112 |
+
:type chunk_size: ``int``
|
| 113 |
+
:param max_bytes: Maximum number of bytes to examine.
|
| 114 |
+
:type max_bytes: ``int``
|
| 115 |
+
"""
|
| 116 |
+
if not isinstance(byte_str, bytearray):
|
| 117 |
+
if not isinstance(byte_str, bytes):
|
| 118 |
+
raise TypeError(
|
| 119 |
+
f"Expected object of type bytes or bytearray, got: {type(byte_str)}"
|
| 120 |
+
)
|
| 121 |
+
byte_str = bytearray(byte_str)
|
| 122 |
+
|
| 123 |
+
# Automatically enable legacy remapping for MODERN_WEB era if not explicitly set
|
| 124 |
+
if should_rename_legacy is None:
|
| 125 |
+
should_rename_legacy = encoding_era == EncodingEra.MODERN_WEB
|
| 126 |
+
|
| 127 |
+
detector = UniversalDetector(
|
| 128 |
+
should_rename_legacy=should_rename_legacy,
|
| 129 |
+
encoding_era=encoding_era,
|
| 130 |
+
max_bytes=max_bytes,
|
| 131 |
+
)
|
| 132 |
+
|
| 133 |
+
# Process in chunks like uchardet does
|
| 134 |
+
for i in range(0, len(byte_str), chunk_size):
|
| 135 |
+
chunk = byte_str[i : i + chunk_size]
|
| 136 |
+
detector.feed(chunk)
|
| 137 |
+
if detector.done:
|
| 138 |
+
break
|
| 139 |
+
|
| 140 |
+
detector.close()
|
| 141 |
+
|
| 142 |
+
if detector.input_state in (InputState.HIGH_BYTE, InputState.ESC_ASCII):
|
| 143 |
+
results: list[ResultDict] = []
|
| 144 |
+
probers: list[CharSetProber] = []
|
| 145 |
+
for prober in detector.charset_probers:
|
| 146 |
+
if isinstance(prober, CharSetGroupProber):
|
| 147 |
+
probers.extend(p for p in prober.probers)
|
| 148 |
+
else:
|
| 149 |
+
probers.append(prober)
|
| 150 |
+
for prober in probers:
|
| 151 |
+
# Skip probers that determined this is NOT their encoding
|
| 152 |
+
if not prober.active:
|
| 153 |
+
continue
|
| 154 |
+
if ignore_threshold or prober.get_confidence() > detector.MINIMUM_THRESHOLD:
|
| 155 |
+
charset_name = prober.charset_name or ""
|
| 156 |
+
lower_charset_name = charset_name.lower()
|
| 157 |
+
# Use Windows encoding name instead of ISO-8859 if we saw any
|
| 158 |
+
# extra Windows-specific bytes
|
| 159 |
+
if lower_charset_name.startswith("iso-8859") and detector.has_win_bytes:
|
| 160 |
+
charset_name = detector.ISO_WIN_MAP.get(
|
| 161 |
+
lower_charset_name, charset_name
|
| 162 |
+
)
|
| 163 |
+
# Rename legacy encodings with superset encodings if asked
|
| 164 |
+
if should_rename_legacy:
|
| 165 |
+
charset_name = detector.LEGACY_MAP.get(
|
| 166 |
+
charset_name.lower(), charset_name
|
| 167 |
+
)
|
| 168 |
+
results.append({
|
| 169 |
+
"encoding": charset_name,
|
| 170 |
+
"confidence": prober.get_confidence(),
|
| 171 |
+
"language": prober.language,
|
| 172 |
+
})
|
| 173 |
+
if len(results) > 0:
|
| 174 |
+
return sorted(results, key=lambda result: -result["confidence"])
|
| 175 |
+
|
| 176 |
+
return [detector.result]
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/__main__.py
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Wrapper so people can run python -m chardet"""
|
| 2 |
+
|
| 3 |
+
from .cli.chardetect import main
|
| 4 |
+
|
| 5 |
+
if __name__ == "__main__":
|
| 6 |
+
main()
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/big5freq.py
ADDED
|
@@ -0,0 +1,385 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is Mozilla Communicator client code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
# Big5 frequency table
|
| 28 |
+
# by Taiwan's Mandarin Promotion Council
|
| 29 |
+
# <http://www.edu.tw:81/mandr/>
|
| 30 |
+
#
|
| 31 |
+
# 128 --> 0.42261
|
| 32 |
+
# 256 --> 0.57851
|
| 33 |
+
# 512 --> 0.74851
|
| 34 |
+
# 1024 --> 0.89384
|
| 35 |
+
# 2048 --> 0.97583
|
| 36 |
+
#
|
| 37 |
+
# Ideal Distribution Ratio = 0.74851/(1-0.74851) =2.98
|
| 38 |
+
# Random Distribution Ration = 512/(5401-512)=0.105
|
| 39 |
+
#
|
| 40 |
+
# Typical Distribution Ratio about 25% of Ideal one, still much higher than RDR
|
| 41 |
+
|
| 42 |
+
BIG5_TYPICAL_DISTRIBUTION_RATIO = 0.75
|
| 43 |
+
|
| 44 |
+
# Char to FreqOrder table
|
| 45 |
+
BIG5_TABLE_SIZE = 5376
|
| 46 |
+
# fmt: off
|
| 47 |
+
BIG5_CHAR_TO_FREQ_ORDER = (
|
| 48 |
+
1,1801,1506, 255,1431, 198, 9, 82, 6,5008, 177, 202,3681,1256,2821, 110, # 16
|
| 49 |
+
3814, 33,3274, 261, 76, 44,2114, 16,2946,2187,1176, 659,3971, 26,3451,2653, # 32
|
| 50 |
+
1198,3972,3350,4202, 410,2215, 302, 590, 361,1964, 8, 204, 58,4510,5009,1932, # 48
|
| 51 |
+
63,5010,5011, 317,1614, 75, 222, 159,4203,2417,1480,5012,3555,3091, 224,2822, # 64
|
| 52 |
+
3682, 3, 10,3973,1471, 29,2787,1135,2866,1940, 873, 130,3275,1123, 312,5013, # 80
|
| 53 |
+
4511,2052, 507, 252, 682,5014, 142,1915, 124, 206,2947, 34,3556,3204, 64, 604, # 96
|
| 54 |
+
5015,2501,1977,1978, 155,1991, 645, 641,1606,5016,3452, 337, 72, 406,5017, 80, # 112
|
| 55 |
+
630, 238,3205,1509, 263, 939,1092,2654, 756,1440,1094,3453, 449, 69,2987, 591, # 128
|
| 56 |
+
179,2096, 471, 115,2035,1844, 60, 50,2988, 134, 806,1869, 734,2036,3454, 180, # 144
|
| 57 |
+
995,1607, 156, 537,2907, 688,5018, 319,1305, 779,2145, 514,2379, 298,4512, 359, # 160
|
| 58 |
+
2502, 90,2716,1338, 663, 11, 906,1099,2553, 20,2441, 182, 532,1716,5019, 732, # 176
|
| 59 |
+
1376,4204,1311,1420,3206, 25,2317,1056, 113, 399, 382,1950, 242,3455,2474, 529, # 192
|
| 60 |
+
3276, 475,1447,3683,5020, 117, 21, 656, 810,1297,2300,2334,3557,5021, 126,4205, # 208
|
| 61 |
+
706, 456, 150, 613,4513, 71,1118,2037,4206, 145,3092, 85, 835, 486,2115,1246, # 224
|
| 62 |
+
1426, 428, 727,1285,1015, 800, 106, 623, 303,1281,5022,2128,2359, 347,3815, 221, # 240
|
| 63 |
+
3558,3135,5023,1956,1153,4207, 83, 296,1199,3093, 192, 624, 93,5024, 822,1898, # 256
|
| 64 |
+
2823,3136, 795,2065, 991,1554,1542,1592, 27, 43,2867, 859, 139,1456, 860,4514, # 272
|
| 65 |
+
437, 712,3974, 164,2397,3137, 695, 211,3037,2097, 195,3975,1608,3559,3560,3684, # 288
|
| 66 |
+
3976, 234, 811,2989,2098,3977,2233,1441,3561,1615,2380, 668,2077,1638, 305, 228, # 304
|
| 67 |
+
1664,4515, 467, 415,5025, 262,2099,1593, 239, 108, 300, 200,1033, 512,1247,2078, # 320
|
| 68 |
+
5026,5027,2176,3207,3685,2682, 593, 845,1062,3277, 88,1723,2038,3978,1951, 212, # 336
|
| 69 |
+
266, 152, 149, 468,1899,4208,4516, 77, 187,5028,3038, 37, 5,2990,5029,3979, # 352
|
| 70 |
+
5030,5031, 39,2524,4517,2908,3208,2079, 55, 148, 74,4518, 545, 483,1474,1029, # 368
|
| 71 |
+
1665, 217,1870,1531,3138,1104,2655,4209, 24, 172,3562, 900,3980,3563,3564,4519, # 384
|
| 72 |
+
32,1408,2824,1312, 329, 487,2360,2251,2717, 784,2683, 4,3039,3351,1427,1789, # 400
|
| 73 |
+
188, 109, 499,5032,3686,1717,1790, 888,1217,3040,4520,5033,3565,5034,3352,1520, # 416
|
| 74 |
+
3687,3981, 196,1034, 775,5035,5036, 929,1816, 249, 439, 38,5037,1063,5038, 794, # 432
|
| 75 |
+
3982,1435,2301, 46, 178,3278,2066,5039,2381,5040, 214,1709,4521, 804, 35, 707, # 448
|
| 76 |
+
324,3688,1601,2554, 140, 459,4210,5041,5042,1365, 839, 272, 978,2262,2580,3456, # 464
|
| 77 |
+
2129,1363,3689,1423, 697, 100,3094, 48, 70,1231, 495,3139,2196,5043,1294,5044, # 480
|
| 78 |
+
2080, 462, 586,1042,3279, 853, 256, 988, 185,2382,3457,1698, 434,1084,5045,3458, # 496
|
| 79 |
+
314,2625,2788,4522,2335,2336, 569,2285, 637,1817,2525, 757,1162,1879,1616,3459, # 512
|
| 80 |
+
287,1577,2116, 768,4523,1671,2868,3566,2526,1321,3816, 909,2418,5046,4211, 933, # 528
|
| 81 |
+
3817,4212,2053,2361,1222,4524, 765,2419,1322, 786,4525,5047,1920,1462,1677,2909, # 544
|
| 82 |
+
1699,5048,4526,1424,2442,3140,3690,2600,3353,1775,1941,3460,3983,4213, 309,1369, # 560
|
| 83 |
+
1130,2825, 364,2234,1653,1299,3984,3567,3985,3986,2656, 525,1085,3041, 902,2001, # 576
|
| 84 |
+
1475, 964,4527, 421,1845,1415,1057,2286, 940,1364,3141, 376,4528,4529,1381, 7, # 592
|
| 85 |
+
2527, 983,2383, 336,1710,2684,1846, 321,3461, 559,1131,3042,2752,1809,1132,1313, # 608
|
| 86 |
+
265,1481,1858,5049, 352,1203,2826,3280, 167,1089, 420,2827, 776, 792,1724,3568, # 624
|
| 87 |
+
4214,2443,3281,5050,4215,5051, 446, 229, 333,2753, 901,3818,1200,1557,4530,2657, # 640
|
| 88 |
+
1921, 395,2754,2685,3819,4216,1836, 125, 916,3209,2626,4531,5052,5053,3820,5054, # 656
|
| 89 |
+
5055,5056,4532,3142,3691,1133,2555,1757,3462,1510,2318,1409,3569,5057,2146, 438, # 672
|
| 90 |
+
2601,2910,2384,3354,1068, 958,3043, 461, 311,2869,2686,4217,1916,3210,4218,1979, # 688
|
| 91 |
+
383, 750,2755,2627,4219, 274, 539, 385,1278,1442,5058,1154,1965, 384, 561, 210, # 704
|
| 92 |
+
98,1295,2556,3570,5059,1711,2420,1482,3463,3987,2911,1257, 129,5060,3821, 642, # 720
|
| 93 |
+
523,2789,2790,2658,5061, 141,2235,1333, 68, 176, 441, 876, 907,4220, 603,2602, # 736
|
| 94 |
+
710, 171,3464, 404, 549, 18,3143,2398,1410,3692,1666,5062,3571,4533,2912,4534, # 752
|
| 95 |
+
5063,2991, 368,5064, 146, 366, 99, 871,3693,1543, 748, 807,1586,1185, 22,2263, # 768
|
| 96 |
+
379,3822,3211,5065,3212, 505,1942,2628,1992,1382,2319,5066, 380,2362, 218, 702, # 784
|
| 97 |
+
1818,1248,3465,3044,3572,3355,3282,5067,2992,3694, 930,3283,3823,5068, 59,5069, # 800
|
| 98 |
+
585, 601,4221, 497,3466,1112,1314,4535,1802,5070,1223,1472,2177,5071, 749,1837, # 816
|
| 99 |
+
690,1900,3824,1773,3988,1476, 429,1043,1791,2236,2117, 917,4222, 447,1086,1629, # 832
|
| 100 |
+
5072, 556,5073,5074,2021,1654, 844,1090, 105, 550, 966,1758,2828,1008,1783, 686, # 848
|
| 101 |
+
1095,5075,2287, 793,1602,5076,3573,2603,4536,4223,2948,2302,4537,3825, 980,2503, # 864
|
| 102 |
+
544, 353, 527,4538, 908,2687,2913,5077, 381,2629,1943,1348,5078,1341,1252, 560, # 880
|
| 103 |
+
3095,5079,3467,2870,5080,2054, 973, 886,2081, 143,4539,5081,5082, 157,3989, 496, # 896
|
| 104 |
+
4224, 57, 840, 540,2039,4540,4541,3468,2118,1445, 970,2264,1748,1966,2082,4225, # 912
|
| 105 |
+
3144,1234,1776,3284,2829,3695, 773,1206,2130,1066,2040,1326,3990,1738,1725,4226, # 928
|
| 106 |
+
279,3145, 51,1544,2604, 423,1578,2131,2067, 173,4542,1880,5083,5084,1583, 264, # 944
|
| 107 |
+
610,3696,4543,2444, 280, 154,5085,5086,5087,1739, 338,1282,3096, 693,2871,1411, # 960
|
| 108 |
+
1074,3826,2445,5088,4544,5089,5090,1240, 952,2399,5091,2914,1538,2688, 685,1483, # 976
|
| 109 |
+
4227,2475,1436, 953,4228,2055,4545, 671,2400, 79,4229,2446,3285, 608, 567,2689, # 992
|
| 110 |
+
3469,4230,4231,1691, 393,1261,1792,2401,5092,4546,5093,5094,5095,5096,1383,1672, # 1008
|
| 111 |
+
3827,3213,1464, 522,1119, 661,1150, 216, 675,4547,3991,1432,3574, 609,4548,2690, # 1024
|
| 112 |
+
2402,5097,5098,5099,4232,3045, 0,5100,2476, 315, 231,2447, 301,3356,4549,2385, # 1040
|
| 113 |
+
5101, 233,4233,3697,1819,4550,4551,5102, 96,1777,1315,2083,5103, 257,5104,1810, # 1056
|
| 114 |
+
3698,2718,1139,1820,4234,2022,1124,2164,2791,1778,2659,5105,3097, 363,1655,3214, # 1072
|
| 115 |
+
5106,2993,5107,5108,5109,3992,1567,3993, 718, 103,3215, 849,1443, 341,3357,2949, # 1088
|
| 116 |
+
1484,5110,1712, 127, 67, 339,4235,2403, 679,1412, 821,5111,5112, 834, 738, 351, # 1104
|
| 117 |
+
2994,2147, 846, 235,1497,1881, 418,1993,3828,2719, 186,1100,2148,2756,3575,1545, # 1120
|
| 118 |
+
1355,2950,2872,1377, 583,3994,4236,2581,2995,5113,1298,3699,1078,2557,3700,2363, # 1136
|
| 119 |
+
78,3829,3830, 267,1289,2100,2002,1594,4237, 348, 369,1274,2197,2178,1838,4552, # 1152
|
| 120 |
+
1821,2830,3701,2757,2288,2003,4553,2951,2758, 144,3358, 882,4554,3995,2759,3470, # 1168
|
| 121 |
+
4555,2915,5114,4238,1726, 320,5115,3996,3046, 788,2996,5116,2831,1774,1327,2873, # 1184
|
| 122 |
+
3997,2832,5117,1306,4556,2004,1700,3831,3576,2364,2660, 787,2023, 506, 824,3702, # 1200
|
| 123 |
+
534, 323,4557,1044,3359,2024,1901, 946,3471,5118,1779,1500,1678,5119,1882,4558, # 1216
|
| 124 |
+
165, 243,4559,3703,2528, 123, 683,4239, 764,4560, 36,3998,1793, 589,2916, 816, # 1232
|
| 125 |
+
626,1667,3047,2237,1639,1555,1622,3832,3999,5120,4000,2874,1370,1228,1933, 891, # 1248
|
| 126 |
+
2084,2917, 304,4240,5121, 292,2997,2720,3577, 691,2101,4241,1115,4561, 118, 662, # 1264
|
| 127 |
+
5122, 611,1156, 854,2386,1316,2875, 2, 386, 515,2918,5123,5124,3286, 868,2238, # 1280
|
| 128 |
+
1486, 855,2661, 785,2216,3048,5125,1040,3216,3578,5126,3146, 448,5127,1525,5128, # 1296
|
| 129 |
+
2165,4562,5129,3833,5130,4242,2833,3579,3147, 503, 818,4001,3148,1568, 814, 676, # 1312
|
| 130 |
+
1444, 306,1749,5131,3834,1416,1030, 197,1428, 805,2834,1501,4563,5132,5133,5134, # 1328
|
| 131 |
+
1994,5135,4564,5136,5137,2198, 13,2792,3704,2998,3149,1229,1917,5138,3835,2132, # 1344
|
| 132 |
+
5139,4243,4565,2404,3580,5140,2217,1511,1727,1120,5141,5142, 646,3836,2448, 307, # 1360
|
| 133 |
+
5143,5144,1595,3217,5145,5146,5147,3705,1113,1356,4002,1465,2529,2530,5148, 519, # 1376
|
| 134 |
+
5149, 128,2133, 92,2289,1980,5150,4003,1512, 342,3150,2199,5151,2793,2218,1981, # 1392
|
| 135 |
+
3360,4244, 290,1656,1317, 789, 827,2365,5152,3837,4566, 562, 581,4004,5153, 401, # 1408
|
| 136 |
+
4567,2252, 94,4568,5154,1399,2794,5155,1463,2025,4569,3218,1944,5156, 828,1105, # 1424
|
| 137 |
+
4245,1262,1394,5157,4246, 605,4570,5158,1784,2876,5159,2835, 819,2102, 578,2200, # 1440
|
| 138 |
+
2952,5160,1502, 436,3287,4247,3288,2836,4005,2919,3472,3473,5161,2721,2320,5162, # 1456
|
| 139 |
+
5163,2337,2068, 23,4571, 193, 826,3838,2103, 699,1630,4248,3098, 390,1794,1064, # 1472
|
| 140 |
+
3581,5164,1579,3099,3100,1400,5165,4249,1839,1640,2877,5166,4572,4573, 137,4250, # 1488
|
| 141 |
+
598,3101,1967, 780, 104, 974,2953,5167, 278, 899, 253, 402, 572, 504, 493,1339, # 1504
|
| 142 |
+
5168,4006,1275,4574,2582,2558,5169,3706,3049,3102,2253, 565,1334,2722, 863, 41, # 1520
|
| 143 |
+
5170,5171,4575,5172,1657,2338, 19, 463,2760,4251, 606,5173,2999,3289,1087,2085, # 1536
|
| 144 |
+
1323,2662,3000,5174,1631,1623,1750,4252,2691,5175,2878, 791,2723,2663,2339, 232, # 1552
|
| 145 |
+
2421,5176,3001,1498,5177,2664,2630, 755,1366,3707,3290,3151,2026,1609, 119,1918, # 1568
|
| 146 |
+
3474, 862,1026,4253,5178,4007,3839,4576,4008,4577,2265,1952,2477,5179,1125, 817, # 1584
|
| 147 |
+
4254,4255,4009,1513,1766,2041,1487,4256,3050,3291,2837,3840,3152,5180,5181,1507, # 1600
|
| 148 |
+
5182,2692, 733, 40,1632,1106,2879, 345,4257, 841,2531, 230,4578,3002,1847,3292, # 1616
|
| 149 |
+
3475,5183,1263, 986,3476,5184, 735, 879, 254,1137, 857, 622,1300,1180,1388,1562, # 1632
|
| 150 |
+
4010,4011,2954, 967,2761,2665,1349, 592,2134,1692,3361,3003,1995,4258,1679,4012, # 1648
|
| 151 |
+
1902,2188,5185, 739,3708,2724,1296,1290,5186,4259,2201,2202,1922,1563,2605,2559, # 1664
|
| 152 |
+
1871,2762,3004,5187, 435,5188, 343,1108, 596, 17,1751,4579,2239,3477,3709,5189, # 1680
|
| 153 |
+
4580, 294,3582,2955,1693, 477, 979, 281,2042,3583, 643,2043,3710,2631,2795,2266, # 1696
|
| 154 |
+
1031,2340,2135,2303,3584,4581, 367,1249,2560,5190,3585,5191,4582,1283,3362,2005, # 1712
|
| 155 |
+
240,1762,3363,4583,4584, 836,1069,3153, 474,5192,2149,2532, 268,3586,5193,3219, # 1728
|
| 156 |
+
1521,1284,5194,1658,1546,4260,5195,3587,3588,5196,4261,3364,2693,1685,4262, 961, # 1744
|
| 157 |
+
1673,2632, 190,2006,2203,3841,4585,4586,5197, 570,2504,3711,1490,5198,4587,2633, # 1760
|
| 158 |
+
3293,1957,4588, 584,1514, 396,1045,1945,5199,4589,1968,2449,5200,5201,4590,4013, # 1776
|
| 159 |
+
619,5202,3154,3294, 215,2007,2796,2561,3220,4591,3221,4592, 763,4263,3842,4593, # 1792
|
| 160 |
+
5203,5204,1958,1767,2956,3365,3712,1174, 452,1477,4594,3366,3155,5205,2838,1253, # 1808
|
| 161 |
+
2387,2189,1091,2290,4264, 492,5206, 638,1169,1825,2136,1752,4014, 648, 926,1021, # 1824
|
| 162 |
+
1324,4595, 520,4596, 997, 847,1007, 892,4597,3843,2267,1872,3713,2405,1785,4598, # 1840
|
| 163 |
+
1953,2957,3103,3222,1728,4265,2044,3714,4599,2008,1701,3156,1551, 30,2268,4266, # 1856
|
| 164 |
+
5207,2027,4600,3589,5208, 501,5209,4267, 594,3478,2166,1822,3590,3479,3591,3223, # 1872
|
| 165 |
+
829,2839,4268,5210,1680,3157,1225,4269,5211,3295,4601,4270,3158,2341,5212,4602, # 1888
|
| 166 |
+
4271,5213,4015,4016,5214,1848,2388,2606,3367,5215,4603, 374,4017, 652,4272,4273, # 1904
|
| 167 |
+
375,1140, 798,5216,5217,5218,2366,4604,2269, 546,1659, 138,3051,2450,4605,5219, # 1920
|
| 168 |
+
2254, 612,1849, 910, 796,3844,1740,1371, 825,3845,3846,5220,2920,2562,5221, 692, # 1936
|
| 169 |
+
444,3052,2634, 801,4606,4274,5222,1491, 244,1053,3053,4275,4276, 340,5223,4018, # 1952
|
| 170 |
+
1041,3005, 293,1168, 87,1357,5224,1539, 959,5225,2240, 721, 694,4277,3847, 219, # 1968
|
| 171 |
+
1478, 644,1417,3368,2666,1413,1401,1335,1389,4019,5226,5227,3006,2367,3159,1826, # 1984
|
| 172 |
+
730,1515, 184,2840, 66,4607,5228,1660,2958, 246,3369, 378,1457, 226,3480, 975, # 2000
|
| 173 |
+
4020,2959,1264,3592, 674, 696,5229, 163,5230,1141,2422,2167, 713,3593,3370,4608, # 2016
|
| 174 |
+
4021,5231,5232,1186, 15,5233,1079,1070,5234,1522,3224,3594, 276,1050,2725, 758, # 2032
|
| 175 |
+
1126, 653,2960,3296,5235,2342, 889,3595,4022,3104,3007, 903,1250,4609,4023,3481, # 2048
|
| 176 |
+
3596,1342,1681,1718, 766,3297, 286, 89,2961,3715,5236,1713,5237,2607,3371,3008, # 2064
|
| 177 |
+
5238,2962,2219,3225,2880,5239,4610,2505,2533, 181, 387,1075,4024, 731,2190,3372, # 2080
|
| 178 |
+
5240,3298, 310, 313,3482,2304, 770,4278, 54,3054, 189,4611,3105,3848,4025,5241, # 2096
|
| 179 |
+
1230,1617,1850, 355,3597,4279,4612,3373, 111,4280,3716,1350,3160,3483,3055,4281, # 2112
|
| 180 |
+
2150,3299,3598,5242,2797,4026,4027,3009, 722,2009,5243,1071, 247,1207,2343,2478, # 2128
|
| 181 |
+
1378,4613,2010, 864,1437,1214,4614, 373,3849,1142,2220, 667,4615, 442,2763,2563, # 2144
|
| 182 |
+
3850,4028,1969,4282,3300,1840, 837, 170,1107, 934,1336,1883,5244,5245,2119,4283, # 2160
|
| 183 |
+
2841, 743,1569,5246,4616,4284, 582,2389,1418,3484,5247,1803,5248, 357,1395,1729, # 2176
|
| 184 |
+
3717,3301,2423,1564,2241,5249,3106,3851,1633,4617,1114,2086,4285,1532,5250, 482, # 2192
|
| 185 |
+
2451,4618,5251,5252,1492, 833,1466,5253,2726,3599,1641,2842,5254,1526,1272,3718, # 2208
|
| 186 |
+
4286,1686,1795, 416,2564,1903,1954,1804,5255,3852,2798,3853,1159,2321,5256,2881, # 2224
|
| 187 |
+
4619,1610,1584,3056,2424,2764, 443,3302,1163,3161,5257,5258,4029,5259,4287,2506, # 2240
|
| 188 |
+
3057,4620,4030,3162,2104,1647,3600,2011,1873,4288,5260,4289, 431,3485,5261, 250, # 2256
|
| 189 |
+
97, 81,4290,5262,1648,1851,1558, 160, 848,5263, 866, 740,1694,5264,2204,2843, # 2272
|
| 190 |
+
3226,4291,4621,3719,1687, 950,2479, 426, 469,3227,3720,3721,4031,5265,5266,1188, # 2288
|
| 191 |
+
424,1996, 861,3601,4292,3854,2205,2694, 168,1235,3602,4293,5267,2087,1674,4622, # 2304
|
| 192 |
+
3374,3303, 220,2565,1009,5268,3855, 670,3010, 332,1208, 717,5269,5270,3603,2452, # 2320
|
| 193 |
+
4032,3375,5271, 513,5272,1209,2882,3376,3163,4623,1080,5273,5274,5275,5276,2534, # 2336
|
| 194 |
+
3722,3604, 815,1587,4033,4034,5277,3605,3486,3856,1254,4624,1328,3058,1390,4035, # 2352
|
| 195 |
+
1741,4036,3857,4037,5278, 236,3858,2453,3304,5279,5280,3723,3859,1273,3860,4625, # 2368
|
| 196 |
+
5281, 308,5282,4626, 245,4627,1852,2480,1307,2583, 430, 715,2137,2454,5283, 270, # 2384
|
| 197 |
+
199,2883,4038,5284,3606,2727,1753, 761,1754, 725,1661,1841,4628,3487,3724,5285, # 2400
|
| 198 |
+
5286, 587, 14,3305, 227,2608, 326, 480,2270, 943,2765,3607, 291, 650,1884,5287, # 2416
|
| 199 |
+
1702,1226, 102,1547, 62,3488, 904,4629,3489,1164,4294,5288,5289,1224,1548,2766, # 2432
|
| 200 |
+
391, 498,1493,5290,1386,1419,5291,2056,1177,4630, 813, 880,1081,2368, 566,1145, # 2448
|
| 201 |
+
4631,2291,1001,1035,2566,2609,2242, 394,1286,5292,5293,2069,5294, 86,1494,1730, # 2464
|
| 202 |
+
4039, 491,1588, 745, 897,2963, 843,3377,4040,2767,2884,3306,1768, 998,2221,2070, # 2480
|
| 203 |
+
397,1827,1195,1970,3725,3011,3378, 284,5295,3861,2507,2138,2120,1904,5296,4041, # 2496
|
| 204 |
+
2151,4042,4295,1036,3490,1905, 114,2567,4296, 209,1527,5297,5298,2964,2844,2635, # 2512
|
| 205 |
+
2390,2728,3164, 812,2568,5299,3307,5300,1559, 737,1885,3726,1210, 885, 28,2695, # 2528
|
| 206 |
+
3608,3862,5301,4297,1004,1780,4632,5302, 346,1982,2222,2696,4633,3863,1742, 797, # 2544
|
| 207 |
+
1642,4043,1934,1072,1384,2152, 896,4044,3308,3727,3228,2885,3609,5303,2569,1959, # 2560
|
| 208 |
+
4634,2455,1786,5304,5305,5306,4045,4298,1005,1308,3728,4299,2729,4635,4636,1528, # 2576
|
| 209 |
+
2610, 161,1178,4300,1983, 987,4637,1101,4301, 631,4046,1157,3229,2425,1343,1241, # 2592
|
| 210 |
+
1016,2243,2570, 372, 877,2344,2508,1160, 555,1935, 911,4047,5307, 466,1170, 169, # 2608
|
| 211 |
+
1051,2921,2697,3729,2481,3012,1182,2012,2571,1251,2636,5308, 992,2345,3491,1540, # 2624
|
| 212 |
+
2730,1201,2071,2406,1997,2482,5309,4638, 528,1923,2191,1503,1874,1570,2369,3379, # 2640
|
| 213 |
+
3309,5310, 557,1073,5311,1828,3492,2088,2271,3165,3059,3107, 767,3108,2799,4639, # 2656
|
| 214 |
+
1006,4302,4640,2346,1267,2179,3730,3230, 778,4048,3231,2731,1597,2667,5312,4641, # 2672
|
| 215 |
+
5313,3493,5314,5315,5316,3310,2698,1433,3311, 131, 95,1504,4049, 723,4303,3166, # 2688
|
| 216 |
+
1842,3610,2768,2192,4050,2028,2105,3731,5317,3013,4051,1218,5318,3380,3232,4052, # 2704
|
| 217 |
+
4304,2584, 248,1634,3864, 912,5319,2845,3732,3060,3865, 654, 53,5320,3014,5321, # 2720
|
| 218 |
+
1688,4642, 777,3494,1032,4053,1425,5322, 191, 820,2121,2846, 971,4643, 931,3233, # 2736
|
| 219 |
+
135, 664, 783,3866,1998, 772,2922,1936,4054,3867,4644,2923,3234, 282,2732, 640, # 2752
|
| 220 |
+
1372,3495,1127, 922, 325,3381,5323,5324, 711,2045,5325,5326,4055,2223,2800,1937, # 2768
|
| 221 |
+
4056,3382,2224,2255,3868,2305,5327,4645,3869,1258,3312,4057,3235,2139,2965,4058, # 2784
|
| 222 |
+
4059,5328,2225, 258,3236,4646, 101,1227,5329,3313,1755,5330,1391,3314,5331,2924, # 2800
|
| 223 |
+
2057, 893,5332,5333,5334,1402,4305,2347,5335,5336,3237,3611,5337,5338, 878,1325, # 2816
|
| 224 |
+
1781,2801,4647, 259,1385,2585, 744,1183,2272,4648,5339,4060,2509,5340, 684,1024, # 2832
|
| 225 |
+
4306,5341, 472,3612,3496,1165,3315,4061,4062, 322,2153, 881, 455,1695,1152,1340, # 2848
|
| 226 |
+
660, 554,2154,4649,1058,4650,4307, 830,1065,3383,4063,4651,1924,5342,1703,1919, # 2864
|
| 227 |
+
5343, 932,2273, 122,5344,4652, 947, 677,5345,3870,2637, 297,1906,1925,2274,4653, # 2880
|
| 228 |
+
2322,3316,5346,5347,4308,5348,4309, 84,4310, 112, 989,5349, 547,1059,4064, 701, # 2896
|
| 229 |
+
3613,1019,5350,4311,5351,3497, 942, 639, 457,2306,2456, 993,2966, 407, 851, 494, # 2912
|
| 230 |
+
4654,3384, 927,5352,1237,5353,2426,3385, 573,4312, 680, 921,2925,1279,1875, 285, # 2928
|
| 231 |
+
790,1448,1984, 719,2168,5354,5355,4655,4065,4066,1649,5356,1541, 563,5357,1077, # 2944
|
| 232 |
+
5358,3386,3061,3498, 511,3015,4067,4068,3733,4069,1268,2572,3387,3238,4656,4657, # 2960
|
| 233 |
+
5359, 535,1048,1276,1189,2926,2029,3167,1438,1373,2847,2967,1134,2013,5360,4313, # 2976
|
| 234 |
+
1238,2586,3109,1259,5361, 700,5362,2968,3168,3734,4314,5363,4315,1146,1876,1907, # 2992
|
| 235 |
+
4658,2611,4070, 781,2427, 132,1589, 203, 147, 273,2802,2407, 898,1787,2155,4071, # 3008
|
| 236 |
+
4072,5364,3871,2803,5365,5366,4659,4660,5367,3239,5368,1635,3872, 965,5369,1805, # 3024
|
| 237 |
+
2699,1516,3614,1121,1082,1329,3317,4073,1449,3873, 65,1128,2848,2927,2769,1590, # 3040
|
| 238 |
+
3874,5370,5371, 12,2668, 45, 976,2587,3169,4661, 517,2535,1013,1037,3240,5372, # 3056
|
| 239 |
+
3875,2849,5373,3876,5374,3499,5375,2612, 614,1999,2323,3877,3110,2733,2638,5376, # 3072
|
| 240 |
+
2588,4316, 599,1269,5377,1811,3735,5378,2700,3111, 759,1060, 489,1806,3388,3318, # 3088
|
| 241 |
+
1358,5379,5380,2391,1387,1215,2639,2256, 490,5381,5382,4317,1759,2392,2348,5383, # 3104
|
| 242 |
+
4662,3878,1908,4074,2640,1807,3241,4663,3500,3319,2770,2349, 874,5384,5385,3501, # 3120
|
| 243 |
+
3736,1859, 91,2928,3737,3062,3879,4664,5386,3170,4075,2669,5387,3502,1202,1403, # 3136
|
| 244 |
+
3880,2969,2536,1517,2510,4665,3503,2511,5388,4666,5389,2701,1886,1495,1731,4076, # 3152
|
| 245 |
+
2370,4667,5390,2030,5391,5392,4077,2702,1216, 237,2589,4318,2324,4078,3881,4668, # 3168
|
| 246 |
+
4669,2703,3615,3504, 445,4670,5393,5394,5395,5396,2771, 61,4079,3738,1823,4080, # 3184
|
| 247 |
+
5397, 687,2046, 935, 925, 405,2670, 703,1096,1860,2734,4671,4081,1877,1367,2704, # 3200
|
| 248 |
+
3389, 918,2106,1782,2483, 334,3320,1611,1093,4672, 564,3171,3505,3739,3390, 945, # 3216
|
| 249 |
+
2641,2058,4673,5398,1926, 872,4319,5399,3506,2705,3112, 349,4320,3740,4082,4674, # 3232
|
| 250 |
+
3882,4321,3741,2156,4083,4675,4676,4322,4677,2408,2047, 782,4084, 400, 251,4323, # 3248
|
| 251 |
+
1624,5400,5401, 277,3742, 299,1265, 476,1191,3883,2122,4324,4325,1109, 205,5402, # 3264
|
| 252 |
+
2590,1000,2157,3616,1861,5403,5404,5405,4678,5406,4679,2573, 107,2484,2158,4085, # 3280
|
| 253 |
+
3507,3172,5407,1533, 541,1301, 158, 753,4326,2886,3617,5408,1696, 370,1088,4327, # 3296
|
| 254 |
+
4680,3618, 579, 327, 440, 162,2244, 269,1938,1374,3508, 968,3063, 56,1396,3113, # 3312
|
| 255 |
+
2107,3321,3391,5409,1927,2159,4681,3016,5410,3619,5411,5412,3743,4682,2485,5413, # 3328
|
| 256 |
+
2804,5414,1650,4683,5415,2613,5416,5417,4086,2671,3392,1149,3393,4087,3884,4088, # 3344
|
| 257 |
+
5418,1076, 49,5419, 951,3242,3322,3323, 450,2850, 920,5420,1812,2805,2371,4328, # 3360
|
| 258 |
+
1909,1138,2372,3885,3509,5421,3243,4684,1910,1147,1518,2428,4685,3886,5422,4686, # 3376
|
| 259 |
+
2393,2614, 260,1796,3244,5423,5424,3887,3324, 708,5425,3620,1704,5426,3621,1351, # 3392
|
| 260 |
+
1618,3394,3017,1887, 944,4329,3395,4330,3064,3396,4331,5427,3744, 422, 413,1714, # 3408
|
| 261 |
+
3325, 500,2059,2350,4332,2486,5428,1344,1911, 954,5429,1668,5430,5431,4089,2409, # 3424
|
| 262 |
+
4333,3622,3888,4334,5432,2307,1318,2512,3114, 133,3115,2887,4687, 629, 31,2851, # 3440
|
| 263 |
+
2706,3889,4688, 850, 949,4689,4090,2970,1732,2089,4335,1496,1853,5433,4091, 620, # 3456
|
| 264 |
+
3245, 981,1242,3745,3397,1619,3746,1643,3326,2140,2457,1971,1719,3510,2169,5434, # 3472
|
| 265 |
+
3246,5435,5436,3398,1829,5437,1277,4690,1565,2048,5438,1636,3623,3116,5439, 869, # 3488
|
| 266 |
+
2852, 655,3890,3891,3117,4092,3018,3892,1310,3624,4691,5440,5441,5442,1733, 558, # 3504
|
| 267 |
+
4692,3747, 335,1549,3065,1756,4336,3748,1946,3511,1830,1291,1192, 470,2735,2108, # 3520
|
| 268 |
+
2806, 913,1054,4093,5443,1027,5444,3066,4094,4693, 982,2672,3399,3173,3512,3247, # 3536
|
| 269 |
+
3248,1947,2807,5445, 571,4694,5446,1831,5447,3625,2591,1523,2429,5448,2090, 984, # 3552
|
| 270 |
+
4695,3749,1960,5449,3750, 852, 923,2808,3513,3751, 969,1519, 999,2049,2325,1705, # 3568
|
| 271 |
+
5450,3118, 615,1662, 151, 597,4095,2410,2326,1049, 275,4696,3752,4337, 568,3753, # 3584
|
| 272 |
+
3626,2487,4338,3754,5451,2430,2275, 409,3249,5452,1566,2888,3514,1002, 769,2853, # 3600
|
| 273 |
+
194,2091,3174,3755,2226,3327,4339, 628,1505,5453,5454,1763,2180,3019,4096, 521, # 3616
|
| 274 |
+
1161,2592,1788,2206,2411,4697,4097,1625,4340,4341, 412, 42,3119, 464,5455,2642, # 3632
|
| 275 |
+
4698,3400,1760,1571,2889,3515,2537,1219,2207,3893,2643,2141,2373,4699,4700,3328, # 3648
|
| 276 |
+
1651,3401,3627,5456,5457,3628,2488,3516,5458,3756,5459,5460,2276,2092, 460,5461, # 3664
|
| 277 |
+
4701,5462,3020, 962, 588,3629, 289,3250,2644,1116, 52,5463,3067,1797,5464,5465, # 3680
|
| 278 |
+
5466,1467,5467,1598,1143,3757,4342,1985,1734,1067,4702,1280,3402, 465,4703,1572, # 3696
|
| 279 |
+
510,5468,1928,2245,1813,1644,3630,5469,4704,3758,5470,5471,2673,1573,1534,5472, # 3712
|
| 280 |
+
5473, 536,1808,1761,3517,3894,3175,2645,5474,5475,5476,4705,3518,2929,1912,2809, # 3728
|
| 281 |
+
5477,3329,1122, 377,3251,5478, 360,5479,5480,4343,1529, 551,5481,2060,3759,1769, # 3744
|
| 282 |
+
2431,5482,2930,4344,3330,3120,2327,2109,2031,4706,1404, 136,1468,1479, 672,1171, # 3760
|
| 283 |
+
3252,2308, 271,3176,5483,2772,5484,2050, 678,2736, 865,1948,4707,5485,2014,4098, # 3776
|
| 284 |
+
2971,5486,2737,2227,1397,3068,3760,4708,4709,1735,2931,3403,3631,5487,3895, 509, # 3792
|
| 285 |
+
2854,2458,2890,3896,5488,5489,3177,3178,4710,4345,2538,4711,2309,1166,1010, 552, # 3808
|
| 286 |
+
681,1888,5490,5491,2972,2973,4099,1287,1596,1862,3179, 358, 453, 736, 175, 478, # 3824
|
| 287 |
+
1117, 905,1167,1097,5492,1854,1530,5493,1706,5494,2181,3519,2292,3761,3520,3632, # 3840
|
| 288 |
+
4346,2093,4347,5495,3404,1193,2489,4348,1458,2193,2208,1863,1889,1421,3331,2932, # 3856
|
| 289 |
+
3069,2182,3521, 595,2123,5496,4100,5497,5498,4349,1707,2646, 223,3762,1359, 751, # 3872
|
| 290 |
+
3121, 183,3522,5499,2810,3021, 419,2374, 633, 704,3897,2394, 241,5500,5501,5502, # 3888
|
| 291 |
+
838,3022,3763,2277,2773,2459,3898,1939,2051,4101,1309,3122,2246,1181,5503,1136, # 3904
|
| 292 |
+
2209,3899,2375,1446,4350,2310,4712,5504,5505,4351,1055,2615, 484,3764,5506,4102, # 3920
|
| 293 |
+
625,4352,2278,3405,1499,4353,4103,5507,4104,4354,3253,2279,2280,3523,5508,5509, # 3936
|
| 294 |
+
2774, 808,2616,3765,3406,4105,4355,3123,2539, 526,3407,3900,4356, 955,5510,1620, # 3952
|
| 295 |
+
4357,2647,2432,5511,1429,3766,1669,1832, 994, 928,5512,3633,1260,5513,5514,5515, # 3968
|
| 296 |
+
1949,2293, 741,2933,1626,4358,2738,2460, 867,1184, 362,3408,1392,5516,5517,4106, # 3984
|
| 297 |
+
4359,1770,1736,3254,2934,4713,4714,1929,2707,1459,1158,5518,3070,3409,2891,1292, # 4000
|
| 298 |
+
1930,2513,2855,3767,1986,1187,2072,2015,2617,4360,5519,2574,2514,2170,3768,2490, # 4016
|
| 299 |
+
3332,5520,3769,4715,5521,5522, 666,1003,3023,1022,3634,4361,5523,4716,1814,2257, # 4032
|
| 300 |
+
574,3901,1603, 295,1535, 705,3902,4362, 283, 858, 417,5524,5525,3255,4717,4718, # 4048
|
| 301 |
+
3071,1220,1890,1046,2281,2461,4107,1393,1599, 689,2575, 388,4363,5526,2491, 802, # 4064
|
| 302 |
+
5527,2811,3903,2061,1405,2258,5528,4719,3904,2110,1052,1345,3256,1585,5529, 809, # 4080
|
| 303 |
+
5530,5531,5532, 575,2739,3524, 956,1552,1469,1144,2328,5533,2329,1560,2462,3635, # 4096
|
| 304 |
+
3257,4108, 616,2210,4364,3180,2183,2294,5534,1833,5535,3525,4720,5536,1319,3770, # 4112
|
| 305 |
+
3771,1211,3636,1023,3258,1293,2812,5537,5538,5539,3905, 607,2311,3906, 762,2892, # 4128
|
| 306 |
+
1439,4365,1360,4721,1485,3072,5540,4722,1038,4366,1450,2062,2648,4367,1379,4723, # 4144
|
| 307 |
+
2593,5541,5542,4368,1352,1414,2330,2935,1172,5543,5544,3907,3908,4724,1798,1451, # 4160
|
| 308 |
+
5545,5546,5547,5548,2936,4109,4110,2492,2351, 411,4111,4112,3637,3333,3124,4725, # 4176
|
| 309 |
+
1561,2674,1452,4113,1375,5549,5550, 47,2974, 316,5551,1406,1591,2937,3181,5552, # 4192
|
| 310 |
+
1025,2142,3125,3182, 354,2740, 884,2228,4369,2412, 508,3772, 726,3638, 996,2433, # 4208
|
| 311 |
+
3639, 729,5553, 392,2194,1453,4114,4726,3773,5554,5555,2463,3640,2618,1675,2813, # 4224
|
| 312 |
+
919,2352,2975,2353,1270,4727,4115, 73,5556,5557, 647,5558,3259,2856,2259,1550, # 4240
|
| 313 |
+
1346,3024,5559,1332, 883,3526,5560,5561,5562,5563,3334,2775,5564,1212, 831,1347, # 4256
|
| 314 |
+
4370,4728,2331,3909,1864,3073, 720,3910,4729,4730,3911,5565,4371,5566,5567,4731, # 4272
|
| 315 |
+
5568,5569,1799,4732,3774,2619,4733,3641,1645,2376,4734,5570,2938, 669,2211,2675, # 4288
|
| 316 |
+
2434,5571,2893,5572,5573,1028,3260,5574,4372,2413,5575,2260,1353,5576,5577,4735, # 4304
|
| 317 |
+
3183, 518,5578,4116,5579,4373,1961,5580,2143,4374,5581,5582,3025,2354,2355,3912, # 4320
|
| 318 |
+
516,1834,1454,4117,2708,4375,4736,2229,2620,1972,1129,3642,5583,2776,5584,2976, # 4336
|
| 319 |
+
1422, 577,1470,3026,1524,3410,5585,5586, 432,4376,3074,3527,5587,2594,1455,2515, # 4352
|
| 320 |
+
2230,1973,1175,5588,1020,2741,4118,3528,4737,5589,2742,5590,1743,1361,3075,3529, # 4368
|
| 321 |
+
2649,4119,4377,4738,2295, 895, 924,4378,2171, 331,2247,3076, 166,1627,3077,1098, # 4384
|
| 322 |
+
5591,1232,2894,2231,3411,4739, 657, 403,1196,2377, 542,3775,3412,1600,4379,3530, # 4400
|
| 323 |
+
5592,4740,2777,3261, 576, 530,1362,4741,4742,2540,2676,3776,4120,5593, 842,3913, # 4416
|
| 324 |
+
5594,2814,2032,1014,4121, 213,2709,3413, 665, 621,4380,5595,3777,2939,2435,5596, # 4432
|
| 325 |
+
2436,3335,3643,3414,4743,4381,2541,4382,4744,3644,1682,4383,3531,1380,5597, 724, # 4448
|
| 326 |
+
2282, 600,1670,5598,1337,1233,4745,3126,2248,5599,1621,4746,5600, 651,4384,5601, # 4464
|
| 327 |
+
1612,4385,2621,5602,2857,5603,2743,2312,3078,5604, 716,2464,3079, 174,1255,2710, # 4480
|
| 328 |
+
4122,3645, 548,1320,1398, 728,4123,1574,5605,1891,1197,3080,4124,5606,3081,3082, # 4496
|
| 329 |
+
3778,3646,3779, 747,5607, 635,4386,4747,5608,5609,5610,4387,5611,5612,4748,5613, # 4512
|
| 330 |
+
3415,4749,2437, 451,5614,3780,2542,2073,4388,2744,4389,4125,5615,1764,4750,5616, # 4528
|
| 331 |
+
4390, 350,4751,2283,2395,2493,5617,4391,4126,2249,1434,4127, 488,4752, 458,4392, # 4544
|
| 332 |
+
4128,3781, 771,1330,2396,3914,2576,3184,2160,2414,1553,2677,3185,4393,5618,2494, # 4560
|
| 333 |
+
2895,2622,1720,2711,4394,3416,4753,5619,2543,4395,5620,3262,4396,2778,5621,2016, # 4576
|
| 334 |
+
2745,5622,1155,1017,3782,3915,5623,3336,2313, 201,1865,4397,1430,5624,4129,5625, # 4592
|
| 335 |
+
5626,5627,5628,5629,4398,1604,5630, 414,1866, 371,2595,4754,4755,3532,2017,3127, # 4608
|
| 336 |
+
4756,1708, 960,4399, 887, 389,2172,1536,1663,1721,5631,2232,4130,2356,2940,1580, # 4624
|
| 337 |
+
5632,5633,1744,4757,2544,4758,4759,5634,4760,5635,2074,5636,4761,3647,3417,2896, # 4640
|
| 338 |
+
4400,5637,4401,2650,3418,2815, 673,2712,2465, 709,3533,4131,3648,4402,5638,1148, # 4656
|
| 339 |
+
502, 634,5639,5640,1204,4762,3649,1575,4763,2623,3783,5641,3784,3128, 948,3263, # 4672
|
| 340 |
+
121,1745,3916,1110,5642,4403,3083,2516,3027,4132,3785,1151,1771,3917,1488,4133, # 4688
|
| 341 |
+
1987,5643,2438,3534,5644,5645,2094,5646,4404,3918,1213,1407,2816, 531,2746,2545, # 4704
|
| 342 |
+
3264,1011,1537,4764,2779,4405,3129,1061,5647,3786,3787,1867,2897,5648,2018, 120, # 4720
|
| 343 |
+
4406,4407,2063,3650,3265,2314,3919,2678,3419,1955,4765,4134,5649,3535,1047,2713, # 4736
|
| 344 |
+
1266,5650,1368,4766,2858, 649,3420,3920,2546,2747,1102,2859,2679,5651,5652,2000, # 4752
|
| 345 |
+
5653,1111,3651,2977,5654,2495,3921,3652,2817,1855,3421,3788,5655,5656,3422,2415, # 4768
|
| 346 |
+
2898,3337,3266,3653,5657,2577,5658,3654,2818,4135,1460, 856,5659,3655,5660,2899, # 4784
|
| 347 |
+
2978,5661,2900,3922,5662,4408, 632,2517, 875,3923,1697,3924,2296,5663,5664,4767, # 4800
|
| 348 |
+
3028,1239, 580,4768,4409,5665, 914, 936,2075,1190,4136,1039,2124,5666,5667,5668, # 4816
|
| 349 |
+
5669,3423,1473,5670,1354,4410,3925,4769,2173,3084,4137, 915,3338,4411,4412,3339, # 4832
|
| 350 |
+
1605,1835,5671,2748, 398,3656,4413,3926,4138, 328,1913,2860,4139,3927,1331,4414, # 4848
|
| 351 |
+
3029, 937,4415,5672,3657,4140,4141,3424,2161,4770,3425, 524, 742, 538,3085,1012, # 4864
|
| 352 |
+
5673,5674,3928,2466,5675, 658,1103, 225,3929,5676,5677,4771,5678,4772,5679,3267, # 4880
|
| 353 |
+
1243,5680,4142, 963,2250,4773,5681,2714,3658,3186,5682,5683,2596,2332,5684,4774, # 4896
|
| 354 |
+
5685,5686,5687,3536, 957,3426,2547,2033,1931,2941,2467, 870,2019,3659,1746,2780, # 4912
|
| 355 |
+
2781,2439,2468,5688,3930,5689,3789,3130,3790,3537,3427,3791,5690,1179,3086,5691, # 4928
|
| 356 |
+
3187,2378,4416,3792,2548,3188,3131,2749,4143,5692,3428,1556,2549,2297, 977,2901, # 4944
|
| 357 |
+
2034,4144,1205,3429,5693,1765,3430,3189,2125,1271, 714,1689,4775,3538,5694,2333, # 4960
|
| 358 |
+
3931, 533,4417,3660,2184, 617,5695,2469,3340,3539,2315,5696,5697,3190,5698,5699, # 4976
|
| 359 |
+
3932,1988, 618, 427,2651,3540,3431,5700,5701,1244,1690,5702,2819,4418,4776,5703, # 4992
|
| 360 |
+
3541,4777,5704,2284,1576, 473,3661,4419,3432, 972,5705,3662,5706,3087,5707,5708, # 5008
|
| 361 |
+
4778,4779,5709,3793,4145,4146,5710, 153,4780, 356,5711,1892,2902,4420,2144, 408, # 5024
|
| 362 |
+
803,2357,5712,3933,5713,4421,1646,2578,2518,4781,4782,3934,5714,3935,4422,5715, # 5040
|
| 363 |
+
2416,3433, 752,5716,5717,1962,3341,2979,5718, 746,3030,2470,4783,4423,3794, 698, # 5056
|
| 364 |
+
4784,1893,4424,3663,2550,4785,3664,3936,5719,3191,3434,5720,1824,1302,4147,2715, # 5072
|
| 365 |
+
3937,1974,4425,5721,4426,3192, 823,1303,1288,1236,2861,3542,4148,3435, 774,3938, # 5088
|
| 366 |
+
5722,1581,4786,1304,2862,3939,4787,5723,2440,2162,1083,3268,4427,4149,4428, 344, # 5104
|
| 367 |
+
1173, 288,2316, 454,1683,5724,5725,1461,4788,4150,2597,5726,5727,4789, 985, 894, # 5120
|
| 368 |
+
5728,3436,3193,5729,1914,2942,3795,1989,5730,2111,1975,5731,4151,5732,2579,1194, # 5136
|
| 369 |
+
425,5733,4790,3194,1245,3796,4429,5734,5735,2863,5736, 636,4791,1856,3940, 760, # 5152
|
| 370 |
+
1800,5737,4430,2212,1508,4792,4152,1894,1684,2298,5738,5739,4793,4431,4432,2213, # 5168
|
| 371 |
+
479,5740,5741, 832,5742,4153,2496,5743,2980,2497,3797, 990,3132, 627,1815,2652, # 5184
|
| 372 |
+
4433,1582,4434,2126,2112,3543,4794,5744, 799,4435,3195,5745,4795,2113,1737,3031, # 5200
|
| 373 |
+
1018, 543, 754,4436,3342,1676,4796,4797,4154,4798,1489,5746,3544,5747,2624,2903, # 5216
|
| 374 |
+
4155,5748,5749,2981,5750,5751,5752,5753,3196,4799,4800,2185,1722,5754,3269,3270, # 5232
|
| 375 |
+
1843,3665,1715, 481, 365,1976,1857,5755,5756,1963,2498,4801,5757,2127,3666,3271, # 5248
|
| 376 |
+
433,1895,2064,2076,5758, 602,2750,5759,5760,5761,5762,5763,3032,1628,3437,5764, # 5264
|
| 377 |
+
3197,4802,4156,2904,4803,2519,5765,2551,2782,5766,5767,5768,3343,4804,2905,5769, # 5280
|
| 378 |
+
4805,5770,2864,4806,4807,1221,2982,4157,2520,5771,5772,5773,1868,1990,5774,5775, # 5296
|
| 379 |
+
5776,1896,5777,5778,4808,1897,4158, 318,5779,2095,4159,4437,5780,5781, 485,5782, # 5312
|
| 380 |
+
938,3941, 553,2680, 116,5783,3942,3667,5784,3545,2681,2783,3438,3344,2820,5785, # 5328
|
| 381 |
+
3668,2943,4160,1747,2944,2983,5786,5787, 207,5788,4809,5789,4810,2521,5790,3033, # 5344
|
| 382 |
+
890,3669,3943,5791,1878,3798,3439,5792,2186,2358,3440,1652,5793,5794,5795, 941, # 5360
|
| 383 |
+
2299, 208,3546,4161,2020, 330,4438,3944,2906,2499,3799,4439,4811,5796,5797,5798, # 5376
|
| 384 |
+
)
|
| 385 |
+
# fmt: on
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/big5prober.py
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is Mozilla Communicator client code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
from .chardistribution import Big5DistributionAnalysis
|
| 28 |
+
from .codingstatemachine import CodingStateMachine
|
| 29 |
+
from .mbcharsetprober import MultiByteCharSetProber
|
| 30 |
+
from .mbcssm import BIG5_SM_MODEL
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
class Big5Prober(MultiByteCharSetProber):
|
| 34 |
+
def __init__(self) -> None:
|
| 35 |
+
super().__init__()
|
| 36 |
+
self.coding_sm = CodingStateMachine(BIG5_SM_MODEL)
|
| 37 |
+
self.distribution_analyzer = Big5DistributionAnalysis()
|
| 38 |
+
self.reset()
|
| 39 |
+
|
| 40 |
+
@property
|
| 41 |
+
def charset_name(self) -> str:
|
| 42 |
+
return "Big5"
|
| 43 |
+
|
| 44 |
+
@property
|
| 45 |
+
def language(self) -> str:
|
| 46 |
+
return "Chinese"
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/chardistribution.py
ADDED
|
@@ -0,0 +1,237 @@
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is Mozilla Communicator client code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
from typing import Union
|
| 28 |
+
|
| 29 |
+
from .big5freq import (
|
| 30 |
+
BIG5_CHAR_TO_FREQ_ORDER,
|
| 31 |
+
BIG5_TABLE_SIZE,
|
| 32 |
+
BIG5_TYPICAL_DISTRIBUTION_RATIO,
|
| 33 |
+
)
|
| 34 |
+
from .euckrfreq import (
|
| 35 |
+
EUCKR_CHAR_TO_FREQ_ORDER,
|
| 36 |
+
EUCKR_TABLE_SIZE,
|
| 37 |
+
EUCKR_TYPICAL_DISTRIBUTION_RATIO,
|
| 38 |
+
)
|
| 39 |
+
from .gb2312freq import (
|
| 40 |
+
GB2312_CHAR_TO_FREQ_ORDER,
|
| 41 |
+
GB2312_TABLE_SIZE,
|
| 42 |
+
GB2312_TYPICAL_DISTRIBUTION_RATIO,
|
| 43 |
+
)
|
| 44 |
+
from .jisfreq import (
|
| 45 |
+
JIS_CHAR_TO_FREQ_ORDER,
|
| 46 |
+
JIS_TABLE_SIZE,
|
| 47 |
+
JIS_TYPICAL_DISTRIBUTION_RATIO,
|
| 48 |
+
)
|
| 49 |
+
from .johabfreq import JOHAB_TO_EUCKR_ORDER_TABLE
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
class CharDistributionAnalysis:
|
| 53 |
+
ENOUGH_DATA_THRESHOLD = 1024
|
| 54 |
+
SURE_YES = 0.99
|
| 55 |
+
SURE_NO = 0.01
|
| 56 |
+
MINIMUM_DATA_THRESHOLD = 3
|
| 57 |
+
|
| 58 |
+
def __init__(self) -> None:
|
| 59 |
+
# Mapping table to get frequency order from char order (get from
|
| 60 |
+
# GetOrder())
|
| 61 |
+
self._char_to_freq_order: tuple[int, ...] = tuple()
|
| 62 |
+
self._table_size = 0 # Size of above table
|
| 63 |
+
# This is a constant value which varies from language to language,
|
| 64 |
+
# used in calculating confidence. See
|
| 65 |
+
# http://www.mozilla.org/projects/intl/UniversalCharsetDetection.html
|
| 66 |
+
# for further detail.
|
| 67 |
+
self.typical_distribution_ratio = 0.0
|
| 68 |
+
self._done = False
|
| 69 |
+
self._total_chars = 0
|
| 70 |
+
self._freq_chars = 0
|
| 71 |
+
self.reset()
|
| 72 |
+
|
| 73 |
+
def reset(self) -> None:
|
| 74 |
+
"""reset analyser, clear any state"""
|
| 75 |
+
# If this flag is set to True, detection is done and conclusion has
|
| 76 |
+
# been made
|
| 77 |
+
self._done = False
|
| 78 |
+
self._total_chars = 0 # Total characters encountered
|
| 79 |
+
# The number of characters whose frequency order is less than 512
|
| 80 |
+
self._freq_chars = 0
|
| 81 |
+
|
| 82 |
+
def feed(self, char: Union[bytes, bytearray], char_len: int) -> None:
|
| 83 |
+
"""feed a character with known length"""
|
| 84 |
+
if char_len == 2:
|
| 85 |
+
# we only care about 2-bytes character in our distribution analysis
|
| 86 |
+
order = self.get_order(char)
|
| 87 |
+
else:
|
| 88 |
+
order = -1
|
| 89 |
+
if order >= 0:
|
| 90 |
+
self._total_chars += 1
|
| 91 |
+
# order is valid
|
| 92 |
+
if order < self._table_size:
|
| 93 |
+
if 512 > self._char_to_freq_order[order]:
|
| 94 |
+
self._freq_chars += 1
|
| 95 |
+
|
| 96 |
+
def get_confidence(self) -> float:
|
| 97 |
+
"""return confidence based on existing data"""
|
| 98 |
+
# if we didn't receive any character in our consideration range,
|
| 99 |
+
# return negative answer
|
| 100 |
+
if self._total_chars <= 0 or self._freq_chars <= self.MINIMUM_DATA_THRESHOLD:
|
| 101 |
+
return self.SURE_NO
|
| 102 |
+
|
| 103 |
+
if self._total_chars != self._freq_chars:
|
| 104 |
+
r = self._freq_chars / (
|
| 105 |
+
(self._total_chars - self._freq_chars) * self.typical_distribution_ratio
|
| 106 |
+
)
|
| 107 |
+
if r < self.SURE_YES:
|
| 108 |
+
return r
|
| 109 |
+
|
| 110 |
+
# normalize confidence (we don't want to be 100% sure)
|
| 111 |
+
return self.SURE_YES
|
| 112 |
+
|
| 113 |
+
def got_enough_data(self) -> bool:
|
| 114 |
+
# It is not necessary to receive all data to draw conclusion.
|
| 115 |
+
# For charset detection, certain amount of data is enough
|
| 116 |
+
return self._total_chars > self.ENOUGH_DATA_THRESHOLD
|
| 117 |
+
|
| 118 |
+
def get_order(self, _: Union[bytes, bytearray]) -> int:
|
| 119 |
+
# We do not handle characters based on the original encoding string,
|
| 120 |
+
# but convert this encoding string to a number, here called order.
|
| 121 |
+
# This allows multiple encodings of a language to share one frequency
|
| 122 |
+
# table.
|
| 123 |
+
return -1
|
| 124 |
+
|
| 125 |
+
|
| 126 |
+
class EUCKRDistributionAnalysis(CharDistributionAnalysis):
|
| 127 |
+
def __init__(self) -> None:
|
| 128 |
+
super().__init__()
|
| 129 |
+
self._char_to_freq_order = EUCKR_CHAR_TO_FREQ_ORDER
|
| 130 |
+
self._table_size = EUCKR_TABLE_SIZE
|
| 131 |
+
self.typical_distribution_ratio = EUCKR_TYPICAL_DISTRIBUTION_RATIO
|
| 132 |
+
|
| 133 |
+
def get_order(self, byte_str: Union[bytes, bytearray]) -> int: # type: ignore[reportIncompatibleMethodOverride]
|
| 134 |
+
# for euc-KR encoding, we are interested
|
| 135 |
+
# first byte range: 0xb0 -- 0xfe
|
| 136 |
+
# second byte range: 0xa1 -- 0xfe
|
| 137 |
+
# no validation needed here. State machine has done that
|
| 138 |
+
first_char = byte_str[0]
|
| 139 |
+
if first_char >= 0xB0:
|
| 140 |
+
return 94 * (first_char - 0xB0) + byte_str[1] - 0xA1
|
| 141 |
+
return -1
|
| 142 |
+
|
| 143 |
+
|
| 144 |
+
class JOHABDistributionAnalysis(CharDistributionAnalysis):
|
| 145 |
+
def __init__(self) -> None:
|
| 146 |
+
super().__init__()
|
| 147 |
+
self._char_to_freq_order = EUCKR_CHAR_TO_FREQ_ORDER
|
| 148 |
+
self._table_size = EUCKR_TABLE_SIZE
|
| 149 |
+
self.typical_distribution_ratio = EUCKR_TYPICAL_DISTRIBUTION_RATIO
|
| 150 |
+
|
| 151 |
+
def get_order(self, byte_str: Union[bytes, bytearray]) -> int: # type: ignore[reportIncompatibleMethodOverride]
|
| 152 |
+
first_char = byte_str[0]
|
| 153 |
+
if 0x88 <= first_char < 0xD4:
|
| 154 |
+
code = first_char * 256 + byte_str[1]
|
| 155 |
+
return JOHAB_TO_EUCKR_ORDER_TABLE.get(code, -1)
|
| 156 |
+
return -1
|
| 157 |
+
|
| 158 |
+
|
| 159 |
+
class GB2312DistributionAnalysis(CharDistributionAnalysis):
|
| 160 |
+
def __init__(self) -> None:
|
| 161 |
+
super().__init__()
|
| 162 |
+
self._char_to_freq_order = GB2312_CHAR_TO_FREQ_ORDER
|
| 163 |
+
self._table_size = GB2312_TABLE_SIZE
|
| 164 |
+
self.typical_distribution_ratio = GB2312_TYPICAL_DISTRIBUTION_RATIO
|
| 165 |
+
|
| 166 |
+
def get_order(self, byte_str: Union[bytes, bytearray]) -> int: # type: ignore[reportIncompatibleMethodOverride]
|
| 167 |
+
# for GB2312 encoding, we are interested
|
| 168 |
+
# first byte range: 0xb0 -- 0xfe
|
| 169 |
+
# second byte range: 0xa1 -- 0xfe
|
| 170 |
+
# no validation needed here. State machine has done that
|
| 171 |
+
first_char, second_char = byte_str[0], byte_str[1]
|
| 172 |
+
if (first_char >= 0xB0) and (second_char >= 0xA1):
|
| 173 |
+
return 94 * (first_char - 0xB0) + second_char - 0xA1
|
| 174 |
+
return -1
|
| 175 |
+
|
| 176 |
+
|
| 177 |
+
class Big5DistributionAnalysis(CharDistributionAnalysis):
|
| 178 |
+
def __init__(self) -> None:
|
| 179 |
+
super().__init__()
|
| 180 |
+
self._char_to_freq_order = BIG5_CHAR_TO_FREQ_ORDER
|
| 181 |
+
self._table_size = BIG5_TABLE_SIZE
|
| 182 |
+
self.typical_distribution_ratio = BIG5_TYPICAL_DISTRIBUTION_RATIO
|
| 183 |
+
|
| 184 |
+
def get_order(self, byte_str: Union[bytes, bytearray]) -> int: # type: ignore[reportIncompatibleMethodOverride]
|
| 185 |
+
# for big5 encoding, we are interested
|
| 186 |
+
# first byte range: 0xa4 -- 0xfe
|
| 187 |
+
# second byte range: 0x40 -- 0x7e , 0xa1 -- 0xfe
|
| 188 |
+
# no validation needed here. State machine has done that
|
| 189 |
+
first_char, second_char = byte_str[0], byte_str[1]
|
| 190 |
+
if first_char >= 0xA4:
|
| 191 |
+
if second_char >= 0xA1:
|
| 192 |
+
return 157 * (first_char - 0xA4) + second_char - 0xA1 + 63
|
| 193 |
+
return 157 * (first_char - 0xA4) + second_char - 0x40
|
| 194 |
+
return -1
|
| 195 |
+
|
| 196 |
+
|
| 197 |
+
class SJISDistributionAnalysis(CharDistributionAnalysis):
|
| 198 |
+
def __init__(self) -> None:
|
| 199 |
+
super().__init__()
|
| 200 |
+
self._char_to_freq_order = JIS_CHAR_TO_FREQ_ORDER
|
| 201 |
+
self._table_size = JIS_TABLE_SIZE
|
| 202 |
+
self.typical_distribution_ratio = JIS_TYPICAL_DISTRIBUTION_RATIO
|
| 203 |
+
|
| 204 |
+
def get_order(self, byte_str: Union[bytes, bytearray]) -> int: # type: ignore[reportIncompatibleMethodOverride]
|
| 205 |
+
# for sjis encoding, we are interested
|
| 206 |
+
# first byte range: 0x81 -- 0x9f , 0xe0 -- 0xfe
|
| 207 |
+
# second byte range: 0x40 -- 0x7e, 0x80 -- 0xfc
|
| 208 |
+
# no validation needed here. State machine has done that
|
| 209 |
+
first_char, second_char = byte_str[0], byte_str[1]
|
| 210 |
+
if 0x81 <= first_char <= 0x9F:
|
| 211 |
+
order = 188 * (first_char - 0x81)
|
| 212 |
+
elif 0xE0 <= first_char <= 0xEF:
|
| 213 |
+
order = 188 * (first_char - 0xE0 + 31)
|
| 214 |
+
else:
|
| 215 |
+
return -1
|
| 216 |
+
order = order + second_char - 0x40
|
| 217 |
+
if second_char > 0x7F:
|
| 218 |
+
order -= 1 # account for the gap at 0x7F (not a valid SJIS trail byte)
|
| 219 |
+
return order
|
| 220 |
+
|
| 221 |
+
|
| 222 |
+
class EUCJPDistributionAnalysis(CharDistributionAnalysis):
|
| 223 |
+
def __init__(self) -> None:
|
| 224 |
+
super().__init__()
|
| 225 |
+
self._char_to_freq_order = JIS_CHAR_TO_FREQ_ORDER
|
| 226 |
+
self._table_size = JIS_TABLE_SIZE
|
| 227 |
+
self.typical_distribution_ratio = JIS_TYPICAL_DISTRIBUTION_RATIO
|
| 228 |
+
|
| 229 |
+
def get_order(self, byte_str: Union[bytes, bytearray]) -> int: # type: ignore[reportIncompatibleMethodOverride]
|
| 230 |
+
# for euc-JP encoding, we are interested
|
| 231 |
+
# first byte range: 0xa0 -- 0xfe
|
| 232 |
+
# second byte range: 0xa1 -- 0xfe
|
| 233 |
+
# no validation needed here. State machine has done that
|
| 234 |
+
char = byte_str[0]
|
| 235 |
+
if char >= 0xA0:
|
| 236 |
+
return 94 * (char - 0xA1) + byte_str[1] - 0xA1
|
| 237 |
+
return -1
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/charsetgroupprober.py
ADDED
|
@@ -0,0 +1,147 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is Mozilla Communicator client code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
from typing import Optional, Union
|
| 28 |
+
|
| 29 |
+
from .charsetprober import CharSetProber
|
| 30 |
+
from .enums import EncodingEra, LanguageFilter, ProbingState
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
class CharSetGroupProber(CharSetProber):
|
| 34 |
+
def __init__(
|
| 35 |
+
self,
|
| 36 |
+
*,
|
| 37 |
+
lang_filter: LanguageFilter = LanguageFilter.ALL,
|
| 38 |
+
encoding_era: EncodingEra = EncodingEra.ALL,
|
| 39 |
+
) -> None:
|
| 40 |
+
super().__init__(lang_filter=lang_filter, encoding_era=encoding_era)
|
| 41 |
+
self._active_num = 0
|
| 42 |
+
self.probers: list[CharSetProber] = []
|
| 43 |
+
self._best_guess_prober: Optional[CharSetProber] = None
|
| 44 |
+
|
| 45 |
+
def reset(self) -> None:
|
| 46 |
+
super().reset()
|
| 47 |
+
self._active_num = 0
|
| 48 |
+
for prober in self.probers:
|
| 49 |
+
prober.reset()
|
| 50 |
+
prober.active = True
|
| 51 |
+
self._active_num += 1
|
| 52 |
+
self._best_guess_prober = None
|
| 53 |
+
|
| 54 |
+
@property
|
| 55 |
+
def charset_name(self) -> Optional[str]:
|
| 56 |
+
if not self._best_guess_prober:
|
| 57 |
+
self.get_confidence()
|
| 58 |
+
if not self._best_guess_prober:
|
| 59 |
+
return None
|
| 60 |
+
return self._best_guess_prober.charset_name
|
| 61 |
+
|
| 62 |
+
@property
|
| 63 |
+
def language(self) -> Optional[str]:
|
| 64 |
+
if not self._best_guess_prober:
|
| 65 |
+
self.get_confidence()
|
| 66 |
+
if not self._best_guess_prober:
|
| 67 |
+
return None
|
| 68 |
+
return self._best_guess_prober.language
|
| 69 |
+
|
| 70 |
+
def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
|
| 71 |
+
for prober in self.probers:
|
| 72 |
+
if not prober.active:
|
| 73 |
+
continue
|
| 74 |
+
state = prober.feed(byte_str)
|
| 75 |
+
if not state:
|
| 76 |
+
continue
|
| 77 |
+
if state == ProbingState.FOUND_IT:
|
| 78 |
+
self._best_guess_prober = prober
|
| 79 |
+
self._state = ProbingState.FOUND_IT
|
| 80 |
+
return self.state
|
| 81 |
+
if state == ProbingState.NOT_ME:
|
| 82 |
+
prober.active = False
|
| 83 |
+
self._active_num -= 1
|
| 84 |
+
if self._active_num <= 0:
|
| 85 |
+
self._state = ProbingState.NOT_ME
|
| 86 |
+
return self.state
|
| 87 |
+
return self.state
|
| 88 |
+
|
| 89 |
+
def get_confidence(self) -> float:
|
| 90 |
+
state = self.state
|
| 91 |
+
if state == ProbingState.FOUND_IT:
|
| 92 |
+
return 0.99
|
| 93 |
+
if state == ProbingState.NOT_ME:
|
| 94 |
+
return 0.01
|
| 95 |
+
best_conf = 0.0
|
| 96 |
+
self._best_guess_prober = None
|
| 97 |
+
for prober in self.probers:
|
| 98 |
+
if not prober.active:
|
| 99 |
+
self.logger.debug("%s not active", prober.charset_name)
|
| 100 |
+
continue
|
| 101 |
+
conf = prober.get_confidence()
|
| 102 |
+
self.logger.debug(
|
| 103 |
+
"%s %s confidence = %s", prober.charset_name, prober.language, conf
|
| 104 |
+
)
|
| 105 |
+
if best_conf < conf:
|
| 106 |
+
best_conf = conf
|
| 107 |
+
self._best_guess_prober = prober
|
| 108 |
+
if not self._best_guess_prober:
|
| 109 |
+
return 0.0
|
| 110 |
+
return best_conf
|
| 111 |
+
|
| 112 |
+
def _filter_probers(self, probers: list[CharSetProber]) -> list[CharSetProber]:
|
| 113 |
+
"""Filter probers based on encoding era and language."""
|
| 114 |
+
filtered = []
|
| 115 |
+
|
| 116 |
+
for prober in probers:
|
| 117 |
+
# Skip meta-probers like HebrewProber that manage sub-probers
|
| 118 |
+
# They should always be included as they'll internally select appropriate sub-probers
|
| 119 |
+
if getattr(prober, "_logical_prober", None) is not None:
|
| 120 |
+
filtered.append(prober)
|
| 121 |
+
continue
|
| 122 |
+
|
| 123 |
+
# Skip sub-probers that defer naming to a meta-prober (e.g., Hebrew logical/visual)
|
| 124 |
+
# These need to stay with their parent meta-prober regardless of filtering
|
| 125 |
+
if getattr(prober, "_name_prober", None) is not None:
|
| 126 |
+
filtered.append(prober)
|
| 127 |
+
continue
|
| 128 |
+
|
| 129 |
+
# Get charset metadata for filtering
|
| 130 |
+
charset = prober.charset
|
| 131 |
+
|
| 132 |
+
# Skip probers without charset metadata
|
| 133 |
+
if charset is None:
|
| 134 |
+
filtered.append(prober)
|
| 135 |
+
continue
|
| 136 |
+
|
| 137 |
+
# Check encoding era filtering
|
| 138 |
+
if charset.encoding_era not in self.encoding_era:
|
| 139 |
+
continue
|
| 140 |
+
|
| 141 |
+
# Check language filtering
|
| 142 |
+
if charset.language_filter not in self.lang_filter:
|
| 143 |
+
continue
|
| 144 |
+
|
| 145 |
+
filtered.append(prober)
|
| 146 |
+
|
| 147 |
+
return filtered
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/charsetprober.py
ADDED
|
@@ -0,0 +1,185 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is Mozilla Universal charset detector code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 2001
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
# Shy Shalom - original C code
|
| 12 |
+
#
|
| 13 |
+
# This library is free software; you can redistribute it and/or
|
| 14 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 15 |
+
# License as published by the Free Software Foundation; either
|
| 16 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 17 |
+
#
|
| 18 |
+
# This library is distributed in the hope that it will be useful,
|
| 19 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 20 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 21 |
+
# Lesser General Public License for more details.
|
| 22 |
+
#
|
| 23 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 24 |
+
# License along with this library; if not, see
|
| 25 |
+
# <https://www.gnu.org/licenses/>.
|
| 26 |
+
######################### END LICENSE BLOCK #########################
|
| 27 |
+
|
| 28 |
+
import logging
|
| 29 |
+
import re
|
| 30 |
+
from typing import Optional, Union
|
| 31 |
+
|
| 32 |
+
from .enums import EncodingEra, LanguageFilter, ProbingState
|
| 33 |
+
from .metadata.charsets import Charset, get_charset
|
| 34 |
+
|
| 35 |
+
INTERNATIONAL_WORDS_PATTERN = re.compile(
|
| 36 |
+
# Pattern rationale (see paper section 4.7 Two-Char Sequence Distribution):
|
| 37 |
+
# We drop words composed solely of ASCII letters for scripts without Latin letters,
|
| 38 |
+
# retaining any word containing at least one high-byte (>=0x80) character.
|
| 39 |
+
# Structure: optional ASCII prefix + one or more high-byte chars + optional ASCII
|
| 40 |
+
# suffix + optional single trailing marker.
|
| 41 |
+
b"[a-zA-Z]*[\x80-\xff]+[a-zA-Z]*[^a-zA-Z\x80-\xff]?"
|
| 42 |
+
)
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
class CharSetProber:
|
| 46 |
+
SHORTCUT_THRESHOLD = 0.95
|
| 47 |
+
|
| 48 |
+
def __init__(
|
| 49 |
+
self,
|
| 50 |
+
*,
|
| 51 |
+
lang_filter: LanguageFilter = LanguageFilter.ALL,
|
| 52 |
+
encoding_era: EncodingEra = EncodingEra.ALL,
|
| 53 |
+
) -> None:
|
| 54 |
+
self._state = ProbingState.DETECTING
|
| 55 |
+
self.active = True
|
| 56 |
+
self.lang_filter = lang_filter
|
| 57 |
+
self.encoding_era = encoding_era
|
| 58 |
+
self.logger = logging.getLogger(__name__)
|
| 59 |
+
|
| 60 |
+
def reset(self) -> None:
|
| 61 |
+
self._state = ProbingState.DETECTING
|
| 62 |
+
|
| 63 |
+
@property
|
| 64 |
+
def charset_name(self) -> Optional[str]:
|
| 65 |
+
return None
|
| 66 |
+
|
| 67 |
+
@property
|
| 68 |
+
def charset(self) -> Optional[Charset]:
|
| 69 |
+
"""Return the Charset metadata for this prober's encoding."""
|
| 70 |
+
name = self.charset_name
|
| 71 |
+
if name is None:
|
| 72 |
+
return None
|
| 73 |
+
return get_charset(name)
|
| 74 |
+
|
| 75 |
+
@property
|
| 76 |
+
def language(self) -> Optional[str]:
|
| 77 |
+
raise NotImplementedError
|
| 78 |
+
|
| 79 |
+
def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
|
| 80 |
+
raise NotImplementedError
|
| 81 |
+
|
| 82 |
+
@property
|
| 83 |
+
def state(self) -> ProbingState:
|
| 84 |
+
return self._state
|
| 85 |
+
|
| 86 |
+
def get_confidence(self) -> float:
|
| 87 |
+
return 0.0
|
| 88 |
+
|
| 89 |
+
@staticmethod
|
| 90 |
+
def filter_high_byte_only(buf: Union[bytes, bytearray]) -> bytes:
|
| 91 |
+
buf = re.sub(b"([\x00-\x7f])+", b" ", buf)
|
| 92 |
+
return buf
|
| 93 |
+
|
| 94 |
+
@staticmethod
|
| 95 |
+
def filter_international_words(buf: Union[bytes, bytearray]) -> bytearray:
|
| 96 |
+
"""Filter out ASCII-only words for non-Latin scripts.
|
| 97 |
+
|
| 98 |
+
Byte classes:
|
| 99 |
+
- alphabet: ASCII letters [a-zA-Z]
|
| 100 |
+
- international: bytes with high bit set [\x80-\xff]
|
| 101 |
+
- marker: everything else [^a-zA-Z\x80-\xff]
|
| 102 |
+
|
| 103 |
+
The buffer is treated as a sequence of "words" separated by marker bytes.
|
| 104 |
+
We KEEP only those words that contain at least one high-byte character,
|
| 105 |
+
i.e. match the pattern: optional ASCII prefix + >=1 high-byte + optional
|
| 106 |
+
ASCII suffix, plus at most one trailing marker. Pure ASCII words are
|
| 107 |
+
discarded as noise when the target language model excludes ASCII letters
|
| 108 |
+
("English words in other-language pages" — paper §4.7 summary).
|
| 109 |
+
|
| 110 |
+
Why we retain surrounding ASCII letters instead of stripping them:
|
| 111 |
+
- Preserves real adjacency for bigram modeling around high-byte letters.
|
| 112 |
+
- Avoids creating artificial bigrams between non-adjacent high-byte chars.
|
| 113 |
+
|
| 114 |
+
Trailing marker normalization: a single marker at word end is converted
|
| 115 |
+
to a space if it is an ASCII punctuation/control, collapsing runs of
|
| 116 |
+
markers into one delimiter (reduces noise like repeated punctuation or
|
| 117 |
+
HTML artifacts).
|
| 118 |
+
|
| 119 |
+
Usage is conditional: callers apply this ONLY when the language model's
|
| 120 |
+
``keep_ascii_letters`` is False (see ``SingleByteCharSetProber.feed``).
|
| 121 |
+
Latin-script languages skip this and instead use ``remove_xml_tags``.
|
| 122 |
+
|
| 123 |
+
This behavior mirrors the original universalchardet / uchardet approach
|
| 124 |
+
and aligns with the training pipeline which excludes ASCII letters for
|
| 125 |
+
non-Latin alphabets.
|
| 126 |
+
"""
|
| 127 |
+
filtered = bytearray()
|
| 128 |
+
|
| 129 |
+
# This regex expression filters out only words that have at-least one
|
| 130 |
+
# international character. The word may include one marker character at
|
| 131 |
+
# the end.
|
| 132 |
+
words = INTERNATIONAL_WORDS_PATTERN.findall(buf)
|
| 133 |
+
|
| 134 |
+
for word in words:
|
| 135 |
+
filtered.extend(word[:-1])
|
| 136 |
+
|
| 137 |
+
# If the last character in the word is a marker, replace it with a
|
| 138 |
+
# space as markers shouldn't affect our analysis (they are used
|
| 139 |
+
# similarly across all languages and may thus have similar
|
| 140 |
+
# frequencies).
|
| 141 |
+
last_char = word[-1:]
|
| 142 |
+
if not last_char.isalpha() and last_char < b"\x80":
|
| 143 |
+
last_char = b" "
|
| 144 |
+
filtered.extend(last_char)
|
| 145 |
+
|
| 146 |
+
return filtered
|
| 147 |
+
|
| 148 |
+
@staticmethod
|
| 149 |
+
def remove_xml_tags(buf: Union[bytes, bytearray]) -> bytearray:
|
| 150 |
+
"""
|
| 151 |
+
Returns a copy of ``buf`` that retains only the sequences of English
|
| 152 |
+
alphabet and high byte characters that are not between <> characters.
|
| 153 |
+
This filter can be applied to all scripts which contain both English
|
| 154 |
+
characters and extended ASCII characters, but is currently only used by
|
| 155 |
+
``Latin1Prober``.
|
| 156 |
+
"""
|
| 157 |
+
filtered = bytearray()
|
| 158 |
+
in_tag = False
|
| 159 |
+
prev = 0
|
| 160 |
+
buf_view = memoryview(buf).cast("c")
|
| 161 |
+
|
| 162 |
+
for curr, buf_char in enumerate(buf_view):
|
| 163 |
+
# Check if we're coming out of or entering an XML tag
|
| 164 |
+
|
| 165 |
+
# https://github.com/python/typeshed/issues/8182
|
| 166 |
+
if buf_char == b">": # type: ignore[comparison-overlap]
|
| 167 |
+
prev = curr + 1
|
| 168 |
+
in_tag = False
|
| 169 |
+
# https://github.com/python/typeshed/issues/8182
|
| 170 |
+
elif buf_char == b"<": # type: ignore[comparison-overlap]
|
| 171 |
+
if curr > prev and not in_tag:
|
| 172 |
+
# Keep everything after last non-extended-ASCII,
|
| 173 |
+
# non-alphabetic character
|
| 174 |
+
filtered.extend(buf[prev:curr])
|
| 175 |
+
# Output a space to delimit stretch we kept
|
| 176 |
+
filtered.extend(b" ")
|
| 177 |
+
in_tag = True
|
| 178 |
+
|
| 179 |
+
# If we're not in a tag...
|
| 180 |
+
if not in_tag:
|
| 181 |
+
# Keep everything after last non-extended-ASCII, non-alphabetic
|
| 182 |
+
# character
|
| 183 |
+
filtered.extend(buf[prev:])
|
| 184 |
+
|
| 185 |
+
return filtered
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/codingstatemachine.py
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is mozilla.org code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
import logging
|
| 28 |
+
|
| 29 |
+
from .codingstatemachinedict import CodingStateMachineDict
|
| 30 |
+
from .enums import MachineState
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
class CodingStateMachine:
|
| 34 |
+
"""
|
| 35 |
+
A state machine to verify a byte sequence for a particular encoding. For
|
| 36 |
+
each byte the detector receives, it will feed that byte to every active
|
| 37 |
+
state machine available, one byte at a time. The state machine changes its
|
| 38 |
+
state based on its previous state and the byte it receives. There are 3
|
| 39 |
+
states in a state machine that are of interest to an auto-detector:
|
| 40 |
+
|
| 41 |
+
START state: This is the state to start with, or a legal byte sequence
|
| 42 |
+
(i.e. a valid code point) for character has been identified.
|
| 43 |
+
|
| 44 |
+
ME state: This indicates that the state machine identified a byte sequence
|
| 45 |
+
that is specific to the charset it is designed for and that
|
| 46 |
+
there is no other possible encoding which can contain this byte
|
| 47 |
+
sequence. This will to lead to an immediate positive answer for
|
| 48 |
+
the detector.
|
| 49 |
+
|
| 50 |
+
ERROR state: This indicates the state machine identified an illegal byte
|
| 51 |
+
sequence for that encoding. This will lead to an immediate
|
| 52 |
+
negative answer for this encoding. Detector will exclude this
|
| 53 |
+
encoding from consideration from here on.
|
| 54 |
+
"""
|
| 55 |
+
|
| 56 |
+
def __init__(self, sm: CodingStateMachineDict) -> None:
|
| 57 |
+
self._model = sm
|
| 58 |
+
self._curr_byte_pos = 0
|
| 59 |
+
self._curr_char_len = 0
|
| 60 |
+
self._curr_state = MachineState.START
|
| 61 |
+
self.active = True
|
| 62 |
+
self.logger = logging.getLogger(__name__)
|
| 63 |
+
self.reset()
|
| 64 |
+
|
| 65 |
+
def reset(self) -> None:
|
| 66 |
+
self._curr_state = MachineState.START
|
| 67 |
+
|
| 68 |
+
def next_state(self, c: int) -> int:
|
| 69 |
+
# for each byte we get its class
|
| 70 |
+
# if it is first byte, we also get byte length
|
| 71 |
+
byte_class = self._model["class_table"][c]
|
| 72 |
+
if self._curr_state == MachineState.START:
|
| 73 |
+
self._curr_byte_pos = 0
|
| 74 |
+
self._curr_char_len = self._model["char_len_table"][byte_class]
|
| 75 |
+
# from byte's class and state_table, we get its next state
|
| 76 |
+
curr_state = self._curr_state * self._model["class_factor"] + byte_class
|
| 77 |
+
self._curr_state = self._model["state_table"][curr_state]
|
| 78 |
+
self._curr_byte_pos += 1
|
| 79 |
+
return self._curr_state
|
| 80 |
+
|
| 81 |
+
def get_current_charlen(self) -> int:
|
| 82 |
+
return self._curr_char_len
|
| 83 |
+
|
| 84 |
+
def get_coding_state_machine(self) -> str:
|
| 85 |
+
return self._model["name"]
|
| 86 |
+
|
| 87 |
+
@property
|
| 88 |
+
def language(self) -> str:
|
| 89 |
+
return self._model["language"]
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/codingstatemachinedict.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from typing import TypedDict
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
class CodingStateMachineDict(TypedDict, total=False):
|
| 5 |
+
class_table: tuple[int, ...]
|
| 6 |
+
class_factor: int
|
| 7 |
+
state_table: tuple[int, ...]
|
| 8 |
+
char_len_table: tuple[int, ...]
|
| 9 |
+
name: str
|
| 10 |
+
language: str # Optional key
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/cp949prober.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is mozilla.org code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
from .chardistribution import EUCKRDistributionAnalysis
|
| 28 |
+
from .codingstatemachine import CodingStateMachine
|
| 29 |
+
from .mbcharsetprober import MultiByteCharSetProber
|
| 30 |
+
from .mbcssm import CP949_SM_MODEL
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
class CP949Prober(MultiByteCharSetProber):
|
| 34 |
+
def __init__(self) -> None:
|
| 35 |
+
super().__init__()
|
| 36 |
+
self.coding_sm = CodingStateMachine(CP949_SM_MODEL)
|
| 37 |
+
# NOTE: CP949 is a superset of EUC-KR, so the distribution should be
|
| 38 |
+
# not different.
|
| 39 |
+
self.distribution_analyzer = EUCKRDistributionAnalysis()
|
| 40 |
+
self.reset()
|
| 41 |
+
|
| 42 |
+
@property
|
| 43 |
+
def charset_name(self) -> str:
|
| 44 |
+
return "CP949"
|
| 45 |
+
|
| 46 |
+
@property
|
| 47 |
+
def language(self) -> str:
|
| 48 |
+
return "Korean"
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/enums.py
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""
|
| 2 |
+
All of the Enums that are used throughout the chardet package.
|
| 3 |
+
|
| 4 |
+
:author: Dan Blanchard (dan.blanchard@gmail.com)
|
| 5 |
+
"""
|
| 6 |
+
|
| 7 |
+
from enum import Flag, IntEnum, auto
|
| 8 |
+
|
| 9 |
+
|
| 10 |
+
class InputState(IntEnum):
|
| 11 |
+
"""
|
| 12 |
+
This enum represents the different states a universal detector can be in.
|
| 13 |
+
"""
|
| 14 |
+
|
| 15 |
+
PURE_ASCII = 0
|
| 16 |
+
ESC_ASCII = 1
|
| 17 |
+
HIGH_BYTE = 2
|
| 18 |
+
|
| 19 |
+
|
| 20 |
+
class LanguageFilter(Flag):
|
| 21 |
+
"""
|
| 22 |
+
This enum represents the different language filters we can apply to a
|
| 23 |
+
``UniversalDetector``.
|
| 24 |
+
"""
|
| 25 |
+
|
| 26 |
+
CHINESE_SIMPLIFIED = auto()
|
| 27 |
+
CHINESE_TRADITIONAL = auto()
|
| 28 |
+
JAPANESE = auto()
|
| 29 |
+
KOREAN = auto()
|
| 30 |
+
NON_CJK = auto()
|
| 31 |
+
CHINESE = CHINESE_SIMPLIFIED | CHINESE_TRADITIONAL
|
| 32 |
+
CJK = CHINESE | JAPANESE | KOREAN
|
| 33 |
+
ALL = NON_CJK | CJK
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
class ProbingState(IntEnum):
|
| 37 |
+
"""
|
| 38 |
+
This enum represents the different states a prober can be in.
|
| 39 |
+
"""
|
| 40 |
+
|
| 41 |
+
DETECTING = 0
|
| 42 |
+
FOUND_IT = 1
|
| 43 |
+
NOT_ME = 2
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
class MachineState(IntEnum):
|
| 47 |
+
"""
|
| 48 |
+
This enum represents the different states a state machine can be in.
|
| 49 |
+
"""
|
| 50 |
+
|
| 51 |
+
START = 0
|
| 52 |
+
ERROR = 1
|
| 53 |
+
ITS_ME = 2
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
class SequenceLikelihood(IntEnum):
|
| 57 |
+
"""
|
| 58 |
+
This enum represents the likelihood of a character following the previous one.
|
| 59 |
+
"""
|
| 60 |
+
|
| 61 |
+
NEGATIVE = 0
|
| 62 |
+
UNLIKELY = 1
|
| 63 |
+
LIKELY = 2
|
| 64 |
+
POSITIVE = 3
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
class CharacterCategory(IntEnum):
|
| 68 |
+
"""
|
| 69 |
+
This enum represents the different categories language models for
|
| 70 |
+
``SingleByteCharsetProber`` put characters into.
|
| 71 |
+
|
| 72 |
+
Anything less than DIGIT is considered a letter.
|
| 73 |
+
"""
|
| 74 |
+
|
| 75 |
+
UNDEFINED = 255
|
| 76 |
+
CONTROL = 254
|
| 77 |
+
SYMBOL = 253
|
| 78 |
+
LINE_BREAK = 252
|
| 79 |
+
DIGIT = 251
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
class EncodingEra(Flag):
|
| 83 |
+
"""
|
| 84 |
+
This enum represents different eras of character encodings, used to filter
|
| 85 |
+
which encodings are considered during detection.
|
| 86 |
+
|
| 87 |
+
The numeric values also serve as preference tiers for tie-breaking when
|
| 88 |
+
confidence scores are very close. Lower values = more preferred/modern.
|
| 89 |
+
|
| 90 |
+
MODERN_WEB: UTF-8/16/32, Windows-125x, CP874, KOI8-R/U, CJK multi-byte (widely used on the web)
|
| 91 |
+
LEGACY_ISO: ISO-8859-x (legacy but well-known standards)
|
| 92 |
+
LEGACY_MAC: Mac-specific encodings (MacRoman, MacCyrillic, etc.)
|
| 93 |
+
LEGACY_REGIONAL: Uncommon regional/national encodings (KOI8-T, KZ1048, CP1006, etc.)
|
| 94 |
+
DOS: DOS/OEM code pages (CP437, CP850, CP866, etc.)
|
| 95 |
+
MAINFRAME: EBCDIC variants (CP037, CP500, etc.)
|
| 96 |
+
"""
|
| 97 |
+
|
| 98 |
+
MODERN_WEB = auto()
|
| 99 |
+
LEGACY_ISO = auto()
|
| 100 |
+
LEGACY_MAC = auto()
|
| 101 |
+
LEGACY_REGIONAL = auto()
|
| 102 |
+
DOS = auto()
|
| 103 |
+
MAINFRAME = auto()
|
| 104 |
+
ALL = MODERN_WEB | LEGACY_ISO | LEGACY_MAC | LEGACY_REGIONAL | DOS | MAINFRAME
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/escprober.py
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is mozilla.org code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
from typing import Optional, Union
|
| 28 |
+
|
| 29 |
+
from .charsetprober import CharSetProber
|
| 30 |
+
from .codingstatemachine import CodingStateMachine
|
| 31 |
+
from .enums import EncodingEra, LanguageFilter, MachineState, ProbingState
|
| 32 |
+
from .escsm import (
|
| 33 |
+
HZ_SM_MODEL,
|
| 34 |
+
ISO2022JP_SM_MODEL,
|
| 35 |
+
ISO2022KR_SM_MODEL,
|
| 36 |
+
)
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
class EscCharSetProber(CharSetProber):
|
| 40 |
+
"""
|
| 41 |
+
This CharSetProber uses a "code scheme" approach for detecting encodings,
|
| 42 |
+
whereby easily recognizable escape or shift sequences are relied on to
|
| 43 |
+
identify these encodings.
|
| 44 |
+
"""
|
| 45 |
+
|
| 46 |
+
def __init__(
|
| 47 |
+
self,
|
| 48 |
+
lang_filter: LanguageFilter = LanguageFilter.ALL,
|
| 49 |
+
encoding_era: EncodingEra = EncodingEra.ALL,
|
| 50 |
+
) -> None:
|
| 51 |
+
super().__init__(lang_filter=lang_filter, encoding_era=encoding_era)
|
| 52 |
+
self.coding_sm = []
|
| 53 |
+
if self.lang_filter & LanguageFilter.CHINESE_SIMPLIFIED:
|
| 54 |
+
self.coding_sm.append(CodingStateMachine(HZ_SM_MODEL))
|
| 55 |
+
if self.lang_filter & LanguageFilter.JAPANESE:
|
| 56 |
+
self.coding_sm.append(CodingStateMachine(ISO2022JP_SM_MODEL))
|
| 57 |
+
if self.lang_filter & LanguageFilter.KOREAN:
|
| 58 |
+
self.coding_sm.append(CodingStateMachine(ISO2022KR_SM_MODEL))
|
| 59 |
+
self.active_sm_count = 0
|
| 60 |
+
self._detected_charset: Optional[str] = None
|
| 61 |
+
self._detected_language: Optional[str] = None
|
| 62 |
+
self._state = ProbingState.DETECTING
|
| 63 |
+
self.reset()
|
| 64 |
+
|
| 65 |
+
def reset(self) -> None:
|
| 66 |
+
super().reset()
|
| 67 |
+
for coding_sm in self.coding_sm:
|
| 68 |
+
coding_sm.active = True
|
| 69 |
+
coding_sm.reset()
|
| 70 |
+
self.active_sm_count = len(self.coding_sm)
|
| 71 |
+
self._detected_charset = None
|
| 72 |
+
self._detected_language = None
|
| 73 |
+
|
| 74 |
+
@property
|
| 75 |
+
def charset_name(self) -> Optional[str]:
|
| 76 |
+
return self._detected_charset
|
| 77 |
+
|
| 78 |
+
@property
|
| 79 |
+
def language(self) -> Optional[str]:
|
| 80 |
+
return self._detected_language
|
| 81 |
+
|
| 82 |
+
def get_confidence(self) -> float:
|
| 83 |
+
return 0.99 if self._detected_charset else 0.00
|
| 84 |
+
|
| 85 |
+
def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
|
| 86 |
+
for c in byte_str:
|
| 87 |
+
for coding_sm in self.coding_sm:
|
| 88 |
+
if not coding_sm.active:
|
| 89 |
+
continue
|
| 90 |
+
coding_state = coding_sm.next_state(c)
|
| 91 |
+
if coding_state == MachineState.ERROR:
|
| 92 |
+
coding_sm.active = False
|
| 93 |
+
self.active_sm_count -= 1
|
| 94 |
+
if self.active_sm_count <= 0:
|
| 95 |
+
self._state = ProbingState.NOT_ME
|
| 96 |
+
return self.state
|
| 97 |
+
elif coding_state == MachineState.ITS_ME:
|
| 98 |
+
self._state = ProbingState.FOUND_IT
|
| 99 |
+
self._detected_charset = coding_sm.get_coding_state_machine()
|
| 100 |
+
self._detected_language = coding_sm.language
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is mozilla.org code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
from .codingstatemachinedict import CodingStateMachineDict
|
| 28 |
+
from .enums import MachineState
|
| 29 |
+
|
| 30 |
+
# f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|
+
1, 1, 1, 1, 1, 1, 1, 1, # c0 - c7
|
| 57 |
+
1, 1, 1, 1, 1, 1, 1, 1, # c8 - cf
|
| 58 |
+
1, 1, 1, 1, 1, 1, 1, 1, # d0 - d7
|
| 59 |
+
1, 1, 1, 1, 1, 1, 1, 1, # d8 - df
|
| 60 |
+
1, 1, 1, 1, 1, 1, 1, 1, # e0 - e7
|
| 61 |
+
1, 1, 1, 1, 1, 1, 1, 1, # e8 - ef
|
| 62 |
+
1, 1, 1, 1, 1, 1, 1, 1, # f0 - f7
|
| 63 |
+
1, 1, 1, 1, 1, 1, 1, 1, # f8 - ff
|
| 64 |
+
)
|
| 65 |
+
|
| 66 |
+
HZ_ST = (
|
| 67 |
+
MachineState.START, MachineState.ERROR, 3, MachineState.START, MachineState.START, MachineState.START, MachineState.ERROR, MachineState.ERROR, # 00-07
|
| 68 |
+
MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, # 08-0f
|
| 69 |
+
MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ERROR, MachineState.ERROR, MachineState.START, MachineState.START, 4, MachineState.ERROR, # 10-17
|
| 70 |
+
5, MachineState.ERROR, 6, MachineState.ERROR, 5, 5, 4, MachineState.ERROR, # 18-1f
|
| 71 |
+
4, MachineState.ERROR, 4, 4, 4, MachineState.ERROR, 4, MachineState.ERROR, # 20-27
|
| 72 |
+
4, MachineState.ITS_ME, MachineState.START, MachineState.START, MachineState.START, MachineState.START, MachineState.START, MachineState.START, # 28-2f
|
| 73 |
+
)
|
| 74 |
+
# fmt: on
|
| 75 |
+
|
| 76 |
+
HZ_CHAR_LEN_TABLE = (0, 0, 0, 0, 0, 0)
|
| 77 |
+
|
| 78 |
+
HZ_SM_MODEL: CodingStateMachineDict = {
|
| 79 |
+
"class_table": HZ_CLS,
|
| 80 |
+
"class_factor": 6,
|
| 81 |
+
"state_table": HZ_ST,
|
| 82 |
+
"char_len_table": HZ_CHAR_LEN_TABLE,
|
| 83 |
+
"name": "HZ-GB-2312",
|
| 84 |
+
"language": "Chinese",
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
# fmt: off
|
| 88 |
+
ISO2022JP_CLS = (
|
| 89 |
+
2, 0, 0, 0, 0, 0, 0, 0, # 00 - 07
|
| 90 |
+
0, 0, 0, 0, 0, 0, 2, 2, # 08 - 0f
|
| 91 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 10 - 17
|
| 92 |
+
0, 0, 0, 1, 0, 0, 0, 0, # 18 - 1f
|
| 93 |
+
0, 0, 0, 0, 7, 0, 0, 0, # 20 - 27
|
| 94 |
+
3, 0, 0, 0, 0, 0, 0, 0, # 28 - 2f
|
| 95 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 30 - 37
|
| 96 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 38 - 3f
|
| 97 |
+
6, 0, 4, 0, 8, 0, 0, 0, # 40 - 47
|
| 98 |
+
0, 9, 5, 0, 0, 0, 0, 0, # 48 - 4f
|
| 99 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 50 - 57
|
| 100 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 58 - 5f
|
| 101 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 60 - 67
|
| 102 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 68 - 6f
|
| 103 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 70 - 77
|
| 104 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 78 - 7f
|
| 105 |
+
2, 2, 2, 2, 2, 2, 2, 2, # 80 - 87
|
| 106 |
+
2, 2, 2, 2, 2, 2, 2, 2, # 88 - 8f
|
| 107 |
+
2, 2, 2, 2, 2, 2, 2, 2, # 90 - 97
|
| 108 |
+
2, 2, 2, 2, 2, 2, 2, 2, # 98 - 9f
|
| 109 |
+
2, 2, 2, 2, 2, 2, 2, 2, # a0 - a7
|
| 110 |
+
2, 2, 2, 2, 2, 2, 2, 2, # a8 - af
|
| 111 |
+
2, 2, 2, 2, 2, 2, 2, 2, # b0 - b7
|
| 112 |
+
2, 2, 2, 2, 2, 2, 2, 2, # b8 - bf
|
| 113 |
+
2, 2, 2, 2, 2, 2, 2, 2, # c0 - c7
|
| 114 |
+
2, 2, 2, 2, 2, 2, 2, 2, # c8 - cf
|
| 115 |
+
2, 2, 2, 2, 2, 2, 2, 2, # d0 - d7
|
| 116 |
+
2, 2, 2, 2, 2, 2, 2, 2, # d8 - df
|
| 117 |
+
2, 2, 2, 2, 2, 2, 2, 2, # e0 - e7
|
| 118 |
+
2, 2, 2, 2, 2, 2, 2, 2, # e8 - ef
|
| 119 |
+
2, 2, 2, 2, 2, 2, 2, 2, # f0 - f7
|
| 120 |
+
2, 2, 2, 2, 2, 2, 2, 2, # f8 - ff
|
| 121 |
+
)
|
| 122 |
+
|
| 123 |
+
ISO2022JP_ST = (
|
| 124 |
+
MachineState.START, 3, MachineState.ERROR, MachineState.START, MachineState.START, MachineState.START, MachineState.START, MachineState.START, # 00-07
|
| 125 |
+
MachineState.START, MachineState.START, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, # 08-0f
|
| 126 |
+
MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, # 10-17
|
| 127 |
+
MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ERROR, MachineState.ERROR, # 18-1f
|
| 128 |
+
MachineState.ERROR, 5, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, 4, MachineState.ERROR, MachineState.ERROR, # 20-27
|
| 129 |
+
MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, 6, MachineState.ITS_ME, MachineState.ERROR, MachineState.ITS_ME, MachineState.ERROR, # 28-2f
|
| 130 |
+
MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ITS_ME, # 30-37
|
| 131 |
+
MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, # 38-3f
|
| 132 |
+
MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ERROR, MachineState.START, MachineState.START, # 40-47
|
| 133 |
+
)
|
| 134 |
+
# fmt: on
|
| 135 |
+
|
| 136 |
+
ISO2022JP_CHAR_LEN_TABLE = (0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
|
| 137 |
+
|
| 138 |
+
ISO2022JP_SM_MODEL: CodingStateMachineDict = {
|
| 139 |
+
"class_table": ISO2022JP_CLS,
|
| 140 |
+
"class_factor": 10,
|
| 141 |
+
"state_table": ISO2022JP_ST,
|
| 142 |
+
"char_len_table": ISO2022JP_CHAR_LEN_TABLE,
|
| 143 |
+
"name": "ISO-2022-JP",
|
| 144 |
+
"language": "Japanese",
|
| 145 |
+
}
|
| 146 |
+
|
| 147 |
+
# fmt: off
|
| 148 |
+
ISO2022KR_CLS = (
|
| 149 |
+
2, 0, 0, 0, 0, 0, 0, 0, # 00 - 07
|
| 150 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 08 - 0f
|
| 151 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 10 - 17
|
| 152 |
+
0, 0, 0, 1, 0, 0, 0, 0, # 18 - 1f
|
| 153 |
+
0, 0, 0, 0, 3, 0, 0, 0, # 20 - 27
|
| 154 |
+
0, 4, 0, 0, 0, 0, 0, 0, # 28 - 2f
|
| 155 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 30 - 37
|
| 156 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 38 - 3f
|
| 157 |
+
0, 0, 0, 5, 0, 0, 0, 0, # 40 - 47
|
| 158 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 48 - 4f
|
| 159 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 50 - 57
|
| 160 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 58 - 5f
|
| 161 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 60 - 67
|
| 162 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 68 - 6f
|
| 163 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 70 - 77
|
| 164 |
+
0, 0, 0, 0, 0, 0, 0, 0, # 78 - 7f
|
| 165 |
+
2, 2, 2, 2, 2, 2, 2, 2, # 80 - 87
|
| 166 |
+
2, 2, 2, 2, 2, 2, 2, 2, # 88 - 8f
|
| 167 |
+
2, 2, 2, 2, 2, 2, 2, 2, # 90 - 97
|
| 168 |
+
2, 2, 2, 2, 2, 2, 2, 2, # 98 - 9f
|
| 169 |
+
2, 2, 2, 2, 2, 2, 2, 2, # a0 - a7
|
| 170 |
+
2, 2, 2, 2, 2, 2, 2, 2, # a8 - af
|
| 171 |
+
2, 2, 2, 2, 2, 2, 2, 2, # b0 - b7
|
| 172 |
+
2, 2, 2, 2, 2, 2, 2, 2, # b8 - bf
|
| 173 |
+
2, 2, 2, 2, 2, 2, 2, 2, # c0 - c7
|
| 174 |
+
2, 2, 2, 2, 2, 2, 2, 2, # c8 - cf
|
| 175 |
+
2, 2, 2, 2, 2, 2, 2, 2, # d0 - d7
|
| 176 |
+
2, 2, 2, 2, 2, 2, 2, 2, # d8 - df
|
| 177 |
+
2, 2, 2, 2, 2, 2, 2, 2, # e0 - e7
|
| 178 |
+
2, 2, 2, 2, 2, 2, 2, 2, # e8 - ef
|
| 179 |
+
2, 2, 2, 2, 2, 2, 2, 2, # f0 - f7
|
| 180 |
+
2, 2, 2, 2, 2, 2, 2, 2, # f8 - ff
|
| 181 |
+
)
|
| 182 |
+
|
| 183 |
+
ISO2022KR_ST = (
|
| 184 |
+
MachineState.START, 3, MachineState.ERROR, MachineState.START, MachineState.START, MachineState.START, MachineState.ERROR, MachineState.ERROR, # 00-07
|
| 185 |
+
MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ITS_ME, # 08-0f
|
| 186 |
+
MachineState.ITS_ME, MachineState.ITS_ME, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, 4, MachineState.ERROR, MachineState.ERROR, # 10-17
|
| 187 |
+
MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, 5, MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, # 18-1f
|
| 188 |
+
MachineState.ERROR, MachineState.ERROR, MachineState.ERROR, MachineState.ITS_ME, MachineState.START, MachineState.START, MachineState.START, MachineState.START, # 20-27
|
| 189 |
+
)
|
| 190 |
+
# fmt: on
|
| 191 |
+
|
| 192 |
+
ISO2022KR_CHAR_LEN_TABLE = (0, 0, 0, 0, 0, 0)
|
| 193 |
+
|
| 194 |
+
ISO2022KR_SM_MODEL: CodingStateMachineDict = {
|
| 195 |
+
"class_table": ISO2022KR_CLS,
|
| 196 |
+
"class_factor": 6,
|
| 197 |
+
"state_table": ISO2022KR_ST,
|
| 198 |
+
"char_len_table": ISO2022KR_CHAR_LEN_TABLE,
|
| 199 |
+
"name": "ISO-2022-KR",
|
| 200 |
+
"language": "Korean",
|
| 201 |
+
}
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/eucjpprober.py
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is mozilla.org code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
from typing import Union
|
| 28 |
+
|
| 29 |
+
from .chardistribution import EUCJPDistributionAnalysis
|
| 30 |
+
from .codingstatemachine import CodingStateMachine
|
| 31 |
+
from .enums import MachineState, ProbingState
|
| 32 |
+
from .jpcntx import EUCJPContextAnalysis
|
| 33 |
+
from .mbcharsetprober import MultiByteCharSetProber
|
| 34 |
+
from .mbcssm import EUCJP_SM_MODEL
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
class EUCJPProber(MultiByteCharSetProber):
|
| 38 |
+
def __init__(self) -> None:
|
| 39 |
+
super().__init__()
|
| 40 |
+
self.coding_sm = CodingStateMachine(EUCJP_SM_MODEL)
|
| 41 |
+
self.distribution_analyzer = EUCJPDistributionAnalysis()
|
| 42 |
+
self.context_analyzer = EUCJPContextAnalysis()
|
| 43 |
+
self.reset()
|
| 44 |
+
|
| 45 |
+
def reset(self) -> None:
|
| 46 |
+
super().reset()
|
| 47 |
+
self.context_analyzer.reset()
|
| 48 |
+
|
| 49 |
+
@property
|
| 50 |
+
def charset_name(self) -> str:
|
| 51 |
+
return "EUC-JP"
|
| 52 |
+
|
| 53 |
+
@property
|
| 54 |
+
def language(self) -> str:
|
| 55 |
+
return "Japanese"
|
| 56 |
+
|
| 57 |
+
def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
|
| 58 |
+
assert self.coding_sm is not None
|
| 59 |
+
assert self.distribution_analyzer is not None
|
| 60 |
+
|
| 61 |
+
for i, byte in enumerate(byte_str):
|
| 62 |
+
# PY3K: byte_str is a byte array, so byte is an int, not a byte
|
| 63 |
+
coding_state = self.coding_sm.next_state(byte)
|
| 64 |
+
if coding_state == MachineState.ERROR:
|
| 65 |
+
self.logger.debug(
|
| 66 |
+
"%s %s prober hit error at byte %s",
|
| 67 |
+
self.charset_name,
|
| 68 |
+
self.language,
|
| 69 |
+
i,
|
| 70 |
+
)
|
| 71 |
+
self._state = ProbingState.NOT_ME
|
| 72 |
+
break
|
| 73 |
+
if coding_state == MachineState.ITS_ME:
|
| 74 |
+
self._state = ProbingState.FOUND_IT
|
| 75 |
+
break
|
| 76 |
+
if coding_state == MachineState.START:
|
| 77 |
+
char_len = self.coding_sm.get_current_charlen()
|
| 78 |
+
if i == 0:
|
| 79 |
+
self._last_char[1] = byte
|
| 80 |
+
self.context_analyzer.feed(self._last_char, char_len)
|
| 81 |
+
self.distribution_analyzer.feed(self._last_char, char_len)
|
| 82 |
+
else:
|
| 83 |
+
self.context_analyzer.feed(byte_str[i - 1 : i + 1], char_len)
|
| 84 |
+
self.distribution_analyzer.feed(byte_str[i - 1 : i + 1], char_len)
|
| 85 |
+
|
| 86 |
+
self._last_char[0] = byte_str[-1]
|
| 87 |
+
|
| 88 |
+
if self.state == ProbingState.DETECTING:
|
| 89 |
+
if self.context_analyzer.got_enough_data() and (
|
| 90 |
+
self.get_confidence() > self.SHORTCUT_THRESHOLD
|
| 91 |
+
):
|
| 92 |
+
self._state = ProbingState.FOUND_IT
|
| 93 |
+
|
| 94 |
+
return self.state
|
| 95 |
+
|
| 96 |
+
def get_confidence(self) -> float:
|
| 97 |
+
assert self.distribution_analyzer is not None
|
| 98 |
+
|
| 99 |
+
context_conf = self.context_analyzer.get_confidence()
|
| 100 |
+
distrib_conf = self.distribution_analyzer.get_confidence()
|
| 101 |
+
return max(context_conf, distrib_conf)
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/euckrfreq.py
ADDED
|
@@ -0,0 +1,195 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
# Sampling from about 20M text materials include literature and computer technology
|
| 28 |
+
|
| 29 |
+
# 128 --> 0.79
|
| 30 |
+
# 256 --> 0.92
|
| 31 |
+
# 512 --> 0.986
|
| 32 |
+
# 1024 --> 0.99944
|
| 33 |
+
# 2048 --> 0.99999
|
| 34 |
+
#
|
| 35 |
+
# Idea Distribution Ratio = 0.98653 / (1-0.98653) = 73.24
|
| 36 |
+
# Random Distribution Ration = 512 / (2350-512) = 0.279.
|
| 37 |
+
#
|
| 38 |
+
# Typical Distribution Ratio
|
| 39 |
+
|
| 40 |
+
EUCKR_TYPICAL_DISTRIBUTION_RATIO = 6.0
|
| 41 |
+
|
| 42 |
+
EUCKR_TABLE_SIZE = 2352
|
| 43 |
+
|
| 44 |
+
# Char to FreqOrder table ,
|
| 45 |
+
# fmt: off
|
| 46 |
+
EUCKR_CHAR_TO_FREQ_ORDER = (
|
| 47 |
+
13, 130, 120,1396, 481,1719,1720, 328, 609, 212,1721, 707, 400, 299,1722, 87,
|
| 48 |
+
1397,1723, 104, 536,1117,1203,1724,1267, 685,1268, 508,1725,1726,1727,1728,1398,
|
| 49 |
+
1399,1729,1730,1731, 141, 621, 326,1057, 368,1732, 267, 488, 20,1733,1269,1734,
|
| 50 |
+
945,1400,1735, 47, 904,1270,1736,1737, 773, 248,1738, 409, 313, 786, 429,1739,
|
| 51 |
+
116, 987, 813,1401, 683, 75,1204, 145,1740,1741,1742,1743, 16, 847, 667, 622,
|
| 52 |
+
708,1744,1745,1746, 966, 787, 304, 129,1747, 60, 820, 123, 676,1748,1749,1750,
|
| 53 |
+
1751, 617,1752, 626,1753,1754,1755,1756, 653,1757,1758,1759,1760,1761,1762, 856,
|
| 54 |
+
344,1763,1764,1765,1766, 89, 401, 418, 806, 905, 848,1767,1768,1769, 946,1205,
|
| 55 |
+
709,1770,1118,1771, 241,1772,1773,1774,1271,1775, 569,1776, 999,1777,1778,1779,
|
| 56 |
+
1780, 337, 751,1058, 28, 628, 254,1781, 177, 906, 270, 349, 891,1079,1782, 19,
|
| 57 |
+
1783, 379,1784, 315,1785, 629, 754,1402, 559,1786, 636, 203,1206,1787, 710, 567,
|
| 58 |
+
1788, 935, 814,1789,1790,1207, 766, 528,1791,1792,1208,1793,1794,1795,1796,1797,
|
| 59 |
+
1403,1798,1799, 533,1059,1404,1405,1156,1406, 936, 884,1080,1800, 351,1801,1802,
|
| 60 |
+
1803,1804,1805, 801,1806,1807,1808,1119,1809,1157, 714, 474,1407,1810, 298, 899,
|
| 61 |
+
885,1811,1120, 802,1158,1812, 892,1813,1814,1408, 659,1815,1816,1121,1817,1818,
|
| 62 |
+
1819,1820,1821,1822, 319,1823, 594, 545,1824, 815, 937,1209,1825,1826, 573,1409,
|
| 63 |
+
1022,1827,1210,1828,1829,1830,1831,1832,1833, 556, 722, 807,1122,1060,1834, 697,
|
| 64 |
+
1835, 900, 557, 715,1836,1410, 540,1411, 752,1159, 294, 597,1211, 976, 803, 770,
|
| 65 |
+
1412,1837,1838, 39, 794,1413, 358,1839, 371, 925,1840, 453, 661, 788, 531, 723,
|
| 66 |
+
544,1023,1081, 869, 91,1841, 392, 430, 790, 602,1414, 677,1082, 457,1415,1416,
|
| 67 |
+
1842,1843, 475, 327,1024,1417, 795, 121,1844, 733, 403,1418,1845,1846,1847, 300,
|
| 68 |
+
119, 711,1212, 627,1848,1272, 207,1849,1850, 796,1213, 382,1851, 519,1852,1083,
|
| 69 |
+
893,1853,1854,1855, 367, 809, 487, 671,1856, 663,1857,1858, 956, 471, 306, 857,
|
| 70 |
+
1859,1860,1160,1084,1861,1862,1863,1864,1865,1061,1866,1867,1868,1869,1870,1871,
|
| 71 |
+
282, 96, 574,1872, 502,1085,1873,1214,1874, 907,1875,1876, 827, 977,1419,1420,
|
| 72 |
+
1421, 268,1877,1422,1878,1879,1880, 308,1881, 2, 537,1882,1883,1215,1884,1885,
|
| 73 |
+
127, 791,1886,1273,1423,1887, 34, 336, 404, 643,1888, 571, 654, 894, 840,1889,
|
| 74 |
+
0, 886,1274, 122, 575, 260, 908, 938,1890,1275, 410, 316,1891,1892, 100,1893,
|
| 75 |
+
1894,1123, 48,1161,1124,1025,1895, 633, 901,1276,1896,1897, 115, 816,1898, 317,
|
| 76 |
+
1899, 694,1900, 909, 734,1424, 572, 866,1425, 691, 85, 524,1010, 543, 394, 841,
|
| 77 |
+
1901,1902,1903,1026,1904,1905,1906,1907,1908,1909, 30, 451, 651, 988, 310,1910,
|
| 78 |
+
1911,1426, 810,1216, 93,1912,1913,1277,1217,1914, 858, 759, 45, 58, 181, 610,
|
| 79 |
+
269,1915,1916, 131,1062, 551, 443,1000, 821,1427, 957, 895,1086,1917,1918, 375,
|
| 80 |
+
1919, 359,1920, 687,1921, 822,1922, 293,1923,1924, 40, 662, 118, 692, 29, 939,
|
| 81 |
+
887, 640, 482, 174,1925, 69,1162, 728,1428, 910,1926,1278,1218,1279, 386, 870,
|
| 82 |
+
217, 854,1163, 823,1927,1928,1929,1930, 834,1931, 78,1932, 859,1933,1063,1934,
|
| 83 |
+
1935,1936,1937, 438,1164, 208, 595,1938,1939,1940,1941,1219,1125,1942, 280, 888,
|
| 84 |
+
1429,1430,1220,1431,1943,1944,1945,1946,1947,1280, 150, 510,1432,1948,1949,1950,
|
| 85 |
+
1951,1952,1953,1954,1011,1087,1955,1433,1043,1956, 881,1957, 614, 958,1064,1065,
|
| 86 |
+
1221,1958, 638,1001, 860, 967, 896,1434, 989, 492, 553,1281,1165,1959,1282,1002,
|
| 87 |
+
1283,1222,1960,1961,1962,1963, 36, 383, 228, 753, 247, 454,1964, 876, 678,1965,
|
| 88 |
+
1966,1284, 126, 464, 490, 835, 136, 672, 529, 940,1088,1435, 473,1967,1968, 467,
|
| 89 |
+
50, 390, 227, 587, 279, 378, 598, 792, 968, 240, 151, 160, 849, 882,1126,1285,
|
| 90 |
+
639,1044, 133, 140, 288, 360, 811, 563,1027, 561, 142, 523,1969,1970,1971, 7,
|
| 91 |
+
103, 296, 439, 407, 506, 634, 990,1972,1973,1974,1975, 645,1976,1977,1978,1979,
|
| 92 |
+
1980,1981, 236,1982,1436,1983,1984,1089, 192, 828, 618, 518,1166, 333,1127,1985,
|
| 93 |
+
818,1223,1986,1987,1988,1989,1990,1991,1992,1993, 342,1128,1286, 746, 842,1994,
|
| 94 |
+
1995, 560, 223,1287, 98, 8, 189, 650, 978,1288,1996,1437,1997, 17, 345, 250,
|
| 95 |
+
423, 277, 234, 512, 226, 97, 289, 42, 167,1998, 201,1999,2000, 843, 836, 824,
|
| 96 |
+
532, 338, 783,1090, 182, 576, 436,1438,1439, 527, 500,2001, 947, 889,2002,2003,
|
| 97 |
+
2004,2005, 262, 600, 314, 447,2006, 547,2007, 693, 738,1129,2008, 71,1440, 745,
|
| 98 |
+
619, 688,2009, 829,2010,2011, 147,2012, 33, 948,2013,2014, 74, 224,2015, 61,
|
| 99 |
+
191, 918, 399, 637,2016,1028,1130, 257, 902,2017,2018,2019,2020,2021,2022,2023,
|
| 100 |
+
2024,2025,2026, 837,2027,2028,2029,2030, 179, 874, 591, 52, 724, 246,2031,2032,
|
| 101 |
+
2033,2034,1167, 969,2035,1289, 630, 605, 911,1091,1168,2036,2037,2038,1441, 912,
|
| 102 |
+
2039, 623,2040,2041, 253,1169,1290,2042,1442, 146, 620, 611, 577, 433,2043,1224,
|
| 103 |
+
719,1170, 959, 440, 437, 534, 84, 388, 480,1131, 159, 220, 198, 679,2044,1012,
|
| 104 |
+
819,1066,1443, 113,1225, 194, 318,1003,1029,2045,2046,2047,2048,1067,2049,2050,
|
| 105 |
+
2051,2052,2053, 59, 913, 112,2054, 632,2055, 455, 144, 739,1291,2056, 273, 681,
|
| 106 |
+
499,2057, 448,2058,2059, 760,2060,2061, 970, 384, 169, 245,1132,2062,2063, 414,
|
| 107 |
+
1444,2064,2065, 41, 235,2066, 157, 252, 877, 568, 919, 789, 580,2067, 725,2068,
|
| 108 |
+
2069,1292,2070,2071,1445,2072,1446,2073,2074, 55, 588, 66,1447, 271,1092,2075,
|
| 109 |
+
1226,2076, 960,1013, 372,2077,2078,2079,2080,2081,1293,2082,2083,2084,2085, 850,
|
| 110 |
+
2086,2087,2088,2089,2090, 186,2091,1068, 180,2092,2093,2094, 109,1227, 522, 606,
|
| 111 |
+
2095, 867,1448,1093, 991,1171, 926, 353,1133,2096, 581,2097,2098,2099,1294,1449,
|
| 112 |
+
1450,2100, 596,1172,1014,1228,2101,1451,1295,1173,1229,2102,2103,1296,1134,1452,
|
| 113 |
+
949,1135,2104,2105,1094,1453,1454,1455,2106,1095,2107,2108,2109,2110,2111,2112,
|
| 114 |
+
2113,2114,2115,2116,2117, 804,2118,2119,1230,1231, 805,1456, 405,1136,2120,2121,
|
| 115 |
+
2122,2123,2124, 720, 701,1297, 992,1457, 927,1004,2125,2126,2127,2128,2129,2130,
|
| 116 |
+
22, 417,2131, 303,2132, 385,2133, 971, 520, 513,2134,1174, 73,1096, 231, 274,
|
| 117 |
+
962,1458, 673,2135,1459,2136, 152,1137,2137,2138,2139,2140,1005,1138,1460,1139,
|
| 118 |
+
2141,2142,2143,2144, 11, 374, 844,2145, 154,1232, 46,1461,2146, 838, 830, 721,
|
| 119 |
+
1233, 106,2147, 90, 428, 462, 578, 566,1175, 352,2148,2149, 538,1234, 124,1298,
|
| 120 |
+
2150,1462, 761, 565,2151, 686,2152, 649,2153, 72, 173,2154, 460, 415,2155,1463,
|
| 121 |
+
2156,1235, 305,2157,2158,2159,2160,2161,2162, 579,2163,2164,2165,2166,2167, 747,
|
| 122 |
+
2168,2169,2170,2171,1464, 669,2172,2173,2174,2175,2176,1465,2177, 23, 530, 285,
|
| 123 |
+
2178, 335, 729,2179, 397,2180,2181,2182,1030,2183,2184, 698,2185,2186, 325,2187,
|
| 124 |
+
2188, 369,2189, 799,1097,1015, 348,2190,1069, 680,2191, 851,1466,2192,2193, 10,
|
| 125 |
+
2194, 613, 424,2195, 979, 108, 449, 589, 27, 172, 81,1031, 80, 774, 281, 350,
|
| 126 |
+
1032, 525, 301, 582,1176,2196, 674,1045,2197,2198,1467, 730, 762,2199,2200,2201,
|
| 127 |
+
2202,1468,2203, 993,2204,2205, 266,1070, 963,1140,2206,2207,2208, 664,1098, 972,
|
| 128 |
+
2209,2210,2211,1177,1469,1470, 871,2212,2213,2214,2215,2216,1471,2217,2218,2219,
|
| 129 |
+
2220,2221,2222,2223,2224,2225,2226,2227,1472,1236,2228,2229,2230,2231,2232,2233,
|
| 130 |
+
2234,2235,1299,2236,2237, 200,2238, 477, 373,2239,2240, 731, 825, 777,2241,2242,
|
| 131 |
+
2243, 521, 486, 548,2244,2245,2246,1473,1300, 53, 549, 137, 875, 76, 158,2247,
|
| 132 |
+
1301,1474, 469, 396,1016, 278, 712,2248, 321, 442, 503, 767, 744, 941,1237,1178,
|
| 133 |
+
1475,2249, 82, 178,1141,1179, 973,2250,1302,2251, 297,2252,2253, 570,2254,2255,
|
| 134 |
+
2256, 18, 450, 206,2257, 290, 292,1142,2258, 511, 162, 99, 346, 164, 735,2259,
|
| 135 |
+
1476,1477, 4, 554, 343, 798,1099,2260,1100,2261, 43, 171,1303, 139, 215,2262,
|
| 136 |
+
2263, 717, 775,2264,1033, 322, 216,2265, 831,2266, 149,2267,1304,2268,2269, 702,
|
| 137 |
+
1238, 135, 845, 347, 309,2270, 484,2271, 878, 655, 238,1006,1478,2272, 67,2273,
|
| 138 |
+
295,2274,2275, 461,2276, 478, 942, 412,2277,1034,2278,2279,2280, 265,2281, 541,
|
| 139 |
+
2282,2283,2284,2285,2286, 70, 852,1071,2287,2288,2289,2290, 21, 56, 509, 117,
|
| 140 |
+
432,2291,2292, 331, 980, 552,1101, 148, 284, 105, 393,1180,1239, 755,2293, 187,
|
| 141 |
+
2294,1046,1479,2295, 340,2296, 63,1047, 230,2297,2298,1305, 763,1306, 101, 800,
|
| 142 |
+
808, 494,2299,2300,2301, 903,2302, 37,1072, 14, 5,2303, 79, 675,2304, 312,
|
| 143 |
+
2305,2306,2307,2308,2309,1480, 6,1307,2310,2311,2312, 1, 470, 35, 24, 229,
|
| 144 |
+
2313, 695, 210, 86, 778, 15, 784, 592, 779, 32, 77, 855, 964,2314, 259,2315,
|
| 145 |
+
501, 380,2316,2317, 83, 981, 153, 689,1308,1481,1482,1483,2318,2319, 716,1484,
|
| 146 |
+
2320,2321,2322,2323,2324,2325,1485,2326,2327, 128, 57, 68, 261,1048, 211, 170,
|
| 147 |
+
1240, 31,2328, 51, 435, 742,2329,2330,2331, 635,2332, 264, 456,2333,2334,2335,
|
| 148 |
+
425,2336,1486, 143, 507, 263, 943,2337, 363, 920,1487, 256,1488,1102, 243, 601,
|
| 149 |
+
1489,2338,2339,2340,2341,2342,2343,2344, 861,2345,2346,2347,2348,2349,2350, 395,
|
| 150 |
+
2351,1490,1491, 62, 535, 166, 225,2352,2353, 668, 419,1241, 138, 604, 928,2354,
|
| 151 |
+
1181,2355,1492,1493,2356,2357,2358,1143,2359, 696,2360, 387, 307,1309, 682, 476,
|
| 152 |
+
2361,2362, 332, 12, 222, 156,2363, 232,2364, 641, 276, 656, 517,1494,1495,1035,
|
| 153 |
+
416, 736,1496,2365,1017, 586,2366,2367,2368,1497,2369, 242,2370,2371,2372,1498,
|
| 154 |
+
2373, 965, 713,2374,2375,2376,2377, 740, 982,1499, 944,1500,1007,2378,2379,1310,
|
| 155 |
+
1501,2380,2381,2382, 785, 329,2383,2384,1502,2385,2386,2387, 932,2388,1503,2389,
|
| 156 |
+
2390,2391,2392,1242,2393,2394,2395,2396,2397, 994, 950,2398,2399,2400,2401,1504,
|
| 157 |
+
1311,2402,2403,2404,2405,1049, 749,2406,2407, 853, 718,1144,1312,2408,1182,1505,
|
| 158 |
+
2409,2410, 255, 516, 479, 564, 550, 214,1506,1507,1313, 413, 239, 444, 339,1145,
|
| 159 |
+
1036,1508,1509,1314,1037,1510,1315,2411,1511,2412,2413,2414, 176, 703, 497, 624,
|
| 160 |
+
593, 921, 302,2415, 341, 165,1103,1512,2416,1513,2417,2418,2419, 376,2420, 700,
|
| 161 |
+
2421,2422,2423, 258, 768,1316,2424,1183,2425, 995, 608,2426,2427,2428,2429, 221,
|
| 162 |
+
2430,2431,2432,2433,2434,2435,2436,2437, 195, 323, 726, 188, 897, 983,1317, 377,
|
| 163 |
+
644,1050, 879,2438, 452,2439,2440,2441,2442,2443,2444, 914,2445,2446,2447,2448,
|
| 164 |
+
915, 489,2449,1514,1184,2450,2451, 515, 64, 427, 495,2452, 583,2453, 483, 485,
|
| 165 |
+
1038, 562, 213,1515, 748, 666,2454,2455,2456,2457, 334,2458, 780, 996,1008, 705,
|
| 166 |
+
1243,2459,2460,2461,2462,2463, 114,2464, 493,1146, 366, 163,1516, 961,1104,2465,
|
| 167 |
+
291,2466,1318,1105,2467,1517, 365,2468, 355, 951,1244,2469,1319,2470, 631,2471,
|
| 168 |
+
2472, 218,1320, 364, 320, 756,1518,1519,1321,1520,1322,2473,2474,2475,2476, 997,
|
| 169 |
+
2477,2478,2479,2480, 665,1185,2481, 916,1521,2482,2483,2484, 584, 684,2485,2486,
|
| 170 |
+
797,2487,1051,1186,2488,2489,2490,1522,2491,2492, 370,2493,1039,1187, 65,2494,
|
| 171 |
+
434, 205, 463,1188,2495, 125, 812, 391, 402, 826, 699, 286, 398, 155, 781, 771,
|
| 172 |
+
585,2496, 590, 505,1073,2497, 599, 244, 219, 917,1018, 952, 646,1523,2498,1323,
|
| 173 |
+
2499,2500, 49, 984, 354, 741,2501, 625,2502,1324,2503,1019, 190, 357, 757, 491,
|
| 174 |
+
95, 782, 868,2504,2505,2506,2507,2508,2509, 134,1524,1074, 422,1525, 898,2510,
|
| 175 |
+
161,2511,2512,2513,2514, 769,2515,1526,2516,2517, 411,1325,2518, 472,1527,2519,
|
| 176 |
+
2520,2521,2522,2523,2524, 985,2525,2526,2527,2528,2529,2530, 764,2531,1245,2532,
|
| 177 |
+
2533, 25, 204, 311,2534, 496,2535,1052,2536,2537,2538,2539,2540,2541,2542, 199,
|
| 178 |
+
704, 504, 468, 758, 657,1528, 196, 44, 839,1246, 272, 750,2543, 765, 862,2544,
|
| 179 |
+
2545,1326,2546, 132, 615, 933,2547, 732,2548,2549,2550,1189,1529,2551, 283,1247,
|
| 180 |
+
1053, 607, 929,2552,2553,2554, 930, 183, 872, 616,1040,1147,2555,1148,1020, 441,
|
| 181 |
+
249,1075,2556,2557,2558, 466, 743,2559,2560,2561, 92, 514, 426, 420, 526,2562,
|
| 182 |
+
2563,2564,2565,2566,2567,2568, 185,2569,2570,2571,2572, 776,1530, 658,2573, 362,
|
| 183 |
+
2574, 361, 922,1076, 793,2575,2576,2577,2578,2579,2580,1531, 251,2581,2582,2583,
|
| 184 |
+
2584,1532, 54, 612, 237,1327,2585,2586, 275, 408, 647, 111,2587,1533,1106, 465,
|
| 185 |
+
3, 458, 9, 38,2588, 107, 110, 890, 209, 26, 737, 498,2589,1534,2590, 431,
|
| 186 |
+
202, 88,1535, 356, 287,1107, 660,1149,2591, 381,1536, 986,1150, 445,1248,1151,
|
| 187 |
+
974,2592,2593, 846,2594, 446, 953, 184,1249,1250, 727,2595, 923, 193, 883,2596,
|
| 188 |
+
2597,2598, 102, 324, 539, 817,2599, 421,1041,2600, 832,2601, 94, 175, 197, 406,
|
| 189 |
+
2602, 459,2603,2604,2605,2606,2607, 330, 555,2608,2609,2610, 706,1108, 389,2611,
|
| 190 |
+
2612,2613,2614, 233,2615, 833, 558, 931, 954,1251,2616,2617,1537, 546,2618,2619,
|
| 191 |
+
1009,2620,2621,2622,1538, 690,1328,2623, 955,2624,1539,2625,2626, 772,2627,2628,
|
| 192 |
+
2629,2630,2631, 924, 648, 863, 603,2632,2633, 934,1540, 864, 865,2634, 642,1042,
|
| 193 |
+
670,1190,2635,2636,2637,2638, 168,2639, 652, 873, 542,1054,1541,2640,2641,2642, # 512, 256
|
| 194 |
+
)
|
| 195 |
+
# fmt: on
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/euckrprober.py
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is mozilla.org code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
from .chardistribution import EUCKRDistributionAnalysis
|
| 28 |
+
from .codingstatemachine import CodingStateMachine
|
| 29 |
+
from .mbcharsetprober import MultiByteCharSetProber
|
| 30 |
+
from .mbcssm import EUCKR_SM_MODEL
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
class EUCKRProber(MultiByteCharSetProber):
|
| 34 |
+
def __init__(self) -> None:
|
| 35 |
+
super().__init__()
|
| 36 |
+
self.coding_sm = CodingStateMachine(EUCKR_SM_MODEL)
|
| 37 |
+
self.distribution_analyzer = EUCKRDistributionAnalysis()
|
| 38 |
+
self.reset()
|
| 39 |
+
|
| 40 |
+
@property
|
| 41 |
+
def charset_name(self) -> str:
|
| 42 |
+
return "EUC-KR"
|
| 43 |
+
|
| 44 |
+
@property
|
| 45 |
+
def language(self) -> str:
|
| 46 |
+
return "Korean"
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/gb18030prober.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is mozilla.org code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
from .chardistribution import GB2312DistributionAnalysis
|
| 28 |
+
from .codingstatemachine import CodingStateMachine
|
| 29 |
+
from .mbcharsetprober import MultiByteCharSetProber
|
| 30 |
+
from .mbcssm import GB18030_SM_MODEL
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
class GB18030Prober(MultiByteCharSetProber):
|
| 34 |
+
def __init__(self) -> None:
|
| 35 |
+
super().__init__()
|
| 36 |
+
self.coding_sm = CodingStateMachine(GB18030_SM_MODEL)
|
| 37 |
+
# GB18030 is a superset of GB2312, so we can reuse GB2312's
|
| 38 |
+
# character distribution analysis for the 2-byte sequences
|
| 39 |
+
self.distribution_analyzer = GB2312DistributionAnalysis()
|
| 40 |
+
self.reset()
|
| 41 |
+
|
| 42 |
+
@property
|
| 43 |
+
def charset_name(self) -> str:
|
| 44 |
+
return "GB18030"
|
| 45 |
+
|
| 46 |
+
@property
|
| 47 |
+
def language(self) -> str:
|
| 48 |
+
return "Chinese"
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/gb2312freq.py
ADDED
|
@@ -0,0 +1,283 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is Mozilla Communicator client code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
# GB2312 most frequently used character table
|
| 28 |
+
#
|
| 29 |
+
# Char to FreqOrder table , from hz6763
|
| 30 |
+
|
| 31 |
+
# 512 --> 0.79 -- 0.79
|
| 32 |
+
# 1024 --> 0.92 -- 0.13
|
| 33 |
+
# 2048 --> 0.98 -- 0.06
|
| 34 |
+
# 6768 --> 1.00 -- 0.02
|
| 35 |
+
#
|
| 36 |
+
# Ideal Distribution Ratio = 0.79135/(1-0.79135) = 3.79
|
| 37 |
+
# Random Distribution Ration = 512 / (3755 - 512) = 0.157
|
| 38 |
+
#
|
| 39 |
+
# Typical Distribution Ratio about 25% of Ideal one, still much higher that RDR
|
| 40 |
+
|
| 41 |
+
GB2312_TYPICAL_DISTRIBUTION_RATIO = 0.9
|
| 42 |
+
|
| 43 |
+
GB2312_TABLE_SIZE = 3760
|
| 44 |
+
|
| 45 |
+
# fmt: off
|
| 46 |
+
GB2312_CHAR_TO_FREQ_ORDER = (
|
| 47 |
+
1671, 749,1443,2364,3924,3807,2330,3921,1704,3463,2691,1511,1515, 572,3191,2205,
|
| 48 |
+
2361, 224,2558, 479,1711, 963,3162, 440,4060,1905,2966,2947,3580,2647,3961,3842,
|
| 49 |
+
2204, 869,4207, 970,2678,5626,2944,2956,1479,4048, 514,3595, 588,1346,2820,3409,
|
| 50 |
+
249,4088,1746,1873,2047,1774, 581,1813, 358,1174,3590,1014,1561,4844,2245, 670,
|
| 51 |
+
1636,3112, 889,1286, 953, 556,2327,3060,1290,3141, 613, 185,3477,1367, 850,3820,
|
| 52 |
+
1715,2428,2642,2303,2732,3041,2562,2648,3566,3946,1349, 388,3098,2091,1360,3585,
|
| 53 |
+
152,1687,1539, 738,1559, 59,1232,2925,2267,1388,1249,1741,1679,2960, 151,1566,
|
| 54 |
+
1125,1352,4271, 924,4296, 385,3166,4459, 310,1245,2850, 70,3285,2729,3534,3575,
|
| 55 |
+
2398,3298,3466,1960,2265, 217,3647, 864,1909,2084,4401,2773,1010,3269,5152, 853,
|
| 56 |
+
3051,3121,1244,4251,1895, 364,1499,1540,2313,1180,3655,2268, 562, 715,2417,3061,
|
| 57 |
+
544, 336,3768,2380,1752,4075, 950, 280,2425,4382, 183,2759,3272, 333,4297,2155,
|
| 58 |
+
1688,2356,1444,1039,4540, 736,1177,3349,2443,2368,2144,2225, 565, 196,1482,3406,
|
| 59 |
+
927,1335,4147, 692, 878,1311,1653,3911,3622,1378,4200,1840,2969,3149,2126,1816,
|
| 60 |
+
2534,1546,2393,2760, 737,2494, 13, 447, 245,2747, 38,2765,2129,2589,1079, 606,
|
| 61 |
+
360, 471,3755,2890, 404, 848, 699,1785,1236, 370,2221,1023,3746,2074,2026,2023,
|
| 62 |
+
2388,1581,2119, 812,1141,3091,2536,1519, 804,2053, 406,1596,1090, 784, 548,4414,
|
| 63 |
+
1806,2264,2936,1100, 343,4114,5096, 622,3358, 743,3668,1510,1626,5020,3567,2513,
|
| 64 |
+
3195,4115,5627,2489,2991, 24,2065,2697,1087,2719, 48,1634, 315, 68, 985,2052,
|
| 65 |
+
198,2239,1347,1107,1439, 597,2366,2172, 871,3307, 919,2487,2790,1867, 236,2570,
|
| 66 |
+
1413,3794, 906,3365,3381,1701,1982,1818,1524,2924,1205, 616,2586,2072,2004, 575,
|
| 67 |
+
253,3099, 32,1365,1182, 197,1714,2454,1201, 554,3388,3224,2748, 756,2587, 250,
|
| 68 |
+
2567,1507,1517,3529,1922,2761,2337,3416,1961,1677,2452,2238,3153, 615, 911,1506,
|
| 69 |
+
1474,2495,1265,1906,2749,3756,3280,2161, 898,2714,1759,3450,2243,2444, 563, 26,
|
| 70 |
+
3286,2266,3769,3344,2707,3677, 611,1402, 531,1028,2871,4548,1375, 261,2948, 835,
|
| 71 |
+
1190,4134, 353, 840,2684,1900,3082,1435,2109,1207,1674, 329,1872,2781,4055,2686,
|
| 72 |
+
2104, 608,3318,2423,2957,2768,1108,3739,3512,3271,3985,2203,1771,3520,1418,2054,
|
| 73 |
+
1681,1153, 225,1627,2929, 162,2050,2511,3687,1954, 124,1859,2431,1684,3032,2894,
|
| 74 |
+
585,4805,3969,2869,2704,2088,2032,2095,3656,2635,4362,2209, 256, 518,2042,2105,
|
| 75 |
+
3777,3657, 643,2298,1148,1779, 190, 989,3544, 414, 11,2135,2063,2979,1471, 403,
|
| 76 |
+
3678, 126, 770,1563, 671,2499,3216,2877, 600,1179, 307,2805,4937,1268,1297,2694,
|
| 77 |
+
252,4032,1448,1494,1331,1394, 127,2256, 222,1647,1035,1481,3056,1915,1048, 873,
|
| 78 |
+
3651, 210, 33,1608,2516, 200,1520, 415, 102, 0,3389,1287, 817, 91,3299,2940,
|
| 79 |
+
836,1814, 549,2197,1396,1669,2987,3582,2297,2848,4528,1070, 687, 20,1819, 121,
|
| 80 |
+
1552,1364,1461,1968,2617,3540,2824,2083, 177, 948,4938,2291, 110,4549,2066, 648,
|
| 81 |
+
3359,1755,2110,2114,4642,4845,1693,3937,3308,1257,1869,2123, 208,1804,3159,2992,
|
| 82 |
+
2531,2549,3361,2418,1350,2347,2800,2568,1291,2036,2680, 72, 842,1990, 212,1233,
|
| 83 |
+
1154,1586, 75,2027,3410,4900,1823,1337,2710,2676, 728,2810,1522,3026,4995, 157,
|
| 84 |
+
755,1050,4022, 710, 785,1936,2194,2085,1406,2777,2400, 150,1250,4049,1206, 807,
|
| 85 |
+
1910, 534, 529,3309,1721,1660, 274, 39,2827, 661,2670,1578, 925,3248,3815,1094,
|
| 86 |
+
4278,4901,4252, 41,1150,3747,2572,2227,4501,3658,4902,3813,3357,3617,2884,2258,
|
| 87 |
+
887, 538,4187,3199,1294,2439,3042,2329,2343,2497,1255, 107, 543,1527, 521,3478,
|
| 88 |
+
3568, 194,5062, 15, 961,3870,1241,1192,2664, 66,5215,3260,2111,1295,1127,2152,
|
| 89 |
+
3805,4135, 901,1164,1976, 398,1278, 530,1460, 748, 904,1054,1966,1426, 53,2909,
|
| 90 |
+
509, 523,2279,1534, 536,1019, 239,1685, 460,2353, 673,1065,2401,3600,4298,2272,
|
| 91 |
+
1272,2363, 284,1753,3679,4064,1695, 81, 815,2677,2757,2731,1386, 859, 500,4221,
|
| 92 |
+
2190,2566, 757,1006,2519,2068,1166,1455, 337,2654,3203,1863,1682,1914,3025,1252,
|
| 93 |
+
1409,1366, 847, 714,2834,2038,3209, 964,2970,1901, 885,2553,1078,1756,3049, 301,
|
| 94 |
+
1572,3326, 688,2130,1996,2429,1805,1648,2930,3421,2750,3652,3088, 262,1158,1254,
|
| 95 |
+
389,1641,1812, 526,1719, 923,2073,1073,1902, 468, 489,4625,1140, 857,2375,3070,
|
| 96 |
+
3319,2863, 380, 116,1328,2693,1161,2244, 273,1212,1884,2769,3011,1775,1142, 461,
|
| 97 |
+
3066,1200,2147,2212, 790, 702,2695,4222,1601,1058, 434,2338,5153,3640, 67,2360,
|
| 98 |
+
4099,2502, 618,3472,1329, 416,1132, 830,2782,1807,2653,3211,3510,1662, 192,2124,
|
| 99 |
+
296,3979,1739,1611,3684, 23, 118, 324, 446,1239,1225, 293,2520,3814,3795,2535,
|
| 100 |
+
3116, 17,1074, 467,2692,2201, 387,2922, 45,1326,3055,1645,3659,2817, 958, 243,
|
| 101 |
+
1903,2320,1339,2825,1784,3289, 356, 576, 865,2315,2381,3377,3916,1088,3122,1713,
|
| 102 |
+
1655, 935, 628,4689,1034,1327, 441, 800, 720, 894,1979,2183,1528,5289,2702,1071,
|
| 103 |
+
4046,3572,2399,1571,3281, 79, 761,1103, 327, 134, 758,1899,1371,1615, 879, 442,
|
| 104 |
+
215,2605,2579, 173,2048,2485,1057,2975,3317,1097,2253,3801,4263,1403,1650,2946,
|
| 105 |
+
814,4968,3487,1548,2644,1567,1285, 2, 295,2636, 97, 946,3576, 832, 141,4257,
|
| 106 |
+
3273, 760,3821,3521,3156,2607, 949,1024,1733,1516,1803,1920,2125,2283,2665,3180,
|
| 107 |
+
1501,2064,3560,2171,1592, 803,3518,1416, 732,3897,4258,1363,1362,2458, 119,1427,
|
| 108 |
+
602,1525,2608,1605,1639,3175, 694,3064, 10, 465, 76,2000,4846,4208, 444,3781,
|
| 109 |
+
1619,3353,2206,1273,3796, 740,2483, 320,1723,2377,3660,2619,1359,1137,1762,1724,
|
| 110 |
+
2345,2842,1850,1862, 912, 821,1866, 612,2625,1735,2573,3369,1093, 844, 89, 937,
|
| 111 |
+
930,1424,3564,2413,2972,1004,3046,3019,2011, 711,3171,1452,4178, 428, 801,1943,
|
| 112 |
+
432, 445,2811, 206,4136,1472, 730, 349, 73, 397,2802,2547, 998,1637,1167, 789,
|
| 113 |
+
396,3217, 154,1218, 716,1120,1780,2819,4826,1931,3334,3762,2139,1215,2627, 552,
|
| 114 |
+
3664,3628,3232,1405,2383,3111,1356,2652,3577,3320,3101,1703, 640,1045,1370,1246,
|
| 115 |
+
4996, 371,1575,2436,1621,2210, 984,4033,1734,2638, 16,4529, 663,2755,3255,1451,
|
| 116 |
+
3917,2257,1253,1955,2234,1263,2951, 214,1229, 617, 485, 359,1831,1969, 473,2310,
|
| 117 |
+
750,2058, 165, 80,2864,2419, 361,4344,2416,2479,1134, 796,3726,1266,2943, 860,
|
| 118 |
+
2715, 938, 390,2734,1313,1384, 248, 202, 877,1064,2854, 522,3907, 279,1602, 297,
|
| 119 |
+
2357, 395,3740, 137,2075, 944,4089,2584,1267,3802, 62,1533,2285, 178, 176, 780,
|
| 120 |
+
2440, 201,3707, 590, 478,1560,4354,2117,1075, 30, 74,4643,4004,1635,1441,2745,
|
| 121 |
+
776,2596, 238,1077,1692,1912,2844, 605, 499,1742,3947, 241,3053, 980,1749, 936,
|
| 122 |
+
2640,4511,2582, 515,1543,2162,5322,2892,2993, 890,2148,1924, 665,1827,3581,1032,
|
| 123 |
+
968,3163, 339,1044,1896, 270, 583,1791,1720,4367,1194,3488,3669, 43,2523,1657,
|
| 124 |
+
163,2167, 290,1209,1622,3378, 550, 634,2508,2510, 695,2634,2384,2512,1476,1414,
|
| 125 |
+
220,1469,2341,2138,2852,3183,2900,4939,2865,3502,1211,3680, 854,3227,1299,2976,
|
| 126 |
+
3172, 186,2998,1459, 443,1067,3251,1495, 321,1932,3054, 909, 753,1410,1828, 436,
|
| 127 |
+
2441,1119,1587,3164,2186,1258, 227, 231,1425,1890,3200,3942, 247, 959, 725,5254,
|
| 128 |
+
2741, 577,2158,2079, 929, 120, 174, 838,2813, 591,1115, 417,2024, 40,3240,1536,
|
| 129 |
+
1037, 291,4151,2354, 632,1298,2406,2500,3535,1825,1846,3451, 205,1171, 345,4238,
|
| 130 |
+
18,1163, 811, 685,2208,1217, 425,1312,1508,1175,4308,2552,1033, 587,1381,3059,
|
| 131 |
+
2984,3482, 340,1316,4023,3972, 792,3176, 519, 777,4690, 918, 933,4130,2981,3741,
|
| 132 |
+
90,3360,2911,2200,5184,4550, 609,3079,2030, 272,3379,2736, 363,3881,1130,1447,
|
| 133 |
+
286, 779, 357,1169,3350,3137,1630,1220,2687,2391, 747,1277,3688,2618,2682,2601,
|
| 134 |
+
1156,3196,5290,4034,3102,1689,3596,3128, 874, 219,2783, 798, 508,1843,2461, 269,
|
| 135 |
+
1658,1776,1392,1913,2983,3287,2866,2159,2372, 829,4076, 46,4253,2873,1889,1894,
|
| 136 |
+
915,1834,1631,2181,2318, 298, 664,2818,3555,2735, 954,3228,3117, 527,3511,2173,
|
| 137 |
+
681,2712,3033,2247,2346,3467,1652, 155,2164,3382, 113,1994, 450, 899, 494, 994,
|
| 138 |
+
1237,2958,1875,2336,1926,3727, 545,1577,1550, 633,3473, 204,1305,3072,2410,1956,
|
| 139 |
+
2471, 707,2134, 841,2195,2196,2663,3843,1026,4940, 990,3252,4997, 368,1092, 437,
|
| 140 |
+
3212,3258,1933,1829, 675,2977,2893, 412, 943,3723,4644,3294,3283,2230,2373,5154,
|
| 141 |
+
2389,2241,2661,2323,1404,2524, 593, 787, 677,3008,1275,2059, 438,2709,2609,2240,
|
| 142 |
+
2269,2246,1446, 36,1568,1373,3892,1574,2301,1456,3962, 693,2276,5216,2035,1143,
|
| 143 |
+
2720,1919,1797,1811,2763,4137,2597,1830,1699,1488,1198,2090, 424,1694, 312,3634,
|
| 144 |
+
3390,4179,3335,2252,1214, 561,1059,3243,2295,2561, 975,5155,2321,2751,3772, 472,
|
| 145 |
+
1537,3282,3398,1047,2077,2348,2878,1323,3340,3076, 690,2906, 51, 369, 170,3541,
|
| 146 |
+
1060,2187,2688,3670,2541,1083,1683, 928,3918, 459, 109,4427, 599,3744,4286, 143,
|
| 147 |
+
2101,2730,2490, 82,1588,3036,2121, 281,1860, 477,4035,1238,2812,3020,2716,3312,
|
| 148 |
+
1530,2188,2055,1317, 843, 636,1808,1173,3495, 649, 181,1002, 147,3641,1159,2414,
|
| 149 |
+
3750,2289,2795, 813,3123,2610,1136,4368, 5,3391,4541,2174, 420, 429,1728, 754,
|
| 150 |
+
1228,2115,2219, 347,2223,2733, 735,1518,3003,2355,3134,1764,3948,3329,1888,2424,
|
| 151 |
+
1001,1234,1972,3321,3363,1672,1021,1450,1584, 226, 765, 655,2526,3404,3244,2302,
|
| 152 |
+
3665, 731, 594,2184, 319,1576, 621, 658,2656,4299,2099,3864,1279,2071,2598,2739,
|
| 153 |
+
795,3086,3699,3908,1707,2352,2402,1382,3136,2475,1465,4847,3496,3865,1085,3004,
|
| 154 |
+
2591,1084, 213,2287,1963,3565,2250, 822, 793,4574,3187,1772,1789,3050, 595,1484,
|
| 155 |
+
1959,2770,1080,2650, 456, 422,2996, 940,3322,4328,4345,3092,2742, 965,2784, 739,
|
| 156 |
+
4124, 952,1358,2498,2949,2565, 332,2698,2378, 660,2260,2473,4194,3856,2919, 535,
|
| 157 |
+
1260,2651,1208,1428,1300,1949,1303,2942, 433,2455,2450,1251,1946, 614,1269, 641,
|
| 158 |
+
1306,1810,2737,3078,2912, 564,2365,1419,1415,1497,4460,2367,2185,1379,3005,1307,
|
| 159 |
+
3218,2175,1897,3063, 682,1157,4040,4005,1712,1160,1941,1399, 394, 402,2952,1573,
|
| 160 |
+
1151,2986,2404, 862, 299,2033,1489,3006, 346, 171,2886,3401,1726,2932, 168,2533,
|
| 161 |
+
47,2507,1030,3735,1145,3370,1395,1318,1579,3609,4560,2857,4116,1457,2529,1965,
|
| 162 |
+
504,1036,2690,2988,2405, 745,5871, 849,2397,2056,3081, 863,2359,3857,2096, 99,
|
| 163 |
+
1397,1769,2300,4428,1643,3455,1978,1757,3718,1440, 35,4879,3742,1296,4228,2280,
|
| 164 |
+
160,5063,1599,2013, 166, 520,3479,1646,3345,3012, 490,1937,1545,1264,2182,2505,
|
| 165 |
+
1096,1188,1369,1436,2421,1667,2792,2460,1270,2122, 727,3167,2143, 806,1706,1012,
|
| 166 |
+
1800,3037, 960,2218,1882, 805, 139,2456,1139,1521, 851,1052,3093,3089, 342,2039,
|
| 167 |
+
744,5097,1468,1502,1585,2087, 223, 939, 326,2140,2577, 892,2481,1623,4077, 982,
|
| 168 |
+
3708, 135,2131, 87,2503,3114,2326,1106, 876,1616, 547,2997,2831,2093,3441,4530,
|
| 169 |
+
4314, 9,3256,4229,4148, 659,1462,1986,1710,2046,2913,2231,4090,4880,5255,3392,
|
| 170 |
+
3274,1368,3689,4645,1477, 705,3384,3635,1068,1529,2941,1458,3782,1509, 100,1656,
|
| 171 |
+
2548, 718,2339, 408,1590,2780,3548,1838,4117,3719,1345,3530, 717,3442,2778,3220,
|
| 172 |
+
2898,1892,4590,3614,3371,2043,1998,1224,3483, 891, 635, 584,2559,3355, 733,1766,
|
| 173 |
+
1729,1172,3789,1891,2307, 781,2982,2271,1957,1580,5773,2633,2005,4195,3097,1535,
|
| 174 |
+
3213,1189,1934,5693,3262, 586,3118,1324,1598, 517,1564,2217,1868,1893,4445,3728,
|
| 175 |
+
2703,3139,1526,1787,1992,3882,2875,1549,1199,1056,2224,1904,2711,5098,4287, 338,
|
| 176 |
+
1993,3129,3489,2689,1809,2815,1997, 957,1855,3898,2550,3275,3057,1105,1319, 627,
|
| 177 |
+
1505,1911,1883,3526, 698,3629,3456,1833,1431, 746, 77,1261,2017,2296,1977,1885,
|
| 178 |
+
125,1334,1600, 525,1798,1109,2222,1470,1945, 559,2236,1186,3443,2476,1929,1411,
|
| 179 |
+
2411,3135,1777,3372,2621,1841,1613,3229, 668,1430,1839,2643,2916, 195,1989,2671,
|
| 180 |
+
2358,1387, 629,3205,2293,5256,4439, 123,1310, 888,1879,4300,3021,3605,1003,1162,
|
| 181 |
+
3192,2910,2010, 140,2395,2859, 55,1082,2012,2901, 662, 419,2081,1438, 680,2774,
|
| 182 |
+
4654,3912,1620,1731,1625,5035,4065,2328, 512,1344, 802,5443,2163,2311,2537, 524,
|
| 183 |
+
3399, 98,1155,2103,1918,2606,3925,2816,1393,2465,1504,3773,2177,3963,1478,4346,
|
| 184 |
+
180,1113,4655,3461,2028,1698, 833,2696,1235,1322,1594,4408,3623,3013,3225,2040,
|
| 185 |
+
3022, 541,2881, 607,3632,2029,1665,1219, 639,1385,1686,1099,2803,3231,1938,3188,
|
| 186 |
+
2858, 427, 676,2772,1168,2025, 454,3253,2486,3556, 230,1950, 580, 791,1991,1280,
|
| 187 |
+
1086,1974,2034, 630, 257,3338,2788,4903,1017, 86,4790, 966,2789,1995,1696,1131,
|
| 188 |
+
259,3095,4188,1308, 179,1463,5257, 289,4107,1248, 42,3413,1725,2288, 896,1947,
|
| 189 |
+
774,4474,4254, 604,3430,4264, 392,2514,2588, 452, 237,1408,3018, 988,4531,1970,
|
| 190 |
+
3034,3310, 540,2370,1562,1288,2990, 502,4765,1147, 4,1853,2708, 207, 294,2814,
|
| 191 |
+
4078,2902,2509, 684, 34,3105,3532,2551, 644, 709,2801,2344, 573,1727,3573,3557,
|
| 192 |
+
2021,1081,3100,4315,2100,3681, 199,2263,1837,2385, 146,3484,1195,2776,3949, 997,
|
| 193 |
+
1939,3973,1008,1091,1202,1962,1847,1149,4209,5444,1076, 493, 117,5400,2521, 972,
|
| 194 |
+
1490,2934,1796,4542,2374,1512,2933,2657, 413,2888,1135,2762,2314,2156,1355,2369,
|
| 195 |
+
766,2007,2527,2170,3124,2491,2593,2632,4757,2437, 234,3125,3591,1898,1750,1376,
|
| 196 |
+
1942,3468,3138, 570,2127,2145,3276,4131, 962, 132,1445,4196, 19, 941,3624,3480,
|
| 197 |
+
3366,1973,1374,4461,3431,2629, 283,2415,2275, 808,2887,3620,2112,2563,1353,3610,
|
| 198 |
+
955,1089,3103,1053, 96, 88,4097, 823,3808,1583, 399, 292,4091,3313, 421,1128,
|
| 199 |
+
642,4006, 903,2539,1877,2082, 596, 29,4066,1790, 722,2157, 130, 995,1569, 769,
|
| 200 |
+
1485, 464, 513,2213, 288,1923,1101,2453,4316, 133, 486,2445, 50, 625, 487,2207,
|
| 201 |
+
57, 423, 481,2962, 159,3729,1558, 491, 303, 482, 501, 240,2837, 112,3648,2392,
|
| 202 |
+
1783, 362, 8,3433,3422, 610,2793,3277,1390,1284,1654, 21,3823, 734, 367, 623,
|
| 203 |
+
193, 287, 374,1009,1483, 816, 476, 313,2255,2340,1262,2150,2899,1146,2581, 782,
|
| 204 |
+
2116,1659,2018,1880, 255,3586,3314,1110,2867,2137,2564, 986,2767,5185,2006, 650,
|
| 205 |
+
158, 926, 762, 881,3157,2717,2362,3587, 306,3690,3245,1542,3077,2427,1691,2478,
|
| 206 |
+
2118,2985,3490,2438, 539,2305, 983, 129,1754, 355,4201,2386, 827,2923, 104,1773,
|
| 207 |
+
2838,2771, 411,2905,3919, 376, 767, 122,1114, 828,2422,1817,3506, 266,3460,1007,
|
| 208 |
+
1609,4998, 945,2612,4429,2274, 726,1247,1964,2914,2199,2070,4002,4108, 657,3323,
|
| 209 |
+
1422, 579, 455,2764,4737,1222,2895,1670, 824,1223,1487,2525, 558, 861,3080, 598,
|
| 210 |
+
2659,2515,1967, 752,2583,2376,2214,4180, 977, 704,2464,4999,2622,4109,1210,2961,
|
| 211 |
+
819,1541, 142,2284, 44, 418, 457,1126,3730,4347,4626,1644,1876,3671,1864, 302,
|
| 212 |
+
1063,5694, 624, 723,1984,3745,1314,1676,2488,1610,1449,3558,3569,2166,2098, 409,
|
| 213 |
+
1011,2325,3704,2306, 818,1732,1383,1824,1844,3757, 999,2705,3497,1216,1423,2683,
|
| 214 |
+
2426,2954,2501,2726,2229,1475,2554,5064,1971,1794,1666,2014,1343, 783, 724, 191,
|
| 215 |
+
2434,1354,2220,5065,1763,2752,2472,4152, 131, 175,2885,3434, 92,1466,4920,2616,
|
| 216 |
+
3871,3872,3866, 128,1551,1632, 669,1854,3682,4691,4125,1230, 188,2973,3290,1302,
|
| 217 |
+
1213, 560,3266, 917, 763,3909,3249,1760, 868,1958, 764,1782,2097, 145,2277,3774,
|
| 218 |
+
4462, 64,1491,3062, 971,2132,3606,2442, 221,1226,1617, 218, 323,1185,3207,3147,
|
| 219 |
+
571, 619,1473,1005,1744,2281, 449,1887,2396,3685, 275, 375,3816,1743,3844,3731,
|
| 220 |
+
845,1983,2350,4210,1377, 773, 967,3499,3052,3743,2725,4007,1697,1022,3943,1464,
|
| 221 |
+
3264,2855,2722,1952,1029,2839,2467, 84,4383,2215, 820,1391,2015,2448,3672, 377,
|
| 222 |
+
1948,2168, 797,2545,3536,2578,2645, 94,2874,1678, 405,1259,3071, 771, 546,1315,
|
| 223 |
+
470,1243,3083, 895,2468, 981, 969,2037, 846,4181, 653,1276,2928, 14,2594, 557,
|
| 224 |
+
3007,2474, 156, 902,1338,1740,2574, 537,2518, 973,2282,2216,2433,1928, 138,2903,
|
| 225 |
+
1293,2631,1612, 646,3457, 839,2935, 111, 496,2191,2847, 589,3186, 149,3994,2060,
|
| 226 |
+
4031,2641,4067,3145,1870, 37,3597,2136,1025,2051,3009,3383,3549,1121,1016,3261,
|
| 227 |
+
1301, 251,2446,2599,2153, 872,3246, 637, 334,3705, 831, 884, 921,3065,3140,4092,
|
| 228 |
+
2198,1944, 246,2964, 108,2045,1152,1921,2308,1031, 203,3173,4170,1907,3890, 810,
|
| 229 |
+
1401,2003,1690, 506, 647,1242,2828,1761,1649,3208,2249,1589,3709,2931,5156,1708,
|
| 230 |
+
498, 666,2613, 834,3817,1231, 184,2851,1124, 883,3197,2261,3710,1765,1553,2658,
|
| 231 |
+
1178,2639,2351, 93,1193, 942,2538,2141,4402, 235,1821, 870,1591,2192,1709,1871,
|
| 232 |
+
3341,1618,4126,2595,2334, 603, 651, 69, 701, 268,2662,3411,2555,1380,1606, 503,
|
| 233 |
+
448, 254,2371,2646, 574,1187,2309,1770, 322,2235,1292,1801, 305, 566,1133, 229,
|
| 234 |
+
2067,2057, 706, 167, 483,2002,2672,3295,1820,3561,3067, 316, 378,2746,3452,1112,
|
| 235 |
+
136,1981, 507,1651,2917,1117, 285,4591, 182,2580,3522,1304, 335,3303,1835,2504,
|
| 236 |
+
1795,1792,2248, 674,1018,2106,2449,1857,2292,2845, 976,3047,1781,2600,2727,1389,
|
| 237 |
+
1281, 52,3152, 153, 265,3950, 672,3485,3951,4463, 430,1183, 365, 278,2169, 27,
|
| 238 |
+
1407,1336,2304, 209,1340,1730,2202,1852,2403,2883, 979,1737,1062, 631,2829,2542,
|
| 239 |
+
3876,2592, 825,2086,2226,3048,3625, 352,1417,3724, 542, 991, 431,1351,3938,1861,
|
| 240 |
+
2294, 826,1361,2927,3142,3503,1738, 463,2462,2723, 582,1916,1595,2808, 400,3845,
|
| 241 |
+
3891,2868,3621,2254, 58,2492,1123, 910,2160,2614,1372,1603,1196,1072,3385,1700,
|
| 242 |
+
3267,1980, 696, 480,2430, 920, 799,1570,2920,1951,2041,4047,2540,1321,4223,2469,
|
| 243 |
+
3562,2228,1271,2602, 401,2833,3351,2575,5157, 907,2312,1256, 410, 263,3507,1582,
|
| 244 |
+
996, 678,1849,2316,1480, 908,3545,2237, 703,2322, 667,1826,2849,1531,2604,2999,
|
| 245 |
+
2407,3146,2151,2630,1786,3711, 469,3542, 497,3899,2409, 858, 837,4446,3393,1274,
|
| 246 |
+
786, 620,1845,2001,3311, 484, 308,3367,1204,1815,3691,2332,1532,2557,1842,2020,
|
| 247 |
+
2724,1927,2333,4440, 567, 22,1673,2728,4475,1987,1858,1144,1597, 101,1832,3601,
|
| 248 |
+
12, 974,3783,4391, 951,1412, 1,3720, 453,4608,4041, 528,1041,1027,3230,2628,
|
| 249 |
+
1129, 875,1051,3291,1203,2262,1069,2860,2799,2149,2615,3278, 144,1758,3040, 31,
|
| 250 |
+
475,1680, 366,2685,3184, 311,1642,4008,2466,5036,1593,1493,2809, 216,1420,1668,
|
| 251 |
+
233, 304,2128,3284, 232,1429,1768,1040,2008,3407,2740,2967,2543, 242,2133, 778,
|
| 252 |
+
1565,2022,2620, 505,2189,2756,1098,2273, 372,1614, 708, 553,2846,2094,2278, 169,
|
| 253 |
+
3626,2835,4161, 228,2674,3165, 809,1454,1309, 466,1705,1095, 900,3423, 880,2667,
|
| 254 |
+
3751,5258,2317,3109,2571,4317,2766,1503,1342, 866,4447,1118, 63,2076, 314,1881,
|
| 255 |
+
1348,1061, 172, 978,3515,1747, 532, 511,3970, 6, 601, 905,2699,3300,1751, 276,
|
| 256 |
+
1467,3725,2668, 65,4239,2544,2779,2556,1604, 578,2451,1802, 992,2331,2624,1320,
|
| 257 |
+
3446, 713,1513,1013, 103,2786,2447,1661, 886,1702, 916, 654,3574,2031,1556, 751,
|
| 258 |
+
2178,2821,2179,1498,1538,2176, 271, 914,2251,2080,1325, 638,1953,2937,3877,2432,
|
| 259 |
+
2754, 95,3265,1716, 260,1227,4083, 775, 106,1357,3254, 426,1607, 555,2480, 772,
|
| 260 |
+
1985, 244,2546, 474, 495,1046,2611,1851,2061, 71,2089,1675,2590, 742,3758,2843,
|
| 261 |
+
3222,1433, 267,2180,2576,2826,2233,2092,3913,2435, 956,1745,3075, 856,2113,1116,
|
| 262 |
+
451, 3,1988,2896,1398, 993,2463,1878,2049,1341,2718,2721,2870,2108, 712,2904,
|
| 263 |
+
4363,2753,2324, 277,2872,2349,2649, 384, 987, 435, 691,3000, 922, 164,3939, 652,
|
| 264 |
+
1500,1184,4153,2482,3373,2165,4848,2335,3775,3508,3154,2806,2830,1554,2102,1664,
|
| 265 |
+
2530,1434,2408, 893,1547,2623,3447,2832,2242,2532,3169,2856,3223,2078, 49,3770,
|
| 266 |
+
3469, 462, 318, 656,2259,3250,3069, 679,1629,2758, 344,1138,1104,3120,1836,1283,
|
| 267 |
+
3115,2154,1437,4448, 934, 759,1999, 794,2862,1038, 533,2560,1722,2342, 855,2626,
|
| 268 |
+
1197,1663,4476,3127, 85,4240,2528, 25,1111,1181,3673, 407,3470,4561,2679,2713,
|
| 269 |
+
768,1925,2841,3986,1544,1165, 932, 373,1240,2146,1930,2673, 721,4766, 354,4333,
|
| 270 |
+
391,2963, 187, 61,3364,1442,1102, 330,1940,1767, 341,3809,4118, 393,2496,2062,
|
| 271 |
+
2211, 105, 331, 300, 439, 913,1332, 626, 379,3304,1557, 328, 689,3952, 309,1555,
|
| 272 |
+
931, 317,2517,3027, 325, 569, 686,2107,3084, 60,1042,1333,2794, 264,3177,4014,
|
| 273 |
+
1628, 258,3712, 7,4464,1176,1043,1778, 683, 114,1975, 78,1492, 383,1886, 510,
|
| 274 |
+
386, 645,5291,2891,2069,3305,4138,3867,2939,2603,2493,1935,1066,1848,3588,1015,
|
| 275 |
+
1282,1289,4609, 697,1453,3044,2666,3611,1856,2412, 54, 719,1330, 568,3778,2459,
|
| 276 |
+
1748, 788, 492, 551,1191,1000, 488,3394,3763, 282,1799, 348,2016,1523,3155,2390,
|
| 277 |
+
1049, 382,2019,1788,1170, 729,2968,3523, 897,3926,2785,2938,3292, 350,2319,3238,
|
| 278 |
+
1718,1717,2655,3453,3143,4465, 161,2889,2980,2009,1421, 56,1908,1640,2387,2232,
|
| 279 |
+
1917,1874,2477,4921, 148, 83,3438, 592,4245,2882,1822,1055, 741, 115,1496,1624,
|
| 280 |
+
381,1638,4592,1020, 516,3214, 458, 947,4575,1432, 211,1514,2926,1865,2142, 189,
|
| 281 |
+
852,1221,1400,1486, 882,2299,4036, 351, 28,1122, 700,6479,6480,6481,6482,6483, #last 512
|
| 282 |
+
)
|
| 283 |
+
# fmt: on
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/hebrewprober.py
ADDED
|
@@ -0,0 +1,315 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is Mozilla Universal charset detector code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Shy Shalom
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 2005
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
from typing import Optional, Union
|
| 28 |
+
|
| 29 |
+
from .charsetprober import CharSetProber
|
| 30 |
+
from .enums import ProbingState
|
| 31 |
+
from .sbcharsetprober import SingleByteCharSetProber
|
| 32 |
+
|
| 33 |
+
# This prober doesn't actually recognize a language or a charset.
|
| 34 |
+
# It is a helper prober for the use of the Hebrew model probers
|
| 35 |
+
|
| 36 |
+
### General ideas of the Hebrew charset recognition ###
|
| 37 |
+
#
|
| 38 |
+
# Four main charsets exist in Hebrew:
|
| 39 |
+
# "ISO-8859-8" - Visual Hebrew
|
| 40 |
+
# "windows-1255" - Logical Hebrew
|
| 41 |
+
# "ISO-8859-8-I" - Logical Hebrew
|
| 42 |
+
# "x-mac-hebrew" - ?? Logical Hebrew ??
|
| 43 |
+
#
|
| 44 |
+
# Both "ISO" charsets use a completely identical set of code points, whereas
|
| 45 |
+
# "windows-1255" and "x-mac-hebrew" are two different proper supersets of
|
| 46 |
+
# these code points. windows-1255 defines additional characters in the range
|
| 47 |
+
# 0x80-0x9F as some misc punctuation marks as well as some Hebrew-specific
|
| 48 |
+
# diacritics and additional 'Yiddish' ligature letters in the range 0xc0-0xd6.
|
| 49 |
+
# x-mac-hebrew defines similar additional code points but with a different
|
| 50 |
+
# mapping.
|
| 51 |
+
#
|
| 52 |
+
# As far as an average Hebrew text with no diacritics is concerned, all four
|
| 53 |
+
# charsets are identical with respect to code points. Meaning that for the
|
| 54 |
+
# main Hebrew alphabet, all four map the same values to all 27 Hebrew letters
|
| 55 |
+
# (including final letters).
|
| 56 |
+
#
|
| 57 |
+
# The dominant difference between these charsets is their directionality.
|
| 58 |
+
# "Visual" directionality means that the text is ordered as if the renderer is
|
| 59 |
+
# not aware of a BIDI rendering algorithm. The renderer sees the text and
|
| 60 |
+
# draws it from left to right. The text itself when ordered naturally is read
|
| 61 |
+
# backwards. A buffer of Visual Hebrew generally looks like so:
|
| 62 |
+
# "[last word of first line spelled backwards] [whole line ordered backwards
|
| 63 |
+
# and spelled backwards] [first word of first line spelled backwards]
|
| 64 |
+
# [end of line] [last word of second line] ... etc' "
|
| 65 |
+
# adding punctuation marks, numbers and English text to visual text is
|
| 66 |
+
# naturally also "visual" and from left to right.
|
| 67 |
+
#
|
| 68 |
+
# "Logical" directionality means the text is ordered "naturally" according to
|
| 69 |
+
# the order it is read. It is the responsibility of the renderer to display
|
| 70 |
+
# the text from right to left. A BIDI algorithm is used to place general
|
| 71 |
+
# punctuation marks, numbers and English text in the text.
|
| 72 |
+
#
|
| 73 |
+
# Texts in x-mac-hebrew are almost impossible to find on the Internet. From
|
| 74 |
+
# what little evidence I could find, it seems that its general directionality
|
| 75 |
+
# is Logical.
|
| 76 |
+
#
|
| 77 |
+
# To sum up all of the above, the Hebrew probing mechanism knows about two
|
| 78 |
+
# charsets:
|
| 79 |
+
# Visual Hebrew - "ISO-8859-8" - backwards text - Words and sentences are
|
| 80 |
+
# backwards while line order is natural. For charset recognition purposes
|
| 81 |
+
# the line order is unimportant (In fact, for this implementation, even
|
| 82 |
+
# word order is unimportant).
|
| 83 |
+
# Logical Hebrew - "windows-1255" - normal, naturally ordered text.
|
| 84 |
+
#
|
| 85 |
+
# "ISO-8859-8-I" is a subset of windows-1255 and doesn't need to be
|
| 86 |
+
# specifically identified.
|
| 87 |
+
# "x-mac-hebrew" is also identified as windows-1255. A text in x-mac-hebrew
|
| 88 |
+
# that contain special punctuation marks or diacritics is displayed with
|
| 89 |
+
# some unconverted characters showing as question marks. This problem might
|
| 90 |
+
# be corrected using another model prober for x-mac-hebrew. Due to the fact
|
| 91 |
+
# that x-mac-hebrew texts are so rare, writing another model prober isn't
|
| 92 |
+
# worth the effort and performance hit.
|
| 93 |
+
#
|
| 94 |
+
#### The Prober ####
|
| 95 |
+
#
|
| 96 |
+
# The prober is divided between two SBCharSetProbers and a HebrewProber,
|
| 97 |
+
# all of which are managed, created, fed data, inquired and deleted by the
|
| 98 |
+
# SBCSGroupProber. The two SBCharSetProbers identify that the text is in
|
| 99 |
+
# fact some kind of Hebrew, Logical or Visual. The final decision about which
|
| 100 |
+
# one is it is made by the HebrewProber by combining final-letter scores
|
| 101 |
+
# with the scores of the two SBCharSetProbers to produce a final answer.
|
| 102 |
+
#
|
| 103 |
+
# The SBCSGroupProber is responsible for stripping the original text of HTML
|
| 104 |
+
# tags, English characters, numbers, low-ASCII punctuation characters, spaces
|
| 105 |
+
# and new lines. It reduces any sequence of such characters to a single space.
|
| 106 |
+
# The buffer fed to each prober in the SBCS group prober is pure text in
|
| 107 |
+
# high-ASCII.
|
| 108 |
+
# The two SBCharSetProbers (model probers) share the same language model:
|
| 109 |
+
# Win1255Model.
|
| 110 |
+
# The first SBCharSetProber uses the model normally as any other
|
| 111 |
+
# SBCharSetProber does, to recognize windows-1255, upon which this model was
|
| 112 |
+
# built. The second SBCharSetProber is told to make the pair-of-letter
|
| 113 |
+
# lookup in the language model backwards. This in practice exactly simulates
|
| 114 |
+
# a visual Hebrew model using the windows-1255 logical Hebrew model.
|
| 115 |
+
#
|
| 116 |
+
# The HebrewProber is not using any language model. All it does is look for
|
| 117 |
+
# final-letter evidence suggesting the text is either logical Hebrew or visual
|
| 118 |
+
# Hebrew. Disjointed from the model probers, the results of the HebrewProber
|
| 119 |
+
# alone are meaningless. HebrewProber always returns 0.00 as confidence
|
| 120 |
+
# since it never identifies a charset by itself. Instead, the pointer to the
|
| 121 |
+
# HebrewProber is passed to the model probers as a helper "Name Prober".
|
| 122 |
+
# When the Group prober receives a positive identification from any prober,
|
| 123 |
+
# it asks for the name of the charset identified. If the prober queried is a
|
| 124 |
+
# Hebrew model prober, the model prober forwards the call to the
|
| 125 |
+
# HebrewProber to make the final decision. In the HebrewProber, the
|
| 126 |
+
# decision is made according to the final-letters scores maintained and Both
|
| 127 |
+
# model probers scores. The answer is returned in the form of the name of the
|
| 128 |
+
# charset identified, either "windows-1255" or "ISO-8859-8".
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
class HebrewProber(CharSetProber):
|
| 132 |
+
SPACE = 0x20
|
| 133 |
+
# windows-1255 / ISO-8859-8 code points of interest
|
| 134 |
+
FINAL_KAF = 0xEA
|
| 135 |
+
NORMAL_KAF = 0xEB
|
| 136 |
+
FINAL_MEM = 0xED
|
| 137 |
+
NORMAL_MEM = 0xEE
|
| 138 |
+
FINAL_NUN = 0xEF
|
| 139 |
+
NORMAL_NUN = 0xF0
|
| 140 |
+
FINAL_PE = 0xF3
|
| 141 |
+
NORMAL_PE = 0xF4
|
| 142 |
+
FINAL_TSADI = 0xF5
|
| 143 |
+
NORMAL_TSADI = 0xF6
|
| 144 |
+
|
| 145 |
+
# Minimum Visual vs Logical final letter score difference.
|
| 146 |
+
# If the difference is below this, don't rely solely on the final letter score
|
| 147 |
+
# distance.
|
| 148 |
+
MIN_FINAL_CHAR_DISTANCE = 5
|
| 149 |
+
|
| 150 |
+
# Minimum Visual vs Logical model score difference.
|
| 151 |
+
# If the difference is below this, don't rely at all on the model score
|
| 152 |
+
# distance.
|
| 153 |
+
MIN_MODEL_DISTANCE = 0.01
|
| 154 |
+
|
| 155 |
+
VISUAL_HEBREW_NAME = "ISO-8859-8"
|
| 156 |
+
LOGICAL_HEBREW_NAME = "WINDOWS-1255"
|
| 157 |
+
|
| 158 |
+
def __init__(self) -> None:
|
| 159 |
+
super().__init__()
|
| 160 |
+
self._final_char_logical_score = 0
|
| 161 |
+
self._final_char_visual_score = 0
|
| 162 |
+
self._prev = self.SPACE
|
| 163 |
+
self._before_prev = self.SPACE
|
| 164 |
+
self._logical_prober: Optional[SingleByteCharSetProber] = None
|
| 165 |
+
self._visual_prober: Optional[SingleByteCharSetProber] = None
|
| 166 |
+
self.reset()
|
| 167 |
+
|
| 168 |
+
def reset(self) -> None:
|
| 169 |
+
self._final_char_logical_score = 0
|
| 170 |
+
self._final_char_visual_score = 0
|
| 171 |
+
# The two last characters seen in the previous buffer,
|
| 172 |
+
# mPrev and mBeforePrev are initialized to space in order to simulate
|
| 173 |
+
# a word delimiter at the beginning of the data
|
| 174 |
+
self._prev = self.SPACE
|
| 175 |
+
self._before_prev = self.SPACE
|
| 176 |
+
# These probers are owned by the group prober.
|
| 177 |
+
|
| 178 |
+
def set_model_probers(
|
| 179 |
+
self,
|
| 180 |
+
logical_prober: SingleByteCharSetProber,
|
| 181 |
+
visual_prober: SingleByteCharSetProber,
|
| 182 |
+
) -> None:
|
| 183 |
+
self._logical_prober = logical_prober
|
| 184 |
+
self._visual_prober = visual_prober
|
| 185 |
+
|
| 186 |
+
def is_final(self, c: int) -> bool:
|
| 187 |
+
return c in [
|
| 188 |
+
self.FINAL_KAF,
|
| 189 |
+
self.FINAL_MEM,
|
| 190 |
+
self.FINAL_NUN,
|
| 191 |
+
self.FINAL_PE,
|
| 192 |
+
self.FINAL_TSADI,
|
| 193 |
+
]
|
| 194 |
+
|
| 195 |
+
def is_non_final(self, c: int) -> bool:
|
| 196 |
+
# The normal Tsadi is not a good Non-Final letter due to words like
|
| 197 |
+
# 'lechotet' (to chat) containing an apostrophe after the tsadi. This
|
| 198 |
+
# apostrophe is converted to a space in FilterWithoutEnglishLetters
|
| 199 |
+
# causing the Non-Final tsadi to appear at an end of a word even
|
| 200 |
+
# though this is not the case in the original text.
|
| 201 |
+
# The letters Pe and Kaf rarely display a related behavior of not being
|
| 202 |
+
# a good Non-Final letter. Words like 'Pop', 'Winamp' and 'Mubarak'
|
| 203 |
+
# for example legally end with a Non-Final Pe or Kaf. However, the
|
| 204 |
+
# benefit of these letters as Non-Final letters outweighs the damage
|
| 205 |
+
# since these words are quite rare.
|
| 206 |
+
return c in [self.NORMAL_KAF, self.NORMAL_MEM, self.NORMAL_NUN, self.NORMAL_PE]
|
| 207 |
+
|
| 208 |
+
def feed(self, byte_str: Union[bytes, bytearray]) -> ProbingState:
|
| 209 |
+
# Final letter analysis for logical-visual decision.
|
| 210 |
+
# Look for evidence that the received buffer is either logical Hebrew
|
| 211 |
+
# or visual Hebrew.
|
| 212 |
+
# The following cases are checked:
|
| 213 |
+
# 1) A word longer than 1 letter, ending with a final letter. This is
|
| 214 |
+
# an indication that the text is laid out "naturally" since the
|
| 215 |
+
# final letter really appears at the end. +1 for logical score.
|
| 216 |
+
# 2) A word longer than 1 letter, ending with a Non-Final letter. In
|
| 217 |
+
# normal Hebrew, words ending with Kaf, Mem, Nun, Pe or Tsadi,
|
| 218 |
+
# should not end with the Non-Final form of that letter. Exceptions
|
| 219 |
+
# to this rule are mentioned above in isNonFinal(). This is an
|
| 220 |
+
# indication that the text is laid out backwards. +1 for visual
|
| 221 |
+
# score
|
| 222 |
+
# 3) A word longer than 1 letter, starting with a final letter. Final
|
| 223 |
+
# letters should not appear at the beginning of a word. This is an
|
| 224 |
+
# indication that the text is laid out backwards. +1 for visual
|
| 225 |
+
# score.
|
| 226 |
+
#
|
| 227 |
+
# The visual score and logical score are accumulated throughout the
|
| 228 |
+
# text and are finally checked against each other in GetCharSetName().
|
| 229 |
+
# No checking for final letters in the middle of words is done since
|
| 230 |
+
# that case is not an indication for either Logical or Visual text.
|
| 231 |
+
#
|
| 232 |
+
# We automatically filter out all 7-bit characters (replace them with
|
| 233 |
+
# spaces) so the word boundary detection works properly. [MAP]
|
| 234 |
+
|
| 235 |
+
if self.state == ProbingState.NOT_ME:
|
| 236 |
+
# Both model probers say it's not them. No reason to continue.
|
| 237 |
+
return ProbingState.NOT_ME
|
| 238 |
+
|
| 239 |
+
byte_str = self.filter_high_byte_only(byte_str)
|
| 240 |
+
|
| 241 |
+
for cur in byte_str:
|
| 242 |
+
if cur == self.SPACE:
|
| 243 |
+
# We stand on a space - a word just ended
|
| 244 |
+
if self._before_prev != self.SPACE:
|
| 245 |
+
# next-to-last char was not a space so self._prev is not a
|
| 246 |
+
# 1 letter word
|
| 247 |
+
if self.is_final(self._prev):
|
| 248 |
+
# case (1) [-2:not space][-1:final letter][cur:space]
|
| 249 |
+
self._final_char_logical_score += 1
|
| 250 |
+
elif self.is_non_final(self._prev):
|
| 251 |
+
# case (2) [-2:not space][-1:Non-Final letter][
|
| 252 |
+
# cur:space]
|
| 253 |
+
self._final_char_visual_score += 1
|
| 254 |
+
else:
|
| 255 |
+
# Not standing on a space
|
| 256 |
+
if (
|
| 257 |
+
(self._before_prev == self.SPACE)
|
| 258 |
+
and (self.is_final(self._prev))
|
| 259 |
+
and (cur != self.SPACE)
|
| 260 |
+
):
|
| 261 |
+
# case (3) [-2:space][-1:final letter][cur:not space]
|
| 262 |
+
self._final_char_visual_score += 1
|
| 263 |
+
self._before_prev = self._prev
|
| 264 |
+
self._prev = cur
|
| 265 |
+
|
| 266 |
+
# Forever detecting, till the end or until both model probers return
|
| 267 |
+
# ProbingState.NOT_ME (handled above)
|
| 268 |
+
return ProbingState.DETECTING
|
| 269 |
+
|
| 270 |
+
@property
|
| 271 |
+
def charset_name(self) -> str:
|
| 272 |
+
assert self._logical_prober is not None
|
| 273 |
+
assert self._visual_prober is not None
|
| 274 |
+
|
| 275 |
+
# Make the decision: is it Logical or Visual?
|
| 276 |
+
# If the final letter score distance is dominant enough, rely on it.
|
| 277 |
+
finalsub = self._final_char_logical_score - self._final_char_visual_score
|
| 278 |
+
if finalsub >= self.MIN_FINAL_CHAR_DISTANCE:
|
| 279 |
+
return self.LOGICAL_HEBREW_NAME
|
| 280 |
+
if finalsub <= -self.MIN_FINAL_CHAR_DISTANCE:
|
| 281 |
+
return self.VISUAL_HEBREW_NAME
|
| 282 |
+
|
| 283 |
+
# It's not dominant enough, try to rely on the model scores instead.
|
| 284 |
+
modelsub = (
|
| 285 |
+
self._logical_prober.get_confidence() - self._visual_prober.get_confidence()
|
| 286 |
+
)
|
| 287 |
+
if modelsub > self.MIN_MODEL_DISTANCE:
|
| 288 |
+
return self.LOGICAL_HEBREW_NAME
|
| 289 |
+
if modelsub < -self.MIN_MODEL_DISTANCE:
|
| 290 |
+
return self.VISUAL_HEBREW_NAME
|
| 291 |
+
|
| 292 |
+
# Still no good, back to final letter distance, maybe it'll save the
|
| 293 |
+
# day.
|
| 294 |
+
if finalsub < 0.0:
|
| 295 |
+
return self.VISUAL_HEBREW_NAME
|
| 296 |
+
|
| 297 |
+
# (finalsub > 0 - Logical) or (don't know what to do) default to
|
| 298 |
+
# Logical.
|
| 299 |
+
return self.LOGICAL_HEBREW_NAME
|
| 300 |
+
|
| 301 |
+
@property
|
| 302 |
+
def language(self) -> str:
|
| 303 |
+
return "Hebrew"
|
| 304 |
+
|
| 305 |
+
@property
|
| 306 |
+
def state(self) -> ProbingState:
|
| 307 |
+
assert self._logical_prober is not None
|
| 308 |
+
assert self._visual_prober is not None
|
| 309 |
+
|
| 310 |
+
# Remain active as long as any of the model probers are active.
|
| 311 |
+
if (self._logical_prober.state == ProbingState.NOT_ME) and (
|
| 312 |
+
self._visual_prober.state == ProbingState.NOT_ME
|
| 313 |
+
):
|
| 314 |
+
return ProbingState.NOT_ME
|
| 315 |
+
return ProbingState.DETECTING
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/jisfreq.py
ADDED
|
@@ -0,0 +1,324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is Mozilla Communicator client code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
# Sampling from about 20M text materials include literature and computer technology
|
| 28 |
+
#
|
| 29 |
+
# Japanese frequency table, applied to both S-JIS and EUC-JP
|
| 30 |
+
# They are sorted in order.
|
| 31 |
+
|
| 32 |
+
# 128 --> 0.77094
|
| 33 |
+
# 256 --> 0.85710
|
| 34 |
+
# 512 --> 0.92635
|
| 35 |
+
# 1024 --> 0.97130
|
| 36 |
+
# 2048 --> 0.99431
|
| 37 |
+
#
|
| 38 |
+
# Ideal Distribution Ratio = 0.92635 / (1-0.92635) = 12.58
|
| 39 |
+
# Random Distribution Ration = 512 / (2965+62+83+86-512) = 0.191
|
| 40 |
+
#
|
| 41 |
+
# Typical Distribution Ratio, 25% of IDR
|
| 42 |
+
|
| 43 |
+
JIS_TYPICAL_DISTRIBUTION_RATIO = 3.0
|
| 44 |
+
|
| 45 |
+
# Char to FreqOrder table ,
|
| 46 |
+
JIS_TABLE_SIZE = 4368
|
| 47 |
+
|
| 48 |
+
# fmt: off
|
| 49 |
+
JIS_CHAR_TO_FREQ_ORDER = (
|
| 50 |
+
40, 1, 6, 182, 152, 180, 295,2127, 285, 381,3295,4304,3068,4606,3165,3510, # 16
|
| 51 |
+
3511,1822,2785,4607,1193,2226,5070,4608, 171,2996,1247, 18, 179,5071, 856,1661, # 32
|
| 52 |
+
1262,5072, 619, 127,3431,3512,3230,1899,1700, 232, 228,1294,1298, 284, 283,2041, # 48
|
| 53 |
+
2042,1061,1062, 48, 49, 44, 45, 433, 434,1040,1041, 996, 787,2997,1255,4305, # 64
|
| 54 |
+
2108,4609,1684,1648,5073,5074,5075,5076,5077,5078,3687,5079,4610,5080,3927,3928, # 80
|
| 55 |
+
5081,3296,3432, 290,2285,1471,2187,5082,2580,2825,1303,2140,1739,1445,2691,3375, # 96
|
| 56 |
+
1691,3297,4306,4307,4611, 452,3376,1182,2713,3688,3069,4308,5083,5084,5085,5086, # 112
|
| 57 |
+
5087,5088,5089,5090,5091,5092,5093,5094,5095,5096,5097,5098,5099,5100,5101,5102, # 128
|
| 58 |
+
5103,5104,5105,5106,5107,5108,5109,5110,5111,5112,4097,5113,5114,5115,5116,5117, # 144
|
| 59 |
+
5118,5119,5120,5121,5122,5123,5124,5125,5126,5127,5128,5129,5130,5131,5132,5133, # 160
|
| 60 |
+
5134,5135,5136,5137,5138,5139,5140,5141,5142,5143,5144,5145,5146,5147,5148,5149, # 176
|
| 61 |
+
5150,5151,5152,4612,5153,5154,5155,5156,5157,5158,5159,5160,5161,5162,5163,5164, # 192
|
| 62 |
+
5165,5166,5167,5168,5169,5170,5171,5172,5173,5174,5175,1472, 598, 618, 820,1205, # 208
|
| 63 |
+
1309,1412,1858,1307,1692,5176,5177,5178,5179,5180,5181,5182,1142,1452,1234,1172, # 224
|
| 64 |
+
1875,2043,2149,1793,1382,2973, 925,2404,1067,1241, 960,1377,2935,1491, 919,1217, # 240
|
| 65 |
+
1865,2030,1406,1499,2749,4098,5183,5184,5185,5186,5187,5188,2561,4099,3117,1804, # 256
|
| 66 |
+
2049,3689,4309,3513,1663,5189,3166,3118,3298,1587,1561,3433,5190,3119,1625,2998, # 272
|
| 67 |
+
3299,4613,1766,3690,2786,4614,5191,5192,5193,5194,2161, 26,3377, 2,3929, 20, # 288
|
| 68 |
+
3691, 47,4100, 50, 17, 16, 35, 268, 27, 243, 42, 155, 24, 154, 29, 184, # 304
|
| 69 |
+
4, 91, 14, 92, 53, 396, 33, 289, 9, 37, 64, 620, 21, 39, 321, 5, # 320
|
| 70 |
+
12, 11, 52, 13, 3, 208, 138, 0, 7, 60, 526, 141, 151,1069, 181, 275, # 336
|
| 71 |
+
1591, 83, 132,1475, 126, 331, 829, 15, 69, 160, 59, 22, 157, 55,1079, 312, # 352
|
| 72 |
+
109, 38, 23, 25, 10, 19, 79,5195, 61, 382,1124, 8, 30,5196,5197,5198, # 368
|
| 73 |
+
5199,5200,5201,5202,5203,5204,5205,5206, 89, 62, 74, 34,2416, 112, 139, 196, # 384
|
| 74 |
+
271, 149, 84, 607, 131, 765, 46, 88, 153, 683, 76, 874, 101, 258, 57, 80, # 400
|
| 75 |
+
32, 364, 121,1508, 169,1547, 68, 235, 145,2999, 41, 360,3027, 70, 63, 31, # 416
|
| 76 |
+
43, 259, 262,1383, 99, 533, 194, 66, 93, 846, 217, 192, 56, 106, 58, 565, # 432
|
| 77 |
+
280, 272, 311, 256, 146, 82, 308, 71, 100, 128, 214, 655, 110, 261, 104,1140, # 448
|
| 78 |
+
54, 51, 36, 87, 67,3070, 185,2618,2936,2020, 28,1066,2390,2059,5207,5208, # 464
|
| 79 |
+
5209,5210,5211,5212,5213,5214,5215,5216,4615,5217,5218,5219,5220,5221,5222,5223, # 480
|
| 80 |
+
5224,5225,5226,5227,5228,5229,5230,5231,5232,5233,5234,5235,5236,3514,5237,5238, # 496
|
| 81 |
+
5239,5240,5241,5242,5243,5244,2297,2031,4616,4310,3692,5245,3071,5246,3598,5247, # 512
|
| 82 |
+
4617,3231,3515,5248,4101,4311,4618,3808,4312,4102,5249,4103,4104,3599,5250,5251, # 528
|
| 83 |
+
5252,5253,5254,5255,5256,5257,5258,5259,5260,5261,5262,5263,5264,5265,5266,5267, # 544
|
| 84 |
+
5268,5269,5270,5271,5272,5273,5274,5275,5276,5277,5278,5279,5280,5281,5282,5283, # 560
|
| 85 |
+
5284,5285,5286,5287,5288,5289,5290,5291,5292,5293,5294,5295,5296,5297,5298,5299, # 576
|
| 86 |
+
5300,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,5314,5315, # 592
|
| 87 |
+
5316,5317,5318,5319,5320,5321,5322,5323,5324,5325,5326,5327,5328,5329,5330,5331, # 608
|
| 88 |
+
5332,5333,5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,5344,5345,5346,5347, # 624
|
| 89 |
+
5348,5349,5350,5351,5352,5353,5354,5355,5356,5357,5358,5359,5360,5361,5362,5363, # 640
|
| 90 |
+
5364,5365,5366,5367,5368,5369,5370,5371,5372,5373,5374,5375,5376,5377,5378,5379, # 656
|
| 91 |
+
5380,5381, 363, 642,2787,2878,2788,2789,2316,3232,2317,3434,2011, 165,1942,3930, # 672
|
| 92 |
+
3931,3932,3933,5382,4619,5383,4620,5384,5385,5386,5387,5388,5389,5390,5391,5392, # 688
|
| 93 |
+
5393,5394,5395,5396,5397,5398,5399,5400,5401,5402,5403,5404,5405,5406,5407,5408, # 704
|
| 94 |
+
5409,5410,5411,5412,5413,5414,5415,5416,5417,5418,5419,5420,5421,5422,5423,5424, # 720
|
| 95 |
+
5425,5426,5427,5428,5429,5430,5431,5432,5433,5434,5435,5436,5437,5438,5439,5440, # 736
|
| 96 |
+
5441,5442,5443,5444,5445,5446,5447,5448,5449,5450,5451,5452,5453,5454,5455,5456, # 752
|
| 97 |
+
5457,5458,5459,5460,5461,5462,5463,5464,5465,5466,5467,5468,5469,5470,5471,5472, # 768
|
| 98 |
+
5473,5474,5475,5476,5477,5478,5479,5480,5481,5482,5483,5484,5485,5486,5487,5488, # 784
|
| 99 |
+
5489,5490,5491,5492,5493,5494,5495,5496,5497,5498,5499,5500,5501,5502,5503,5504, # 800
|
| 100 |
+
5505,5506,5507,5508,5509,5510,5511,5512,5513,5514,5515,5516,5517,5518,5519,5520, # 816
|
| 101 |
+
5521,5522,5523,5524,5525,5526,5527,5528,5529,5530,5531,5532,5533,5534,5535,5536, # 832
|
| 102 |
+
5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,5549,5550,5551,5552, # 848
|
| 103 |
+
5553,5554,5555,5556,5557,5558,5559,5560,5561,5562,5563,5564,5565,5566,5567,5568, # 864
|
| 104 |
+
5569,5570,5571,5572,5573,5574,5575,5576,5577,5578,5579,5580,5581,5582,5583,5584, # 880
|
| 105 |
+
5585,5586,5587,5588,5589,5590,5591,5592,5593,5594,5595,5596,5597,5598,5599,5600, # 896
|
| 106 |
+
5601,5602,5603,5604,5605,5606,5607,5608,5609,5610,5611,5612,5613,5614,5615,5616, # 912
|
| 107 |
+
5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,5628,5629,5630,5631,5632, # 928
|
| 108 |
+
5633,5634,5635,5636,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648, # 944
|
| 109 |
+
5649,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,5661,5662,5663,5664, # 960
|
| 110 |
+
5665,5666,5667,5668,5669,5670,5671,5672,5673,5674,5675,5676,5677,5678,5679,5680, # 976
|
| 111 |
+
5681,5682,5683,5684,5685,5686,5687,5688,5689,5690,5691,5692,5693,5694,5695,5696, # 992
|
| 112 |
+
5697,5698,5699,5700,5701,5702,5703,5704,5705,5706,5707,5708,5709,5710,5711,5712, # 1008
|
| 113 |
+
5713,5714,5715,5716,5717,5718,5719,5720,5721,5722,5723,5724,5725,5726,5727,5728, # 1024
|
| 114 |
+
5729,5730,5731,5732,5733,5734,5735,5736,5737,5738,5739,5740,5741,5742,5743,5744, # 1040
|
| 115 |
+
5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5756,5757,5758,5759,5760, # 1056
|
| 116 |
+
5761,5762,5763,5764,5765,5766,5767,5768,5769,5770,5771,5772,5773,5774,5775,5776, # 1072
|
| 117 |
+
5777,5778,5779,5780,5781,5782,5783,5784,5785,5786,5787,5788,5789,5790,5791,5792, # 1088
|
| 118 |
+
5793,5794,5795,5796,5797,5798,5799,5800,5801,5802,5803,5804,5805,5806,5807,5808, # 1104
|
| 119 |
+
5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824, # 1120
|
| 120 |
+
5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840, # 1136
|
| 121 |
+
5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,5856, # 1152
|
| 122 |
+
5857,5858,5859,5860,5861,5862,5863,5864,5865,5866,5867,5868,5869,5870,5871,5872, # 1168
|
| 123 |
+
5873,5874,5875,5876,5877,5878,5879,5880,5881,5882,5883,5884,5885,5886,5887,5888, # 1184
|
| 124 |
+
5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5901,5902,5903,5904, # 1200
|
| 125 |
+
5905,5906,5907,5908,5909,5910,5911,5912,5913,5914,5915,5916,5917,5918,5919,5920, # 1216
|
| 126 |
+
5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,5936, # 1232
|
| 127 |
+
5937,5938,5939,5940,5941,5942,5943,5944,5945,5946,5947,5948,5949,5950,5951,5952, # 1248
|
| 128 |
+
5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968, # 1264
|
| 129 |
+
5969,5970,5971,5972,5973,5974,5975,5976,5977,5978,5979,5980,5981,5982,5983,5984, # 1280
|
| 130 |
+
5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5997,5998,5999,6000, # 1296
|
| 131 |
+
6001,6002,6003,6004,6005,6006,6007,6008,6009,6010,6011,6012,6013,6014,6015,6016, # 1312
|
| 132 |
+
6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,6030,6031,6032, # 1328
|
| 133 |
+
6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048, # 1344
|
| 134 |
+
6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064, # 1360
|
| 135 |
+
6065,6066,6067,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080, # 1376
|
| 136 |
+
6081,6082,6083,6084,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096, # 1392
|
| 137 |
+
6097,6098,6099,6100,6101,6102,6103,6104,6105,6106,6107,6108,6109,6110,6111,6112, # 1408
|
| 138 |
+
6113,6114,2044,2060,4621, 997,1235, 473,1186,4622, 920,3378,6115,6116, 379,1108, # 1424
|
| 139 |
+
4313,2657,2735,3934,6117,3809, 636,3233, 573,1026,3693,3435,2974,3300,2298,4105, # 1440
|
| 140 |
+
854,2937,2463, 393,2581,2417, 539, 752,1280,2750,2480, 140,1161, 440, 708,1569, # 1456
|
| 141 |
+
665,2497,1746,1291,1523,3000, 164,1603, 847,1331, 537,1997, 486, 508,1693,2418, # 1472
|
| 142 |
+
1970,2227, 878,1220, 299,1030, 969, 652,2751, 624,1137,3301,2619, 65,3302,2045, # 1488
|
| 143 |
+
1761,1859,3120,1930,3694,3516, 663,1767, 852, 835,3695, 269, 767,2826,2339,1305, # 1504
|
| 144 |
+
896,1150, 770,1616,6118, 506,1502,2075,1012,2519, 775,2520,2975,2340,2938,4314, # 1520
|
| 145 |
+
3028,2086,1224,1943,2286,6119,3072,4315,2240,1273,1987,3935,1557, 175, 597, 985, # 1536
|
| 146 |
+
3517,2419,2521,1416,3029, 585, 938,1931,1007,1052,1932,1685,6120,3379,4316,4623, # 1552
|
| 147 |
+
804, 599,3121,1333,2128,2539,1159,1554,2032,3810, 687,2033,2904, 952, 675,1467, # 1568
|
| 148 |
+
3436,6121,2241,1096,1786,2440,1543,1924, 980,1813,2228, 781,2692,1879, 728,1918, # 1584
|
| 149 |
+
3696,4624, 548,1950,4625,1809,1088,1356,3303,2522,1944, 502, 972, 373, 513,2827, # 1600
|
| 150 |
+
586,2377,2391,1003,1976,1631,6122,2464,1084, 648,1776,4626,2141, 324, 962,2012, # 1616
|
| 151 |
+
2177,2076,1384, 742,2178,1448,1173,1810, 222, 102, 301, 445, 125,2420, 662,2498, # 1632
|
| 152 |
+
277, 200,1476,1165,1068, 224,2562,1378,1446, 450,1880, 659, 791, 582,4627,2939, # 1648
|
| 153 |
+
3936,1516,1274, 555,2099,3697,1020,1389,1526,3380,1762,1723,1787,2229, 412,2114, # 1664
|
| 154 |
+
1900,2392,3518, 512,2597, 427,1925,2341,3122,1653,1686,2465,2499, 697, 330, 273, # 1680
|
| 155 |
+
380,2162, 951, 832, 780, 991,1301,3073, 965,2270,3519, 668,2523,2636,1286, 535, # 1696
|
| 156 |
+
1407, 518, 671, 957,2658,2378, 267, 611,2197,3030,6123, 248,2299, 967,1799,2356, # 1712
|
| 157 |
+
850,1418,3437,1876,1256,1480,2828,1718,6124,6125,1755,1664,2405,6126,4628,2879, # 1728
|
| 158 |
+
2829, 499,2179, 676,4629, 557,2329,2214,2090, 325,3234, 464, 811,3001, 992,2342, # 1744
|
| 159 |
+
2481,1232,1469, 303,2242, 466,1070,2163, 603,1777,2091,4630,2752,4631,2714, 322, # 1760
|
| 160 |
+
2659,1964,1768, 481,2188,1463,2330,2857,3600,2092,3031,2421,4632,2318,2070,1849, # 1776
|
| 161 |
+
2598,4633,1302,2254,1668,1701,2422,3811,2905,3032,3123,2046,4106,1763,1694,4634, # 1792
|
| 162 |
+
1604, 943,1724,1454, 917, 868,2215,1169,2940, 552,1145,1800,1228,1823,1955, 316, # 1808
|
| 163 |
+
1080,2510, 361,1807,2830,4107,2660,3381,1346,1423,1134,4108,6127, 541,1263,1229, # 1824
|
| 164 |
+
1148,2540, 545, 465,1833,2880,3438,1901,3074,2482, 816,3937, 713,1788,2500, 122, # 1840
|
| 165 |
+
1575, 195,1451,2501,1111,6128, 859, 374,1225,2243,2483,4317, 390,1033,3439,3075, # 1856
|
| 166 |
+
2524,1687, 266, 793,1440,2599, 946, 779, 802, 507, 897,1081, 528,2189,1292, 711, # 1872
|
| 167 |
+
1866,1725,1167,1640, 753, 398,2661,1053, 246, 348,4318, 137,1024,3440,1600,2077, # 1888
|
| 168 |
+
2129, 825,4319, 698, 238, 521, 187,2300,1157,2423,1641,1605,1464,1610,1097,2541, # 1904
|
| 169 |
+
1260,1436, 759,2255,1814,2150, 705,3235, 409,2563,3304, 561,3033,2005,2564, 726, # 1920
|
| 170 |
+
1956,2343,3698,4109, 949,3812,3813,3520,1669, 653,1379,2525, 881,2198, 632,2256, # 1936
|
| 171 |
+
1027, 778,1074, 733,1957, 514,1481,2466, 554,2180, 702,3938,1606,1017,1398,6129, # 1952
|
| 172 |
+
1380,3521, 921, 993,1313, 594, 449,1489,1617,1166, 768,1426,1360, 495,1794,3601, # 1968
|
| 173 |
+
1177,3602,1170,4320,2344, 476, 425,3167,4635,3168,1424, 401,2662,1171,3382,1998, # 1984
|
| 174 |
+
1089,4110, 477,3169, 474,6130,1909, 596,2831,1842, 494, 693,1051,1028,1207,3076, # 2000
|
| 175 |
+
606,2115, 727,2790,1473,1115, 743,3522, 630, 805,1532,4321,2021, 366,1057, 838, # 2016
|
| 176 |
+
684,1114,2142,4322,2050,1492,1892,1808,2271,3814,2424,1971,1447,1373,3305,1090, # 2032
|
| 177 |
+
1536,3939,3523,3306,1455,2199, 336, 369,2331,1035, 584,2393, 902, 718,2600,6131, # 2048
|
| 178 |
+
2753, 463,2151,1149,1611,2467, 715,1308,3124,1268, 343,1413,3236,1517,1347,2663, # 2064
|
| 179 |
+
2093,3940,2022,1131,1553,2100,2941,1427,3441,2942,1323,2484,6132,1980, 872,2368, # 2080
|
| 180 |
+
2441,2943, 320,2369,2116,1082, 679,1933,3941,2791,3815, 625,1143,2023, 422,2200, # 2096
|
| 181 |
+
3816,6133, 730,1695, 356,2257,1626,2301,2858,2637,1627,1778, 937, 883,2906,2693, # 2112
|
| 182 |
+
3002,1769,1086, 400,1063,1325,3307,2792,4111,3077, 456,2345,1046, 747,6134,1524, # 2128
|
| 183 |
+
884,1094,3383,1474,2164,1059, 974,1688,2181,2258,1047, 345,1665,1187, 358, 875, # 2144
|
| 184 |
+
3170, 305, 660,3524,2190,1334,1135,3171,1540,1649,2542,1527, 927, 968,2793, 885, # 2160
|
| 185 |
+
1972,1850, 482, 500,2638,1218,1109,1085,2543,1654,2034, 876, 78,2287,1482,1277, # 2176
|
| 186 |
+
861,1675,1083,1779, 724,2754, 454, 397,1132,1612,2332, 893, 672,1237, 257,2259, # 2192
|
| 187 |
+
2370, 135,3384, 337,2244, 547, 352, 340, 709,2485,1400, 788,1138,2511, 540, 772, # 2208
|
| 188 |
+
1682,2260,2272,2544,2013,1843,1902,4636,1999,1562,2288,4637,2201,1403,1533, 407, # 2224
|
| 189 |
+
576,3308,1254,2071, 978,3385, 170, 136,1201,3125,2664,3172,2394, 213, 912, 873, # 2240
|
| 190 |
+
3603,1713,2202, 699,3604,3699, 813,3442, 493, 531,1054, 468,2907,1483, 304, 281, # 2256
|
| 191 |
+
4112,1726,1252,2094, 339,2319,2130,2639, 756,1563,2944, 748, 571,2976,1588,2425, # 2272
|
| 192 |
+
2715,1851,1460,2426,1528,1392,1973,3237, 288,3309, 685,3386, 296, 892,2716,2216, # 2288
|
| 193 |
+
1570,2245, 722,1747,2217, 905,3238,1103,6135,1893,1441,1965, 251,1805,2371,3700, # 2304
|
| 194 |
+
2601,1919,1078, 75,2182,1509,1592,1270,2640,4638,2152,6136,3310,3817, 524, 706, # 2320
|
| 195 |
+
1075, 292,3818,1756,2602, 317, 98,3173,3605,3525,1844,2218,3819,2502, 814, 567, # 2336
|
| 196 |
+
385,2908,1534,6137, 534,1642,3239, 797,6138,1670,1529, 953,4323, 188,1071, 538, # 2352
|
| 197 |
+
178, 729,3240,2109,1226,1374,2000,2357,2977, 731,2468,1116,2014,2051,6139,1261, # 2368
|
| 198 |
+
1593, 803,2859,2736,3443, 556, 682, 823,1541,6140,1369,2289,1706,2794, 845, 462, # 2384
|
| 199 |
+
2603,2665,1361, 387, 162,2358,1740, 739,1770,1720,1304,1401,3241,1049, 627,1571, # 2400
|
| 200 |
+
2427,3526,1877,3942,1852,1500, 431,1910,1503, 677, 297,2795, 286,1433,1038,1198, # 2416
|
| 201 |
+
2290,1133,1596,4113,4639,2469,1510,1484,3943,6141,2442, 108, 712,4640,2372, 866, # 2432
|
| 202 |
+
3701,2755,3242,1348, 834,1945,1408,3527,2395,3243,1811, 824, 994,1179,2110,1548, # 2448
|
| 203 |
+
1453, 790,3003, 690,4324,4325,2832,2909,3820,1860,3821, 225,1748, 310, 346,1780, # 2464
|
| 204 |
+
2470, 821,1993,2717,2796, 828, 877,3528,2860,2471,1702,2165,2910,2486,1789, 453, # 2480
|
| 205 |
+
359,2291,1676, 73,1164,1461,1127,3311, 421, 604, 314,1037, 589, 116,2487, 737, # 2496
|
| 206 |
+
837,1180, 111, 244, 735,6142,2261,1861,1362, 986, 523, 418, 581,2666,3822, 103, # 2512
|
| 207 |
+
855, 503,1414,1867,2488,1091, 657,1597, 979, 605,1316,4641,1021,2443,2078,2001, # 2528
|
| 208 |
+
1209, 96, 587,2166,1032, 260,1072,2153, 173, 94, 226,3244, 819,2006,4642,4114, # 2544
|
| 209 |
+
2203, 231,1744, 782, 97,2667, 786,3387, 887, 391, 442,2219,4326,1425,6143,2694, # 2560
|
| 210 |
+
633,1544,1202, 483,2015, 592,2052,1958,2472,1655, 419, 129,4327,3444,3312,1714, # 2576
|
| 211 |
+
1257,3078,4328,1518,1098, 865,1310,1019,1885,1512,1734, 469,2444, 148, 773, 436, # 2592
|
| 212 |
+
1815,1868,1128,1055,4329,1245,2756,3445,2154,1934,1039,4643, 579,1238, 932,2320, # 2608
|
| 213 |
+
353, 205, 801, 115,2428, 944,2321,1881, 399,2565,1211, 678, 766,3944, 335,2101, # 2624
|
| 214 |
+
1459,1781,1402,3945,2737,2131,1010, 844, 981,1326,1013, 550,1816,1545,2620,1335, # 2640
|
| 215 |
+
1008, 371,2881, 936,1419,1613,3529,1456,1395,2273,1834,2604,1317,2738,2503, 416, # 2656
|
| 216 |
+
1643,4330, 806,1126, 229, 591,3946,1314,1981,1576,1837,1666, 347,1790, 977,3313, # 2672
|
| 217 |
+
764,2861,1853, 688,2429,1920,1462, 77, 595, 415,2002,3034, 798,1192,4115,6144, # 2688
|
| 218 |
+
2978,4331,3035,2695,2582,2072,2566, 430,2430,1727, 842,1396,3947,3702, 613, 377, # 2704
|
| 219 |
+
278, 236,1417,3388,3314,3174, 757,1869, 107,3530,6145,1194, 623,2262, 207,1253, # 2720
|
| 220 |
+
2167,3446,3948, 492,1117,1935, 536,1838,2757,1246,4332, 696,2095,2406,1393,1572, # 2736
|
| 221 |
+
3175,1782, 583, 190, 253,1390,2230, 830,3126,3389, 934,3245,1703,1749,2979,1870, # 2752
|
| 222 |
+
2545,1656,2204, 869,2346,4116,3176,1817, 496,1764,4644, 942,1504, 404,1903,1122, # 2768
|
| 223 |
+
1580,3606,2945,1022, 515, 372,1735, 955,2431,3036,6146,2797,1110,2302,2798, 617, # 2784
|
| 224 |
+
6147, 441, 762,1771,3447,3607,3608,1904, 840,3037, 86, 939,1385, 572,1370,2445, # 2800
|
| 225 |
+
1336, 114,3703, 898, 294, 203,3315, 703,1583,2274, 429, 961,4333,1854,1951,3390, # 2816
|
| 226 |
+
2373,3704,4334,1318,1381, 966,1911,2322,1006,1155, 309, 989, 458,2718,1795,1372, # 2832
|
| 227 |
+
1203, 252,1689,1363,3177, 517,1936, 168,1490, 562, 193,3823,1042,4117,1835, 551, # 2848
|
| 228 |
+
470,4645, 395, 489,3448,1871,1465,2583,2641, 417,1493, 279,1295, 511,1236,1119, # 2864
|
| 229 |
+
72,1231,1982,1812,3004, 871,1564, 984,3449,1667,2696,2096,4646,2347,2833,1673, # 2880
|
| 230 |
+
3609, 695,3246,2668, 807,1183,4647, 890, 388,2333,1801,1457,2911,1765,1477,1031, # 2896
|
| 231 |
+
3316,3317,1278,3391,2799,2292,2526, 163,3450,4335,2669,1404,1802,6148,2323,2407, # 2912
|
| 232 |
+
1584,1728,1494,1824,1269, 298, 909,3318,1034,1632, 375, 776,1683,2061, 291, 210, # 2928
|
| 233 |
+
1123, 809,1249,1002,2642,3038, 206,1011,2132, 144, 975, 882,1565, 342, 667, 754, # 2944
|
| 234 |
+
1442,2143,1299,2303,2062, 447, 626,2205,1221,2739,2912,1144,1214,2206,2584, 760, # 2960
|
| 235 |
+
1715, 614, 950,1281,2670,2621, 810, 577,1287,2546,4648, 242,2168, 250,2643, 691, # 2976
|
| 236 |
+
123,2644, 647, 313,1029, 689,1357,2946,1650, 216, 771,1339,1306, 808,2063, 549, # 2992
|
| 237 |
+
913,1371,2913,2914,6149,1466,1092,1174,1196,1311,2605,2396,1783,1796,3079, 406, # 3008
|
| 238 |
+
2671,2117,3949,4649, 487,1825,2220,6150,2915, 448,2348,1073,6151,2397,1707, 130, # 3024
|
| 239 |
+
900,1598, 329, 176,1959,2527,1620,6152,2275,4336,3319,1983,2191,3705,3610,2155, # 3040
|
| 240 |
+
3706,1912,1513,1614,6153,1988, 646, 392,2304,1589,3320,3039,1826,1239,1352,1340, # 3056
|
| 241 |
+
2916, 505,2567,1709,1437,2408,2547, 906,6154,2672, 384,1458,1594,1100,1329, 710, # 3072
|
| 242 |
+
423,3531,2064,2231,2622,1989,2673,1087,1882, 333, 841,3005,1296,2882,2379, 580, # 3088
|
| 243 |
+
1937,1827,1293,2585, 601, 574, 249,1772,4118,2079,1120, 645, 901,1176,1690, 795, # 3104
|
| 244 |
+
2207, 478,1434, 516,1190,1530, 761,2080, 930,1264, 355, 435,1552, 644,1791, 987, # 3120
|
| 245 |
+
220,1364,1163,1121,1538, 306,2169,1327,1222, 546,2645, 218, 241, 610,1704,3321, # 3136
|
| 246 |
+
1984,1839,1966,2528, 451,6155,2586,3707,2568, 907,3178, 254,2947, 186,1845,4650, # 3152
|
| 247 |
+
745, 432,1757, 428,1633, 888,2246,2221,2489,3611,2118,1258,1265, 956,3127,1784, # 3168
|
| 248 |
+
4337,2490, 319, 510, 119, 457,3612, 274,2035,2007,4651,1409,3128, 970,2758, 590, # 3184
|
| 249 |
+
2800, 661,2247,4652,2008,3950,1420,1549,3080,3322,3951,1651,1375,2111, 485,2491, # 3200
|
| 250 |
+
1429,1156,6156,2548,2183,1495, 831,1840,2529,2446, 501,1657, 307,1894,3247,1341, # 3216
|
| 251 |
+
666, 899,2156,1539,2549,1559, 886, 349,2208,3081,2305,1736,3824,2170,2759,1014, # 3232
|
| 252 |
+
1913,1386, 542,1397,2948, 490, 368, 716, 362, 159, 282,2569,1129,1658,1288,1750, # 3248
|
| 253 |
+
2674, 276, 649,2016, 751,1496, 658,1818,1284,1862,2209,2087,2512,3451, 622,2834, # 3264
|
| 254 |
+
376, 117,1060,2053,1208,1721,1101,1443, 247,1250,3179,1792,3952,2760,2398,3953, # 3280
|
| 255 |
+
6157,2144,3708, 446,2432,1151,2570,3452,2447,2761,2835,1210,2448,3082, 424,2222, # 3296
|
| 256 |
+
1251,2449,2119,2836, 504,1581,4338, 602, 817, 857,3825,2349,2306, 357,3826,1470, # 3312
|
| 257 |
+
1883,2883, 255, 958, 929,2917,3248, 302,4653,1050,1271,1751,2307,1952,1430,2697, # 3328
|
| 258 |
+
2719,2359, 354,3180, 777, 158,2036,4339,1659,4340,4654,2308,2949,2248,1146,2232, # 3344
|
| 259 |
+
3532,2720,1696,2623,3827,6158,3129,1550,2698,1485,1297,1428, 637, 931,2721,2145, # 3360
|
| 260 |
+
914,2550,2587, 81,2450, 612, 827,2646,1242,4655,1118,2884, 472,1855,3181,3533, # 3376
|
| 261 |
+
3534, 569,1353,2699,1244,1758,2588,4119,2009,2762,2171,3709,1312,1531,6159,1152, # 3392
|
| 262 |
+
1938, 134,1830, 471,3710,2276,1112,1535,3323,3453,3535, 982,1337,2950, 488, 826, # 3408
|
| 263 |
+
674,1058,1628,4120,2017, 522,2399, 211, 568,1367,3454, 350, 293,1872,1139,3249, # 3424
|
| 264 |
+
1399,1946,3006,1300,2360,3324, 588, 736,6160,2606, 744, 669,3536,3828,6161,1358, # 3440
|
| 265 |
+
199, 723, 848, 933, 851,1939,1505,1514,1338,1618,1831,4656,1634,3613, 443,2740, # 3456
|
| 266 |
+
3829, 717,1947, 491,1914,6162,2551,1542,4121,1025,6163,1099,1223, 198,3040,2722, # 3472
|
| 267 |
+
370, 410,1905,2589, 998,1248,3182,2380, 519,1449,4122,1710, 947, 928,1153,4341, # 3488
|
| 268 |
+
2277, 344,2624,1511, 615, 105, 161,1212,1076,1960,3130,2054,1926,1175,1906,2473, # 3504
|
| 269 |
+
414,1873,2801,6164,2309, 315,1319,3325, 318,2018,2146,2157, 963, 631, 223,4342, # 3520
|
| 270 |
+
4343,2675, 479,3711,1197,2625,3712,2676,2361,6165,4344,4123,6166,2451,3183,1886, # 3536
|
| 271 |
+
2184,1674,1330,1711,1635,1506, 799, 219,3250,3083,3954,1677,3713,3326,2081,3614, # 3552
|
| 272 |
+
1652,2073,4657,1147,3041,1752, 643,1961, 147,1974,3955,6167,1716,2037, 918,3007, # 3568
|
| 273 |
+
1994, 120,1537, 118, 609,3184,4345, 740,3455,1219, 332,1615,3830,6168,1621,2980, # 3584
|
| 274 |
+
1582, 783, 212, 553,2350,3714,1349,2433,2082,4124, 889,6169,2310,1275,1410, 973, # 3600
|
| 275 |
+
166,1320,3456,1797,1215,3185,2885,1846,2590,2763,4658, 629, 822,3008, 763, 940, # 3616
|
| 276 |
+
1990,2862, 439,2409,1566,1240,1622, 926,1282,1907,2764, 654,2210,1607, 327,1130, # 3632
|
| 277 |
+
3956,1678,1623,6170,2434,2192, 686, 608,3831,3715, 903,3957,3042,6171,2741,1522, # 3648
|
| 278 |
+
1915,1105,1555,2552,1359, 323,3251,4346,3457, 738,1354,2553,2311,2334,1828,2003, # 3664
|
| 279 |
+
3832,1753,2351,1227,6172,1887,4125,1478,6173,2410,1874,1712,1847, 520,1204,2607, # 3680
|
| 280 |
+
264,4659, 836,2677,2102, 600,4660,3833,2278,3084,6174,4347,3615,1342, 640, 532, # 3696
|
| 281 |
+
543,2608,1888,2400,2591,1009,4348,1497, 341,1737,3616,2723,1394, 529,3252,1321, # 3712
|
| 282 |
+
983,4661,1515,2120, 971,2592, 924, 287,1662,3186,4349,2700,4350,1519, 908,1948, # 3728
|
| 283 |
+
2452, 156, 796,1629,1486,2223,2055, 694,4126,1259,1036,3392,1213,2249,2742,1889, # 3744
|
| 284 |
+
1230,3958,1015, 910, 408, 559,3617,4662, 746, 725, 935,4663,3959,3009,1289, 563, # 3760
|
| 285 |
+
867,4664,3960,1567,2981,2038,2626, 988,2263,2381,4351, 143,2374, 704,1895,6175, # 3776
|
| 286 |
+
1188,3716,2088, 673,3085,2362,4352, 484,1608,1921,2765,2918, 215, 904,3618,3537, # 3792
|
| 287 |
+
894, 509, 976,3043,2701,3961,4353,2837,2982, 498,6176,6177,1102,3538,1332,3393, # 3808
|
| 288 |
+
1487,1636,1637, 233, 245,3962, 383, 650, 995,3044, 460,1520,1206,2352, 749,3327, # 3824
|
| 289 |
+
530, 700, 389,1438,1560,1773,3963,2264, 719,2951,2724,3834, 870,1832,1644,1000, # 3840
|
| 290 |
+
839,2474,3717, 197,1630,3394, 365,2886,3964,1285,2133, 734, 922, 818,1106, 732, # 3856
|
| 291 |
+
480,2083,1774,3458, 923,2279,1350, 221,3086, 85,2233,2234,3835,1585,3010,2147, # 3872
|
| 292 |
+
1387,1705,2382,1619,2475, 133, 239,2802,1991,1016,2084,2383, 411,2838,1113, 651, # 3888
|
| 293 |
+
1985,1160,3328, 990,1863,3087,1048,1276,2647, 265,2627,1599,3253,2056, 150, 638, # 3904
|
| 294 |
+
2019, 656, 853, 326,1479, 680,1439,4354,1001,1759, 413,3459,3395,2492,1431, 459, # 3920
|
| 295 |
+
4355,1125,3329,2265,1953,1450,2065,2863, 849, 351,2678,3131,3254,3255,1104,1577, # 3936
|
| 296 |
+
227,1351,1645,2453,2193,1421,2887, 812,2121, 634, 95,2435, 201,2312,4665,1646, # 3952
|
| 297 |
+
1671,2743,1601,2554,2702,2648,2280,1315,1366,2089,3132,1573,3718,3965,1729,1189, # 3968
|
| 298 |
+
328,2679,1077,1940,1136, 558,1283, 964,1195, 621,2074,1199,1743,3460,3619,1896, # 3984
|
| 299 |
+
1916,1890,3836,2952,1154,2112,1064, 862, 378,3011,2066,2113,2803,1568,2839,6178, # 4000
|
| 300 |
+
3088,2919,1941,1660,2004,1992,2194, 142, 707,1590,1708,1624,1922,1023,1836,1233, # 4016
|
| 301 |
+
1004,2313, 789, 741,3620,6179,1609,2411,1200,4127,3719,3720,4666,2057,3721, 593, # 4032
|
| 302 |
+
2840, 367,2920,1878,6180,3461,1521, 628,1168, 692,2211,2649, 300, 720,2067,2571, # 4048
|
| 303 |
+
2953,3396, 959,2504,3966,3539,3462,1977, 701,6181, 954,1043, 800, 681, 183,3722, # 4064
|
| 304 |
+
1803,1730,3540,4128,2103, 815,2314, 174, 467, 230,2454,1093,2134, 755,3541,3397, # 4080
|
| 305 |
+
1141,1162,6182,1738,2039, 270,3256,2513,1005,1647,2185,3837, 858,1679,1897,1719, # 4096
|
| 306 |
+
2954,2324,1806, 402, 670, 167,4129,1498,2158,2104, 750,6183, 915, 189,1680,1551, # 4112
|
| 307 |
+
455,4356,1501,2455, 405,1095,2955, 338,1586,1266,1819, 570, 641,1324, 237,1556, # 4128
|
| 308 |
+
2650,1388,3723,6184,1368,2384,1343,1978,3089,2436, 879,3724, 792,1191, 758,3012, # 4144
|
| 309 |
+
1411,2135,1322,4357, 240,4667,1848,3725,1574,6185, 420,3045,1546,1391, 714,4358, # 4160
|
| 310 |
+
1967, 941,1864, 863, 664, 426, 560,1731,2680,1785,2864,1949,2363, 403,3330,1415, # 4176
|
| 311 |
+
1279,2136,1697,2335, 204, 721,2097,3838, 90,6186,2085,2505, 191,3967, 124,2148, # 4192
|
| 312 |
+
1376,1798,1178,1107,1898,1405, 860,4359,1243,1272,2375,2983,1558,2456,1638, 113, # 4208
|
| 313 |
+
3621, 578,1923,2609, 880, 386,4130, 784,2186,2266,1422,2956,2172,1722, 497, 263, # 4224
|
| 314 |
+
2514,1267,2412,2610, 177,2703,3542, 774,1927,1344, 616,1432,1595,1018, 172,4360, # 4240
|
| 315 |
+
2325, 911,4361, 438,1468,3622, 794,3968,2024,2173,1681,1829,2957, 945, 895,3090, # 4256
|
| 316 |
+
575,2212,2476, 475,2401,2681, 785,2744,1745,2293,2555,1975,3133,2865, 394,4668, # 4272
|
| 317 |
+
3839, 635,4131, 639, 202,1507,2195,2766,1345,1435,2572,3726,1908,1184,1181,2457, # 4288
|
| 318 |
+
3727,3134,4362, 843,2611, 437, 916,4669, 234, 769,1884,3046,3047,3623, 833,6187, # 4304
|
| 319 |
+
1639,2250,2402,1355,1185,2010,2047, 999, 525,1732,1290,1488,2612, 948,1578,3728, # 4320
|
| 320 |
+
2413,2477,1216,2725,2159, 334,3840,1328,3624,2921,1525,4132, 564,1056, 891,4363, # 4336
|
| 321 |
+
1444,1698,2385,2251,3729,1365,2281,2235,1717,6188, 864,3841,2515, 444, 527,2767, # 4352
|
| 322 |
+
2922,3625, 544, 461,6189, 566, 209,2437,3398,2098,1065,2068,3331,3626,3257,2137, # 4368 #last 512
|
| 323 |
+
)
|
| 324 |
+
# fmt: on
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/johabfreq.py
ADDED
|
@@ -0,0 +1,2381 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is Mozilla Communicator client code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
# The frequency data itself is the same as euc-kr.
|
| 28 |
+
# This is just a mapping table to euc-kr.
|
| 29 |
+
|
| 30 |
+
JOHAB_TO_EUCKR_ORDER_TABLE = {
|
| 31 |
+
0x8861: 0,
|
| 32 |
+
0x8862: 1,
|
| 33 |
+
0x8865: 2,
|
| 34 |
+
0x8868: 3,
|
| 35 |
+
0x8869: 4,
|
| 36 |
+
0x886A: 5,
|
| 37 |
+
0x886B: 6,
|
| 38 |
+
0x8871: 7,
|
| 39 |
+
0x8873: 8,
|
| 40 |
+
0x8874: 9,
|
| 41 |
+
0x8875: 10,
|
| 42 |
+
0x8876: 11,
|
| 43 |
+
0x8877: 12,
|
| 44 |
+
0x8878: 13,
|
| 45 |
+
0x8879: 14,
|
| 46 |
+
0x887B: 15,
|
| 47 |
+
0x887C: 16,
|
| 48 |
+
0x887D: 17,
|
| 49 |
+
0x8881: 18,
|
| 50 |
+
0x8882: 19,
|
| 51 |
+
0x8885: 20,
|
| 52 |
+
0x8889: 21,
|
| 53 |
+
0x8891: 22,
|
| 54 |
+
0x8893: 23,
|
| 55 |
+
0x8895: 24,
|
| 56 |
+
0x8896: 25,
|
| 57 |
+
0x8897: 26,
|
| 58 |
+
0x88A1: 27,
|
| 59 |
+
0x88A2: 28,
|
| 60 |
+
0x88A5: 29,
|
| 61 |
+
0x88A9: 30,
|
| 62 |
+
0x88B5: 31,
|
| 63 |
+
0x88B7: 32,
|
| 64 |
+
0x88C1: 33,
|
| 65 |
+
0x88C5: 34,
|
| 66 |
+
0x88C9: 35,
|
| 67 |
+
0x88E1: 36,
|
| 68 |
+
0x88E2: 37,
|
| 69 |
+
0x88E5: 38,
|
| 70 |
+
0x88E8: 39,
|
| 71 |
+
0x88E9: 40,
|
| 72 |
+
0x88EB: 41,
|
| 73 |
+
0x88F1: 42,
|
| 74 |
+
0x88F3: 43,
|
| 75 |
+
0x88F5: 44,
|
| 76 |
+
0x88F6: 45,
|
| 77 |
+
0x88F7: 46,
|
| 78 |
+
0x88F8: 47,
|
| 79 |
+
0x88FB: 48,
|
| 80 |
+
0x88FC: 49,
|
| 81 |
+
0x88FD: 50,
|
| 82 |
+
0x8941: 51,
|
| 83 |
+
0x8945: 52,
|
| 84 |
+
0x8949: 53,
|
| 85 |
+
0x8951: 54,
|
| 86 |
+
0x8953: 55,
|
| 87 |
+
0x8955: 56,
|
| 88 |
+
0x8956: 57,
|
| 89 |
+
0x8957: 58,
|
| 90 |
+
0x8961: 59,
|
| 91 |
+
0x8962: 60,
|
| 92 |
+
0x8963: 61,
|
| 93 |
+
0x8965: 62,
|
| 94 |
+
0x8968: 63,
|
| 95 |
+
0x8969: 64,
|
| 96 |
+
0x8971: 65,
|
| 97 |
+
0x8973: 66,
|
| 98 |
+
0x8975: 67,
|
| 99 |
+
0x8976: 68,
|
| 100 |
+
0x8977: 69,
|
| 101 |
+
0x897B: 70,
|
| 102 |
+
0x8981: 71,
|
| 103 |
+
0x8985: 72,
|
| 104 |
+
0x8989: 73,
|
| 105 |
+
0x8993: 74,
|
| 106 |
+
0x8995: 75,
|
| 107 |
+
0x89A1: 76,
|
| 108 |
+
0x89A2: 77,
|
| 109 |
+
0x89A5: 78,
|
| 110 |
+
0x89A8: 79,
|
| 111 |
+
0x89A9: 80,
|
| 112 |
+
0x89AB: 81,
|
| 113 |
+
0x89AD: 82,
|
| 114 |
+
0x89B0: 83,
|
| 115 |
+
0x89B1: 84,
|
| 116 |
+
0x89B3: 85,
|
| 117 |
+
0x89B5: 86,
|
| 118 |
+
0x89B7: 87,
|
| 119 |
+
0x89B8: 88,
|
| 120 |
+
0x89C1: 89,
|
| 121 |
+
0x89C2: 90,
|
| 122 |
+
0x89C5: 91,
|
| 123 |
+
0x89C9: 92,
|
| 124 |
+
0x89CB: 93,
|
| 125 |
+
0x89D1: 94,
|
| 126 |
+
0x89D3: 95,
|
| 127 |
+
0x89D5: 96,
|
| 128 |
+
0x89D7: 97,
|
| 129 |
+
0x89E1: 98,
|
| 130 |
+
0x89E5: 99,
|
| 131 |
+
0x89E9: 100,
|
| 132 |
+
0x89F3: 101,
|
| 133 |
+
0x89F6: 102,
|
| 134 |
+
0x89F7: 103,
|
| 135 |
+
0x8A41: 104,
|
| 136 |
+
0x8A42: 105,
|
| 137 |
+
0x8A45: 106,
|
| 138 |
+
0x8A49: 107,
|
| 139 |
+
0x8A51: 108,
|
| 140 |
+
0x8A53: 109,
|
| 141 |
+
0x8A55: 110,
|
| 142 |
+
0x8A57: 111,
|
| 143 |
+
0x8A61: 112,
|
| 144 |
+
0x8A65: 113,
|
| 145 |
+
0x8A69: 114,
|
| 146 |
+
0x8A73: 115,
|
| 147 |
+
0x8A75: 116,
|
| 148 |
+
0x8A81: 117,
|
| 149 |
+
0x8A82: 118,
|
| 150 |
+
0x8A85: 119,
|
| 151 |
+
0x8A88: 120,
|
| 152 |
+
0x8A89: 121,
|
| 153 |
+
0x8A8A: 122,
|
| 154 |
+
0x8A8B: 123,
|
| 155 |
+
0x8A90: 124,
|
| 156 |
+
0x8A91: 125,
|
| 157 |
+
0x8A93: 126,
|
| 158 |
+
0x8A95: 127,
|
| 159 |
+
0x8A97: 128,
|
| 160 |
+
0x8A98: 129,
|
| 161 |
+
0x8AA1: 130,
|
| 162 |
+
0x8AA2: 131,
|
| 163 |
+
0x8AA5: 132,
|
| 164 |
+
0x8AA9: 133,
|
| 165 |
+
0x8AB6: 134,
|
| 166 |
+
0x8AB7: 135,
|
| 167 |
+
0x8AC1: 136,
|
| 168 |
+
0x8AD5: 137,
|
| 169 |
+
0x8AE1: 138,
|
| 170 |
+
0x8AE2: 139,
|
| 171 |
+
0x8AE5: 140,
|
| 172 |
+
0x8AE9: 141,
|
| 173 |
+
0x8AF1: 142,
|
| 174 |
+
0x8AF3: 143,
|
| 175 |
+
0x8AF5: 144,
|
| 176 |
+
0x8B41: 145,
|
| 177 |
+
0x8B45: 146,
|
| 178 |
+
0x8B49: 147,
|
| 179 |
+
0x8B61: 148,
|
| 180 |
+
0x8B62: 149,
|
| 181 |
+
0x8B65: 150,
|
| 182 |
+
0x8B68: 151,
|
| 183 |
+
0x8B69: 152,
|
| 184 |
+
0x8B6A: 153,
|
| 185 |
+
0x8B71: 154,
|
| 186 |
+
0x8B73: 155,
|
| 187 |
+
0x8B75: 156,
|
| 188 |
+
0x8B77: 157,
|
| 189 |
+
0x8B81: 158,
|
| 190 |
+
0x8BA1: 159,
|
| 191 |
+
0x8BA2: 160,
|
| 192 |
+
0x8BA5: 161,
|
| 193 |
+
0x8BA8: 162,
|
| 194 |
+
0x8BA9: 163,
|
| 195 |
+
0x8BAB: 164,
|
| 196 |
+
0x8BB1: 165,
|
| 197 |
+
0x8BB3: 166,
|
| 198 |
+
0x8BB5: 167,
|
| 199 |
+
0x8BB7: 168,
|
| 200 |
+
0x8BB8: 169,
|
| 201 |
+
0x8BBC: 170,
|
| 202 |
+
0x8C61: 171,
|
| 203 |
+
0x8C62: 172,
|
| 204 |
+
0x8C63: 173,
|
| 205 |
+
0x8C65: 174,
|
| 206 |
+
0x8C69: 175,
|
| 207 |
+
0x8C6B: 176,
|
| 208 |
+
0x8C71: 177,
|
| 209 |
+
0x8C73: 178,
|
| 210 |
+
0x8C75: 179,
|
| 211 |
+
0x8C76: 180,
|
| 212 |
+
0x8C77: 181,
|
| 213 |
+
0x8C7B: 182,
|
| 214 |
+
0x8C81: 183,
|
| 215 |
+
0x8C82: 184,
|
| 216 |
+
0x8C85: 185,
|
| 217 |
+
0x8C89: 186,
|
| 218 |
+
0x8C91: 187,
|
| 219 |
+
0x8C93: 188,
|
| 220 |
+
0x8C95: 189,
|
| 221 |
+
0x8C96: 190,
|
| 222 |
+
0x8C97: 191,
|
| 223 |
+
0x8CA1: 192,
|
| 224 |
+
0x8CA2: 193,
|
| 225 |
+
0x8CA9: 194,
|
| 226 |
+
0x8CE1: 195,
|
| 227 |
+
0x8CE2: 196,
|
| 228 |
+
0x8CE3: 197,
|
| 229 |
+
0x8CE5: 198,
|
| 230 |
+
0x8CE9: 199,
|
| 231 |
+
0x8CF1: 200,
|
| 232 |
+
0x8CF3: 201,
|
| 233 |
+
0x8CF5: 202,
|
| 234 |
+
0x8CF6: 203,
|
| 235 |
+
0x8CF7: 204,
|
| 236 |
+
0x8D41: 205,
|
| 237 |
+
0x8D42: 206,
|
| 238 |
+
0x8D45: 207,
|
| 239 |
+
0x8D51: 208,
|
| 240 |
+
0x8D55: 209,
|
| 241 |
+
0x8D57: 210,
|
| 242 |
+
0x8D61: 211,
|
| 243 |
+
0x8D65: 212,
|
| 244 |
+
0x8D69: 213,
|
| 245 |
+
0x8D75: 214,
|
| 246 |
+
0x8D76: 215,
|
| 247 |
+
0x8D7B: 216,
|
| 248 |
+
0x8D81: 217,
|
| 249 |
+
0x8DA1: 218,
|
| 250 |
+
0x8DA2: 219,
|
| 251 |
+
0x8DA5: 220,
|
| 252 |
+
0x8DA7: 221,
|
| 253 |
+
0x8DA9: 222,
|
| 254 |
+
0x8DB1: 223,
|
| 255 |
+
0x8DB3: 224,
|
| 256 |
+
0x8DB5: 225,
|
| 257 |
+
0x8DB7: 226,
|
| 258 |
+
0x8DB8: 227,
|
| 259 |
+
0x8DB9: 228,
|
| 260 |
+
0x8DC1: 229,
|
| 261 |
+
0x8DC2: 230,
|
| 262 |
+
0x8DC9: 231,
|
| 263 |
+
0x8DD6: 232,
|
| 264 |
+
0x8DD7: 233,
|
| 265 |
+
0x8DE1: 234,
|
| 266 |
+
0x8DE2: 235,
|
| 267 |
+
0x8DF7: 236,
|
| 268 |
+
0x8E41: 237,
|
| 269 |
+
0x8E45: 238,
|
| 270 |
+
0x8E49: 239,
|
| 271 |
+
0x8E51: 240,
|
| 272 |
+
0x8E53: 241,
|
| 273 |
+
0x8E57: 242,
|
| 274 |
+
0x8E61: 243,
|
| 275 |
+
0x8E81: 244,
|
| 276 |
+
0x8E82: 245,
|
| 277 |
+
0x8E85: 246,
|
| 278 |
+
0x8E89: 247,
|
| 279 |
+
0x8E90: 248,
|
| 280 |
+
0x8E91: 249,
|
| 281 |
+
0x8E93: 250,
|
| 282 |
+
0x8E95: 251,
|
| 283 |
+
0x8E97: 252,
|
| 284 |
+
0x8E98: 253,
|
| 285 |
+
0x8EA1: 254,
|
| 286 |
+
0x8EA9: 255,
|
| 287 |
+
0x8EB6: 256,
|
| 288 |
+
0x8EB7: 257,
|
| 289 |
+
0x8EC1: 258,
|
| 290 |
+
0x8EC2: 259,
|
| 291 |
+
0x8EC5: 260,
|
| 292 |
+
0x8EC9: 261,
|
| 293 |
+
0x8ED1: 262,
|
| 294 |
+
0x8ED3: 263,
|
| 295 |
+
0x8ED6: 264,
|
| 296 |
+
0x8EE1: 265,
|
| 297 |
+
0x8EE5: 266,
|
| 298 |
+
0x8EE9: 267,
|
| 299 |
+
0x8EF1: 268,
|
| 300 |
+
0x8EF3: 269,
|
| 301 |
+
0x8F41: 270,
|
| 302 |
+
0x8F61: 271,
|
| 303 |
+
0x8F62: 272,
|
| 304 |
+
0x8F65: 273,
|
| 305 |
+
0x8F67: 274,
|
| 306 |
+
0x8F69: 275,
|
| 307 |
+
0x8F6B: 276,
|
| 308 |
+
0x8F70: 277,
|
| 309 |
+
0x8F71: 278,
|
| 310 |
+
0x8F73: 279,
|
| 311 |
+
0x8F75: 280,
|
| 312 |
+
0x8F77: 281,
|
| 313 |
+
0x8F7B: 282,
|
| 314 |
+
0x8FA1: 283,
|
| 315 |
+
0x8FA2: 284,
|
| 316 |
+
0x8FA5: 285,
|
| 317 |
+
0x8FA9: 286,
|
| 318 |
+
0x8FB1: 287,
|
| 319 |
+
0x8FB3: 288,
|
| 320 |
+
0x8FB5: 289,
|
| 321 |
+
0x8FB7: 290,
|
| 322 |
+
0x9061: 291,
|
| 323 |
+
0x9062: 292,
|
| 324 |
+
0x9063: 293,
|
| 325 |
+
0x9065: 294,
|
| 326 |
+
0x9068: 295,
|
| 327 |
+
0x9069: 296,
|
| 328 |
+
0x906A: 297,
|
| 329 |
+
0x906B: 298,
|
| 330 |
+
0x9071: 299,
|
| 331 |
+
0x9073: 300,
|
| 332 |
+
0x9075: 301,
|
| 333 |
+
0x9076: 302,
|
| 334 |
+
0x9077: 303,
|
| 335 |
+
0x9078: 304,
|
| 336 |
+
0x9079: 305,
|
| 337 |
+
0x907B: 306,
|
| 338 |
+
0x907D: 307,
|
| 339 |
+
0x9081: 308,
|
| 340 |
+
0x9082: 309,
|
| 341 |
+
0x9085: 310,
|
| 342 |
+
0x9089: 311,
|
| 343 |
+
0x9091: 312,
|
| 344 |
+
0x9093: 313,
|
| 345 |
+
0x9095: 314,
|
| 346 |
+
0x9096: 315,
|
| 347 |
+
0x9097: 316,
|
| 348 |
+
0x90A1: 317,
|
| 349 |
+
0x90A2: 318,
|
| 350 |
+
0x90A5: 319,
|
| 351 |
+
0x90A9: 320,
|
| 352 |
+
0x90B1: 321,
|
| 353 |
+
0x90B7: 322,
|
| 354 |
+
0x90E1: 323,
|
| 355 |
+
0x90E2: 324,
|
| 356 |
+
0x90E4: 325,
|
| 357 |
+
0x90E5: 326,
|
| 358 |
+
0x90E9: 327,
|
| 359 |
+
0x90EB: 328,
|
| 360 |
+
0x90EC: 329,
|
| 361 |
+
0x90F1: 330,
|
| 362 |
+
0x90F3: 331,
|
| 363 |
+
0x90F5: 332,
|
| 364 |
+
0x90F6: 333,
|
| 365 |
+
0x90F7: 334,
|
| 366 |
+
0x90FD: 335,
|
| 367 |
+
0x9141: 336,
|
| 368 |
+
0x9142: 337,
|
| 369 |
+
0x9145: 338,
|
| 370 |
+
0x9149: 339,
|
| 371 |
+
0x9151: 340,
|
| 372 |
+
0x9153: 341,
|
| 373 |
+
0x9155: 342,
|
| 374 |
+
0x9156: 343,
|
| 375 |
+
0x9157: 344,
|
| 376 |
+
0x9161: 345,
|
| 377 |
+
0x9162: 346,
|
| 378 |
+
0x9165: 347,
|
| 379 |
+
0x9169: 348,
|
| 380 |
+
0x9171: 349,
|
| 381 |
+
0x9173: 350,
|
| 382 |
+
0x9176: 351,
|
| 383 |
+
0x9177: 352,
|
| 384 |
+
0x917A: 353,
|
| 385 |
+
0x9181: 354,
|
| 386 |
+
0x9185: 355,
|
| 387 |
+
0x91A1: 356,
|
| 388 |
+
0x91A2: 357,
|
| 389 |
+
0x91A5: 358,
|
| 390 |
+
0x91A9: 359,
|
| 391 |
+
0x91AB: 360,
|
| 392 |
+
0x91B1: 361,
|
| 393 |
+
0x91B3: 362,
|
| 394 |
+
0x91B5: 363,
|
| 395 |
+
0x91B7: 364,
|
| 396 |
+
0x91BC: 365,
|
| 397 |
+
0x91BD: 366,
|
| 398 |
+
0x91C1: 367,
|
| 399 |
+
0x91C5: 368,
|
| 400 |
+
0x91C9: 369,
|
| 401 |
+
0x91D6: 370,
|
| 402 |
+
0x9241: 371,
|
| 403 |
+
0x9245: 372,
|
| 404 |
+
0x9249: 373,
|
| 405 |
+
0x9251: 374,
|
| 406 |
+
0x9253: 375,
|
| 407 |
+
0x9255: 376,
|
| 408 |
+
0x9261: 377,
|
| 409 |
+
0x9262: 378,
|
| 410 |
+
0x9265: 379,
|
| 411 |
+
0x9269: 380,
|
| 412 |
+
0x9273: 381,
|
| 413 |
+
0x9275: 382,
|
| 414 |
+
0x9277: 383,
|
| 415 |
+
0x9281: 384,
|
| 416 |
+
0x9282: 385,
|
| 417 |
+
0x9285: 386,
|
| 418 |
+
0x9288: 387,
|
| 419 |
+
0x9289: 388,
|
| 420 |
+
0x9291: 389,
|
| 421 |
+
0x9293: 390,
|
| 422 |
+
0x9295: 391,
|
| 423 |
+
0x9297: 392,
|
| 424 |
+
0x92A1: 393,
|
| 425 |
+
0x92B6: 394,
|
| 426 |
+
0x92C1: 395,
|
| 427 |
+
0x92E1: 396,
|
| 428 |
+
0x92E5: 397,
|
| 429 |
+
0x92E9: 398,
|
| 430 |
+
0x92F1: 399,
|
| 431 |
+
0x92F3: 400,
|
| 432 |
+
0x9341: 401,
|
| 433 |
+
0x9342: 402,
|
| 434 |
+
0x9349: 403,
|
| 435 |
+
0x9351: 404,
|
| 436 |
+
0x9353: 405,
|
| 437 |
+
0x9357: 406,
|
| 438 |
+
0x9361: 407,
|
| 439 |
+
0x9362: 408,
|
| 440 |
+
0x9365: 409,
|
| 441 |
+
0x9369: 410,
|
| 442 |
+
0x936A: 411,
|
| 443 |
+
0x936B: 412,
|
| 444 |
+
0x9371: 413,
|
| 445 |
+
0x9373: 414,
|
| 446 |
+
0x9375: 415,
|
| 447 |
+
0x9377: 416,
|
| 448 |
+
0x9378: 417,
|
| 449 |
+
0x937C: 418,
|
| 450 |
+
0x9381: 419,
|
| 451 |
+
0x9385: 420,
|
| 452 |
+
0x9389: 421,
|
| 453 |
+
0x93A1: 422,
|
| 454 |
+
0x93A2: 423,
|
| 455 |
+
0x93A5: 424,
|
| 456 |
+
0x93A9: 425,
|
| 457 |
+
0x93AB: 426,
|
| 458 |
+
0x93B1: 427,
|
| 459 |
+
0x93B3: 428,
|
| 460 |
+
0x93B5: 429,
|
| 461 |
+
0x93B7: 430,
|
| 462 |
+
0x93BC: 431,
|
| 463 |
+
0x9461: 432,
|
| 464 |
+
0x9462: 433,
|
| 465 |
+
0x9463: 434,
|
| 466 |
+
0x9465: 435,
|
| 467 |
+
0x9468: 436,
|
| 468 |
+
0x9469: 437,
|
| 469 |
+
0x946A: 438,
|
| 470 |
+
0x946B: 439,
|
| 471 |
+
0x946C: 440,
|
| 472 |
+
0x9470: 441,
|
| 473 |
+
0x9471: 442,
|
| 474 |
+
0x9473: 443,
|
| 475 |
+
0x9475: 444,
|
| 476 |
+
0x9476: 445,
|
| 477 |
+
0x9477: 446,
|
| 478 |
+
0x9478: 447,
|
| 479 |
+
0x9479: 448,
|
| 480 |
+
0x947D: 449,
|
| 481 |
+
0x9481: 450,
|
| 482 |
+
0x9482: 451,
|
| 483 |
+
0x9485: 452,
|
| 484 |
+
0x9489: 453,
|
| 485 |
+
0x9491: 454,
|
| 486 |
+
0x9493: 455,
|
| 487 |
+
0x9495: 456,
|
| 488 |
+
0x9496: 457,
|
| 489 |
+
0x9497: 458,
|
| 490 |
+
0x94A1: 459,
|
| 491 |
+
0x94E1: 460,
|
| 492 |
+
0x94E2: 461,
|
| 493 |
+
0x94E3: 462,
|
| 494 |
+
0x94E5: 463,
|
| 495 |
+
0x94E8: 464,
|
| 496 |
+
0x94E9: 465,
|
| 497 |
+
0x94EB: 466,
|
| 498 |
+
0x94EC: 467,
|
| 499 |
+
0x94F1: 468,
|
| 500 |
+
0x94F3: 469,
|
| 501 |
+
0x94F5: 470,
|
| 502 |
+
0x94F7: 471,
|
| 503 |
+
0x94F9: 472,
|
| 504 |
+
0x94FC: 473,
|
| 505 |
+
0x9541: 474,
|
| 506 |
+
0x9542: 475,
|
| 507 |
+
0x9545: 476,
|
| 508 |
+
0x9549: 477,
|
| 509 |
+
0x9551: 478,
|
| 510 |
+
0x9553: 479,
|
| 511 |
+
0x9555: 480,
|
| 512 |
+
0x9556: 481,
|
| 513 |
+
0x9557: 482,
|
| 514 |
+
0x9561: 483,
|
| 515 |
+
0x9565: 484,
|
| 516 |
+
0x9569: 485,
|
| 517 |
+
0x9576: 486,
|
| 518 |
+
0x9577: 487,
|
| 519 |
+
0x9581: 488,
|
| 520 |
+
0x9585: 489,
|
| 521 |
+
0x95A1: 490,
|
| 522 |
+
0x95A2: 491,
|
| 523 |
+
0x95A5: 492,
|
| 524 |
+
0x95A8: 493,
|
| 525 |
+
0x95A9: 494,
|
| 526 |
+
0x95AB: 495,
|
| 527 |
+
0x95AD: 496,
|
| 528 |
+
0x95B1: 497,
|
| 529 |
+
0x95B3: 498,
|
| 530 |
+
0x95B5: 499,
|
| 531 |
+
0x95B7: 500,
|
| 532 |
+
0x95B9: 501,
|
| 533 |
+
0x95BB: 502,
|
| 534 |
+
0x95C1: 503,
|
| 535 |
+
0x95C5: 504,
|
| 536 |
+
0x95C9: 505,
|
| 537 |
+
0x95E1: 506,
|
| 538 |
+
0x95F6: 507,
|
| 539 |
+
0x9641: 508,
|
| 540 |
+
0x9645: 509,
|
| 541 |
+
0x9649: 510,
|
| 542 |
+
0x9651: 511,
|
| 543 |
+
0x9653: 512,
|
| 544 |
+
0x9655: 513,
|
| 545 |
+
0x9661: 514,
|
| 546 |
+
0x9681: 515,
|
| 547 |
+
0x9682: 516,
|
| 548 |
+
0x9685: 517,
|
| 549 |
+
0x9689: 518,
|
| 550 |
+
0x9691: 519,
|
| 551 |
+
0x9693: 520,
|
| 552 |
+
0x9695: 521,
|
| 553 |
+
0x9697: 522,
|
| 554 |
+
0x96A1: 523,
|
| 555 |
+
0x96B6: 524,
|
| 556 |
+
0x96C1: 525,
|
| 557 |
+
0x96D7: 526,
|
| 558 |
+
0x96E1: 527,
|
| 559 |
+
0x96E5: 528,
|
| 560 |
+
0x96E9: 529,
|
| 561 |
+
0x96F3: 530,
|
| 562 |
+
0x96F5: 531,
|
| 563 |
+
0x96F7: 532,
|
| 564 |
+
0x9741: 533,
|
| 565 |
+
0x9745: 534,
|
| 566 |
+
0x9749: 535,
|
| 567 |
+
0x9751: 536,
|
| 568 |
+
0x9757: 537,
|
| 569 |
+
0x9761: 538,
|
| 570 |
+
0x9762: 539,
|
| 571 |
+
0x9765: 540,
|
| 572 |
+
0x9768: 541,
|
| 573 |
+
0x9769: 542,
|
| 574 |
+
0x976B: 543,
|
| 575 |
+
0x9771: 544,
|
| 576 |
+
0x9773: 545,
|
| 577 |
+
0x9775: 546,
|
| 578 |
+
0x9777: 547,
|
| 579 |
+
0x9781: 548,
|
| 580 |
+
0x97A1: 549,
|
| 581 |
+
0x97A2: 550,
|
| 582 |
+
0x97A5: 551,
|
| 583 |
+
0x97A8: 552,
|
| 584 |
+
0x97A9: 553,
|
| 585 |
+
0x97B1: 554,
|
| 586 |
+
0x97B3: 555,
|
| 587 |
+
0x97B5: 556,
|
| 588 |
+
0x97B6: 557,
|
| 589 |
+
0x97B7: 558,
|
| 590 |
+
0x97B8: 559,
|
| 591 |
+
0x9861: 560,
|
| 592 |
+
0x9862: 561,
|
| 593 |
+
0x9865: 562,
|
| 594 |
+
0x9869: 563,
|
| 595 |
+
0x9871: 564,
|
| 596 |
+
0x9873: 565,
|
| 597 |
+
0x9875: 566,
|
| 598 |
+
0x9876: 567,
|
| 599 |
+
0x9877: 568,
|
| 600 |
+
0x987D: 569,
|
| 601 |
+
0x9881: 570,
|
| 602 |
+
0x9882: 571,
|
| 603 |
+
0x9885: 572,
|
| 604 |
+
0x9889: 573,
|
| 605 |
+
0x9891: 574,
|
| 606 |
+
0x9893: 575,
|
| 607 |
+
0x9895: 576,
|
| 608 |
+
0x9896: 577,
|
| 609 |
+
0x9897: 578,
|
| 610 |
+
0x98E1: 579,
|
| 611 |
+
0x98E2: 580,
|
| 612 |
+
0x98E5: 581,
|
| 613 |
+
0x98E9: 582,
|
| 614 |
+
0x98EB: 583,
|
| 615 |
+
0x98EC: 584,
|
| 616 |
+
0x98F1: 585,
|
| 617 |
+
0x98F3: 586,
|
| 618 |
+
0x98F5: 587,
|
| 619 |
+
0x98F6: 588,
|
| 620 |
+
0x98F7: 589,
|
| 621 |
+
0x98FD: 590,
|
| 622 |
+
0x9941: 591,
|
| 623 |
+
0x9942: 592,
|
| 624 |
+
0x9945: 593,
|
| 625 |
+
0x9949: 594,
|
| 626 |
+
0x9951: 595,
|
| 627 |
+
0x9953: 596,
|
| 628 |
+
0x9955: 597,
|
| 629 |
+
0x9956: 598,
|
| 630 |
+
0x9957: 599,
|
| 631 |
+
0x9961: 600,
|
| 632 |
+
0x9976: 601,
|
| 633 |
+
0x99A1: 602,
|
| 634 |
+
0x99A2: 603,
|
| 635 |
+
0x99A5: 604,
|
| 636 |
+
0x99A9: 605,
|
| 637 |
+
0x99B7: 606,
|
| 638 |
+
0x99C1: 607,
|
| 639 |
+
0x99C9: 608,
|
| 640 |
+
0x99E1: 609,
|
| 641 |
+
0x9A41: 610,
|
| 642 |
+
0x9A45: 611,
|
| 643 |
+
0x9A81: 612,
|
| 644 |
+
0x9A82: 613,
|
| 645 |
+
0x9A85: 614,
|
| 646 |
+
0x9A89: 615,
|
| 647 |
+
0x9A90: 616,
|
| 648 |
+
0x9A91: 617,
|
| 649 |
+
0x9A97: 618,
|
| 650 |
+
0x9AC1: 619,
|
| 651 |
+
0x9AE1: 620,
|
| 652 |
+
0x9AE5: 621,
|
| 653 |
+
0x9AE9: 622,
|
| 654 |
+
0x9AF1: 623,
|
| 655 |
+
0x9AF3: 624,
|
| 656 |
+
0x9AF7: 625,
|
| 657 |
+
0x9B61: 626,
|
| 658 |
+
0x9B62: 627,
|
| 659 |
+
0x9B65: 628,
|
| 660 |
+
0x9B68: 629,
|
| 661 |
+
0x9B69: 630,
|
| 662 |
+
0x9B71: 631,
|
| 663 |
+
0x9B73: 632,
|
| 664 |
+
0x9B75: 633,
|
| 665 |
+
0x9B81: 634,
|
| 666 |
+
0x9B85: 635,
|
| 667 |
+
0x9B89: 636,
|
| 668 |
+
0x9B91: 637,
|
| 669 |
+
0x9B93: 638,
|
| 670 |
+
0x9BA1: 639,
|
| 671 |
+
0x9BA5: 640,
|
| 672 |
+
0x9BA9: 641,
|
| 673 |
+
0x9BB1: 642,
|
| 674 |
+
0x9BB3: 643,
|
| 675 |
+
0x9BB5: 644,
|
| 676 |
+
0x9BB7: 645,
|
| 677 |
+
0x9C61: 646,
|
| 678 |
+
0x9C62: 647,
|
| 679 |
+
0x9C65: 648,
|
| 680 |
+
0x9C69: 649,
|
| 681 |
+
0x9C71: 650,
|
| 682 |
+
0x9C73: 651,
|
| 683 |
+
0x9C75: 652,
|
| 684 |
+
0x9C76: 653,
|
| 685 |
+
0x9C77: 654,
|
| 686 |
+
0x9C78: 655,
|
| 687 |
+
0x9C7C: 656,
|
| 688 |
+
0x9C7D: 657,
|
| 689 |
+
0x9C81: 658,
|
| 690 |
+
0x9C82: 659,
|
| 691 |
+
0x9C85: 660,
|
| 692 |
+
0x9C89: 661,
|
| 693 |
+
0x9C91: 662,
|
| 694 |
+
0x9C93: 663,
|
| 695 |
+
0x9C95: 664,
|
| 696 |
+
0x9C96: 665,
|
| 697 |
+
0x9C97: 666,
|
| 698 |
+
0x9CA1: 667,
|
| 699 |
+
0x9CA2: 668,
|
| 700 |
+
0x9CA5: 669,
|
| 701 |
+
0x9CB5: 670,
|
| 702 |
+
0x9CB7: 671,
|
| 703 |
+
0x9CE1: 672,
|
| 704 |
+
0x9CE2: 673,
|
| 705 |
+
0x9CE5: 674,
|
| 706 |
+
0x9CE9: 675,
|
| 707 |
+
0x9CF1: 676,
|
| 708 |
+
0x9CF3: 677,
|
| 709 |
+
0x9CF5: 678,
|
| 710 |
+
0x9CF6: 679,
|
| 711 |
+
0x9CF7: 680,
|
| 712 |
+
0x9CFD: 681,
|
| 713 |
+
0x9D41: 682,
|
| 714 |
+
0x9D42: 683,
|
| 715 |
+
0x9D45: 684,
|
| 716 |
+
0x9D49: 685,
|
| 717 |
+
0x9D51: 686,
|
| 718 |
+
0x9D53: 687,
|
| 719 |
+
0x9D55: 688,
|
| 720 |
+
0x9D57: 689,
|
| 721 |
+
0x9D61: 690,
|
| 722 |
+
0x9D62: 691,
|
| 723 |
+
0x9D65: 692,
|
| 724 |
+
0x9D69: 693,
|
| 725 |
+
0x9D71: 694,
|
| 726 |
+
0x9D73: 695,
|
| 727 |
+
0x9D75: 696,
|
| 728 |
+
0x9D76: 697,
|
| 729 |
+
0x9D77: 698,
|
| 730 |
+
0x9D81: 699,
|
| 731 |
+
0x9D85: 700,
|
| 732 |
+
0x9D93: 701,
|
| 733 |
+
0x9D95: 702,
|
| 734 |
+
0x9DA1: 703,
|
| 735 |
+
0x9DA2: 704,
|
| 736 |
+
0x9DA5: 705,
|
| 737 |
+
0x9DA9: 706,
|
| 738 |
+
0x9DB1: 707,
|
| 739 |
+
0x9DB3: 708,
|
| 740 |
+
0x9DB5: 709,
|
| 741 |
+
0x9DB7: 710,
|
| 742 |
+
0x9DC1: 711,
|
| 743 |
+
0x9DC5: 712,
|
| 744 |
+
0x9DD7: 713,
|
| 745 |
+
0x9DF6: 714,
|
| 746 |
+
0x9E41: 715,
|
| 747 |
+
0x9E45: 716,
|
| 748 |
+
0x9E49: 717,
|
| 749 |
+
0x9E51: 718,
|
| 750 |
+
0x9E53: 719,
|
| 751 |
+
0x9E55: 720,
|
| 752 |
+
0x9E57: 721,
|
| 753 |
+
0x9E61: 722,
|
| 754 |
+
0x9E65: 723,
|
| 755 |
+
0x9E69: 724,
|
| 756 |
+
0x9E73: 725,
|
| 757 |
+
0x9E75: 726,
|
| 758 |
+
0x9E77: 727,
|
| 759 |
+
0x9E81: 728,
|
| 760 |
+
0x9E82: 729,
|
| 761 |
+
0x9E85: 730,
|
| 762 |
+
0x9E89: 731,
|
| 763 |
+
0x9E91: 732,
|
| 764 |
+
0x9E93: 733,
|
| 765 |
+
0x9E95: 734,
|
| 766 |
+
0x9E97: 735,
|
| 767 |
+
0x9EA1: 736,
|
| 768 |
+
0x9EB6: 737,
|
| 769 |
+
0x9EC1: 738,
|
| 770 |
+
0x9EE1: 739,
|
| 771 |
+
0x9EE2: 740,
|
| 772 |
+
0x9EE5: 741,
|
| 773 |
+
0x9EE9: 742,
|
| 774 |
+
0x9EF1: 743,
|
| 775 |
+
0x9EF5: 744,
|
| 776 |
+
0x9EF7: 745,
|
| 777 |
+
0x9F41: 746,
|
| 778 |
+
0x9F42: 747,
|
| 779 |
+
0x9F45: 748,
|
| 780 |
+
0x9F49: 749,
|
| 781 |
+
0x9F51: 750,
|
| 782 |
+
0x9F53: 751,
|
| 783 |
+
0x9F55: 752,
|
| 784 |
+
0x9F57: 753,
|
| 785 |
+
0x9F61: 754,
|
| 786 |
+
0x9F62: 755,
|
| 787 |
+
0x9F65: 756,
|
| 788 |
+
0x9F69: 757,
|
| 789 |
+
0x9F71: 758,
|
| 790 |
+
0x9F73: 759,
|
| 791 |
+
0x9F75: 760,
|
| 792 |
+
0x9F77: 761,
|
| 793 |
+
0x9F78: 762,
|
| 794 |
+
0x9F7B: 763,
|
| 795 |
+
0x9F7C: 764,
|
| 796 |
+
0x9FA1: 765,
|
| 797 |
+
0x9FA2: 766,
|
| 798 |
+
0x9FA5: 767,
|
| 799 |
+
0x9FA9: 768,
|
| 800 |
+
0x9FB1: 769,
|
| 801 |
+
0x9FB3: 770,
|
| 802 |
+
0x9FB5: 771,
|
| 803 |
+
0x9FB7: 772,
|
| 804 |
+
0xA061: 773,
|
| 805 |
+
0xA062: 774,
|
| 806 |
+
0xA065: 775,
|
| 807 |
+
0xA067: 776,
|
| 808 |
+
0xA068: 777,
|
| 809 |
+
0xA069: 778,
|
| 810 |
+
0xA06A: 779,
|
| 811 |
+
0xA06B: 780,
|
| 812 |
+
0xA071: 781,
|
| 813 |
+
0xA073: 782,
|
| 814 |
+
0xA075: 783,
|
| 815 |
+
0xA077: 784,
|
| 816 |
+
0xA078: 785,
|
| 817 |
+
0xA07B: 786,
|
| 818 |
+
0xA07D: 787,
|
| 819 |
+
0xA081: 788,
|
| 820 |
+
0xA082: 789,
|
| 821 |
+
0xA085: 790,
|
| 822 |
+
0xA089: 791,
|
| 823 |
+
0xA091: 792,
|
| 824 |
+
0xA093: 793,
|
| 825 |
+
0xA095: 794,
|
| 826 |
+
0xA096: 795,
|
| 827 |
+
0xA097: 796,
|
| 828 |
+
0xA098: 797,
|
| 829 |
+
0xA0A1: 798,
|
| 830 |
+
0xA0A2: 799,
|
| 831 |
+
0xA0A9: 800,
|
| 832 |
+
0xA0B7: 801,
|
| 833 |
+
0xA0E1: 802,
|
| 834 |
+
0xA0E2: 803,
|
| 835 |
+
0xA0E5: 804,
|
| 836 |
+
0xA0E9: 805,
|
| 837 |
+
0xA0EB: 806,
|
| 838 |
+
0xA0F1: 807,
|
| 839 |
+
0xA0F3: 808,
|
| 840 |
+
0xA0F5: 809,
|
| 841 |
+
0xA0F7: 810,
|
| 842 |
+
0xA0F8: 811,
|
| 843 |
+
0xA0FD: 812,
|
| 844 |
+
0xA141: 813,
|
| 845 |
+
0xA142: 814,
|
| 846 |
+
0xA145: 815,
|
| 847 |
+
0xA149: 816,
|
| 848 |
+
0xA151: 817,
|
| 849 |
+
0xA153: 818,
|
| 850 |
+
0xA155: 819,
|
| 851 |
+
0xA156: 820,
|
| 852 |
+
0xA157: 821,
|
| 853 |
+
0xA161: 822,
|
| 854 |
+
0xA162: 823,
|
| 855 |
+
0xA165: 824,
|
| 856 |
+
0xA169: 825,
|
| 857 |
+
0xA175: 826,
|
| 858 |
+
0xA176: 827,
|
| 859 |
+
0xA177: 828,
|
| 860 |
+
0xA179: 829,
|
| 861 |
+
0xA181: 830,
|
| 862 |
+
0xA1A1: 831,
|
| 863 |
+
0xA1A2: 832,
|
| 864 |
+
0xA1A4: 833,
|
| 865 |
+
0xA1A5: 834,
|
| 866 |
+
0xA1A9: 835,
|
| 867 |
+
0xA1AB: 836,
|
| 868 |
+
0xA1B1: 837,
|
| 869 |
+
0xA1B3: 838,
|
| 870 |
+
0xA1B5: 839,
|
| 871 |
+
0xA1B7: 840,
|
| 872 |
+
0xA1C1: 841,
|
| 873 |
+
0xA1C5: 842,
|
| 874 |
+
0xA1D6: 843,
|
| 875 |
+
0xA1D7: 844,
|
| 876 |
+
0xA241: 845,
|
| 877 |
+
0xA245: 846,
|
| 878 |
+
0xA249: 847,
|
| 879 |
+
0xA253: 848,
|
| 880 |
+
0xA255: 849,
|
| 881 |
+
0xA257: 850,
|
| 882 |
+
0xA261: 851,
|
| 883 |
+
0xA265: 852,
|
| 884 |
+
0xA269: 853,
|
| 885 |
+
0xA273: 854,
|
| 886 |
+
0xA275: 855,
|
| 887 |
+
0xA281: 856,
|
| 888 |
+
0xA282: 857,
|
| 889 |
+
0xA283: 858,
|
| 890 |
+
0xA285: 859,
|
| 891 |
+
0xA288: 860,
|
| 892 |
+
0xA289: 861,
|
| 893 |
+
0xA28A: 862,
|
| 894 |
+
0xA28B: 863,
|
| 895 |
+
0xA291: 864,
|
| 896 |
+
0xA293: 865,
|
| 897 |
+
0xA295: 866,
|
| 898 |
+
0xA297: 867,
|
| 899 |
+
0xA29B: 868,
|
| 900 |
+
0xA29D: 869,
|
| 901 |
+
0xA2A1: 870,
|
| 902 |
+
0xA2A5: 871,
|
| 903 |
+
0xA2A9: 872,
|
| 904 |
+
0xA2B3: 873,
|
| 905 |
+
0xA2B5: 874,
|
| 906 |
+
0xA2C1: 875,
|
| 907 |
+
0xA2E1: 876,
|
| 908 |
+
0xA2E5: 877,
|
| 909 |
+
0xA2E9: 878,
|
| 910 |
+
0xA341: 879,
|
| 911 |
+
0xA345: 880,
|
| 912 |
+
0xA349: 881,
|
| 913 |
+
0xA351: 882,
|
| 914 |
+
0xA355: 883,
|
| 915 |
+
0xA361: 884,
|
| 916 |
+
0xA365: 885,
|
| 917 |
+
0xA369: 886,
|
| 918 |
+
0xA371: 887,
|
| 919 |
+
0xA375: 888,
|
| 920 |
+
0xA3A1: 889,
|
| 921 |
+
0xA3A2: 890,
|
| 922 |
+
0xA3A5: 891,
|
| 923 |
+
0xA3A8: 892,
|
| 924 |
+
0xA3A9: 893,
|
| 925 |
+
0xA3AB: 894,
|
| 926 |
+
0xA3B1: 895,
|
| 927 |
+
0xA3B3: 896,
|
| 928 |
+
0xA3B5: 897,
|
| 929 |
+
0xA3B6: 898,
|
| 930 |
+
0xA3B7: 899,
|
| 931 |
+
0xA3B9: 900,
|
| 932 |
+
0xA3BB: 901,
|
| 933 |
+
0xA461: 902,
|
| 934 |
+
0xA462: 903,
|
| 935 |
+
0xA463: 904,
|
| 936 |
+
0xA464: 905,
|
| 937 |
+
0xA465: 906,
|
| 938 |
+
0xA468: 907,
|
| 939 |
+
0xA469: 908,
|
| 940 |
+
0xA46A: 909,
|
| 941 |
+
0xA46B: 910,
|
| 942 |
+
0xA46C: 911,
|
| 943 |
+
0xA471: 912,
|
| 944 |
+
0xA473: 913,
|
| 945 |
+
0xA475: 914,
|
| 946 |
+
0xA477: 915,
|
| 947 |
+
0xA47B: 916,
|
| 948 |
+
0xA481: 917,
|
| 949 |
+
0xA482: 918,
|
| 950 |
+
0xA485: 919,
|
| 951 |
+
0xA489: 920,
|
| 952 |
+
0xA491: 921,
|
| 953 |
+
0xA493: 922,
|
| 954 |
+
0xA495: 923,
|
| 955 |
+
0xA496: 924,
|
| 956 |
+
0xA497: 925,
|
| 957 |
+
0xA49B: 926,
|
| 958 |
+
0xA4A1: 927,
|
| 959 |
+
0xA4A2: 928,
|
| 960 |
+
0xA4A5: 929,
|
| 961 |
+
0xA4B3: 930,
|
| 962 |
+
0xA4E1: 931,
|
| 963 |
+
0xA4E2: 932,
|
| 964 |
+
0xA4E5: 933,
|
| 965 |
+
0xA4E8: 934,
|
| 966 |
+
0xA4E9: 935,
|
| 967 |
+
0xA4EB: 936,
|
| 968 |
+
0xA4F1: 937,
|
| 969 |
+
0xA4F3: 938,
|
| 970 |
+
0xA4F5: 939,
|
| 971 |
+
0xA4F7: 940,
|
| 972 |
+
0xA4F8: 941,
|
| 973 |
+
0xA541: 942,
|
| 974 |
+
0xA542: 943,
|
| 975 |
+
0xA545: 944,
|
| 976 |
+
0xA548: 945,
|
| 977 |
+
0xA549: 946,
|
| 978 |
+
0xA551: 947,
|
| 979 |
+
0xA553: 948,
|
| 980 |
+
0xA555: 949,
|
| 981 |
+
0xA556: 950,
|
| 982 |
+
0xA557: 951,
|
| 983 |
+
0xA561: 952,
|
| 984 |
+
0xA562: 953,
|
| 985 |
+
0xA565: 954,
|
| 986 |
+
0xA569: 955,
|
| 987 |
+
0xA573: 956,
|
| 988 |
+
0xA575: 957,
|
| 989 |
+
0xA576: 958,
|
| 990 |
+
0xA577: 959,
|
| 991 |
+
0xA57B: 960,
|
| 992 |
+
0xA581: 961,
|
| 993 |
+
0xA585: 962,
|
| 994 |
+
0xA5A1: 963,
|
| 995 |
+
0xA5A2: 964,
|
| 996 |
+
0xA5A3: 965,
|
| 997 |
+
0xA5A5: 966,
|
| 998 |
+
0xA5A9: 967,
|
| 999 |
+
0xA5B1: 968,
|
| 1000 |
+
0xA5B3: 969,
|
| 1001 |
+
0xA5B5: 970,
|
| 1002 |
+
0xA5B7: 971,
|
| 1003 |
+
0xA5C1: 972,
|
| 1004 |
+
0xA5C5: 973,
|
| 1005 |
+
0xA5D6: 974,
|
| 1006 |
+
0xA5E1: 975,
|
| 1007 |
+
0xA5F6: 976,
|
| 1008 |
+
0xA641: 977,
|
| 1009 |
+
0xA642: 978,
|
| 1010 |
+
0xA645: 979,
|
| 1011 |
+
0xA649: 980,
|
| 1012 |
+
0xA651: 981,
|
| 1013 |
+
0xA653: 982,
|
| 1014 |
+
0xA661: 983,
|
| 1015 |
+
0xA665: 984,
|
| 1016 |
+
0xA681: 985,
|
| 1017 |
+
0xA682: 986,
|
| 1018 |
+
0xA685: 987,
|
| 1019 |
+
0xA688: 988,
|
| 1020 |
+
0xA689: 989,
|
| 1021 |
+
0xA68A: 990,
|
| 1022 |
+
0xA68B: 991,
|
| 1023 |
+
0xA691: 992,
|
| 1024 |
+
0xA693: 993,
|
| 1025 |
+
0xA695: 994,
|
| 1026 |
+
0xA697: 995,
|
| 1027 |
+
0xA69B: 996,
|
| 1028 |
+
0xA69C: 997,
|
| 1029 |
+
0xA6A1: 998,
|
| 1030 |
+
0xA6A9: 999,
|
| 1031 |
+
0xA6B6: 1000,
|
| 1032 |
+
0xA6C1: 1001,
|
| 1033 |
+
0xA6E1: 1002,
|
| 1034 |
+
0xA6E2: 1003,
|
| 1035 |
+
0xA6E5: 1004,
|
| 1036 |
+
0xA6E9: 1005,
|
| 1037 |
+
0xA6F7: 1006,
|
| 1038 |
+
0xA741: 1007,
|
| 1039 |
+
0xA745: 1008,
|
| 1040 |
+
0xA749: 1009,
|
| 1041 |
+
0xA751: 1010,
|
| 1042 |
+
0xA755: 1011,
|
| 1043 |
+
0xA757: 1012,
|
| 1044 |
+
0xA761: 1013,
|
| 1045 |
+
0xA762: 1014,
|
| 1046 |
+
0xA765: 1015,
|
| 1047 |
+
0xA769: 1016,
|
| 1048 |
+
0xA771: 1017,
|
| 1049 |
+
0xA773: 1018,
|
| 1050 |
+
0xA775: 1019,
|
| 1051 |
+
0xA7A1: 1020,
|
| 1052 |
+
0xA7A2: 1021,
|
| 1053 |
+
0xA7A5: 1022,
|
| 1054 |
+
0xA7A9: 1023,
|
| 1055 |
+
0xA7AB: 1024,
|
| 1056 |
+
0xA7B1: 1025,
|
| 1057 |
+
0xA7B3: 1026,
|
| 1058 |
+
0xA7B5: 1027,
|
| 1059 |
+
0xA7B7: 1028,
|
| 1060 |
+
0xA7B8: 1029,
|
| 1061 |
+
0xA7B9: 1030,
|
| 1062 |
+
0xA861: 1031,
|
| 1063 |
+
0xA862: 1032,
|
| 1064 |
+
0xA865: 1033,
|
| 1065 |
+
0xA869: 1034,
|
| 1066 |
+
0xA86B: 1035,
|
| 1067 |
+
0xA871: 1036,
|
| 1068 |
+
0xA873: 1037,
|
| 1069 |
+
0xA875: 1038,
|
| 1070 |
+
0xA876: 1039,
|
| 1071 |
+
0xA877: 1040,
|
| 1072 |
+
0xA87D: 1041,
|
| 1073 |
+
0xA881: 1042,
|
| 1074 |
+
0xA882: 1043,
|
| 1075 |
+
0xA885: 1044,
|
| 1076 |
+
0xA889: 1045,
|
| 1077 |
+
0xA891: 1046,
|
| 1078 |
+
0xA893: 1047,
|
| 1079 |
+
0xA895: 1048,
|
| 1080 |
+
0xA896: 1049,
|
| 1081 |
+
0xA897: 1050,
|
| 1082 |
+
0xA8A1: 1051,
|
| 1083 |
+
0xA8A2: 1052,
|
| 1084 |
+
0xA8B1: 1053,
|
| 1085 |
+
0xA8E1: 1054,
|
| 1086 |
+
0xA8E2: 1055,
|
| 1087 |
+
0xA8E5: 1056,
|
| 1088 |
+
0xA8E8: 1057,
|
| 1089 |
+
0xA8E9: 1058,
|
| 1090 |
+
0xA8F1: 1059,
|
| 1091 |
+
0xA8F5: 1060,
|
| 1092 |
+
0xA8F6: 1061,
|
| 1093 |
+
0xA8F7: 1062,
|
| 1094 |
+
0xA941: 1063,
|
| 1095 |
+
0xA957: 1064,
|
| 1096 |
+
0xA961: 1065,
|
| 1097 |
+
0xA962: 1066,
|
| 1098 |
+
0xA971: 1067,
|
| 1099 |
+
0xA973: 1068,
|
| 1100 |
+
0xA975: 1069,
|
| 1101 |
+
0xA976: 1070,
|
| 1102 |
+
0xA977: 1071,
|
| 1103 |
+
0xA9A1: 1072,
|
| 1104 |
+
0xA9A2: 1073,
|
| 1105 |
+
0xA9A5: 1074,
|
| 1106 |
+
0xA9A9: 1075,
|
| 1107 |
+
0xA9B1: 1076,
|
| 1108 |
+
0xA9B3: 1077,
|
| 1109 |
+
0xA9B7: 1078,
|
| 1110 |
+
0xAA41: 1079,
|
| 1111 |
+
0xAA61: 1080,
|
| 1112 |
+
0xAA77: 1081,
|
| 1113 |
+
0xAA81: 1082,
|
| 1114 |
+
0xAA82: 1083,
|
| 1115 |
+
0xAA85: 1084,
|
| 1116 |
+
0xAA89: 1085,
|
| 1117 |
+
0xAA91: 1086,
|
| 1118 |
+
0xAA95: 1087,
|
| 1119 |
+
0xAA97: 1088,
|
| 1120 |
+
0xAB41: 1089,
|
| 1121 |
+
0xAB57: 1090,
|
| 1122 |
+
0xAB61: 1091,
|
| 1123 |
+
0xAB65: 1092,
|
| 1124 |
+
0xAB69: 1093,
|
| 1125 |
+
0xAB71: 1094,
|
| 1126 |
+
0xAB73: 1095,
|
| 1127 |
+
0xABA1: 1096,
|
| 1128 |
+
0xABA2: 1097,
|
| 1129 |
+
0xABA5: 1098,
|
| 1130 |
+
0xABA9: 1099,
|
| 1131 |
+
0xABB1: 1100,
|
| 1132 |
+
0xABB3: 1101,
|
| 1133 |
+
0xABB5: 1102,
|
| 1134 |
+
0xABB7: 1103,
|
| 1135 |
+
0xAC61: 1104,
|
| 1136 |
+
0xAC62: 1105,
|
| 1137 |
+
0xAC64: 1106,
|
| 1138 |
+
0xAC65: 1107,
|
| 1139 |
+
0xAC68: 1108,
|
| 1140 |
+
0xAC69: 1109,
|
| 1141 |
+
0xAC6A: 1110,
|
| 1142 |
+
0xAC6B: 1111,
|
| 1143 |
+
0xAC71: 1112,
|
| 1144 |
+
0xAC73: 1113,
|
| 1145 |
+
0xAC75: 1114,
|
| 1146 |
+
0xAC76: 1115,
|
| 1147 |
+
0xAC77: 1116,
|
| 1148 |
+
0xAC7B: 1117,
|
| 1149 |
+
0xAC81: 1118,
|
| 1150 |
+
0xAC82: 1119,
|
| 1151 |
+
0xAC85: 1120,
|
| 1152 |
+
0xAC89: 1121,
|
| 1153 |
+
0xAC91: 1122,
|
| 1154 |
+
0xAC93: 1123,
|
| 1155 |
+
0xAC95: 1124,
|
| 1156 |
+
0xAC96: 1125,
|
| 1157 |
+
0xAC97: 1126,
|
| 1158 |
+
0xACA1: 1127,
|
| 1159 |
+
0xACA2: 1128,
|
| 1160 |
+
0xACA5: 1129,
|
| 1161 |
+
0xACA9: 1130,
|
| 1162 |
+
0xACB1: 1131,
|
| 1163 |
+
0xACB3: 1132,
|
| 1164 |
+
0xACB5: 1133,
|
| 1165 |
+
0xACB7: 1134,
|
| 1166 |
+
0xACC1: 1135,
|
| 1167 |
+
0xACC5: 1136,
|
| 1168 |
+
0xACC9: 1137,
|
| 1169 |
+
0xACD1: 1138,
|
| 1170 |
+
0xACD7: 1139,
|
| 1171 |
+
0xACE1: 1140,
|
| 1172 |
+
0xACE2: 1141,
|
| 1173 |
+
0xACE3: 1142,
|
| 1174 |
+
0xACE4: 1143,
|
| 1175 |
+
0xACE5: 1144,
|
| 1176 |
+
0xACE8: 1145,
|
| 1177 |
+
0xACE9: 1146,
|
| 1178 |
+
0xACEB: 1147,
|
| 1179 |
+
0xACEC: 1148,
|
| 1180 |
+
0xACF1: 1149,
|
| 1181 |
+
0xACF3: 1150,
|
| 1182 |
+
0xACF5: 1151,
|
| 1183 |
+
0xACF6: 1152,
|
| 1184 |
+
0xACF7: 1153,
|
| 1185 |
+
0xACFC: 1154,
|
| 1186 |
+
0xAD41: 1155,
|
| 1187 |
+
0xAD42: 1156,
|
| 1188 |
+
0xAD45: 1157,
|
| 1189 |
+
0xAD49: 1158,
|
| 1190 |
+
0xAD51: 1159,
|
| 1191 |
+
0xAD53: 1160,
|
| 1192 |
+
0xAD55: 1161,
|
| 1193 |
+
0xAD56: 1162,
|
| 1194 |
+
0xAD57: 1163,
|
| 1195 |
+
0xAD61: 1164,
|
| 1196 |
+
0xAD62: 1165,
|
| 1197 |
+
0xAD65: 1166,
|
| 1198 |
+
0xAD69: 1167,
|
| 1199 |
+
0xAD71: 1168,
|
| 1200 |
+
0xAD73: 1169,
|
| 1201 |
+
0xAD75: 1170,
|
| 1202 |
+
0xAD76: 1171,
|
| 1203 |
+
0xAD77: 1172,
|
| 1204 |
+
0xAD81: 1173,
|
| 1205 |
+
0xAD85: 1174,
|
| 1206 |
+
0xAD89: 1175,
|
| 1207 |
+
0xAD97: 1176,
|
| 1208 |
+
0xADA1: 1177,
|
| 1209 |
+
0xADA2: 1178,
|
| 1210 |
+
0xADA3: 1179,
|
| 1211 |
+
0xADA5: 1180,
|
| 1212 |
+
0xADA9: 1181,
|
| 1213 |
+
0xADAB: 1182,
|
| 1214 |
+
0xADB1: 1183,
|
| 1215 |
+
0xADB3: 1184,
|
| 1216 |
+
0xADB5: 1185,
|
| 1217 |
+
0xADB7: 1186,
|
| 1218 |
+
0xADBB: 1187,
|
| 1219 |
+
0xADC1: 1188,
|
| 1220 |
+
0xADC2: 1189,
|
| 1221 |
+
0xADC5: 1190,
|
| 1222 |
+
0xADC9: 1191,
|
| 1223 |
+
0xADD7: 1192,
|
| 1224 |
+
0xADE1: 1193,
|
| 1225 |
+
0xADE5: 1194,
|
| 1226 |
+
0xADE9: 1195,
|
| 1227 |
+
0xADF1: 1196,
|
| 1228 |
+
0xADF5: 1197,
|
| 1229 |
+
0xADF6: 1198,
|
| 1230 |
+
0xAE41: 1199,
|
| 1231 |
+
0xAE45: 1200,
|
| 1232 |
+
0xAE49: 1201,
|
| 1233 |
+
0xAE51: 1202,
|
| 1234 |
+
0xAE53: 1203,
|
| 1235 |
+
0xAE55: 1204,
|
| 1236 |
+
0xAE61: 1205,
|
| 1237 |
+
0xAE62: 1206,
|
| 1238 |
+
0xAE65: 1207,
|
| 1239 |
+
0xAE69: 1208,
|
| 1240 |
+
0xAE71: 1209,
|
| 1241 |
+
0xAE73: 1210,
|
| 1242 |
+
0xAE75: 1211,
|
| 1243 |
+
0xAE77: 1212,
|
| 1244 |
+
0xAE81: 1213,
|
| 1245 |
+
0xAE82: 1214,
|
| 1246 |
+
0xAE85: 1215,
|
| 1247 |
+
0xAE88: 1216,
|
| 1248 |
+
0xAE89: 1217,
|
| 1249 |
+
0xAE91: 1218,
|
| 1250 |
+
0xAE93: 1219,
|
| 1251 |
+
0xAE95: 1220,
|
| 1252 |
+
0xAE97: 1221,
|
| 1253 |
+
0xAE99: 1222,
|
| 1254 |
+
0xAE9B: 1223,
|
| 1255 |
+
0xAE9C: 1224,
|
| 1256 |
+
0xAEA1: 1225,
|
| 1257 |
+
0xAEB6: 1226,
|
| 1258 |
+
0xAEC1: 1227,
|
| 1259 |
+
0xAEC2: 1228,
|
| 1260 |
+
0xAEC5: 1229,
|
| 1261 |
+
0xAEC9: 1230,
|
| 1262 |
+
0xAED1: 1231,
|
| 1263 |
+
0xAED7: 1232,
|
| 1264 |
+
0xAEE1: 1233,
|
| 1265 |
+
0xAEE2: 1234,
|
| 1266 |
+
0xAEE5: 1235,
|
| 1267 |
+
0xAEE9: 1236,
|
| 1268 |
+
0xAEF1: 1237,
|
| 1269 |
+
0xAEF3: 1238,
|
| 1270 |
+
0xAEF5: 1239,
|
| 1271 |
+
0xAEF7: 1240,
|
| 1272 |
+
0xAF41: 1241,
|
| 1273 |
+
0xAF42: 1242,
|
| 1274 |
+
0xAF49: 1243,
|
| 1275 |
+
0xAF51: 1244,
|
| 1276 |
+
0xAF55: 1245,
|
| 1277 |
+
0xAF57: 1246,
|
| 1278 |
+
0xAF61: 1247,
|
| 1279 |
+
0xAF62: 1248,
|
| 1280 |
+
0xAF65: 1249,
|
| 1281 |
+
0xAF69: 1250,
|
| 1282 |
+
0xAF6A: 1251,
|
| 1283 |
+
0xAF71: 1252,
|
| 1284 |
+
0xAF73: 1253,
|
| 1285 |
+
0xAF75: 1254,
|
| 1286 |
+
0xAF77: 1255,
|
| 1287 |
+
0xAFA1: 1256,
|
| 1288 |
+
0xAFA2: 1257,
|
| 1289 |
+
0xAFA5: 1258,
|
| 1290 |
+
0xAFA8: 1259,
|
| 1291 |
+
0xAFA9: 1260,
|
| 1292 |
+
0xAFB0: 1261,
|
| 1293 |
+
0xAFB1: 1262,
|
| 1294 |
+
0xAFB3: 1263,
|
| 1295 |
+
0xAFB5: 1264,
|
| 1296 |
+
0xAFB7: 1265,
|
| 1297 |
+
0xAFBC: 1266,
|
| 1298 |
+
0xB061: 1267,
|
| 1299 |
+
0xB062: 1268,
|
| 1300 |
+
0xB064: 1269,
|
| 1301 |
+
0xB065: 1270,
|
| 1302 |
+
0xB069: 1271,
|
| 1303 |
+
0xB071: 1272,
|
| 1304 |
+
0xB073: 1273,
|
| 1305 |
+
0xB076: 1274,
|
| 1306 |
+
0xB077: 1275,
|
| 1307 |
+
0xB07D: 1276,
|
| 1308 |
+
0xB081: 1277,
|
| 1309 |
+
0xB082: 1278,
|
| 1310 |
+
0xB085: 1279,
|
| 1311 |
+
0xB089: 1280,
|
| 1312 |
+
0xB091: 1281,
|
| 1313 |
+
0xB093: 1282,
|
| 1314 |
+
0xB096: 1283,
|
| 1315 |
+
0xB097: 1284,
|
| 1316 |
+
0xB0B7: 1285,
|
| 1317 |
+
0xB0E1: 1286,
|
| 1318 |
+
0xB0E2: 1287,
|
| 1319 |
+
0xB0E5: 1288,
|
| 1320 |
+
0xB0E9: 1289,
|
| 1321 |
+
0xB0EB: 1290,
|
| 1322 |
+
0xB0F1: 1291,
|
| 1323 |
+
0xB0F3: 1292,
|
| 1324 |
+
0xB0F6: 1293,
|
| 1325 |
+
0xB0F7: 1294,
|
| 1326 |
+
0xB141: 1295,
|
| 1327 |
+
0xB145: 1296,
|
| 1328 |
+
0xB149: 1297,
|
| 1329 |
+
0xB185: 1298,
|
| 1330 |
+
0xB1A1: 1299,
|
| 1331 |
+
0xB1A2: 1300,
|
| 1332 |
+
0xB1A5: 1301,
|
| 1333 |
+
0xB1A8: 1302,
|
| 1334 |
+
0xB1A9: 1303,
|
| 1335 |
+
0xB1AB: 1304,
|
| 1336 |
+
0xB1B1: 1305,
|
| 1337 |
+
0xB1B3: 1306,
|
| 1338 |
+
0xB1B7: 1307,
|
| 1339 |
+
0xB1C1: 1308,
|
| 1340 |
+
0xB1C2: 1309,
|
| 1341 |
+
0xB1C5: 1310,
|
| 1342 |
+
0xB1D6: 1311,
|
| 1343 |
+
0xB1E1: 1312,
|
| 1344 |
+
0xB1F6: 1313,
|
| 1345 |
+
0xB241: 1314,
|
| 1346 |
+
0xB245: 1315,
|
| 1347 |
+
0xB249: 1316,
|
| 1348 |
+
0xB251: 1317,
|
| 1349 |
+
0xB253: 1318,
|
| 1350 |
+
0xB261: 1319,
|
| 1351 |
+
0xB281: 1320,
|
| 1352 |
+
0xB282: 1321,
|
| 1353 |
+
0xB285: 1322,
|
| 1354 |
+
0xB289: 1323,
|
| 1355 |
+
0xB291: 1324,
|
| 1356 |
+
0xB293: 1325,
|
| 1357 |
+
0xB297: 1326,
|
| 1358 |
+
0xB2A1: 1327,
|
| 1359 |
+
0xB2B6: 1328,
|
| 1360 |
+
0xB2C1: 1329,
|
| 1361 |
+
0xB2E1: 1330,
|
| 1362 |
+
0xB2E5: 1331,
|
| 1363 |
+
0xB357: 1332,
|
| 1364 |
+
0xB361: 1333,
|
| 1365 |
+
0xB362: 1334,
|
| 1366 |
+
0xB365: 1335,
|
| 1367 |
+
0xB369: 1336,
|
| 1368 |
+
0xB36B: 1337,
|
| 1369 |
+
0xB370: 1338,
|
| 1370 |
+
0xB371: 1339,
|
| 1371 |
+
0xB373: 1340,
|
| 1372 |
+
0xB381: 1341,
|
| 1373 |
+
0xB385: 1342,
|
| 1374 |
+
0xB389: 1343,
|
| 1375 |
+
0xB391: 1344,
|
| 1376 |
+
0xB3A1: 1345,
|
| 1377 |
+
0xB3A2: 1346,
|
| 1378 |
+
0xB3A5: 1347,
|
| 1379 |
+
0xB3A9: 1348,
|
| 1380 |
+
0xB3B1: 1349,
|
| 1381 |
+
0xB3B3: 1350,
|
| 1382 |
+
0xB3B5: 1351,
|
| 1383 |
+
0xB3B7: 1352,
|
| 1384 |
+
0xB461: 1353,
|
| 1385 |
+
0xB462: 1354,
|
| 1386 |
+
0xB465: 1355,
|
| 1387 |
+
0xB466: 1356,
|
| 1388 |
+
0xB467: 1357,
|
| 1389 |
+
0xB469: 1358,
|
| 1390 |
+
0xB46A: 1359,
|
| 1391 |
+
0xB46B: 1360,
|
| 1392 |
+
0xB470: 1361,
|
| 1393 |
+
0xB471: 1362,
|
| 1394 |
+
0xB473: 1363,
|
| 1395 |
+
0xB475: 1364,
|
| 1396 |
+
0xB476: 1365,
|
| 1397 |
+
0xB477: 1366,
|
| 1398 |
+
0xB47B: 1367,
|
| 1399 |
+
0xB47C: 1368,
|
| 1400 |
+
0xB481: 1369,
|
| 1401 |
+
0xB482: 1370,
|
| 1402 |
+
0xB485: 1371,
|
| 1403 |
+
0xB489: 1372,
|
| 1404 |
+
0xB491: 1373,
|
| 1405 |
+
0xB493: 1374,
|
| 1406 |
+
0xB495: 1375,
|
| 1407 |
+
0xB496: 1376,
|
| 1408 |
+
0xB497: 1377,
|
| 1409 |
+
0xB4A1: 1378,
|
| 1410 |
+
0xB4A2: 1379,
|
| 1411 |
+
0xB4A5: 1380,
|
| 1412 |
+
0xB4A9: 1381,
|
| 1413 |
+
0xB4AC: 1382,
|
| 1414 |
+
0xB4B1: 1383,
|
| 1415 |
+
0xB4B3: 1384,
|
| 1416 |
+
0xB4B5: 1385,
|
| 1417 |
+
0xB4B7: 1386,
|
| 1418 |
+
0xB4BB: 1387,
|
| 1419 |
+
0xB4BD: 1388,
|
| 1420 |
+
0xB4C1: 1389,
|
| 1421 |
+
0xB4C5: 1390,
|
| 1422 |
+
0xB4C9: 1391,
|
| 1423 |
+
0xB4D3: 1392,
|
| 1424 |
+
0xB4E1: 1393,
|
| 1425 |
+
0xB4E2: 1394,
|
| 1426 |
+
0xB4E5: 1395,
|
| 1427 |
+
0xB4E6: 1396,
|
| 1428 |
+
0xB4E8: 1397,
|
| 1429 |
+
0xB4E9: 1398,
|
| 1430 |
+
0xB4EA: 1399,
|
| 1431 |
+
0xB4EB: 1400,
|
| 1432 |
+
0xB4F1: 1401,
|
| 1433 |
+
0xB4F3: 1402,
|
| 1434 |
+
0xB4F4: 1403,
|
| 1435 |
+
0xB4F5: 1404,
|
| 1436 |
+
0xB4F6: 1405,
|
| 1437 |
+
0xB4F7: 1406,
|
| 1438 |
+
0xB4F8: 1407,
|
| 1439 |
+
0xB4FA: 1408,
|
| 1440 |
+
0xB4FC: 1409,
|
| 1441 |
+
0xB541: 1410,
|
| 1442 |
+
0xB542: 1411,
|
| 1443 |
+
0xB545: 1412,
|
| 1444 |
+
0xB549: 1413,
|
| 1445 |
+
0xB551: 1414,
|
| 1446 |
+
0xB553: 1415,
|
| 1447 |
+
0xB555: 1416,
|
| 1448 |
+
0xB557: 1417,
|
| 1449 |
+
0xB561: 1418,
|
| 1450 |
+
0xB562: 1419,
|
| 1451 |
+
0xB563: 1420,
|
| 1452 |
+
0xB565: 1421,
|
| 1453 |
+
0xB569: 1422,
|
| 1454 |
+
0xB56B: 1423,
|
| 1455 |
+
0xB56C: 1424,
|
| 1456 |
+
0xB571: 1425,
|
| 1457 |
+
0xB573: 1426,
|
| 1458 |
+
0xB574: 1427,
|
| 1459 |
+
0xB575: 1428,
|
| 1460 |
+
0xB576: 1429,
|
| 1461 |
+
0xB577: 1430,
|
| 1462 |
+
0xB57B: 1431,
|
| 1463 |
+
0xB57C: 1432,
|
| 1464 |
+
0xB57D: 1433,
|
| 1465 |
+
0xB581: 1434,
|
| 1466 |
+
0xB585: 1435,
|
| 1467 |
+
0xB589: 1436,
|
| 1468 |
+
0xB591: 1437,
|
| 1469 |
+
0xB593: 1438,
|
| 1470 |
+
0xB595: 1439,
|
| 1471 |
+
0xB596: 1440,
|
| 1472 |
+
0xB5A1: 1441,
|
| 1473 |
+
0xB5A2: 1442,
|
| 1474 |
+
0xB5A5: 1443,
|
| 1475 |
+
0xB5A9: 1444,
|
| 1476 |
+
0xB5AA: 1445,
|
| 1477 |
+
0xB5AB: 1446,
|
| 1478 |
+
0xB5AD: 1447,
|
| 1479 |
+
0xB5B0: 1448,
|
| 1480 |
+
0xB5B1: 1449,
|
| 1481 |
+
0xB5B3: 1450,
|
| 1482 |
+
0xB5B5: 1451,
|
| 1483 |
+
0xB5B7: 1452,
|
| 1484 |
+
0xB5B9: 1453,
|
| 1485 |
+
0xB5C1: 1454,
|
| 1486 |
+
0xB5C2: 1455,
|
| 1487 |
+
0xB5C5: 1456,
|
| 1488 |
+
0xB5C9: 1457,
|
| 1489 |
+
0xB5D1: 1458,
|
| 1490 |
+
0xB5D3: 1459,
|
| 1491 |
+
0xB5D5: 1460,
|
| 1492 |
+
0xB5D6: 1461,
|
| 1493 |
+
0xB5D7: 1462,
|
| 1494 |
+
0xB5E1: 1463,
|
| 1495 |
+
0xB5E2: 1464,
|
| 1496 |
+
0xB5E5: 1465,
|
| 1497 |
+
0xB5F1: 1466,
|
| 1498 |
+
0xB5F5: 1467,
|
| 1499 |
+
0xB5F7: 1468,
|
| 1500 |
+
0xB641: 1469,
|
| 1501 |
+
0xB642: 1470,
|
| 1502 |
+
0xB645: 1471,
|
| 1503 |
+
0xB649: 1472,
|
| 1504 |
+
0xB651: 1473,
|
| 1505 |
+
0xB653: 1474,
|
| 1506 |
+
0xB655: 1475,
|
| 1507 |
+
0xB657: 1476,
|
| 1508 |
+
0xB661: 1477,
|
| 1509 |
+
0xB662: 1478,
|
| 1510 |
+
0xB665: 1479,
|
| 1511 |
+
0xB669: 1480,
|
| 1512 |
+
0xB671: 1481,
|
| 1513 |
+
0xB673: 1482,
|
| 1514 |
+
0xB675: 1483,
|
| 1515 |
+
0xB677: 1484,
|
| 1516 |
+
0xB681: 1485,
|
| 1517 |
+
0xB682: 1486,
|
| 1518 |
+
0xB685: 1487,
|
| 1519 |
+
0xB689: 1488,
|
| 1520 |
+
0xB68A: 1489,
|
| 1521 |
+
0xB68B: 1490,
|
| 1522 |
+
0xB691: 1491,
|
| 1523 |
+
0xB693: 1492,
|
| 1524 |
+
0xB695: 1493,
|
| 1525 |
+
0xB697: 1494,
|
| 1526 |
+
0xB6A1: 1495,
|
| 1527 |
+
0xB6A2: 1496,
|
| 1528 |
+
0xB6A5: 1497,
|
| 1529 |
+
0xB6A9: 1498,
|
| 1530 |
+
0xB6B1: 1499,
|
| 1531 |
+
0xB6B3: 1500,
|
| 1532 |
+
0xB6B6: 1501,
|
| 1533 |
+
0xB6B7: 1502,
|
| 1534 |
+
0xB6C1: 1503,
|
| 1535 |
+
0xB6C2: 1504,
|
| 1536 |
+
0xB6C5: 1505,
|
| 1537 |
+
0xB6C9: 1506,
|
| 1538 |
+
0xB6D1: 1507,
|
| 1539 |
+
0xB6D3: 1508,
|
| 1540 |
+
0xB6D7: 1509,
|
| 1541 |
+
0xB6E1: 1510,
|
| 1542 |
+
0xB6E2: 1511,
|
| 1543 |
+
0xB6E5: 1512,
|
| 1544 |
+
0xB6E9: 1513,
|
| 1545 |
+
0xB6F1: 1514,
|
| 1546 |
+
0xB6F3: 1515,
|
| 1547 |
+
0xB6F5: 1516,
|
| 1548 |
+
0xB6F7: 1517,
|
| 1549 |
+
0xB741: 1518,
|
| 1550 |
+
0xB742: 1519,
|
| 1551 |
+
0xB745: 1520,
|
| 1552 |
+
0xB749: 1521,
|
| 1553 |
+
0xB751: 1522,
|
| 1554 |
+
0xB753: 1523,
|
| 1555 |
+
0xB755: 1524,
|
| 1556 |
+
0xB757: 1525,
|
| 1557 |
+
0xB759: 1526,
|
| 1558 |
+
0xB761: 1527,
|
| 1559 |
+
0xB762: 1528,
|
| 1560 |
+
0xB765: 1529,
|
| 1561 |
+
0xB769: 1530,
|
| 1562 |
+
0xB76F: 1531,
|
| 1563 |
+
0xB771: 1532,
|
| 1564 |
+
0xB773: 1533,
|
| 1565 |
+
0xB775: 1534,
|
| 1566 |
+
0xB777: 1535,
|
| 1567 |
+
0xB778: 1536,
|
| 1568 |
+
0xB779: 1537,
|
| 1569 |
+
0xB77A: 1538,
|
| 1570 |
+
0xB77B: 1539,
|
| 1571 |
+
0xB77C: 1540,
|
| 1572 |
+
0xB77D: 1541,
|
| 1573 |
+
0xB781: 1542,
|
| 1574 |
+
0xB785: 1543,
|
| 1575 |
+
0xB789: 1544,
|
| 1576 |
+
0xB791: 1545,
|
| 1577 |
+
0xB795: 1546,
|
| 1578 |
+
0xB7A1: 1547,
|
| 1579 |
+
0xB7A2: 1548,
|
| 1580 |
+
0xB7A5: 1549,
|
| 1581 |
+
0xB7A9: 1550,
|
| 1582 |
+
0xB7AA: 1551,
|
| 1583 |
+
0xB7AB: 1552,
|
| 1584 |
+
0xB7B0: 1553,
|
| 1585 |
+
0xB7B1: 1554,
|
| 1586 |
+
0xB7B3: 1555,
|
| 1587 |
+
0xB7B5: 1556,
|
| 1588 |
+
0xB7B6: 1557,
|
| 1589 |
+
0xB7B7: 1558,
|
| 1590 |
+
0xB7B8: 1559,
|
| 1591 |
+
0xB7BC: 1560,
|
| 1592 |
+
0xB861: 1561,
|
| 1593 |
+
0xB862: 1562,
|
| 1594 |
+
0xB865: 1563,
|
| 1595 |
+
0xB867: 1564,
|
| 1596 |
+
0xB868: 1565,
|
| 1597 |
+
0xB869: 1566,
|
| 1598 |
+
0xB86B: 1567,
|
| 1599 |
+
0xB871: 1568,
|
| 1600 |
+
0xB873: 1569,
|
| 1601 |
+
0xB875: 1570,
|
| 1602 |
+
0xB876: 1571,
|
| 1603 |
+
0xB877: 1572,
|
| 1604 |
+
0xB878: 1573,
|
| 1605 |
+
0xB881: 1574,
|
| 1606 |
+
0xB882: 1575,
|
| 1607 |
+
0xB885: 1576,
|
| 1608 |
+
0xB889: 1577,
|
| 1609 |
+
0xB891: 1578,
|
| 1610 |
+
0xB893: 1579,
|
| 1611 |
+
0xB895: 1580,
|
| 1612 |
+
0xB896: 1581,
|
| 1613 |
+
0xB897: 1582,
|
| 1614 |
+
0xB8A1: 1583,
|
| 1615 |
+
0xB8A2: 1584,
|
| 1616 |
+
0xB8A5: 1585,
|
| 1617 |
+
0xB8A7: 1586,
|
| 1618 |
+
0xB8A9: 1587,
|
| 1619 |
+
0xB8B1: 1588,
|
| 1620 |
+
0xB8B7: 1589,
|
| 1621 |
+
0xB8C1: 1590,
|
| 1622 |
+
0xB8C5: 1591,
|
| 1623 |
+
0xB8C9: 1592,
|
| 1624 |
+
0xB8E1: 1593,
|
| 1625 |
+
0xB8E2: 1594,
|
| 1626 |
+
0xB8E5: 1595,
|
| 1627 |
+
0xB8E9: 1596,
|
| 1628 |
+
0xB8EB: 1597,
|
| 1629 |
+
0xB8F1: 1598,
|
| 1630 |
+
0xB8F3: 1599,
|
| 1631 |
+
0xB8F5: 1600,
|
| 1632 |
+
0xB8F7: 1601,
|
| 1633 |
+
0xB8F8: 1602,
|
| 1634 |
+
0xB941: 1603,
|
| 1635 |
+
0xB942: 1604,
|
| 1636 |
+
0xB945: 1605,
|
| 1637 |
+
0xB949: 1606,
|
| 1638 |
+
0xB951: 1607,
|
| 1639 |
+
0xB953: 1608,
|
| 1640 |
+
0xB955: 1609,
|
| 1641 |
+
0xB957: 1610,
|
| 1642 |
+
0xB961: 1611,
|
| 1643 |
+
0xB965: 1612,
|
| 1644 |
+
0xB969: 1613,
|
| 1645 |
+
0xB971: 1614,
|
| 1646 |
+
0xB973: 1615,
|
| 1647 |
+
0xB976: 1616,
|
| 1648 |
+
0xB977: 1617,
|
| 1649 |
+
0xB981: 1618,
|
| 1650 |
+
0xB9A1: 1619,
|
| 1651 |
+
0xB9A2: 1620,
|
| 1652 |
+
0xB9A5: 1621,
|
| 1653 |
+
0xB9A9: 1622,
|
| 1654 |
+
0xB9AB: 1623,
|
| 1655 |
+
0xB9B1: 1624,
|
| 1656 |
+
0xB9B3: 1625,
|
| 1657 |
+
0xB9B5: 1626,
|
| 1658 |
+
0xB9B7: 1627,
|
| 1659 |
+
0xB9B8: 1628,
|
| 1660 |
+
0xB9B9: 1629,
|
| 1661 |
+
0xB9BD: 1630,
|
| 1662 |
+
0xB9C1: 1631,
|
| 1663 |
+
0xB9C2: 1632,
|
| 1664 |
+
0xB9C9: 1633,
|
| 1665 |
+
0xB9D3: 1634,
|
| 1666 |
+
0xB9D5: 1635,
|
| 1667 |
+
0xB9D7: 1636,
|
| 1668 |
+
0xB9E1: 1637,
|
| 1669 |
+
0xB9F6: 1638,
|
| 1670 |
+
0xB9F7: 1639,
|
| 1671 |
+
0xBA41: 1640,
|
| 1672 |
+
0xBA45: 1641,
|
| 1673 |
+
0xBA49: 1642,
|
| 1674 |
+
0xBA51: 1643,
|
| 1675 |
+
0xBA53: 1644,
|
| 1676 |
+
0xBA55: 1645,
|
| 1677 |
+
0xBA57: 1646,
|
| 1678 |
+
0xBA61: 1647,
|
| 1679 |
+
0xBA62: 1648,
|
| 1680 |
+
0xBA65: 1649,
|
| 1681 |
+
0xBA77: 1650,
|
| 1682 |
+
0xBA81: 1651,
|
| 1683 |
+
0xBA82: 1652,
|
| 1684 |
+
0xBA85: 1653,
|
| 1685 |
+
0xBA89: 1654,
|
| 1686 |
+
0xBA8A: 1655,
|
| 1687 |
+
0xBA8B: 1656,
|
| 1688 |
+
0xBA91: 1657,
|
| 1689 |
+
0xBA93: 1658,
|
| 1690 |
+
0xBA95: 1659,
|
| 1691 |
+
0xBA97: 1660,
|
| 1692 |
+
0xBAA1: 1661,
|
| 1693 |
+
0xBAB6: 1662,
|
| 1694 |
+
0xBAC1: 1663,
|
| 1695 |
+
0xBAE1: 1664,
|
| 1696 |
+
0xBAE2: 1665,
|
| 1697 |
+
0xBAE5: 1666,
|
| 1698 |
+
0xBAE9: 1667,
|
| 1699 |
+
0xBAF1: 1668,
|
| 1700 |
+
0xBAF3: 1669,
|
| 1701 |
+
0xBAF5: 1670,
|
| 1702 |
+
0xBB41: 1671,
|
| 1703 |
+
0xBB45: 1672,
|
| 1704 |
+
0xBB49: 1673,
|
| 1705 |
+
0xBB51: 1674,
|
| 1706 |
+
0xBB61: 1675,
|
| 1707 |
+
0xBB62: 1676,
|
| 1708 |
+
0xBB65: 1677,
|
| 1709 |
+
0xBB69: 1678,
|
| 1710 |
+
0xBB71: 1679,
|
| 1711 |
+
0xBB73: 1680,
|
| 1712 |
+
0xBB75: 1681,
|
| 1713 |
+
0xBB77: 1682,
|
| 1714 |
+
0xBBA1: 1683,
|
| 1715 |
+
0xBBA2: 1684,
|
| 1716 |
+
0xBBA5: 1685,
|
| 1717 |
+
0xBBA8: 1686,
|
| 1718 |
+
0xBBA9: 1687,
|
| 1719 |
+
0xBBAB: 1688,
|
| 1720 |
+
0xBBB1: 1689,
|
| 1721 |
+
0xBBB3: 1690,
|
| 1722 |
+
0xBBB5: 1691,
|
| 1723 |
+
0xBBB7: 1692,
|
| 1724 |
+
0xBBB8: 1693,
|
| 1725 |
+
0xBBBB: 1694,
|
| 1726 |
+
0xBBBC: 1695,
|
| 1727 |
+
0xBC61: 1696,
|
| 1728 |
+
0xBC62: 1697,
|
| 1729 |
+
0xBC65: 1698,
|
| 1730 |
+
0xBC67: 1699,
|
| 1731 |
+
0xBC69: 1700,
|
| 1732 |
+
0xBC6C: 1701,
|
| 1733 |
+
0xBC71: 1702,
|
| 1734 |
+
0xBC73: 1703,
|
| 1735 |
+
0xBC75: 1704,
|
| 1736 |
+
0xBC76: 1705,
|
| 1737 |
+
0xBC77: 1706,
|
| 1738 |
+
0xBC81: 1707,
|
| 1739 |
+
0xBC82: 1708,
|
| 1740 |
+
0xBC85: 1709,
|
| 1741 |
+
0xBC89: 1710,
|
| 1742 |
+
0xBC91: 1711,
|
| 1743 |
+
0xBC93: 1712,
|
| 1744 |
+
0xBC95: 1713,
|
| 1745 |
+
0xBC96: 1714,
|
| 1746 |
+
0xBC97: 1715,
|
| 1747 |
+
0xBCA1: 1716,
|
| 1748 |
+
0xBCA5: 1717,
|
| 1749 |
+
0xBCB7: 1718,
|
| 1750 |
+
0xBCE1: 1719,
|
| 1751 |
+
0xBCE2: 1720,
|
| 1752 |
+
0xBCE5: 1721,
|
| 1753 |
+
0xBCE9: 1722,
|
| 1754 |
+
0xBCF1: 1723,
|
| 1755 |
+
0xBCF3: 1724,
|
| 1756 |
+
0xBCF5: 1725,
|
| 1757 |
+
0xBCF6: 1726,
|
| 1758 |
+
0xBCF7: 1727,
|
| 1759 |
+
0xBD41: 1728,
|
| 1760 |
+
0xBD57: 1729,
|
| 1761 |
+
0xBD61: 1730,
|
| 1762 |
+
0xBD76: 1731,
|
| 1763 |
+
0xBDA1: 1732,
|
| 1764 |
+
0xBDA2: 1733,
|
| 1765 |
+
0xBDA5: 1734,
|
| 1766 |
+
0xBDA9: 1735,
|
| 1767 |
+
0xBDB1: 1736,
|
| 1768 |
+
0xBDB3: 1737,
|
| 1769 |
+
0xBDB5: 1738,
|
| 1770 |
+
0xBDB7: 1739,
|
| 1771 |
+
0xBDB9: 1740,
|
| 1772 |
+
0xBDC1: 1741,
|
| 1773 |
+
0xBDC2: 1742,
|
| 1774 |
+
0xBDC9: 1743,
|
| 1775 |
+
0xBDD6: 1744,
|
| 1776 |
+
0xBDE1: 1745,
|
| 1777 |
+
0xBDF6: 1746,
|
| 1778 |
+
0xBE41: 1747,
|
| 1779 |
+
0xBE45: 1748,
|
| 1780 |
+
0xBE49: 1749,
|
| 1781 |
+
0xBE51: 1750,
|
| 1782 |
+
0xBE53: 1751,
|
| 1783 |
+
0xBE77: 1752,
|
| 1784 |
+
0xBE81: 1753,
|
| 1785 |
+
0xBE82: 1754,
|
| 1786 |
+
0xBE85: 1755,
|
| 1787 |
+
0xBE89: 1756,
|
| 1788 |
+
0xBE91: 1757,
|
| 1789 |
+
0xBE93: 1758,
|
| 1790 |
+
0xBE97: 1759,
|
| 1791 |
+
0xBEA1: 1760,
|
| 1792 |
+
0xBEB6: 1761,
|
| 1793 |
+
0xBEB7: 1762,
|
| 1794 |
+
0xBEE1: 1763,
|
| 1795 |
+
0xBF41: 1764,
|
| 1796 |
+
0xBF61: 1765,
|
| 1797 |
+
0xBF71: 1766,
|
| 1798 |
+
0xBF75: 1767,
|
| 1799 |
+
0xBF77: 1768,
|
| 1800 |
+
0xBFA1: 1769,
|
| 1801 |
+
0xBFA2: 1770,
|
| 1802 |
+
0xBFA5: 1771,
|
| 1803 |
+
0xBFA9: 1772,
|
| 1804 |
+
0xBFB1: 1773,
|
| 1805 |
+
0xBFB3: 1774,
|
| 1806 |
+
0xBFB7: 1775,
|
| 1807 |
+
0xBFB8: 1776,
|
| 1808 |
+
0xBFBD: 1777,
|
| 1809 |
+
0xC061: 1778,
|
| 1810 |
+
0xC062: 1779,
|
| 1811 |
+
0xC065: 1780,
|
| 1812 |
+
0xC067: 1781,
|
| 1813 |
+
0xC069: 1782,
|
| 1814 |
+
0xC071: 1783,
|
| 1815 |
+
0xC073: 1784,
|
| 1816 |
+
0xC075: 1785,
|
| 1817 |
+
0xC076: 1786,
|
| 1818 |
+
0xC077: 1787,
|
| 1819 |
+
0xC078: 1788,
|
| 1820 |
+
0xC081: 1789,
|
| 1821 |
+
0xC082: 1790,
|
| 1822 |
+
0xC085: 1791,
|
| 1823 |
+
0xC089: 1792,
|
| 1824 |
+
0xC091: 1793,
|
| 1825 |
+
0xC093: 1794,
|
| 1826 |
+
0xC095: 1795,
|
| 1827 |
+
0xC096: 1796,
|
| 1828 |
+
0xC097: 1797,
|
| 1829 |
+
0xC0A1: 1798,
|
| 1830 |
+
0xC0A5: 1799,
|
| 1831 |
+
0xC0A7: 1800,
|
| 1832 |
+
0xC0A9: 1801,
|
| 1833 |
+
0xC0B1: 1802,
|
| 1834 |
+
0xC0B7: 1803,
|
| 1835 |
+
0xC0E1: 1804,
|
| 1836 |
+
0xC0E2: 1805,
|
| 1837 |
+
0xC0E5: 1806,
|
| 1838 |
+
0xC0E9: 1807,
|
| 1839 |
+
0xC0F1: 1808,
|
| 1840 |
+
0xC0F3: 1809,
|
| 1841 |
+
0xC0F5: 1810,
|
| 1842 |
+
0xC0F6: 1811,
|
| 1843 |
+
0xC0F7: 1812,
|
| 1844 |
+
0xC141: 1813,
|
| 1845 |
+
0xC142: 1814,
|
| 1846 |
+
0xC145: 1815,
|
| 1847 |
+
0xC149: 1816,
|
| 1848 |
+
0xC151: 1817,
|
| 1849 |
+
0xC153: 1818,
|
| 1850 |
+
0xC155: 1819,
|
| 1851 |
+
0xC157: 1820,
|
| 1852 |
+
0xC161: 1821,
|
| 1853 |
+
0xC165: 1822,
|
| 1854 |
+
0xC176: 1823,
|
| 1855 |
+
0xC181: 1824,
|
| 1856 |
+
0xC185: 1825,
|
| 1857 |
+
0xC197: 1826,
|
| 1858 |
+
0xC1A1: 1827,
|
| 1859 |
+
0xC1A2: 1828,
|
| 1860 |
+
0xC1A5: 1829,
|
| 1861 |
+
0xC1A9: 1830,
|
| 1862 |
+
0xC1B1: 1831,
|
| 1863 |
+
0xC1B3: 1832,
|
| 1864 |
+
0xC1B5: 1833,
|
| 1865 |
+
0xC1B7: 1834,
|
| 1866 |
+
0xC1C1: 1835,
|
| 1867 |
+
0xC1C5: 1836,
|
| 1868 |
+
0xC1C9: 1837,
|
| 1869 |
+
0xC1D7: 1838,
|
| 1870 |
+
0xC241: 1839,
|
| 1871 |
+
0xC245: 1840,
|
| 1872 |
+
0xC249: 1841,
|
| 1873 |
+
0xC251: 1842,
|
| 1874 |
+
0xC253: 1843,
|
| 1875 |
+
0xC255: 1844,
|
| 1876 |
+
0xC257: 1845,
|
| 1877 |
+
0xC261: 1846,
|
| 1878 |
+
0xC271: 1847,
|
| 1879 |
+
0xC281: 1848,
|
| 1880 |
+
0xC282: 1849,
|
| 1881 |
+
0xC285: 1850,
|
| 1882 |
+
0xC289: 1851,
|
| 1883 |
+
0xC291: 1852,
|
| 1884 |
+
0xC293: 1853,
|
| 1885 |
+
0xC295: 1854,
|
| 1886 |
+
0xC297: 1855,
|
| 1887 |
+
0xC2A1: 1856,
|
| 1888 |
+
0xC2B6: 1857,
|
| 1889 |
+
0xC2C1: 1858,
|
| 1890 |
+
0xC2C5: 1859,
|
| 1891 |
+
0xC2E1: 1860,
|
| 1892 |
+
0xC2E5: 1861,
|
| 1893 |
+
0xC2E9: 1862,
|
| 1894 |
+
0xC2F1: 1863,
|
| 1895 |
+
0xC2F3: 1864,
|
| 1896 |
+
0xC2F5: 1865,
|
| 1897 |
+
0xC2F7: 1866,
|
| 1898 |
+
0xC341: 1867,
|
| 1899 |
+
0xC345: 1868,
|
| 1900 |
+
0xC349: 1869,
|
| 1901 |
+
0xC351: 1870,
|
| 1902 |
+
0xC357: 1871,
|
| 1903 |
+
0xC361: 1872,
|
| 1904 |
+
0xC362: 1873,
|
| 1905 |
+
0xC365: 1874,
|
| 1906 |
+
0xC369: 1875,
|
| 1907 |
+
0xC371: 1876,
|
| 1908 |
+
0xC373: 1877,
|
| 1909 |
+
0xC375: 1878,
|
| 1910 |
+
0xC377: 1879,
|
| 1911 |
+
0xC3A1: 1880,
|
| 1912 |
+
0xC3A2: 1881,
|
| 1913 |
+
0xC3A5: 1882,
|
| 1914 |
+
0xC3A8: 1883,
|
| 1915 |
+
0xC3A9: 1884,
|
| 1916 |
+
0xC3AA: 1885,
|
| 1917 |
+
0xC3B1: 1886,
|
| 1918 |
+
0xC3B3: 1887,
|
| 1919 |
+
0xC3B5: 1888,
|
| 1920 |
+
0xC3B7: 1889,
|
| 1921 |
+
0xC461: 1890,
|
| 1922 |
+
0xC462: 1891,
|
| 1923 |
+
0xC465: 1892,
|
| 1924 |
+
0xC469: 1893,
|
| 1925 |
+
0xC471: 1894,
|
| 1926 |
+
0xC473: 1895,
|
| 1927 |
+
0xC475: 1896,
|
| 1928 |
+
0xC477: 1897,
|
| 1929 |
+
0xC481: 1898,
|
| 1930 |
+
0xC482: 1899,
|
| 1931 |
+
0xC485: 1900,
|
| 1932 |
+
0xC489: 1901,
|
| 1933 |
+
0xC491: 1902,
|
| 1934 |
+
0xC493: 1903,
|
| 1935 |
+
0xC495: 1904,
|
| 1936 |
+
0xC496: 1905,
|
| 1937 |
+
0xC497: 1906,
|
| 1938 |
+
0xC4A1: 1907,
|
| 1939 |
+
0xC4A2: 1908,
|
| 1940 |
+
0xC4B7: 1909,
|
| 1941 |
+
0xC4E1: 1910,
|
| 1942 |
+
0xC4E2: 1911,
|
| 1943 |
+
0xC4E5: 1912,
|
| 1944 |
+
0xC4E8: 1913,
|
| 1945 |
+
0xC4E9: 1914,
|
| 1946 |
+
0xC4F1: 1915,
|
| 1947 |
+
0xC4F3: 1916,
|
| 1948 |
+
0xC4F5: 1917,
|
| 1949 |
+
0xC4F6: 1918,
|
| 1950 |
+
0xC4F7: 1919,
|
| 1951 |
+
0xC541: 1920,
|
| 1952 |
+
0xC542: 1921,
|
| 1953 |
+
0xC545: 1922,
|
| 1954 |
+
0xC549: 1923,
|
| 1955 |
+
0xC551: 1924,
|
| 1956 |
+
0xC553: 1925,
|
| 1957 |
+
0xC555: 1926,
|
| 1958 |
+
0xC557: 1927,
|
| 1959 |
+
0xC561: 1928,
|
| 1960 |
+
0xC565: 1929,
|
| 1961 |
+
0xC569: 1930,
|
| 1962 |
+
0xC571: 1931,
|
| 1963 |
+
0xC573: 1932,
|
| 1964 |
+
0xC575: 1933,
|
| 1965 |
+
0xC576: 1934,
|
| 1966 |
+
0xC577: 1935,
|
| 1967 |
+
0xC581: 1936,
|
| 1968 |
+
0xC5A1: 1937,
|
| 1969 |
+
0xC5A2: 1938,
|
| 1970 |
+
0xC5A5: 1939,
|
| 1971 |
+
0xC5A9: 1940,
|
| 1972 |
+
0xC5B1: 1941,
|
| 1973 |
+
0xC5B3: 1942,
|
| 1974 |
+
0xC5B5: 1943,
|
| 1975 |
+
0xC5B7: 1944,
|
| 1976 |
+
0xC5C1: 1945,
|
| 1977 |
+
0xC5C2: 1946,
|
| 1978 |
+
0xC5C5: 1947,
|
| 1979 |
+
0xC5C9: 1948,
|
| 1980 |
+
0xC5D1: 1949,
|
| 1981 |
+
0xC5D7: 1950,
|
| 1982 |
+
0xC5E1: 1951,
|
| 1983 |
+
0xC5F7: 1952,
|
| 1984 |
+
0xC641: 1953,
|
| 1985 |
+
0xC649: 1954,
|
| 1986 |
+
0xC661: 1955,
|
| 1987 |
+
0xC681: 1956,
|
| 1988 |
+
0xC682: 1957,
|
| 1989 |
+
0xC685: 1958,
|
| 1990 |
+
0xC689: 1959,
|
| 1991 |
+
0xC691: 1960,
|
| 1992 |
+
0xC693: 1961,
|
| 1993 |
+
0xC695: 1962,
|
| 1994 |
+
0xC697: 1963,
|
| 1995 |
+
0xC6A1: 1964,
|
| 1996 |
+
0xC6A5: 1965,
|
| 1997 |
+
0xC6A9: 1966,
|
| 1998 |
+
0xC6B7: 1967,
|
| 1999 |
+
0xC6C1: 1968,
|
| 2000 |
+
0xC6D7: 1969,
|
| 2001 |
+
0xC6E1: 1970,
|
| 2002 |
+
0xC6E2: 1971,
|
| 2003 |
+
0xC6E5: 1972,
|
| 2004 |
+
0xC6E9: 1973,
|
| 2005 |
+
0xC6F1: 1974,
|
| 2006 |
+
0xC6F3: 1975,
|
| 2007 |
+
0xC6F5: 1976,
|
| 2008 |
+
0xC6F7: 1977,
|
| 2009 |
+
0xC741: 1978,
|
| 2010 |
+
0xC745: 1979,
|
| 2011 |
+
0xC749: 1980,
|
| 2012 |
+
0xC751: 1981,
|
| 2013 |
+
0xC761: 1982,
|
| 2014 |
+
0xC762: 1983,
|
| 2015 |
+
0xC765: 1984,
|
| 2016 |
+
0xC769: 1985,
|
| 2017 |
+
0xC771: 1986,
|
| 2018 |
+
0xC773: 1987,
|
| 2019 |
+
0xC777: 1988,
|
| 2020 |
+
0xC7A1: 1989,
|
| 2021 |
+
0xC7A2: 1990,
|
| 2022 |
+
0xC7A5: 1991,
|
| 2023 |
+
0xC7A9: 1992,
|
| 2024 |
+
0xC7B1: 1993,
|
| 2025 |
+
0xC7B3: 1994,
|
| 2026 |
+
0xC7B5: 1995,
|
| 2027 |
+
0xC7B7: 1996,
|
| 2028 |
+
0xC861: 1997,
|
| 2029 |
+
0xC862: 1998,
|
| 2030 |
+
0xC865: 1999,
|
| 2031 |
+
0xC869: 2000,
|
| 2032 |
+
0xC86A: 2001,
|
| 2033 |
+
0xC871: 2002,
|
| 2034 |
+
0xC873: 2003,
|
| 2035 |
+
0xC875: 2004,
|
| 2036 |
+
0xC876: 2005,
|
| 2037 |
+
0xC877: 2006,
|
| 2038 |
+
0xC881: 2007,
|
| 2039 |
+
0xC882: 2008,
|
| 2040 |
+
0xC885: 2009,
|
| 2041 |
+
0xC889: 2010,
|
| 2042 |
+
0xC891: 2011,
|
| 2043 |
+
0xC893: 2012,
|
| 2044 |
+
0xC895: 2013,
|
| 2045 |
+
0xC896: 2014,
|
| 2046 |
+
0xC897: 2015,
|
| 2047 |
+
0xC8A1: 2016,
|
| 2048 |
+
0xC8B7: 2017,
|
| 2049 |
+
0xC8E1: 2018,
|
| 2050 |
+
0xC8E2: 2019,
|
| 2051 |
+
0xC8E5: 2020,
|
| 2052 |
+
0xC8E9: 2021,
|
| 2053 |
+
0xC8EB: 2022,
|
| 2054 |
+
0xC8F1: 2023,
|
| 2055 |
+
0xC8F3: 2024,
|
| 2056 |
+
0xC8F5: 2025,
|
| 2057 |
+
0xC8F6: 2026,
|
| 2058 |
+
0xC8F7: 2027,
|
| 2059 |
+
0xC941: 2028,
|
| 2060 |
+
0xC942: 2029,
|
| 2061 |
+
0xC945: 2030,
|
| 2062 |
+
0xC949: 2031,
|
| 2063 |
+
0xC951: 2032,
|
| 2064 |
+
0xC953: 2033,
|
| 2065 |
+
0xC955: 2034,
|
| 2066 |
+
0xC957: 2035,
|
| 2067 |
+
0xC961: 2036,
|
| 2068 |
+
0xC965: 2037,
|
| 2069 |
+
0xC976: 2038,
|
| 2070 |
+
0xC981: 2039,
|
| 2071 |
+
0xC985: 2040,
|
| 2072 |
+
0xC9A1: 2041,
|
| 2073 |
+
0xC9A2: 2042,
|
| 2074 |
+
0xC9A5: 2043,
|
| 2075 |
+
0xC9A9: 2044,
|
| 2076 |
+
0xC9B1: 2045,
|
| 2077 |
+
0xC9B3: 2046,
|
| 2078 |
+
0xC9B5: 2047,
|
| 2079 |
+
0xC9B7: 2048,
|
| 2080 |
+
0xC9BC: 2049,
|
| 2081 |
+
0xC9C1: 2050,
|
| 2082 |
+
0xC9C5: 2051,
|
| 2083 |
+
0xC9E1: 2052,
|
| 2084 |
+
0xCA41: 2053,
|
| 2085 |
+
0xCA45: 2054,
|
| 2086 |
+
0xCA55: 2055,
|
| 2087 |
+
0xCA57: 2056,
|
| 2088 |
+
0xCA61: 2057,
|
| 2089 |
+
0xCA81: 2058,
|
| 2090 |
+
0xCA82: 2059,
|
| 2091 |
+
0xCA85: 2060,
|
| 2092 |
+
0xCA89: 2061,
|
| 2093 |
+
0xCA91: 2062,
|
| 2094 |
+
0xCA93: 2063,
|
| 2095 |
+
0xCA95: 2064,
|
| 2096 |
+
0xCA97: 2065,
|
| 2097 |
+
0xCAA1: 2066,
|
| 2098 |
+
0xCAB6: 2067,
|
| 2099 |
+
0xCAC1: 2068,
|
| 2100 |
+
0xCAE1: 2069,
|
| 2101 |
+
0xCAE2: 2070,
|
| 2102 |
+
0xCAE5: 2071,
|
| 2103 |
+
0xCAE9: 2072,
|
| 2104 |
+
0xCAF1: 2073,
|
| 2105 |
+
0xCAF3: 2074,
|
| 2106 |
+
0xCAF7: 2075,
|
| 2107 |
+
0xCB41: 2076,
|
| 2108 |
+
0xCB45: 2077,
|
| 2109 |
+
0xCB49: 2078,
|
| 2110 |
+
0xCB51: 2079,
|
| 2111 |
+
0xCB57: 2080,
|
| 2112 |
+
0xCB61: 2081,
|
| 2113 |
+
0xCB62: 2082,
|
| 2114 |
+
0xCB65: 2083,
|
| 2115 |
+
0xCB68: 2084,
|
| 2116 |
+
0xCB69: 2085,
|
| 2117 |
+
0xCB6B: 2086,
|
| 2118 |
+
0xCB71: 2087,
|
| 2119 |
+
0xCB73: 2088,
|
| 2120 |
+
0xCB75: 2089,
|
| 2121 |
+
0xCB81: 2090,
|
| 2122 |
+
0xCB85: 2091,
|
| 2123 |
+
0xCB89: 2092,
|
| 2124 |
+
0xCB91: 2093,
|
| 2125 |
+
0xCB93: 2094,
|
| 2126 |
+
0xCBA1: 2095,
|
| 2127 |
+
0xCBA2: 2096,
|
| 2128 |
+
0xCBA5: 2097,
|
| 2129 |
+
0xCBA9: 2098,
|
| 2130 |
+
0xCBB1: 2099,
|
| 2131 |
+
0xCBB3: 2100,
|
| 2132 |
+
0xCBB5: 2101,
|
| 2133 |
+
0xCBB7: 2102,
|
| 2134 |
+
0xCC61: 2103,
|
| 2135 |
+
0xCC62: 2104,
|
| 2136 |
+
0xCC63: 2105,
|
| 2137 |
+
0xCC65: 2106,
|
| 2138 |
+
0xCC69: 2107,
|
| 2139 |
+
0xCC6B: 2108,
|
| 2140 |
+
0xCC71: 2109,
|
| 2141 |
+
0xCC73: 2110,
|
| 2142 |
+
0xCC75: 2111,
|
| 2143 |
+
0xCC76: 2112,
|
| 2144 |
+
0xCC77: 2113,
|
| 2145 |
+
0xCC7B: 2114,
|
| 2146 |
+
0xCC81: 2115,
|
| 2147 |
+
0xCC82: 2116,
|
| 2148 |
+
0xCC85: 2117,
|
| 2149 |
+
0xCC89: 2118,
|
| 2150 |
+
0xCC91: 2119,
|
| 2151 |
+
0xCC93: 2120,
|
| 2152 |
+
0xCC95: 2121,
|
| 2153 |
+
0xCC96: 2122,
|
| 2154 |
+
0xCC97: 2123,
|
| 2155 |
+
0xCCA1: 2124,
|
| 2156 |
+
0xCCA2: 2125,
|
| 2157 |
+
0xCCE1: 2126,
|
| 2158 |
+
0xCCE2: 2127,
|
| 2159 |
+
0xCCE5: 2128,
|
| 2160 |
+
0xCCE9: 2129,
|
| 2161 |
+
0xCCF1: 2130,
|
| 2162 |
+
0xCCF3: 2131,
|
| 2163 |
+
0xCCF5: 2132,
|
| 2164 |
+
0xCCF6: 2133,
|
| 2165 |
+
0xCCF7: 2134,
|
| 2166 |
+
0xCD41: 2135,
|
| 2167 |
+
0xCD42: 2136,
|
| 2168 |
+
0xCD45: 2137,
|
| 2169 |
+
0xCD49: 2138,
|
| 2170 |
+
0xCD51: 2139,
|
| 2171 |
+
0xCD53: 2140,
|
| 2172 |
+
0xCD55: 2141,
|
| 2173 |
+
0xCD57: 2142,
|
| 2174 |
+
0xCD61: 2143,
|
| 2175 |
+
0xCD65: 2144,
|
| 2176 |
+
0xCD69: 2145,
|
| 2177 |
+
0xCD71: 2146,
|
| 2178 |
+
0xCD73: 2147,
|
| 2179 |
+
0xCD76: 2148,
|
| 2180 |
+
0xCD77: 2149,
|
| 2181 |
+
0xCD81: 2150,
|
| 2182 |
+
0xCD89: 2151,
|
| 2183 |
+
0xCD93: 2152,
|
| 2184 |
+
0xCD95: 2153,
|
| 2185 |
+
0xCDA1: 2154,
|
| 2186 |
+
0xCDA2: 2155,
|
| 2187 |
+
0xCDA5: 2156,
|
| 2188 |
+
0xCDA9: 2157,
|
| 2189 |
+
0xCDB1: 2158,
|
| 2190 |
+
0xCDB3: 2159,
|
| 2191 |
+
0xCDB5: 2160,
|
| 2192 |
+
0xCDB7: 2161,
|
| 2193 |
+
0xCDC1: 2162,
|
| 2194 |
+
0xCDD7: 2163,
|
| 2195 |
+
0xCE41: 2164,
|
| 2196 |
+
0xCE45: 2165,
|
| 2197 |
+
0xCE61: 2166,
|
| 2198 |
+
0xCE65: 2167,
|
| 2199 |
+
0xCE69: 2168,
|
| 2200 |
+
0xCE73: 2169,
|
| 2201 |
+
0xCE75: 2170,
|
| 2202 |
+
0xCE81: 2171,
|
| 2203 |
+
0xCE82: 2172,
|
| 2204 |
+
0xCE85: 2173,
|
| 2205 |
+
0xCE88: 2174,
|
| 2206 |
+
0xCE89: 2175,
|
| 2207 |
+
0xCE8B: 2176,
|
| 2208 |
+
0xCE91: 2177,
|
| 2209 |
+
0xCE93: 2178,
|
| 2210 |
+
0xCE95: 2179,
|
| 2211 |
+
0xCE97: 2180,
|
| 2212 |
+
0xCEA1: 2181,
|
| 2213 |
+
0xCEB7: 2182,
|
| 2214 |
+
0xCEE1: 2183,
|
| 2215 |
+
0xCEE5: 2184,
|
| 2216 |
+
0xCEE9: 2185,
|
| 2217 |
+
0xCEF1: 2186,
|
| 2218 |
+
0xCEF5: 2187,
|
| 2219 |
+
0xCF41: 2188,
|
| 2220 |
+
0xCF45: 2189,
|
| 2221 |
+
0xCF49: 2190,
|
| 2222 |
+
0xCF51: 2191,
|
| 2223 |
+
0xCF55: 2192,
|
| 2224 |
+
0xCF57: 2193,
|
| 2225 |
+
0xCF61: 2194,
|
| 2226 |
+
0xCF65: 2195,
|
| 2227 |
+
0xCF69: 2196,
|
| 2228 |
+
0xCF71: 2197,
|
| 2229 |
+
0xCF73: 2198,
|
| 2230 |
+
0xCF75: 2199,
|
| 2231 |
+
0xCFA1: 2200,
|
| 2232 |
+
0xCFA2: 2201,
|
| 2233 |
+
0xCFA5: 2202,
|
| 2234 |
+
0xCFA9: 2203,
|
| 2235 |
+
0xCFB1: 2204,
|
| 2236 |
+
0xCFB3: 2205,
|
| 2237 |
+
0xCFB5: 2206,
|
| 2238 |
+
0xCFB7: 2207,
|
| 2239 |
+
0xD061: 2208,
|
| 2240 |
+
0xD062: 2209,
|
| 2241 |
+
0xD065: 2210,
|
| 2242 |
+
0xD069: 2211,
|
| 2243 |
+
0xD06E: 2212,
|
| 2244 |
+
0xD071: 2213,
|
| 2245 |
+
0xD073: 2214,
|
| 2246 |
+
0xD075: 2215,
|
| 2247 |
+
0xD077: 2216,
|
| 2248 |
+
0xD081: 2217,
|
| 2249 |
+
0xD082: 2218,
|
| 2250 |
+
0xD085: 2219,
|
| 2251 |
+
0xD089: 2220,
|
| 2252 |
+
0xD091: 2221,
|
| 2253 |
+
0xD093: 2222,
|
| 2254 |
+
0xD095: 2223,
|
| 2255 |
+
0xD096: 2224,
|
| 2256 |
+
0xD097: 2225,
|
| 2257 |
+
0xD0A1: 2226,
|
| 2258 |
+
0xD0B7: 2227,
|
| 2259 |
+
0xD0E1: 2228,
|
| 2260 |
+
0xD0E2: 2229,
|
| 2261 |
+
0xD0E5: 2230,
|
| 2262 |
+
0xD0E9: 2231,
|
| 2263 |
+
0xD0EB: 2232,
|
| 2264 |
+
0xD0F1: 2233,
|
| 2265 |
+
0xD0F3: 2234,
|
| 2266 |
+
0xD0F5: 2235,
|
| 2267 |
+
0xD0F7: 2236,
|
| 2268 |
+
0xD141: 2237,
|
| 2269 |
+
0xD142: 2238,
|
| 2270 |
+
0xD145: 2239,
|
| 2271 |
+
0xD149: 2240,
|
| 2272 |
+
0xD151: 2241,
|
| 2273 |
+
0xD153: 2242,
|
| 2274 |
+
0xD155: 2243,
|
| 2275 |
+
0xD157: 2244,
|
| 2276 |
+
0xD161: 2245,
|
| 2277 |
+
0xD162: 2246,
|
| 2278 |
+
0xD165: 2247,
|
| 2279 |
+
0xD169: 2248,
|
| 2280 |
+
0xD171: 2249,
|
| 2281 |
+
0xD173: 2250,
|
| 2282 |
+
0xD175: 2251,
|
| 2283 |
+
0xD176: 2252,
|
| 2284 |
+
0xD177: 2253,
|
| 2285 |
+
0xD181: 2254,
|
| 2286 |
+
0xD185: 2255,
|
| 2287 |
+
0xD189: 2256,
|
| 2288 |
+
0xD193: 2257,
|
| 2289 |
+
0xD1A1: 2258,
|
| 2290 |
+
0xD1A2: 2259,
|
| 2291 |
+
0xD1A5: 2260,
|
| 2292 |
+
0xD1A9: 2261,
|
| 2293 |
+
0xD1AE: 2262,
|
| 2294 |
+
0xD1B1: 2263,
|
| 2295 |
+
0xD1B3: 2264,
|
| 2296 |
+
0xD1B5: 2265,
|
| 2297 |
+
0xD1B7: 2266,
|
| 2298 |
+
0xD1BB: 2267,
|
| 2299 |
+
0xD1C1: 2268,
|
| 2300 |
+
0xD1C2: 2269,
|
| 2301 |
+
0xD1C5: 2270,
|
| 2302 |
+
0xD1C9: 2271,
|
| 2303 |
+
0xD1D5: 2272,
|
| 2304 |
+
0xD1D7: 2273,
|
| 2305 |
+
0xD1E1: 2274,
|
| 2306 |
+
0xD1E2: 2275,
|
| 2307 |
+
0xD1E5: 2276,
|
| 2308 |
+
0xD1F5: 2277,
|
| 2309 |
+
0xD1F7: 2278,
|
| 2310 |
+
0xD241: 2279,
|
| 2311 |
+
0xD242: 2280,
|
| 2312 |
+
0xD245: 2281,
|
| 2313 |
+
0xD249: 2282,
|
| 2314 |
+
0xD253: 2283,
|
| 2315 |
+
0xD255: 2284,
|
| 2316 |
+
0xD257: 2285,
|
| 2317 |
+
0xD261: 2286,
|
| 2318 |
+
0xD265: 2287,
|
| 2319 |
+
0xD269: 2288,
|
| 2320 |
+
0xD273: 2289,
|
| 2321 |
+
0xD275: 2290,
|
| 2322 |
+
0xD281: 2291,
|
| 2323 |
+
0xD282: 2292,
|
| 2324 |
+
0xD285: 2293,
|
| 2325 |
+
0xD289: 2294,
|
| 2326 |
+
0xD28E: 2295,
|
| 2327 |
+
0xD291: 2296,
|
| 2328 |
+
0xD295: 2297,
|
| 2329 |
+
0xD297: 2298,
|
| 2330 |
+
0xD2A1: 2299,
|
| 2331 |
+
0xD2A5: 2300,
|
| 2332 |
+
0xD2A9: 2301,
|
| 2333 |
+
0xD2B1: 2302,
|
| 2334 |
+
0xD2B7: 2303,
|
| 2335 |
+
0xD2C1: 2304,
|
| 2336 |
+
0xD2C2: 2305,
|
| 2337 |
+
0xD2C5: 2306,
|
| 2338 |
+
0xD2C9: 2307,
|
| 2339 |
+
0xD2D7: 2308,
|
| 2340 |
+
0xD2E1: 2309,
|
| 2341 |
+
0xD2E2: 2310,
|
| 2342 |
+
0xD2E5: 2311,
|
| 2343 |
+
0xD2E9: 2312,
|
| 2344 |
+
0xD2F1: 2313,
|
| 2345 |
+
0xD2F3: 2314,
|
| 2346 |
+
0xD2F5: 2315,
|
| 2347 |
+
0xD2F7: 2316,
|
| 2348 |
+
0xD341: 2317,
|
| 2349 |
+
0xD342: 2318,
|
| 2350 |
+
0xD345: 2319,
|
| 2351 |
+
0xD349: 2320,
|
| 2352 |
+
0xD351: 2321,
|
| 2353 |
+
0xD355: 2322,
|
| 2354 |
+
0xD357: 2323,
|
| 2355 |
+
0xD361: 2324,
|
| 2356 |
+
0xD362: 2325,
|
| 2357 |
+
0xD365: 2326,
|
| 2358 |
+
0xD367: 2327,
|
| 2359 |
+
0xD368: 2328,
|
| 2360 |
+
0xD369: 2329,
|
| 2361 |
+
0xD36A: 2330,
|
| 2362 |
+
0xD371: 2331,
|
| 2363 |
+
0xD373: 2332,
|
| 2364 |
+
0xD375: 2333,
|
| 2365 |
+
0xD377: 2334,
|
| 2366 |
+
0xD37B: 2335,
|
| 2367 |
+
0xD381: 2336,
|
| 2368 |
+
0xD385: 2337,
|
| 2369 |
+
0xD389: 2338,
|
| 2370 |
+
0xD391: 2339,
|
| 2371 |
+
0xD393: 2340,
|
| 2372 |
+
0xD397: 2341,
|
| 2373 |
+
0xD3A1: 2342,
|
| 2374 |
+
0xD3A2: 2343,
|
| 2375 |
+
0xD3A5: 2344,
|
| 2376 |
+
0xD3A9: 2345,
|
| 2377 |
+
0xD3B1: 2346,
|
| 2378 |
+
0xD3B3: 2347,
|
| 2379 |
+
0xD3B5: 2348,
|
| 2380 |
+
0xD3B7: 2349,
|
| 2381 |
+
}
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/johabprober.py
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is mozilla.org code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
from .chardistribution import JOHABDistributionAnalysis
|
| 28 |
+
from .codingstatemachine import CodingStateMachine
|
| 29 |
+
from .mbcharsetprober import MultiByteCharSetProber
|
| 30 |
+
from .mbcssm import JOHAB_SM_MODEL
|
| 31 |
+
|
| 32 |
+
|
| 33 |
+
class JOHABProber(MultiByteCharSetProber):
|
| 34 |
+
def __init__(self) -> None:
|
| 35 |
+
super().__init__()
|
| 36 |
+
self.coding_sm = CodingStateMachine(JOHAB_SM_MODEL)
|
| 37 |
+
self.distribution_analyzer = JOHABDistributionAnalysis()
|
| 38 |
+
self.reset()
|
| 39 |
+
|
| 40 |
+
@property
|
| 41 |
+
def charset_name(self) -> str:
|
| 42 |
+
return "Johab"
|
| 43 |
+
|
| 44 |
+
@property
|
| 45 |
+
def language(self) -> str:
|
| 46 |
+
return "Korean"
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/jpcntx.py
ADDED
|
@@ -0,0 +1,237 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
######################## BEGIN LICENSE BLOCK ########################
|
| 2 |
+
# The Original Code is Mozilla Communicator client code.
|
| 3 |
+
#
|
| 4 |
+
# The Initial Developer of the Original Code is
|
| 5 |
+
# Netscape Communications Corporation.
|
| 6 |
+
# Portions created by the Initial Developer are Copyright (C) 1998
|
| 7 |
+
# the Initial Developer. All Rights Reserved.
|
| 8 |
+
#
|
| 9 |
+
# Contributor(s):
|
| 10 |
+
# Mark Pilgrim - port to Python
|
| 11 |
+
#
|
| 12 |
+
# This library is free software; you can redistribute it and/or
|
| 13 |
+
# modify it under the terms of the GNU Lesser General Public
|
| 14 |
+
# License as published by the Free Software Foundation; either
|
| 15 |
+
# version 2.1 of the License, or (at your option) any later version.
|
| 16 |
+
#
|
| 17 |
+
# This library is distributed in the hope that it will be useful,
|
| 18 |
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 19 |
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 20 |
+
# Lesser General Public License for more details.
|
| 21 |
+
#
|
| 22 |
+
# You should have received a copy of the GNU Lesser General Public
|
| 23 |
+
# License along with this library; if not, see
|
| 24 |
+
# <https://www.gnu.org/licenses/>.
|
| 25 |
+
######################### END LICENSE BLOCK #########################
|
| 26 |
+
|
| 27 |
+
from typing import Union
|
| 28 |
+
|
| 29 |
+
# This is hiragana 2-char sequence table, the number in each cell represents its frequency category
|
| 30 |
+
# fmt: off
|
| 31 |
+
jp2_char_context = (
|
| 32 |
+
(0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1),
|
| 33 |
+
(2, 4, 0, 4, 0, 3, 0, 4, 0, 3, 4, 4, 4, 2, 4, 3, 3, 4, 3, 2, 3, 3, 4, 2, 3, 3, 3, 2, 4, 1, 4, 3, 3, 1, 5, 4, 3, 4, 3, 4, 3, 5, 3, 0, 3, 5, 4, 2, 0, 3, 1, 0, 3, 3, 0, 3, 3, 0, 1, 1, 0, 4, 3, 0, 3, 3, 0, 4, 0, 2, 0, 3, 5, 5, 5, 5, 4, 0, 4, 1, 0, 3, 4),
|
| 34 |
+
(0, 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 0, 1, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2),
|
| 113 |
+
(0, 4, 0, 4, 0, 4, 0, 3, 0, 4, 4, 3, 4, 2, 4, 3, 2, 0, 4, 4, 4, 3, 5, 3, 5, 3, 3, 2, 4, 2, 4, 3, 4, 3, 1, 4, 0, 2, 3, 4, 4, 4, 3, 3, 3, 4, 4, 4, 3, 4, 1, 3, 4, 3, 2, 1, 2, 1, 3, 3, 3, 4, 4, 3, 3, 5, 0, 4, 0, 3, 0, 4, 3, 3, 3, 2, 1, 0, 3, 0, 0, 3, 3),
|
| 114 |
+
(0, 4, 0, 3, 0, 3, 0, 3, 0, 3, 5, 5, 3, 3, 3, 3, 4, 3, 4, 3, 3, 3, 4, 4, 4, 3, 3, 3, 3, 4, 3, 5, 3, 3, 1, 3, 2, 4, 5, 5, 5, 5, 4, 3, 4, 5, 5, 3, 2, 2, 3, 3, 3, 3, 2, 3, 3, 1, 2, 3, 2, 4, 3, 3, 3, 4, 0, 4, 0, 2, 0, 4, 3, 2, 2, 1, 2, 0, 3, 0, 0, 4, 1),
|
| 115 |
+
)
|
| 116 |
+
# fmt: on
|
| 117 |
+
|
| 118 |
+
|
| 119 |
+
class JapaneseContextAnalysis:
|
| 120 |
+
NUM_OF_CATEGORY = 6
|
| 121 |
+
DONT_KNOW = -1
|
| 122 |
+
ENOUGH_REL_THRESHOLD = 100
|
| 123 |
+
MAX_REL_THRESHOLD = 1000
|
| 124 |
+
MINIMUM_DATA_THRESHOLD = 4
|
| 125 |
+
|
| 126 |
+
def __init__(self) -> None:
|
| 127 |
+
self._total_rel = 0
|
| 128 |
+
self._rel_sample: list[int] = []
|
| 129 |
+
self._need_to_skip_char_num = 0
|
| 130 |
+
self._last_char_order = -1
|
| 131 |
+
self._done = False
|
| 132 |
+
self.reset()
|
| 133 |
+
|
| 134 |
+
def reset(self) -> None:
|
| 135 |
+
self._total_rel = 0 # total sequence received
|
| 136 |
+
# category counters, each integer counts sequence in its category
|
| 137 |
+
self._rel_sample = [0] * self.NUM_OF_CATEGORY
|
| 138 |
+
# if last byte in current buffer is not the last byte of a character,
|
| 139 |
+
# we need to know how many bytes to skip in next buffer
|
| 140 |
+
self._need_to_skip_char_num = 0
|
| 141 |
+
self._last_char_order = -1 # The order of previous char
|
| 142 |
+
# If this flag is set to True, detection is done and conclusion has
|
| 143 |
+
# been made
|
| 144 |
+
self._done = False
|
| 145 |
+
|
| 146 |
+
def feed(self, byte_str: Union[bytes, bytearray], num_bytes: int) -> None:
|
| 147 |
+
if self._done:
|
| 148 |
+
return
|
| 149 |
+
|
| 150 |
+
# The buffer we got is byte oriented, and a character may span in more than one
|
| 151 |
+
# buffers. In case the last one or two byte in last buffer is not
|
| 152 |
+
# complete, we record how many byte needed to complete that character
|
| 153 |
+
# and skip these bytes here. We can choose to record those bytes as
|
| 154 |
+
# well and analyse the character once it is complete, but since a
|
| 155 |
+
# character will not make much difference, by simply skipping
|
| 156 |
+
# this character will simply our logic and improve performance.
|
| 157 |
+
i = self._need_to_skip_char_num
|
| 158 |
+
while i < num_bytes:
|
| 159 |
+
order, char_len = self.get_order(byte_str[i : i + 2])
|
| 160 |
+
i += char_len
|
| 161 |
+
if i > num_bytes:
|
| 162 |
+
self._need_to_skip_char_num = i - num_bytes
|
| 163 |
+
self._last_char_order = -1
|
| 164 |
+
else:
|
| 165 |
+
if (order != -1) and (self._last_char_order != -1):
|
| 166 |
+
self._total_rel += 1
|
| 167 |
+
if self._total_rel > self.MAX_REL_THRESHOLD:
|
| 168 |
+
self._done = True
|
| 169 |
+
break
|
| 170 |
+
self._rel_sample[
|
| 171 |
+
jp2_char_context[self._last_char_order][order]
|
| 172 |
+
] += 1
|
| 173 |
+
self._last_char_order = order
|
| 174 |
+
|
| 175 |
+
def got_enough_data(self) -> bool:
|
| 176 |
+
return self._total_rel > self.ENOUGH_REL_THRESHOLD
|
| 177 |
+
|
| 178 |
+
def get_confidence(self) -> float:
|
| 179 |
+
# This is just one way to calculate confidence. It works well for me.
|
| 180 |
+
if self._total_rel > self.MINIMUM_DATA_THRESHOLD:
|
| 181 |
+
return (self._total_rel - self._rel_sample[0]) / self._total_rel
|
| 182 |
+
return self.DONT_KNOW
|
| 183 |
+
|
| 184 |
+
def get_order(self, _: Union[bytes, bytearray]) -> tuple[int, int]:
|
| 185 |
+
return -1, 1
|
| 186 |
+
|
| 187 |
+
|
| 188 |
+
class SJISContextAnalysis(JapaneseContextAnalysis):
|
| 189 |
+
def __init__(self) -> None:
|
| 190 |
+
super().__init__()
|
| 191 |
+
self._charset_name = "SHIFT_JIS"
|
| 192 |
+
|
| 193 |
+
@property
|
| 194 |
+
def charset_name(self) -> str:
|
| 195 |
+
return self._charset_name
|
| 196 |
+
|
| 197 |
+
def get_order(self, byte_str: Union[bytes, bytearray]) -> tuple[int, int]: # type: ignore[reportIncompatibleMethodOverride]
|
| 198 |
+
if not byte_str:
|
| 199 |
+
return -1, 1
|
| 200 |
+
# find out current char's byte length
|
| 201 |
+
first_char = byte_str[0]
|
| 202 |
+
if (0x81 <= first_char <= 0x9F) or (0xE0 <= first_char <= 0xFC):
|
| 203 |
+
char_len = 2
|
| 204 |
+
if (first_char == 0x87) or (0xFA <= first_char <= 0xFC):
|
| 205 |
+
self._charset_name = "CP932"
|
| 206 |
+
else:
|
| 207 |
+
char_len = 1
|
| 208 |
+
|
| 209 |
+
# return its order if it is hiragana
|
| 210 |
+
if len(byte_str) > 1:
|
| 211 |
+
second_char = byte_str[1]
|
| 212 |
+
if (first_char == 202) and (0x9F <= second_char <= 0xF1):
|
| 213 |
+
return second_char - 0x9F, char_len
|
| 214 |
+
|
| 215 |
+
return -1, char_len
|
| 216 |
+
|
| 217 |
+
|
| 218 |
+
class EUCJPContextAnalysis(JapaneseContextAnalysis):
|
| 219 |
+
def get_order(self, byte_str: Union[bytes, bytearray]) -> tuple[int, int]: # type: ignore[reportIncompatibleMethodOverride]
|
| 220 |
+
if not byte_str:
|
| 221 |
+
return -1, 1
|
| 222 |
+
# find out current char's byte length
|
| 223 |
+
first_char = byte_str[0]
|
| 224 |
+
if (first_char == 0x8E) or (0xA1 <= first_char <= 0xFE):
|
| 225 |
+
char_len = 2
|
| 226 |
+
elif first_char == 0x8F:
|
| 227 |
+
char_len = 3
|
| 228 |
+
else:
|
| 229 |
+
char_len = 1
|
| 230 |
+
|
| 231 |
+
# return its order if it is hiragana
|
| 232 |
+
if len(byte_str) > 1:
|
| 233 |
+
second_char = byte_str[1]
|
| 234 |
+
if (first_char == 0xA4) and (0xA1 <= second_char <= 0xF3):
|
| 235 |
+
return second_char - 0xA1, char_len
|
| 236 |
+
|
| 237 |
+
return -1, char_len
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langarabicmodel.py
ADDED
|
@@ -0,0 +1,3160 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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 |
+
# 1: Unlikely
|
| 6 |
+
# 0: Negative
|
| 7 |
+
|
| 8 |
+
ARABIC_LANG_MODEL = {
|
| 9 |
+
34: { # 'ء'
|
| 10 |
+
34: 0, # 'ء'
|
| 11 |
+
40: 1, # 'آ'
|
| 12 |
+
18: 1, # 'أ'
|
| 13 |
+
41: 0, # 'ؤ'
|
| 14 |
+
24: 0, # 'إ'
|
| 15 |
+
32: 0, # 'ئ'
|
| 16 |
+
1: 2, # 'ا'
|
| 17 |
+
9: 1, # 'ب'
|
| 18 |
+
10: 1, # 'ة'
|
| 19 |
+
8: 1, # 'ت'
|
| 20 |
+
28: 0, # 'ث'
|
| 21 |
+
20: 0, # 'ج'
|
| 22 |
+
19: 0, # 'ح'
|
| 23 |
+
26: 0, # 'خ'
|
| 24 |
+
12: 0, # 'د'
|
| 25 |
+
30: 0, # 'ذ'
|
| 26 |
+
7: 0, # 'ر'
|
| 27 |
+
27: 0, # 'ز'
|
| 28 |
+
13: 0, # 'س'
|
| 29 |
+
21: 0, # 'ش'
|
| 30 |
+
23: 0, # 'ص'
|
| 31 |
+
29: 0, # 'ض'
|
| 32 |
+
22: 0, # 'ط'
|
| 33 |
+
38: 0, # 'ظ'
|
| 34 |
+
11: 1, # 'ع'
|
| 35 |
+
31: 0, # 'غ'
|
| 36 |
+
45: 0, # 'ؿ'
|
| 37 |
+
42: 0, # 'ـ'
|
| 38 |
+
14: 0, # 'ف'
|
| 39 |
+
16: 0, # 'ق'
|
| 40 |
+
17: 1, # 'ك'
|
| 41 |
+
2: 1, # 'ل'
|
| 42 |
+
4: 1, # 'م'
|
| 43 |
+
6: 1, # 'ن'
|
| 44 |
+
15: 1, # 'ه'
|
| 45 |
+
5: 1, # 'و'
|
| 46 |
+
25: 1, # 'ى'
|
| 47 |
+
3: 1, # 'ي'
|
| 48 |
+
33: 1, # 'ً'
|
| 49 |
+
44: 1, # 'ٌ'
|
| 50 |
+
43: 1, # 'ٍ'
|
| 51 |
+
35: 1, # 'َ'
|
| 52 |
+
36: 1, # 'ُ'
|
| 53 |
+
39: 1, # 'ِ'
|
| 54 |
+
37: 1, # 'ّ'
|
| 55 |
+
},
|
| 56 |
+
40: { # 'آ'
|
| 57 |
+
34: 1, # 'ء'
|
| 58 |
+
40: 0, # 'آ'
|
| 59 |
+
18: 0, # 'أ'
|
| 60 |
+
41: 0, # 'ؤ'
|
| 61 |
+
24: 0, # 'إ'
|
| 62 |
+
32: 1, # 'ئ'
|
| 63 |
+
1: 1, # 'ا'
|
| 64 |
+
9: 1, # 'ب'
|
| 65 |
+
10: 1, # 'ة'
|
| 66 |
+
8: 1, # 'ت'
|
| 67 |
+
28: 1, # 'ث'
|
| 68 |
+
20: 1, # 'ج'
|
| 69 |
+
19: 1, # 'ح'
|
| 70 |
+
26: 2, # 'خ'
|
| 71 |
+
12: 1, # 'د'
|
| 72 |
+
30: 1, # 'ذ'
|
| 73 |
+
7: 1, # 'ر'
|
| 74 |
+
27: 1, # 'ز'
|
| 75 |
+
13: 2, # 'س'
|
| 76 |
+
21: 1, # 'ش'
|
| 77 |
+
23: 1, # 'ص'
|
| 78 |
+
29: 0, # 'ض'
|
| 79 |
+
22: 1, # 'ط'
|
| 80 |
+
38: 0, # 'ظ'
|
| 81 |
+
11: 1, # 'ع'
|
| 82 |
+
31: 1, # 'غ'
|
| 83 |
+
45: 0, # 'ؿ'
|
| 84 |
+
42: 0, # 'ـ'
|
| 85 |
+
14: 1, # 'ف'
|
| 86 |
+
16: 1, # 'ق'
|
| 87 |
+
17: 1, # 'ك'
|
| 88 |
+
2: 2, # 'ل'
|
| 89 |
+
4: 1, # 'م'
|
| 90 |
+
6: 2, # 'ن'
|
| 91 |
+
15: 1, # 'ه'
|
| 92 |
+
5: 1, # 'و'
|
| 93 |
+
25: 1, # 'ى'
|
| 94 |
+
3: 1, # 'ي'
|
| 95 |
+
33: 0, # 'ً'
|
| 96 |
+
44: 0, # 'ٌ'
|
| 97 |
+
43: 0, # 'ٍ'
|
| 98 |
+
35: 1, # 'َ'
|
| 99 |
+
36: 1, # 'ُ'
|
| 100 |
+
39: 0, # 'ِ'
|
| 101 |
+
37: 0, # 'ّ'
|
| 102 |
+
},
|
| 103 |
+
18: { # 'أ'
|
| 104 |
+
34: 1, # 'ء'
|
| 105 |
+
40: 0, # 'آ'
|
| 106 |
+
18: 1, # 'أ'
|
| 107 |
+
41: 1, # 'ؤ'
|
| 108 |
+
24: 0, # 'إ'
|
| 109 |
+
32: 1, # 'ئ'
|
| 110 |
+
1: 1, # 'ا'
|
| 111 |
+
9: 3, # 'ب'
|
| 112 |
+
10: 2, # 'ة'
|
| 113 |
+
8: 2, # 'ت'
|
| 114 |
+
28: 2, # 'ث'
|
| 115 |
+
20: 2, # 'ج'
|
| 116 |
+
19: 3, # 'ح'
|
| 117 |
+
26: 3, # 'خ'
|
| 118 |
+
12: 2, # 'د'
|
| 119 |
+
30: 1, # 'ذ'
|
| 120 |
+
7: 3, # 'ر'
|
| 121 |
+
27: 2, # 'ز'
|
| 122 |
+
13: 3, # 'س'
|
| 123 |
+
21: 2, # 'ش'
|
| 124 |
+
23: 3, # 'ص'
|
| 125 |
+
29: 1, # 'ض'
|
| 126 |
+
22: 2, # 'ط'
|
| 127 |
+
38: 1, # 'ظ'
|
| 128 |
+
11: 3, # 'ع'
|
| 129 |
+
31: 2, # 'غ'
|
| 130 |
+
45: 0, # 'ؿ'
|
| 131 |
+
42: 1, # 'ـ'
|
| 132 |
+
14: 2, # 'ف'
|
| 133 |
+
16: 2, # 'ق'
|
| 134 |
+
17: 3, # 'ك'
|
| 135 |
+
2: 3, # 'ل'
|
| 136 |
+
4: 3, # 'م'
|
| 137 |
+
6: 3, # 'ن'
|
| 138 |
+
15: 2, # 'ه'
|
| 139 |
+
5: 3, # 'و'
|
| 140 |
+
25: 1, # 'ى'
|
| 141 |
+
3: 3, # 'ي'
|
| 142 |
+
33: 1, # 'ً'
|
| 143 |
+
44: 1, # 'ٌ'
|
| 144 |
+
43: 1, # 'ٍ'
|
| 145 |
+
35: 2, # 'َ'
|
| 146 |
+
36: 2, # 'ُ'
|
| 147 |
+
39: 1, # 'ِ'
|
| 148 |
+
37: 1, # 'ّ'
|
| 149 |
+
},
|
| 150 |
+
41: { # 'ؤ'
|
| 151 |
+
34: 0, # 'ء'
|
| 152 |
+
40: 0, # 'آ'
|
| 153 |
+
18: 0, # 'أ'
|
| 154 |
+
41: 1, # 'ؤ'
|
| 155 |
+
24: 0, # 'إ'
|
| 156 |
+
32: 0, # 'ئ'
|
| 157 |
+
1: 1, # 'ا'
|
| 158 |
+
9: 1, # 'ب'
|
| 159 |
+
10: 1, # 'ة'
|
| 160 |
+
8: 1, # 'ت'
|
| 161 |
+
28: 1, # 'ث'
|
| 162 |
+
20: 1, # 'ج'
|
| 163 |
+
19: 1, # 'ح'
|
| 164 |
+
26: 1, # 'خ'
|
| 165 |
+
12: 1, # 'د'
|
| 166 |
+
30: 1, # 'ذ'
|
| 167 |
+
7: 1, # 'ر'
|
| 168 |
+
27: 1, # 'ز'
|
| 169 |
+
13: 2, # 'س'
|
| 170 |
+
21: 1, # 'ش'
|
| 171 |
+
23: 1, # 'ص'
|
| 172 |
+
29: 0, # 'ض'
|
| 173 |
+
22: 1, # 'ط'
|
| 174 |
+
38: 0, # 'ظ'
|
| 175 |
+
11: 0, # 'ع'
|
| 176 |
+
31: 0, # 'غ'
|
| 177 |
+
45: 0, # 'ؿ'
|
| 178 |
+
42: 0, # 'ـ'
|
| 179 |
+
14: 1, # 'ف'
|
| 180 |
+
16: 1, # 'ق'
|
| 181 |
+
17: 1, # 'ك'
|
| 182 |
+
2: 2, # 'ل'
|
| 183 |
+
4: 1, # 'م'
|
| 184 |
+
6: 1, # 'ن'
|
| 185 |
+
15: 1, # 'ه'
|
| 186 |
+
5: 2, # 'و'
|
| 187 |
+
25: 1, # 'ى'
|
| 188 |
+
3: 1, # 'ي'
|
| 189 |
+
33: 1, # 'ً'
|
| 190 |
+
44: 1, # 'ٌ'
|
| 191 |
+
43: 1, # 'ٍ'
|
| 192 |
+
35: 1, # 'َ'
|
| 193 |
+
36: 1, # 'ُ'
|
| 194 |
+
39: 1, # 'ِ'
|
| 195 |
+
37: 1, # 'ّ'
|
| 196 |
+
},
|
| 197 |
+
24: { # 'إ'
|
| 198 |
+
34: 0, # 'ء'
|
| 199 |
+
40: 0, # 'آ'
|
| 200 |
+
18: 0, # 'أ'
|
| 201 |
+
41: 0, # 'ؤ'
|
| 202 |
+
24: 1, # 'إ'
|
| 203 |
+
32: 1, # 'ئ'
|
| 204 |
+
1: 1, # 'ا'
|
| 205 |
+
9: 2, # 'ب'
|
| 206 |
+
10: 0, # 'ة'
|
| 207 |
+
8: 1, # 'ت'
|
| 208 |
+
28: 1, # 'ث'
|
| 209 |
+
20: 2, # 'ج'
|
| 210 |
+
19: 2, # 'ح'
|
| 211 |
+
26: 2, # 'خ'
|
| 212 |
+
12: 2, # 'د'
|
| 213 |
+
30: 2, # 'ذ'
|
| 214 |
+
7: 2, # 'ر'
|
| 215 |
+
27: 1, # 'ز'
|
| 216 |
+
13: 3, # 'س'
|
| 217 |
+
21: 2, # 'ش'
|
| 218 |
+
23: 2, # 'ص'
|
| 219 |
+
29: 2, # 'ض'
|
| 220 |
+
22: 2, # '��'
|
| 221 |
+
38: 1, # 'ظ'
|
| 222 |
+
11: 2, # 'ع'
|
| 223 |
+
31: 1, # 'غ'
|
| 224 |
+
45: 0, # 'ؿ'
|
| 225 |
+
42: 0, # 'ـ'
|
| 226 |
+
14: 2, # 'ف'
|
| 227 |
+
16: 2, # 'ق'
|
| 228 |
+
17: 1, # 'ك'
|
| 229 |
+
2: 3, # 'ل'
|
| 230 |
+
4: 2, # 'م'
|
| 231 |
+
6: 3, # 'ن'
|
| 232 |
+
15: 1, # 'ه'
|
| 233 |
+
5: 1, # 'و'
|
| 234 |
+
25: 1, # 'ى'
|
| 235 |
+
3: 2, # 'ي'
|
| 236 |
+
33: 0, # 'ً'
|
| 237 |
+
44: 0, # 'ٌ'
|
| 238 |
+
43: 1, # 'ٍ'
|
| 239 |
+
35: 0, # 'َ'
|
| 240 |
+
36: 0, # 'ُ'
|
| 241 |
+
39: 1, # 'ِ'
|
| 242 |
+
37: 0, # 'ّ'
|
| 243 |
+
},
|
| 244 |
+
32: { # 'ئ'
|
| 245 |
+
34: 0, # 'ء'
|
| 246 |
+
40: 1, # 'آ'
|
| 247 |
+
18: 0, # 'أ'
|
| 248 |
+
41: 0, # 'ؤ'
|
| 249 |
+
24: 0, # 'إ'
|
| 250 |
+
32: 0, # 'ئ'
|
| 251 |
+
1: 2, # 'ا'
|
| 252 |
+
9: 2, # 'ب'
|
| 253 |
+
10: 2, # 'ة'
|
| 254 |
+
8: 1, # 'ت'
|
| 255 |
+
28: 1, # 'ث'
|
| 256 |
+
20: 1, # 'ج'
|
| 257 |
+
19: 1, # 'ح'
|
| 258 |
+
26: 1, # 'خ'
|
| 259 |
+
12: 2, # 'د'
|
| 260 |
+
30: 1, # 'ذ'
|
| 261 |
+
7: 2, # 'ر'
|
| 262 |
+
27: 2, # 'ز'
|
| 263 |
+
13: 1, # 'س'
|
| 264 |
+
21: 1, # 'ش'
|
| 265 |
+
23: 1, # 'ص'
|
| 266 |
+
29: 1, # 'ض'
|
| 267 |
+
22: 1, # 'ط'
|
| 268 |
+
38: 1, # 'ظ'
|
| 269 |
+
11: 1, # 'ع'
|
| 270 |
+
31: 1, # 'غ'
|
| 271 |
+
45: 0, # 'ؿ'
|
| 272 |
+
42: 1, # 'ـ'
|
| 273 |
+
14: 2, # 'ف'
|
| 274 |
+
16: 1, # 'ق'
|
| 275 |
+
17: 1, # 'ك'
|
| 276 |
+
2: 2, # 'ل'
|
| 277 |
+
4: 2, # 'م'
|
| 278 |
+
6: 1, # 'ن'
|
| 279 |
+
15: 2, # 'ه'
|
| 280 |
+
5: 1, # 'و'
|
| 281 |
+
25: 1, # 'ى'
|
| 282 |
+
3: 3, # 'ي'
|
| 283 |
+
33: 1, # 'ً'
|
| 284 |
+
44: 1, # 'ٌ'
|
| 285 |
+
43: 1, # 'ٍ'
|
| 286 |
+
35: 1, # 'َ'
|
| 287 |
+
36: 1, # 'ُ'
|
| 288 |
+
39: 1, # 'ِ'
|
| 289 |
+
37: 0, # 'ّ'
|
| 290 |
+
},
|
| 291 |
+
1: { # 'ا'
|
| 292 |
+
34: 3, # 'ء'
|
| 293 |
+
40: 1, # 'آ'
|
| 294 |
+
18: 1, # 'أ'
|
| 295 |
+
41: 1, # 'ؤ'
|
| 296 |
+
24: 1, # 'إ'
|
| 297 |
+
32: 3, # 'ئ'
|
| 298 |
+
1: 1, # 'ا'
|
| 299 |
+
9: 3, # 'ب'
|
| 300 |
+
10: 2, # 'ة'
|
| 301 |
+
8: 3, # 'ت'
|
| 302 |
+
28: 3, # 'ث'
|
| 303 |
+
20: 3, # 'ج'
|
| 304 |
+
19: 3, # 'ح'
|
| 305 |
+
26: 3, # 'خ'
|
| 306 |
+
12: 3, # 'د'
|
| 307 |
+
30: 2, # 'ذ'
|
| 308 |
+
7: 3, # 'ر'
|
| 309 |
+
27: 3, # 'ز'
|
| 310 |
+
13: 3, # 'س'
|
| 311 |
+
21: 3, # 'ش'
|
| 312 |
+
23: 3, # 'ص'
|
| 313 |
+
29: 3, # 'ض'
|
| 314 |
+
22: 3, # 'ط'
|
| 315 |
+
38: 2, # 'ظ'
|
| 316 |
+
11: 3, # 'ع'
|
| 317 |
+
31: 2, # 'غ'
|
| 318 |
+
45: 0, # 'ؿ'
|
| 319 |
+
42: 1, # 'ـ'
|
| 320 |
+
14: 3, # 'ف'
|
| 321 |
+
16: 3, # 'ق'
|
| 322 |
+
17: 3, # 'ك'
|
| 323 |
+
2: 3, # 'ل'
|
| 324 |
+
4: 3, # 'م'
|
| 325 |
+
6: 3, # 'ن'
|
| 326 |
+
15: 3, # 'ه'
|
| 327 |
+
5: 3, # 'و'
|
| 328 |
+
25: 1, # 'ى'
|
| 329 |
+
3: 3, # 'ي'
|
| 330 |
+
33: 3, # 'ً'
|
| 331 |
+
44: 1, # 'ٌ'
|
| 332 |
+
43: 1, # 'ٍ'
|
| 333 |
+
35: 1, # 'َ'
|
| 334 |
+
36: 1, # 'ُ'
|
| 335 |
+
39: 1, # 'ِ'
|
| 336 |
+
37: 1, # 'ّ'
|
| 337 |
+
},
|
| 338 |
+
9: { # 'ب'
|
| 339 |
+
34: 1, # 'ء'
|
| 340 |
+
40: 1, # 'آ'
|
| 341 |
+
18: 2, # 'أ'
|
| 342 |
+
41: 1, # 'ؤ'
|
| 343 |
+
24: 2, # 'إ'
|
| 344 |
+
32: 1, # 'ئ'
|
| 345 |
+
1: 3, # 'ا'
|
| 346 |
+
9: 2, # 'ب'
|
| 347 |
+
10: 3, # 'ة'
|
| 348 |
+
8: 3, # 'ت'
|
| 349 |
+
28: 1, # 'ث'
|
| 350 |
+
20: 2, # 'ج'
|
| 351 |
+
19: 3, # 'ح'
|
| 352 |
+
26: 2, # 'خ'
|
| 353 |
+
12: 3, # 'د'
|
| 354 |
+
30: 2, # 'ذ'
|
| 355 |
+
7: 3, # 'ر'
|
| 356 |
+
27: 1, # 'ز'
|
| 357 |
+
13: 2, # 'س'
|
| 358 |
+
21: 2, # 'ش'
|
| 359 |
+
23: 2, # 'ص'
|
| 360 |
+
29: 1, # 'ض'
|
| 361 |
+
22: 2, # 'ط'
|
| 362 |
+
38: 1, # 'ظ'
|
| 363 |
+
11: 3, # 'ع'
|
| 364 |
+
31: 2, # 'غ'
|
| 365 |
+
45: 0, # 'ؿ'
|
| 366 |
+
42: 1, # 'ـ'
|
| 367 |
+
14: 1, # 'ف'
|
| 368 |
+
16: 3, # 'ق'
|
| 369 |
+
17: 2, # 'ك'
|
| 370 |
+
2: 3, # 'ل'
|
| 371 |
+
4: 3, # 'م'
|
| 372 |
+
6: 3, # 'ن'
|
| 373 |
+
15: 3, # 'ه'
|
| 374 |
+
5: 3, # 'و'
|
| 375 |
+
25: 1, # 'ى'
|
| 376 |
+
3: 3, # 'ي'
|
| 377 |
+
33: 2, # 'ً'
|
| 378 |
+
44: 1, # 'ٌ'
|
| 379 |
+
43: 1, # 'ٍ'
|
| 380 |
+
35: 2, # 'َ'
|
| 381 |
+
36: 1, # 'ُ'
|
| 382 |
+
39: 2, # 'ِ'
|
| 383 |
+
37: 1, # 'ّ'
|
| 384 |
+
},
|
| 385 |
+
10: { # 'ة'
|
| 386 |
+
34: 0, # 'ء'
|
| 387 |
+
40: 0, # 'آ'
|
| 388 |
+
18: 1, # 'أ'
|
| 389 |
+
41: 0, # 'ؤ'
|
| 390 |
+
24: 1, # 'إ'
|
| 391 |
+
32: 0, # 'ئ'
|
| 392 |
+
1: 1, # 'ا'
|
| 393 |
+
9: 1, # 'ب'
|
| 394 |
+
10: 0, # 'ة'
|
| 395 |
+
8: 1, # 'ت'
|
| 396 |
+
28: 0, # 'ث'
|
| 397 |
+
20: 1, # 'ج'
|
| 398 |
+
19: 1, # 'ح'
|
| 399 |
+
26: 0, # 'خ'
|
| 400 |
+
12: 1, # 'د'
|
| 401 |
+
30: 0, # 'ذ'
|
| 402 |
+
7: 1, # 'ر'
|
| 403 |
+
27: 0, # 'ز'
|
| 404 |
+
13: 1, # 'س'
|
| 405 |
+
21: 0, # 'ش'
|
| 406 |
+
23: 0, # 'ص'
|
| 407 |
+
29: 0, # 'ض'
|
| 408 |
+
22: 0, # 'ط'
|
| 409 |
+
38: 0, # 'ظ'
|
| 410 |
+
11: 1, # 'ع'
|
| 411 |
+
31: 0, # 'غ'
|
| 412 |
+
45: 0, # 'ؿ'
|
| 413 |
+
42: 1, # 'ـ'
|
| 414 |
+
14: 1, # 'ف'
|
| 415 |
+
16: 1, # 'ق'
|
| 416 |
+
17: 1, # 'ك'
|
| 417 |
+
2: 1, # 'ل'
|
| 418 |
+
4: 1, # 'م'
|
| 419 |
+
6: 1, # 'ن'
|
| 420 |
+
15: 1, # 'ه'
|
| 421 |
+
5: 1, # 'و'
|
| 422 |
+
25: 0, # 'ى'
|
| 423 |
+
3: 1, # 'ي'
|
| 424 |
+
33: 2, # 'ً'
|
| 425 |
+
44: 1, # 'ٌ'
|
| 426 |
+
43: 1, # 'ٍ'
|
| 427 |
+
35: 1, # 'َ'
|
| 428 |
+
36: 1, # 'ُ'
|
| 429 |
+
39: 1, # 'ِ'
|
| 430 |
+
37: 1, # 'ّ'
|
| 431 |
+
},
|
| 432 |
+
8: { # 'ت'
|
| 433 |
+
34: 0, # 'ء'
|
| 434 |
+
40: 1, # 'آ'
|
| 435 |
+
18: 2, # 'أ'
|
| 436 |
+
41: 1, # 'ؤ'
|
| 437 |
+
24: 1, # 'إ'
|
| 438 |
+
32: 1, # 'ئ'
|
| 439 |
+
1: 3, # 'ا'
|
| 440 |
+
9: 3, # 'ب'
|
| 441 |
+
10: 2, # 'ة'
|
| 442 |
+
8: 3, # 'ت'
|
| 443 |
+
28: 2, # 'ث'
|
| 444 |
+
20: 3, # 'ج'
|
| 445 |
+
19: 3, # 'ح'
|
| 446 |
+
26: 3, # 'خ'
|
| 447 |
+
12: 3, # 'د'
|
| 448 |
+
30: 1, # 'ذ'
|
| 449 |
+
7: 3, # 'ر'
|
| 450 |
+
27: 2, # 'ز'
|
| 451 |
+
13: 3, # 'س'
|
| 452 |
+
21: 3, # 'ش'
|
| 453 |
+
23: 3, # 'ص'
|
| 454 |
+
29: 2, # 'ض'
|
| 455 |
+
22: 2, # 'ط'
|
| 456 |
+
38: 2, # 'ظ'
|
| 457 |
+
11: 3, # 'ع'
|
| 458 |
+
31: 2, # 'غ'
|
| 459 |
+
45: 0, # 'ؿ'
|
| 460 |
+
42: 1, # 'ـ'
|
| 461 |
+
14: 3, # 'ف'
|
| 462 |
+
16: 3, # 'ق'
|
| 463 |
+
17: 3, # 'ك'
|
| 464 |
+
2: 3, # 'ل'
|
| 465 |
+
4: 3, # 'م'
|
| 466 |
+
6: 3, # 'ن'
|
| 467 |
+
15: 3, # 'ه'
|
| 468 |
+
5: 3, # 'و'
|
| 469 |
+
25: 2, # 'ى'
|
| 470 |
+
3: 3, # 'ي'
|
| 471 |
+
33: 1, # 'ً'
|
| 472 |
+
44: 1, # 'ٌ'
|
| 473 |
+
43: 1, # 'ٍ'
|
| 474 |
+
35: 2, # 'َ'
|
| 475 |
+
36: 2, # 'ُ'
|
| 476 |
+
39: 1, # 'ِ'
|
| 477 |
+
37: 1, # 'ّ'
|
| 478 |
+
},
|
| 479 |
+
28: { # 'ث'
|
| 480 |
+
34: 0, # 'ء'
|
| 481 |
+
40: 1, # 'آ'
|
| 482 |
+
18: 1, # 'أ'
|
| 483 |
+
41: 1, # 'ؤ'
|
| 484 |
+
24: 0, # 'إ'
|
| 485 |
+
32: 0, # 'ئ'
|
| 486 |
+
1: 3, # 'ا'
|
| 487 |
+
9: 1, # 'ب'
|
| 488 |
+
10: 2, # 'ة'
|
| 489 |
+
8: 1, # 'ت'
|
| 490 |
+
28: 1, # 'ث'
|
| 491 |
+
20: 1, # 'ج'
|
| 492 |
+
19: 0, # 'ح'
|
| 493 |
+
26: 1, # 'خ'
|
| 494 |
+
12: 1, # 'د'
|
| 495 |
+
30: 1, # 'ذ'
|
| 496 |
+
7: 3, # 'ر'
|
| 497 |
+
27: 1, # 'ز'
|
| 498 |
+
13: 1, # 'س'
|
| 499 |
+
21: 1, # 'ش'
|
| 500 |
+
23: 0, # 'ص'
|
| 501 |
+
29: 0, # 'ض'
|
| 502 |
+
22: 1, # 'ط'
|
| 503 |
+
38: 0, # 'ظ'
|
| 504 |
+
11: 1, # 'ع'
|
| 505 |
+
31: 1, # 'غ'
|
| 506 |
+
45: 0, # 'ؿ'
|
| 507 |
+
42: 1, # 'ـ'
|
| 508 |
+
14: 1, # 'ف'
|
| 509 |
+
16: 2, # 'ق'
|
| 510 |
+
17: 1, # 'ك'
|
| 511 |
+
2: 3, # 'ل'
|
| 512 |
+
4: 3, # 'م'
|
| 513 |
+
6: 2, # 'ن'
|
| 514 |
+
15: 1, # 'ه'
|
| 515 |
+
5: 2, # 'و'
|
| 516 |
+
25: 1, # 'ى'
|
| 517 |
+
3: 3, # 'ي'
|
| 518 |
+
33: 1, # 'ً'
|
| 519 |
+
44: 1, # 'ٌ'
|
| 520 |
+
43: 1, # 'ٍ'
|
| 521 |
+
35: 1, # 'َ'
|
| 522 |
+
36: 1, # 'ُ'
|
| 523 |
+
39: 1, # 'ِ'
|
| 524 |
+
37: 1, # 'ّ'
|
| 525 |
+
},
|
| 526 |
+
20: { # 'ج'
|
| 527 |
+
34: 0, # 'ء'
|
| 528 |
+
40: 1, # 'آ'
|
| 529 |
+
18: 1, # 'أ'
|
| 530 |
+
41: 1, # 'ؤ'
|
| 531 |
+
24: 0, # 'إ'
|
| 532 |
+
32: 1, # 'ئ'
|
| 533 |
+
1: 3, # 'ا'
|
| 534 |
+
9: 2, # 'ب'
|
| 535 |
+
10: 2, # 'ة'
|
| 536 |
+
8: 2, # 'ت'
|
| 537 |
+
28: 1, # 'ث'
|
| 538 |
+
20: 1, # 'ج'
|
| 539 |
+
19: 1, # 'ح'
|
| 540 |
+
26: 1, # 'خ'
|
| 541 |
+
12: 3, # 'د'
|
| 542 |
+
30: 1, # 'ذ'
|
| 543 |
+
7: 3, # 'ر'
|
| 544 |
+
27: 3, # 'ز'
|
| 545 |
+
13: 2, # 'س'
|
| 546 |
+
21: 1, # 'ش'
|
| 547 |
+
23: 1, # 'ص'
|
| 548 |
+
29: 0, # 'ض'
|
| 549 |
+
22: 1, # 'ط'
|
| 550 |
+
38: 0, # 'ظ'
|
| 551 |
+
11: 2, # 'ع'
|
| 552 |
+
31: 1, # 'غ'
|
| 553 |
+
45: 0, # 'ؿ'
|
| 554 |
+
42: 1, # 'ـ'
|
| 555 |
+
14: 1, # 'ف'
|
| 556 |
+
16: 1, # 'ق'
|
| 557 |
+
17: 1, # 'ك'
|
| 558 |
+
2: 3, # 'ل'
|
| 559 |
+
4: 3, # 'م'
|
| 560 |
+
6: 3, # 'ن'
|
| 561 |
+
15: 3, # 'ه'
|
| 562 |
+
5: 3, # 'و'
|
| 563 |
+
25: 1, # 'ى'
|
| 564 |
+
3: 3, # 'ي'
|
| 565 |
+
33: 1, # 'ً'
|
| 566 |
+
44: 1, # 'ٌ'
|
| 567 |
+
43: 1, # 'ٍ'
|
| 568 |
+
35: 1, # 'َ'
|
| 569 |
+
36: 1, # 'ُ'
|
| 570 |
+
39: 1, # 'ِ'
|
| 571 |
+
37: 1, # 'ّ'
|
| 572 |
+
},
|
| 573 |
+
19: { # 'ح'
|
| 574 |
+
34: 0, # 'ء'
|
| 575 |
+
40: 0, # 'آ'
|
| 576 |
+
18: 0, # 'أ'
|
| 577 |
+
41: 1, # 'ؤ'
|
| 578 |
+
24: 0, # 'إ'
|
| 579 |
+
32: 0, # 'ئ'
|
| 580 |
+
1: 3, # 'ا'
|
| 581 |
+
9: 2, # 'ب'
|
| 582 |
+
10: 3, # 'ة'
|
| 583 |
+
8: 3, # 'ت'
|
| 584 |
+
28: 2, # 'ث'
|
| 585 |
+
20: 2, # 'ج'
|
| 586 |
+
19: 1, # 'ح'
|
| 587 |
+
26: 0, # 'خ'
|
| 588 |
+
12: 3, # 'د'
|
| 589 |
+
30: 1, # 'ذ'
|
| 590 |
+
7: 3, # 'ر'
|
| 591 |
+
27: 2, # 'ز'
|
| 592 |
+
13: 2, # 'س'
|
| 593 |
+
21: 1, # 'ش'
|
| 594 |
+
23: 2, # 'ص'
|
| 595 |
+
29: 2, # 'ض'
|
| 596 |
+
22: 2, # 'ط'
|
| 597 |
+
38: 2, # 'ظ'
|
| 598 |
+
11: 1, # 'ع'
|
| 599 |
+
31: 0, # 'غ'
|
| 600 |
+
45: 0, # 'ؿ'
|
| 601 |
+
42: 1, # 'ـ'
|
| 602 |
+
14: 2, # 'ف'
|
| 603 |
+
16: 3, # 'ق'
|
| 604 |
+
17: 3, # 'ك'
|
| 605 |
+
2: 3, # 'ل'
|
| 606 |
+
4: 3, # 'م'
|
| 607 |
+
6: 2, # 'ن'
|
| 608 |
+
15: 2, # 'ه'
|
| 609 |
+
5: 3, # 'و'
|
| 610 |
+
25: 1, # 'ى'
|
| 611 |
+
3: 3, # 'ي'
|
| 612 |
+
33: 1, # 'ً'
|
| 613 |
+
44: 1, # 'ٌ'
|
| 614 |
+
43: 1, # 'ٍ'
|
| 615 |
+
35: 1, # 'َ'
|
| 616 |
+
36: 1, # 'ُ'
|
| 617 |
+
39: 1, # 'ِ'
|
| 618 |
+
37: 1, # 'ّ'
|
| 619 |
+
},
|
| 620 |
+
26: { # 'خ'
|
| 621 |
+
34: 0, # 'ء'
|
| 622 |
+
40: 1, # 'آ'
|
| 623 |
+
18: 1, # 'أ'
|
| 624 |
+
41: 1, # 'ؤ'
|
| 625 |
+
24: 0, # 'إ'
|
| 626 |
+
32: 0, # 'ئ'
|
| 627 |
+
1: 3, # 'ا'
|
| 628 |
+
9: 2, # 'ب'
|
| 629 |
+
10: 1, # 'ة'
|
| 630 |
+
8: 3, # 'ت'
|
| 631 |
+
28: 1, # 'ث'
|
| 632 |
+
20: 1, # 'ج'
|
| 633 |
+
19: 0, # 'ح'
|
| 634 |
+
26: 1, # 'خ'
|
| 635 |
+
12: 3, # 'د'
|
| 636 |
+
30: 2, # 'ذ'
|
| 637 |
+
7: 3, # 'ر'
|
| 638 |
+
27: 1, # 'ز'
|
| 639 |
+
13: 1, # 'س'
|
| 640 |
+
21: 1, # 'ش'
|
| 641 |
+
23: 2, # 'ص'
|
| 642 |
+
29: 2, # 'ض'
|
| 643 |
+
22: 2, # 'ط'
|
| 644 |
+
38: 1, # 'ظ'
|
| 645 |
+
11: 1, # 'ع'
|
| 646 |
+
31: 0, # 'غ'
|
| 647 |
+
45: 0, # 'ؿ'
|
| 648 |
+
42: 1, # 'ـ'
|
| 649 |
+
14: 2, # 'ف'
|
| 650 |
+
16: 1, # 'ق'
|
| 651 |
+
17: 1, # 'ك'
|
| 652 |
+
2: 3, # 'ل'
|
| 653 |
+
4: 2, # 'م'
|
| 654 |
+
6: 1, # 'ن'
|
| 655 |
+
15: 1, # 'ه'
|
| 656 |
+
5: 2, # 'و'
|
| 657 |
+
25: 1, # 'ى'
|
| 658 |
+
3: 3, # 'ي'
|
| 659 |
+
33: 1, # 'ً'
|
| 660 |
+
44: 1, # 'ٌ'
|
| 661 |
+
43: 1, # 'ٍ'
|
| 662 |
+
35: 1, # 'َ'
|
| 663 |
+
36: 1, # 'ُ'
|
| 664 |
+
39: 1, # 'ِ'
|
| 665 |
+
37: 1, # 'ّ'
|
| 666 |
+
},
|
| 667 |
+
12: { # 'د'
|
| 668 |
+
34: 1, # 'ء'
|
| 669 |
+
40: 1, # 'آ'
|
| 670 |
+
18: 2, # 'أ'
|
| 671 |
+
41: 1, # 'ؤ'
|
| 672 |
+
24: 1, # 'إ'
|
| 673 |
+
32: 1, # 'ئ'
|
| 674 |
+
1: 3, # 'ا'
|
| 675 |
+
9: 2, # 'ب'
|
| 676 |
+
10: 3, # 'ة'
|
| 677 |
+
8: 2, # 'ت'
|
| 678 |
+
28: 2, # 'ث'
|
| 679 |
+
20: 1, # 'ج'
|
| 680 |
+
19: 1, # 'ح'
|
| 681 |
+
26: 2, # 'خ'
|
| 682 |
+
12: 3, # 'د'
|
| 683 |
+
30: 1, # 'ذ'
|
| 684 |
+
7: 3, # 'ر'
|
| 685 |
+
27: 1, # 'ز'
|
| 686 |
+
13: 2, # 'س'
|
| 687 |
+
21: 1, # 'ش'
|
| 688 |
+
23: 1, # 'ص'
|
| 689 |
+
29: 0, # 'ض'
|
| 690 |
+
22: 0, # 'ط'
|
| 691 |
+
38: 0, # 'ظ'
|
| 692 |
+
11: 2, # 'ع'
|
| 693 |
+
31: 1, # 'غ'
|
| 694 |
+
45: 0, # 'ؿ'
|
| 695 |
+
42: 0, # 'ـ'
|
| 696 |
+
14: 2, # 'ف'
|
| 697 |
+
16: 2, # 'ق'
|
| 698 |
+
17: 1, # 'ك'
|
| 699 |
+
2: 3, # 'ل'
|
| 700 |
+
4: 3, # 'م'
|
| 701 |
+
6: 3, # 'ن'
|
| 702 |
+
15: 3, # 'ه'
|
| 703 |
+
5: 3, # 'و'
|
| 704 |
+
25: 2, # 'ى'
|
| 705 |
+
3: 3, # 'ي'
|
| 706 |
+
33: 2, # 'ً'
|
| 707 |
+
44: 1, # 'ٌ'
|
| 708 |
+
43: 1, # 'ٍ'
|
| 709 |
+
35: 2, # 'َ'
|
| 710 |
+
36: 1, # 'ُ'
|
| 711 |
+
39: 1, # 'ِ'
|
| 712 |
+
37: 2, # 'ّ'
|
| 713 |
+
},
|
| 714 |
+
30: { # 'ذ'
|
| 715 |
+
34: 0, # 'ء'
|
| 716 |
+
40: 0, # 'آ'
|
| 717 |
+
18: 1, # 'أ'
|
| 718 |
+
41: 1, # 'ؤ'
|
| 719 |
+
24: 0, # 'إ'
|
| 720 |
+
32: 1, # 'ئ'
|
| 721 |
+
1: 3, # 'ا'
|
| 722 |
+
9: 1, # 'ب'
|
| 723 |
+
10: 1, # 'ة'
|
| 724 |
+
8: 1, # 'ت'
|
| 725 |
+
28: 0, # 'ث'
|
| 726 |
+
20: 1, # 'ج'
|
| 727 |
+
19: 1, # 'ح'
|
| 728 |
+
26: 1, # 'خ'
|
| 729 |
+
12: 0, # 'د'
|
| 730 |
+
30: 1, # 'ذ'
|
| 731 |
+
7: 2, # 'ر'
|
| 732 |
+
27: 0, # 'ز'
|
| 733 |
+
13: 1, # 'س'
|
| 734 |
+
21: 1, # 'ش'
|
| 735 |
+
23: 0, # 'ص'
|
| 736 |
+
29: 0, # 'ض'
|
| 737 |
+
22: 0, # 'ط'
|
| 738 |
+
38: 0, # 'ظ'
|
| 739 |
+
11: 1, # 'ع'
|
| 740 |
+
31: 1, # 'غ'
|
| 741 |
+
45: 0, # 'ؿ'
|
| 742 |
+
42: 0, # 'ـ'
|
| 743 |
+
14: 1, # 'ف'
|
| 744 |
+
16: 1, # 'ق'
|
| 745 |
+
17: 2, # 'ك'
|
| 746 |
+
2: 3, # 'ل'
|
| 747 |
+
4: 1, # 'م'
|
| 748 |
+
6: 1, # 'ن'
|
| 749 |
+
15: 3, # 'ه'
|
| 750 |
+
5: 2, # 'و'
|
| 751 |
+
25: 1, # 'ى'
|
| 752 |
+
3: 3, # 'ي'
|
| 753 |
+
33: 1, # 'ً'
|
| 754 |
+
44: 1, # 'ٌ'
|
| 755 |
+
43: 1, # 'ٍ'
|
| 756 |
+
35: 1, # 'َ'
|
| 757 |
+
36: 1, # 'ُ'
|
| 758 |
+
39: 1, # 'ِ'
|
| 759 |
+
37: 1, # 'ّ'
|
| 760 |
+
},
|
| 761 |
+
7: { # 'ر'
|
| 762 |
+
34: 1, # 'ء'
|
| 763 |
+
40: 1, # 'آ'
|
| 764 |
+
18: 2, # 'أ'
|
| 765 |
+
41: 1, # 'ؤ'
|
| 766 |
+
24: 1, # 'إ'
|
| 767 |
+
32: 3, # 'ئ'
|
| 768 |
+
1: 3, # 'ا'
|
| 769 |
+
9: 3, # 'ب'
|
| 770 |
+
10: 3, # 'ة'
|
| 771 |
+
8: 3, # 'ت'
|
| 772 |
+
28: 2, # 'ث'
|
| 773 |
+
20: 3, # 'ج'
|
| 774 |
+
19: 2, # 'ح'
|
| 775 |
+
26: 2, # 'خ'
|
| 776 |
+
12: 3, # 'د'
|
| 777 |
+
30: 1, # 'ذ'
|
| 778 |
+
7: 2, # 'ر'
|
| 779 |
+
27: 2, # 'ز'
|
| 780 |
+
13: 3, # 'س'
|
| 781 |
+
21: 2, # 'ش'
|
| 782 |
+
23: 2, # 'ص'
|
| 783 |
+
29: 3, # 'ض'
|
| 784 |
+
22: 2, # 'ط'
|
| 785 |
+
38: 1, # 'ظ'
|
| 786 |
+
11: 2, # 'ع'
|
| 787 |
+
31: 2, # 'غ'
|
| 788 |
+
45: 0, # 'ؿ'
|
| 789 |
+
42: 1, # 'ـ'
|
| 790 |
+
14: 3, # 'ف'
|
| 791 |
+
16: 3, # 'ق'
|
| 792 |
+
17: 3, # 'ك'
|
| 793 |
+
2: 2, # 'ل'
|
| 794 |
+
4: 3, # 'م'
|
| 795 |
+
6: 3, # 'ن'
|
| 796 |
+
15: 3, # 'ه'
|
| 797 |
+
5: 3, # 'و'
|
| 798 |
+
25: 3, # 'ى'
|
| 799 |
+
3: 3, # 'ي'
|
| 800 |
+
33: 2, # 'ً'
|
| 801 |
+
44: 1, # 'ٌ'
|
| 802 |
+
43: 1, # 'ٍ'
|
| 803 |
+
35: 2, # 'َ'
|
| 804 |
+
36: 2, # 'ُ'
|
| 805 |
+
39: 1, # 'ِ'
|
| 806 |
+
37: 1, # 'ّ'
|
| 807 |
+
},
|
| 808 |
+
27: { # 'ز'
|
| 809 |
+
34: 2, # 'ء'
|
| 810 |
+
40: 1, # 'آ'
|
| 811 |
+
18: 1, # 'أ'
|
| 812 |
+
41: 1, # 'ؤ'
|
| 813 |
+
24: 0, # 'إ'
|
| 814 |
+
32: 1, # 'ئ'
|
| 815 |
+
1: 3, # 'ا'
|
| 816 |
+
9: 2, # 'ب'
|
| 817 |
+
10: 2, # 'ة'
|
| 818 |
+
8: 1, # 'ت'
|
| 819 |
+
28: 0, # 'ث'
|
| 820 |
+
20: 1, # 'ج'
|
| 821 |
+
19: 1, # 'ح'
|
| 822 |
+
26: 1, # 'خ'
|
| 823 |
+
12: 2, # 'د'
|
| 824 |
+
30: 1, # 'ذ'
|
| 825 |
+
7: 2, # 'ر'
|
| 826 |
+
27: 1, # 'ز'
|
| 827 |
+
13: 1, # 'س'
|
| 828 |
+
21: 1, # 'ش'
|
| 829 |
+
23: 0, # 'ص'
|
| 830 |
+
29: 0, # 'ض'
|
| 831 |
+
22: 1, # 'ط'
|
| 832 |
+
38: 0, # 'ظ'
|
| 833 |
+
11: 2, # 'ع'
|
| 834 |
+
31: 1, # 'غ'
|
| 835 |
+
45: 0, # 'ؿ'
|
| 836 |
+
42: 0, # 'ـ'
|
| 837 |
+
14: 1, # 'ف'
|
| 838 |
+
16: 1, # 'ق'
|
| 839 |
+
17: 1, # 'ك'
|
| 840 |
+
2: 2, # 'ل'
|
| 841 |
+
4: 2, # 'م'
|
| 842 |
+
6: 2, # 'ن'
|
| 843 |
+
15: 2, # 'ه'
|
| 844 |
+
5: 2, # 'و'
|
| 845 |
+
25: 1, # 'ى'
|
| 846 |
+
3: 3, # 'ي'
|
| 847 |
+
33: 1, # 'ً'
|
| 848 |
+
44: 1, # 'ٌ'
|
| 849 |
+
43: 1, # 'ٍ'
|
| 850 |
+
35: 1, # 'َ'
|
| 851 |
+
36: 1, # 'ُ'
|
| 852 |
+
39: 1, # 'ِ'
|
| 853 |
+
37: 1, # 'ّ'
|
| 854 |
+
},
|
| 855 |
+
13: { # 'س'
|
| 856 |
+
34: 0, # 'ء'
|
| 857 |
+
40: 1, # 'آ'
|
| 858 |
+
18: 1, # 'أ'
|
| 859 |
+
41: 2, # 'ؤ'
|
| 860 |
+
24: 0, # 'إ'
|
| 861 |
+
32: 1, # 'ئ'
|
| 862 |
+
1: 3, # 'ا'
|
| 863 |
+
9: 3, # 'ب'
|
| 864 |
+
10: 3, # 'ة'
|
| 865 |
+
8: 3, # 'ت'
|
| 866 |
+
28: 1, # 'ث'
|
| 867 |
+
20: 2, # 'ج'
|
| 868 |
+
19: 2, # 'ح'
|
| 869 |
+
26: 2, # 'خ'
|
| 870 |
+
12: 2, # 'د'
|
| 871 |
+
30: 1, # 'ذ'
|
| 872 |
+
7: 3, # 'ر'
|
| 873 |
+
27: 1, # 'ز'
|
| 874 |
+
13: 2, # 'س'
|
| 875 |
+
21: 1, # 'ش'
|
| 876 |
+
23: 0, # 'ص'
|
| 877 |
+
29: 0, # 'ض'
|
| 878 |
+
22: 3, # 'ط'
|
| 879 |
+
38: 0, # 'ظ'
|
| 880 |
+
11: 3, # 'ع'
|
| 881 |
+
31: 1, # 'غ'
|
| 882 |
+
45: 0, # 'ؿ'
|
| 883 |
+
42: 1, # 'ـ'
|
| 884 |
+
14: 2, # 'ف'
|
| 885 |
+
16: 2, # 'ق'
|
| 886 |
+
17: 3, # 'ك'
|
| 887 |
+
2: 3, # 'ل'
|
| 888 |
+
4: 3, # 'م'
|
| 889 |
+
6: 3, # 'ن'
|
| 890 |
+
15: 2, # 'ه'
|
| 891 |
+
5: 3, # 'و'
|
| 892 |
+
25: 1, # 'ى'
|
| 893 |
+
3: 3, # 'ي'
|
| 894 |
+
33: 1, # 'ً'
|
| 895 |
+
44: 1, # 'ٌ'
|
| 896 |
+
43: 1, # 'ٍ'
|
| 897 |
+
35: 1, # 'َ'
|
| 898 |
+
36: 2, # 'ُ'
|
| 899 |
+
39: 1, # 'ِ'
|
| 900 |
+
37: 1, # 'ّ'
|
| 901 |
+
},
|
| 902 |
+
21: { # 'ش'
|
| 903 |
+
34: 1, # 'ء'
|
| 904 |
+
40: 1, # 'آ'
|
| 905 |
+
18: 2, # 'أ'
|
| 906 |
+
41: 1, # 'ؤ'
|
| 907 |
+
24: 0, # 'إ'
|
| 908 |
+
32: 1, # 'ئ'
|
| 909 |
+
1: 3, # 'ا'
|
| 910 |
+
9: 2, # 'ب'
|
| 911 |
+
10: 1, # 'ة'
|
| 912 |
+
8: 2, # 'ت'
|
| 913 |
+
28: 1, # 'ث'
|
| 914 |
+
20: 2, # 'ج'
|
| 915 |
+
19: 1, # 'ح'
|
| 916 |
+
26: 2, # 'خ'
|
| 917 |
+
12: 2, # 'د'
|
| 918 |
+
30: 1, # 'ذ'
|
| 919 |
+
7: 3, # 'ر'
|
| 920 |
+
27: 1, # 'ز'
|
| 921 |
+
13: 1, # 'س'
|
| 922 |
+
21: 1, # 'ش'
|
| 923 |
+
23: 1, # 'ص'
|
| 924 |
+
29: 0, # 'ض'
|
| 925 |
+
22: 1, # 'ط'
|
| 926 |
+
38: 1, # 'ظ'
|
| 927 |
+
11: 3, # 'ع'
|
| 928 |
+
31: 2, # 'غ'
|
| 929 |
+
45: 0, # 'ؿ'
|
| 930 |
+
42: 1, # 'ـ'
|
| 931 |
+
14: 2, # 'ف'
|
| 932 |
+
16: 2, # 'ق'
|
| 933 |
+
17: 3, # 'ك'
|
| 934 |
+
2: 2, # 'ل'
|
| 935 |
+
4: 3, # 'م'
|
| 936 |
+
6: 2, # 'ن'
|
| 937 |
+
15: 2, # 'ه'
|
| 938 |
+
5: 2, # 'و'
|
| 939 |
+
25: 1, # 'ى'
|
| 940 |
+
3: 3, # 'ي'
|
| 941 |
+
33: 1, # 'ً'
|
| 942 |
+
44: 1, # 'ٌ'
|
| 943 |
+
43: 1, # 'ٍ'
|
| 944 |
+
35: 1, # 'َ'
|
| 945 |
+
36: 1, # 'ُ'
|
| 946 |
+
39: 1, # 'ِ'
|
| 947 |
+
37: 1, # 'ّ'
|
| 948 |
+
},
|
| 949 |
+
23: { # 'ص'
|
| 950 |
+
34: 0, # 'ء'
|
| 951 |
+
40: 0, # 'آ'
|
| 952 |
+
18: 0, # 'أ'
|
| 953 |
+
41: 0, # 'ؤ'
|
| 954 |
+
24: 0, # 'إ'
|
| 955 |
+
32: 0, # 'ئ'
|
| 956 |
+
1: 3, # 'ا'
|
| 957 |
+
9: 3, # 'ب'
|
| 958 |
+
10: 2, # 'ة'
|
| 959 |
+
8: 1, # 'ت'
|
| 960 |
+
28: 0, # 'ث'
|
| 961 |
+
20: 1, # 'ج'
|
| 962 |
+
19: 2, # 'ح'
|
| 963 |
+
26: 1, # 'خ'
|
| 964 |
+
12: 2, # 'د'
|
| 965 |
+
30: 0, # 'ذ'
|
| 966 |
+
7: 3, # 'ر'
|
| 967 |
+
27: 1, # 'ز'
|
| 968 |
+
13: 0, # 'س'
|
| 969 |
+
21: 0, # 'ش'
|
| 970 |
+
23: 2, # 'ص'
|
| 971 |
+
29: 0, # 'ض'
|
| 972 |
+
22: 2, # 'ط'
|
| 973 |
+
38: 0, # 'ظ'
|
| 974 |
+
11: 2, # 'ع'
|
| 975 |
+
31: 2, # 'غ'
|
| 976 |
+
45: 0, # 'ؿ'
|
| 977 |
+
42: 1, # 'ـ'
|
| 978 |
+
14: 3, # 'ف'
|
| 979 |
+
16: 1, # 'ق'
|
| 980 |
+
17: 1, # 'ك'
|
| 981 |
+
2: 3, # 'ل'
|
| 982 |
+
4: 2, # 'م'
|
| 983 |
+
6: 2, # 'ن'
|
| 984 |
+
15: 1, # 'ه'
|
| 985 |
+
5: 3, # 'و'
|
| 986 |
+
25: 1, # 'ى'
|
| 987 |
+
3: 3, # 'ي'
|
| 988 |
+
33: 1, # 'ً'
|
| 989 |
+
44: 1, # 'ٌ'
|
| 990 |
+
43: 1, # 'ٍ'
|
| 991 |
+
35: 1, # 'َ'
|
| 992 |
+
36: 1, # 'ُ'
|
| 993 |
+
39: 1, # 'ِ'
|
| 994 |
+
37: 1, # 'ّ'
|
| 995 |
+
},
|
| 996 |
+
29: { # 'ض'
|
| 997 |
+
34: 0, # 'ء'
|
| 998 |
+
40: 1, # 'آ'
|
| 999 |
+
18: 1, # 'أ'
|
| 1000 |
+
41: 0, # 'ؤ'
|
| 1001 |
+
24: 0, # 'إ'
|
| 1002 |
+
32: 1, # 'ئ'
|
| 1003 |
+
1: 3, # 'ا'
|
| 1004 |
+
9: 2, # 'ب'
|
| 1005 |
+
10: 2, # 'ة'
|
| 1006 |
+
8: 2, # 'ت'
|
| 1007 |
+
28: 0, # 'ث'
|
| 1008 |
+
20: 1, # 'ج'
|
| 1009 |
+
19: 2, # 'ح'
|
| 1010 |
+
26: 1, # 'خ'
|
| 1011 |
+
12: 2, # 'د'
|
| 1012 |
+
30: 1, # 'ذ'
|
| 1013 |
+
7: 2, # 'ر'
|
| 1014 |
+
27: 0, # 'ز'
|
| 1015 |
+
13: 0, # 'س'
|
| 1016 |
+
21: 0, # 'ش'
|
| 1017 |
+
23: 0, # 'ص'
|
| 1018 |
+
29: 1, # 'ض'
|
| 1019 |
+
22: 1, # 'ط'
|
| 1020 |
+
38: 1, # 'ظ'
|
| 1021 |
+
11: 2, # 'ع'
|
| 1022 |
+
31: 1, # 'غ'
|
| 1023 |
+
45: 0, # 'ؿ'
|
| 1024 |
+
42: 1, # 'ـ'
|
| 1025 |
+
14: 1, # 'ف'
|
| 1026 |
+
16: 1, # 'ق'
|
| 1027 |
+
17: 1, # 'ك'
|
| 1028 |
+
2: 2, # 'ل'
|
| 1029 |
+
4: 2, # 'م'
|
| 1030 |
+
6: 1, # 'ن'
|
| 1031 |
+
15: 2, # 'ه'
|
| 1032 |
+
5: 2, # 'و'
|
| 1033 |
+
25: 1, # 'ى'
|
| 1034 |
+
3: 3, # 'ي'
|
| 1035 |
+
33: 2, # 'ً'
|
| 1036 |
+
44: 1, # 'ٌ'
|
| 1037 |
+
43: 1, # 'ٍ'
|
| 1038 |
+
35: 1, # 'َ'
|
| 1039 |
+
36: 1, # 'ُ'
|
| 1040 |
+
39: 1, # 'ِ'
|
| 1041 |
+
37: 1, # 'ّ'
|
| 1042 |
+
},
|
| 1043 |
+
22: { # 'ط'
|
| 1044 |
+
34: 1, # 'ء'
|
| 1045 |
+
40: 1, # 'آ'
|
| 1046 |
+
18: 1, # 'أ'
|
| 1047 |
+
41: 1, # 'ؤ'
|
| 1048 |
+
24: 1, # 'إ'
|
| 1049 |
+
32: 1, # 'ئ'
|
| 1050 |
+
1: 3, # 'ا'
|
| 1051 |
+
9: 3, # 'ب'
|
| 1052 |
+
10: 3, # 'ة'
|
| 1053 |
+
8: 1, # 'ت'
|
| 1054 |
+
28: 1, # 'ث'
|
| 1055 |
+
20: 1, # 'ج'
|
| 1056 |
+
19: 1, # 'ح'
|
| 1057 |
+
26: 1, # 'خ'
|
| 1058 |
+
12: 1, # 'د'
|
| 1059 |
+
30: 0, # 'ذ'
|
| 1060 |
+
7: 3, # 'ر'
|
| 1061 |
+
27: 1, # 'ز'
|
| 1062 |
+
13: 2, # 'س'
|
| 1063 |
+
21: 1, # 'ش'
|
| 1064 |
+
23: 1, # 'ص'
|
| 1065 |
+
29: 0, # 'ض'
|
| 1066 |
+
22: 1, # 'ط'
|
| 1067 |
+
38: 0, # 'ظ'
|
| 1068 |
+
11: 2, # 'ع'
|
| 1069 |
+
31: 1, # 'غ'
|
| 1070 |
+
45: 0, # 'ؿ'
|
| 1071 |
+
42: 1, # 'ـ'
|
| 1072 |
+
14: 2, # 'ف'
|
| 1073 |
+
16: 3, # 'ق'
|
| 1074 |
+
17: 1, # 'ك'
|
| 1075 |
+
2: 3, # 'ل'
|
| 1076 |
+
4: 1, # 'م'
|
| 1077 |
+
6: 3, # 'ن'
|
| 1078 |
+
15: 2, # 'ه'
|
| 1079 |
+
5: 3, # 'و'
|
| 1080 |
+
25: 1, # 'ى'
|
| 1081 |
+
3: 3, # 'ي'
|
| 1082 |
+
33: 1, # 'ً'
|
| 1083 |
+
44: 1, # 'ٌ'
|
| 1084 |
+
43: 1, # 'ٍ'
|
| 1085 |
+
35: 1, # 'َ'
|
| 1086 |
+
36: 1, # 'ُ'
|
| 1087 |
+
39: 1, # 'ِ'
|
| 1088 |
+
37: 1, # 'ّ'
|
| 1089 |
+
},
|
| 1090 |
+
38: { # 'ظ'
|
| 1091 |
+
34: 0, # 'ء'
|
| 1092 |
+
40: 0, # 'آ'
|
| 1093 |
+
18: 0, # 'أ'
|
| 1094 |
+
41: 0, # 'ؤ'
|
| 1095 |
+
24: 0, # 'إ'
|
| 1096 |
+
32: 1, # 'ئ'
|
| 1097 |
+
1: 2, # 'ا'
|
| 1098 |
+
9: 1, # 'ب'
|
| 1099 |
+
10: 2, # 'ة'
|
| 1100 |
+
8: 1, # 'ت'
|
| 1101 |
+
28: 0, # 'ث'
|
| 1102 |
+
20: 0, # 'ج'
|
| 1103 |
+
19: 1, # 'ح'
|
| 1104 |
+
26: 0, # 'خ'
|
| 1105 |
+
12: 0, # 'د'
|
| 1106 |
+
30: 0, # 'ذ'
|
| 1107 |
+
7: 2, # 'ر'
|
| 1108 |
+
27: 0, # 'ز'
|
| 1109 |
+
13: 0, # 'س'
|
| 1110 |
+
21: 0, # 'ش'
|
| 1111 |
+
23: 0, # 'ص'
|
| 1112 |
+
29: 0, # 'ض'
|
| 1113 |
+
22: 0, # 'ط'
|
| 1114 |
+
38: 0, # 'ظ'
|
| 1115 |
+
11: 1, # 'ع'
|
| 1116 |
+
31: 1, # 'غ'
|
| 1117 |
+
45: 0, # 'ؿ'
|
| 1118 |
+
42: 1, # 'ـ'
|
| 1119 |
+
14: 1, # 'ف'
|
| 1120 |
+
16: 1, # 'ق'
|
| 1121 |
+
17: 1, # 'ك'
|
| 1122 |
+
2: 2, # 'ل'
|
| 1123 |
+
4: 2, # 'م'
|
| 1124 |
+
6: 1, # 'ن'
|
| 1125 |
+
15: 2, # 'ه'
|
| 1126 |
+
5: 1, # 'و'
|
| 1127 |
+
25: 1, # 'ى'
|
| 1128 |
+
3: 2, # 'ي'
|
| 1129 |
+
33: 1, # 'ً'
|
| 1130 |
+
44: 1, # 'ٌ'
|
| 1131 |
+
43: 1, # 'ٍ'
|
| 1132 |
+
35: 1, # 'َ'
|
| 1133 |
+
36: 1, # 'ُ'
|
| 1134 |
+
39: 1, # 'ِ'
|
| 1135 |
+
37: 1, # 'ّ'
|
| 1136 |
+
},
|
| 1137 |
+
11: { # 'ع'
|
| 1138 |
+
34: 0, # 'ء'
|
| 1139 |
+
40: 0, # 'آ'
|
| 1140 |
+
18: 1, # 'أ'
|
| 1141 |
+
41: 0, # 'ؤ'
|
| 1142 |
+
24: 0, # 'إ'
|
| 1143 |
+
32: 1, # 'ئ'
|
| 1144 |
+
1: 3, # 'ا'
|
| 1145 |
+
9: 3, # 'ب'
|
| 1146 |
+
10: 3, # 'ة'
|
| 1147 |
+
8: 3, # 'ت'
|
| 1148 |
+
28: 2, # 'ث'
|
| 1149 |
+
20: 2, # 'ج'
|
| 1150 |
+
19: 1, # 'ح'
|
| 1151 |
+
26: 1, # 'خ'
|
| 1152 |
+
12: 3, # 'د'
|
| 1153 |
+
30: 1, # 'ذ'
|
| 1154 |
+
7: 3, # 'ر'
|
| 1155 |
+
27: 2, # 'ز'
|
| 1156 |
+
13: 2, # 'س'
|
| 1157 |
+
21: 2, # 'ش'
|
| 1158 |
+
23: 2, # 'ص'
|
| 1159 |
+
29: 3, # 'ض'
|
| 1160 |
+
22: 2, # 'ط'
|
| 1161 |
+
38: 2, # 'ظ'
|
| 1162 |
+
11: 1, # 'ع'
|
| 1163 |
+
31: 0, # 'غ'
|
| 1164 |
+
45: 0, # 'ؿ'
|
| 1165 |
+
42: 1, # 'ـ'
|
| 1166 |
+
14: 2, # 'ف'
|
| 1167 |
+
16: 2, # 'ق'
|
| 1168 |
+
17: 1, # 'ك'
|
| 1169 |
+
2: 3, # 'ل'
|
| 1170 |
+
4: 3, # 'م'
|
| 1171 |
+
6: 3, # 'ن'
|
| 1172 |
+
15: 3, # 'ه'
|
| 1173 |
+
5: 3, # 'و'
|
| 1174 |
+
25: 1, # 'ى'
|
| 1175 |
+
3: 3, # 'ي'
|
| 1176 |
+
33: 1, # 'ً'
|
| 1177 |
+
44: 1, # 'ٌ'
|
| 1178 |
+
43: 1, # 'ٍ'
|
| 1179 |
+
35: 2, # 'َ'
|
| 1180 |
+
36: 2, # 'ُ'
|
| 1181 |
+
39: 1, # 'ِ'
|
| 1182 |
+
37: 1, # 'ّ'
|
| 1183 |
+
},
|
| 1184 |
+
31: { # 'غ'
|
| 1185 |
+
34: 0, # 'ء'
|
| 1186 |
+
40: 1, # 'آ'
|
| 1187 |
+
18: 1, # 'أ'
|
| 1188 |
+
41: 0, # 'ؤ'
|
| 1189 |
+
24: 0, # 'إ'
|
| 1190 |
+
32: 1, # 'ئ'
|
| 1191 |
+
1: 3, # 'ا'
|
| 1192 |
+
9: 1, # 'ب'
|
| 1193 |
+
10: 2, # 'ة'
|
| 1194 |
+
8: 2, # 'ت'
|
| 1195 |
+
28: 1, # 'ث'
|
| 1196 |
+
20: 1, # 'ج'
|
| 1197 |
+
19: 0, # 'ح'
|
| 1198 |
+
26: 0, # 'خ'
|
| 1199 |
+
12: 2, # 'د'
|
| 1200 |
+
30: 1, # 'ذ'
|
| 1201 |
+
7: 3, # 'ر'
|
| 1202 |
+
27: 2, # 'ز'
|
| 1203 |
+
13: 2, # 'س'
|
| 1204 |
+
21: 1, # 'ش'
|
| 1205 |
+
23: 1, # 'ص'
|
| 1206 |
+
29: 1, # 'ض'
|
| 1207 |
+
22: 2, # 'ط'
|
| 1208 |
+
38: 1, # 'ظ'
|
| 1209 |
+
11: 1, # 'ع'
|
| 1210 |
+
31: 1, # 'غ'
|
| 1211 |
+
45: 0, # 'ؿ'
|
| 1212 |
+
42: 1, # 'ـ'
|
| 1213 |
+
14: 1, # 'ف'
|
| 1214 |
+
16: 1, # 'ق'
|
| 1215 |
+
17: 1, # 'ك'
|
| 1216 |
+
2: 2, # 'ل'
|
| 1217 |
+
4: 2, # 'م'
|
| 1218 |
+
6: 2, # 'ن'
|
| 1219 |
+
15: 1, # 'ه'
|
| 1220 |
+
5: 2, # 'و'
|
| 1221 |
+
25: 1, # 'ى'
|
| 1222 |
+
3: 3, # 'ي'
|
| 1223 |
+
33: 1, # 'ً'
|
| 1224 |
+
44: 1, # 'ٌ'
|
| 1225 |
+
43: 1, # 'ٍ'
|
| 1226 |
+
35: 1, # 'َ'
|
| 1227 |
+
36: 1, # 'ُ'
|
| 1228 |
+
39: 1, # 'ِ'
|
| 1229 |
+
37: 1, # 'ّ'
|
| 1230 |
+
},
|
| 1231 |
+
42: { # 'ـ'
|
| 1232 |
+
34: 0, # 'ء'
|
| 1233 |
+
40: 1, # 'آ'
|
| 1234 |
+
18: 1, # 'أ'
|
| 1235 |
+
41: 1, # 'ؤ'
|
| 1236 |
+
24: 1, # 'إ'
|
| 1237 |
+
32: 1, # 'ئ'
|
| 1238 |
+
1: 1, # 'ا'
|
| 1239 |
+
9: 1, # 'ب'
|
| 1240 |
+
10: 1, # 'ة'
|
| 1241 |
+
8: 1, # 'ت'
|
| 1242 |
+
28: 1, # 'ث'
|
| 1243 |
+
20: 1, # 'ج'
|
| 1244 |
+
19: 1, # 'ح'
|
| 1245 |
+
26: 1, # 'خ'
|
| 1246 |
+
12: 1, # 'د'
|
| 1247 |
+
30: 1, # 'ذ'
|
| 1248 |
+
7: 1, # 'ر'
|
| 1249 |
+
27: 1, # 'ز'
|
| 1250 |
+
13: 1, # 'س'
|
| 1251 |
+
21: 1, # 'ش'
|
| 1252 |
+
23: 1, # 'ص'
|
| 1253 |
+
29: 1, # 'ض'
|
| 1254 |
+
22: 1, # 'ط'
|
| 1255 |
+
38: 1, # 'ظ'
|
| 1256 |
+
11: 1, # 'ع'
|
| 1257 |
+
31: 1, # 'غ'
|
| 1258 |
+
45: 0, # 'ؿ'
|
| 1259 |
+
42: 1, # 'ـ'
|
| 1260 |
+
14: 1, # 'ف'
|
| 1261 |
+
16: 1, # 'ق'
|
| 1262 |
+
17: 1, # 'ك'
|
| 1263 |
+
2: 1, # 'ل'
|
| 1264 |
+
4: 1, # 'م'
|
| 1265 |
+
6: 1, # 'ن'
|
| 1266 |
+
15: 1, # 'ه'
|
| 1267 |
+
5: 1, # 'و'
|
| 1268 |
+
25: 1, # 'ى'
|
| 1269 |
+
3: 1, # 'ي'
|
| 1270 |
+
33: 1, # 'ً'
|
| 1271 |
+
44: 1, # 'ٌ'
|
| 1272 |
+
43: 0, # 'ٍ'
|
| 1273 |
+
35: 1, # 'َ'
|
| 1274 |
+
36: 1, # 'ُ'
|
| 1275 |
+
39: 1, # 'ِ'
|
| 1276 |
+
37: 1, # 'ّ'
|
| 1277 |
+
},
|
| 1278 |
+
14: { # 'ف'
|
| 1279 |
+
34: 1, # 'ء'
|
| 1280 |
+
40: 1, # 'آ'
|
| 1281 |
+
18: 2, # 'أ'
|
| 1282 |
+
41: 1, # 'ؤ'
|
| 1283 |
+
24: 2, # 'إ'
|
| 1284 |
+
32: 1, # 'ئ'
|
| 1285 |
+
1: 3, # 'ا'
|
| 1286 |
+
9: 2, # 'ب'
|
| 1287 |
+
10: 3, # 'ة'
|
| 1288 |
+
8: 3, # 'ت'
|
| 1289 |
+
28: 1, # 'ث'
|
| 1290 |
+
20: 2, # 'ج'
|
| 1291 |
+
19: 2, # 'ح'
|
| 1292 |
+
26: 1, # 'خ'
|
| 1293 |
+
12: 2, # 'د'
|
| 1294 |
+
30: 1, # 'ذ'
|
| 1295 |
+
7: 3, # 'ر'
|
| 1296 |
+
27: 1, # 'ز'
|
| 1297 |
+
13: 2, # 'س'
|
| 1298 |
+
21: 1, # 'ش'
|
| 1299 |
+
23: 2, # 'ص'
|
| 1300 |
+
29: 2, # 'ض'
|
| 1301 |
+
22: 2, # 'ط'
|
| 1302 |
+
38: 2, # 'ظ'
|
| 1303 |
+
11: 3, # 'ع'
|
| 1304 |
+
31: 1, # 'غ'
|
| 1305 |
+
45: 0, # 'ؿ'
|
| 1306 |
+
42: 1, # 'ـ'
|
| 1307 |
+
14: 1, # 'ف'
|
| 1308 |
+
16: 3, # 'ق'
|
| 1309 |
+
17: 2, # 'ك'
|
| 1310 |
+
2: 3, # 'ل'
|
| 1311 |
+
4: 2, # 'م'
|
| 1312 |
+
6: 2, # 'ن'
|
| 1313 |
+
15: 2, # 'ه'
|
| 1314 |
+
5: 3, # 'و'
|
| 1315 |
+
25: 2, # 'ى'
|
| 1316 |
+
3: 3, # 'ي'
|
| 1317 |
+
33: 1, # 'ً'
|
| 1318 |
+
44: 1, # 'ٌ'
|
| 1319 |
+
43: 1, # 'ٍ'
|
| 1320 |
+
35: 2, # 'َ'
|
| 1321 |
+
36: 1, # 'ُ'
|
| 1322 |
+
39: 1, # 'ِ'
|
| 1323 |
+
37: 1, # 'ّ'
|
| 1324 |
+
},
|
| 1325 |
+
16: { # 'ق'
|
| 1326 |
+
34: 0, # 'ء'
|
| 1327 |
+
40: 1, # 'آ'
|
| 1328 |
+
18: 1, # 'أ'
|
| 1329 |
+
41: 0, # 'ؤ'
|
| 1330 |
+
24: 0, # 'إ'
|
| 1331 |
+
32: 1, # 'ئ'
|
| 1332 |
+
1: 3, # 'ا'
|
| 1333 |
+
9: 3, # 'ب'
|
| 1334 |
+
10: 3, # 'ة'
|
| 1335 |
+
8: 3, # 'ت'
|
| 1336 |
+
28: 1, # 'ث'
|
| 1337 |
+
20: 1, # 'ج'
|
| 1338 |
+
19: 1, # 'ح'
|
| 1339 |
+
26: 0, # 'خ'
|
| 1340 |
+
12: 3, # 'د'
|
| 1341 |
+
30: 1, # 'ذ'
|
| 1342 |
+
7: 3, # 'ر'
|
| 1343 |
+
27: 1, # 'ز'
|
| 1344 |
+
13: 2, # 'س'
|
| 1345 |
+
21: 1, # 'ش'
|
| 1346 |
+
23: 2, # 'ص'
|
| 1347 |
+
29: 2, # 'ض'
|
| 1348 |
+
22: 3, # 'ط'
|
| 1349 |
+
38: 1, # 'ظ'
|
| 1350 |
+
11: 3, # 'ع'
|
| 1351 |
+
31: 1, # 'غ'
|
| 1352 |
+
45: 0, # 'ؿ'
|
| 1353 |
+
42: 1, # 'ـ'
|
| 1354 |
+
14: 2, # 'ف'
|
| 1355 |
+
16: 1, # 'ق'
|
| 1356 |
+
17: 1, # 'ك'
|
| 1357 |
+
2: 3, # 'ل'
|
| 1358 |
+
4: 2, # 'م'
|
| 1359 |
+
6: 2, # 'ن'
|
| 1360 |
+
15: 2, # 'ه'
|
| 1361 |
+
5: 3, # 'و'
|
| 1362 |
+
25: 2, # 'ى'
|
| 1363 |
+
3: 3, # 'ي'
|
| 1364 |
+
33: 2, # 'ً'
|
| 1365 |
+
44: 1, # 'ٌ'
|
| 1366 |
+
43: 1, # 'ٍ'
|
| 1367 |
+
35: 2, # 'َ'
|
| 1368 |
+
36: 2, # 'ُ'
|
| 1369 |
+
39: 1, # 'ِ'
|
| 1370 |
+
37: 1, # 'ّ'
|
| 1371 |
+
},
|
| 1372 |
+
17: { # 'ك'
|
| 1373 |
+
34: 0, # 'ء'
|
| 1374 |
+
40: 1, # 'آ'
|
| 1375 |
+
18: 1, # 'أ'
|
| 1376 |
+
41: 1, # 'ؤ'
|
| 1377 |
+
24: 1, # 'إ'
|
| 1378 |
+
32: 1, # 'ئ'
|
| 1379 |
+
1: 3, # 'ا'
|
| 1380 |
+
9: 3, # 'ب'
|
| 1381 |
+
10: 3, # 'ة'
|
| 1382 |
+
8: 3, # 'ت'
|
| 1383 |
+
28: 3, # 'ث'
|
| 1384 |
+
20: 1, # 'ج'
|
| 1385 |
+
19: 1, # 'ح'
|
| 1386 |
+
26: 1, # 'خ'
|
| 1387 |
+
12: 2, # 'د'
|
| 1388 |
+
30: 2, # 'ذ'
|
| 1389 |
+
7: 3, # 'ر'
|
| 1390 |
+
27: 2, # 'ز'
|
| 1391 |
+
13: 2, # 'س'
|
| 1392 |
+
21: 2, # 'ش'
|
| 1393 |
+
23: 1, # 'ص'
|
| 1394 |
+
29: 1, # 'ض'
|
| 1395 |
+
22: 1, # 'ط'
|
| 1396 |
+
38: 1, # 'ظ'
|
| 1397 |
+
11: 1, # 'ع'
|
| 1398 |
+
31: 1, # 'غ'
|
| 1399 |
+
45: 0, # 'ؿ'
|
| 1400 |
+
42: 1, # 'ـ'
|
| 1401 |
+
14: 2, # 'ف'
|
| 1402 |
+
16: 1, # 'ق'
|
| 1403 |
+
17: 1, # 'ك'
|
| 1404 |
+
2: 3, # 'ل'
|
| 1405 |
+
4: 3, # 'م'
|
| 1406 |
+
6: 3, # 'ن'
|
| 1407 |
+
15: 2, # 'ه'
|
| 1408 |
+
5: 3, # 'و'
|
| 1409 |
+
25: 1, # 'ى'
|
| 1410 |
+
3: 3, # 'ي'
|
| 1411 |
+
33: 1, # 'ً'
|
| 1412 |
+
44: 1, # 'ٌ'
|
| 1413 |
+
43: 1, # 'ٍ'
|
| 1414 |
+
35: 2, # 'َ'
|
| 1415 |
+
36: 1, # 'ُ'
|
| 1416 |
+
39: 1, # 'ِ'
|
| 1417 |
+
37: 1, # 'ّ'
|
| 1418 |
+
},
|
| 1419 |
+
2: { # 'ل'
|
| 1420 |
+
34: 1, # 'ء'
|
| 1421 |
+
40: 2, # 'آ'
|
| 1422 |
+
18: 3, # 'أ'
|
| 1423 |
+
41: 1, # 'ؤ'
|
| 1424 |
+
24: 3, # 'إ'
|
| 1425 |
+
32: 1, # 'ئ'
|
| 1426 |
+
1: 3, # 'ا'
|
| 1427 |
+
9: 3, # 'ب'
|
| 1428 |
+
10: 3, # 'ة'
|
| 1429 |
+
8: 3, # 'ت'
|
| 1430 |
+
28: 3, # 'ث'
|
| 1431 |
+
20: 3, # 'ج'
|
| 1432 |
+
19: 3, # 'ح'
|
| 1433 |
+
26: 3, # 'خ'
|
| 1434 |
+
12: 3, # 'د'
|
| 1435 |
+
30: 3, # 'ذ'
|
| 1436 |
+
7: 3, # 'ر'
|
| 1437 |
+
27: 3, # 'ز'
|
| 1438 |
+
13: 3, # 'س'
|
| 1439 |
+
21: 3, # 'ش'
|
| 1440 |
+
23: 3, # 'ص'
|
| 1441 |
+
29: 2, # 'ض'
|
| 1442 |
+
22: 3, # 'ط'
|
| 1443 |
+
38: 2, # 'ظ'
|
| 1444 |
+
11: 3, # 'ع'
|
| 1445 |
+
31: 3, # 'غ'
|
| 1446 |
+
45: 0, # 'ؿ'
|
| 1447 |
+
42: 1, # 'ـ'
|
| 1448 |
+
14: 3, # 'ف'
|
| 1449 |
+
16: 3, # 'ق'
|
| 1450 |
+
17: 3, # 'ك'
|
| 1451 |
+
2: 3, # 'ل'
|
| 1452 |
+
4: 3, # 'م'
|
| 1453 |
+
6: 3, # 'ن'
|
| 1454 |
+
15: 3, # 'ه'
|
| 1455 |
+
5: 3, # 'و'
|
| 1456 |
+
25: 3, # 'ى'
|
| 1457 |
+
3: 3, # 'ي'
|
| 1458 |
+
33: 2, # 'ً'
|
| 1459 |
+
44: 1, # 'ٌ'
|
| 1460 |
+
43: 1, # 'ٍ'
|
| 1461 |
+
35: 2, # 'َ'
|
| 1462 |
+
36: 1, # 'ُ'
|
| 1463 |
+
39: 2, # 'ِ'
|
| 1464 |
+
37: 2, # 'ّ'
|
| 1465 |
+
},
|
| 1466 |
+
4: { # 'م'
|
| 1467 |
+
34: 0, # 'ء'
|
| 1468 |
+
40: 1, # 'آ'
|
| 1469 |
+
18: 1, # 'أ'
|
| 1470 |
+
41: 3, # 'ؤ'
|
| 1471 |
+
24: 1, # 'إ'
|
| 1472 |
+
32: 1, # 'ئ'
|
| 1473 |
+
1: 3, # 'ا'
|
| 1474 |
+
9: 3, # 'ب'
|
| 1475 |
+
10: 3, # 'ة'
|
| 1476 |
+
8: 3, # 'ت'
|
| 1477 |
+
28: 3, # 'ث'
|
| 1478 |
+
20: 3, # 'ج'
|
| 1479 |
+
19: 3, # 'ح'
|
| 1480 |
+
26: 2, # 'خ'
|
| 1481 |
+
12: 3, # 'د'
|
| 1482 |
+
30: 2, # 'ذ'
|
| 1483 |
+
7: 3, # 'ر'
|
| 1484 |
+
27: 2, # 'ز'
|
| 1485 |
+
13: 3, # 'س'
|
| 1486 |
+
21: 3, # 'ش'
|
| 1487 |
+
23: 3, # 'ص'
|
| 1488 |
+
29: 2, # 'ض'
|
| 1489 |
+
22: 2, # 'ط'
|
| 1490 |
+
38: 1, # 'ظ'
|
| 1491 |
+
11: 3, # 'ع'
|
| 1492 |
+
31: 2, # 'غ'
|
| 1493 |
+
45: 0, # 'ؿ'
|
| 1494 |
+
42: 1, # 'ـ'
|
| 1495 |
+
14: 2, # 'ف'
|
| 1496 |
+
16: 3, # 'ق'
|
| 1497 |
+
17: 3, # 'ك'
|
| 1498 |
+
2: 3, # 'ل'
|
| 1499 |
+
4: 3, # 'م'
|
| 1500 |
+
6: 3, # 'ن'
|
| 1501 |
+
15: 3, # 'ه'
|
| 1502 |
+
5: 3, # 'و'
|
| 1503 |
+
25: 2, # 'ى'
|
| 1504 |
+
3: 3, # 'ي'
|
| 1505 |
+
33: 2, # 'ً'
|
| 1506 |
+
44: 1, # 'ٌ'
|
| 1507 |
+
43: 1, # 'ٍ'
|
| 1508 |
+
35: 2, # 'َ'
|
| 1509 |
+
36: 2, # 'ُ'
|
| 1510 |
+
39: 2, # 'ِ'
|
| 1511 |
+
37: 2, # 'ّ'
|
| 1512 |
+
},
|
| 1513 |
+
6: { # 'ن'
|
| 1514 |
+
34: 0, # 'ء'
|
| 1515 |
+
40: 1, # 'آ'
|
| 1516 |
+
18: 1, # 'أ'
|
| 1517 |
+
41: 1, # 'ؤ'
|
| 1518 |
+
24: 1, # 'إ'
|
| 1519 |
+
32: 1, # 'ئ'
|
| 1520 |
+
1: 3, # 'ا'
|
| 1521 |
+
9: 3, # 'ب'
|
| 1522 |
+
10: 3, # 'ة'
|
| 1523 |
+
8: 3, # 'ت'
|
| 1524 |
+
28: 1, # 'ث'
|
| 1525 |
+
20: 3, # 'ج'
|
| 1526 |
+
19: 2, # 'ح'
|
| 1527 |
+
26: 2, # 'خ'
|
| 1528 |
+
12: 3, # 'د'
|
| 1529 |
+
30: 2, # 'ذ'
|
| 1530 |
+
7: 2, # 'ر'
|
| 1531 |
+
27: 2, # 'ز'
|
| 1532 |
+
13: 3, # 'س'
|
| 1533 |
+
21: 3, # 'ش'
|
| 1534 |
+
23: 2, # 'ص'
|
| 1535 |
+
29: 2, # 'ض'
|
| 1536 |
+
22: 3, # 'ط'
|
| 1537 |
+
38: 3, # 'ظ'
|
| 1538 |
+
11: 2, # 'ع'
|
| 1539 |
+
31: 2, # 'غ'
|
| 1540 |
+
45: 0, # 'ؿ'
|
| 1541 |
+
42: 1, # 'ـ'
|
| 1542 |
+
14: 3, # 'ف'
|
| 1543 |
+
16: 3, # 'ق'
|
| 1544 |
+
17: 2, # 'ك'
|
| 1545 |
+
2: 1, # 'ل'
|
| 1546 |
+
4: 2, # 'م'
|
| 1547 |
+
6: 1, # 'ن'
|
| 1548 |
+
15: 3, # 'ه'
|
| 1549 |
+
5: 3, # 'و'
|
| 1550 |
+
25: 2, # 'ى'
|
| 1551 |
+
3: 3, # 'ي'
|
| 1552 |
+
33: 1, # 'ً'
|
| 1553 |
+
44: 1, # 'ٌ'
|
| 1554 |
+
43: 1, # 'ٍ'
|
| 1555 |
+
35: 2, # 'َ'
|
| 1556 |
+
36: 1, # 'ُ'
|
| 1557 |
+
39: 1, # 'ِ'
|
| 1558 |
+
37: 2, # 'ّ'
|
| 1559 |
+
},
|
| 1560 |
+
15: { # 'ه'
|
| 1561 |
+
34: 0, # 'ء'
|
| 1562 |
+
40: 1, # 'آ'
|
| 1563 |
+
18: 1, # 'أ'
|
| 1564 |
+
41: 1, # 'ؤ'
|
| 1565 |
+
24: 0, # 'إ'
|
| 1566 |
+
32: 1, # 'ئ'
|
| 1567 |
+
1: 3, # 'ا'
|
| 1568 |
+
9: 2, # 'ب'
|
| 1569 |
+
10: 2, # 'ة'
|
| 1570 |
+
8: 2, # 'ت'
|
| 1571 |
+
28: 1, # 'ث'
|
| 1572 |
+
20: 2, # 'ج'
|
| 1573 |
+
19: 1, # 'ح'
|
| 1574 |
+
26: 1, # 'خ'
|
| 1575 |
+
12: 3, # 'د'
|
| 1576 |
+
30: 3, # 'ذ'
|
| 1577 |
+
7: 3, # 'ر'
|
| 1578 |
+
27: 2, # 'ز'
|
| 1579 |
+
13: 1, # 'س'
|
| 1580 |
+
21: 1, # 'ش'
|
| 1581 |
+
23: 1, # 'ص'
|
| 1582 |
+
29: 1, # 'ض'
|
| 1583 |
+
22: 1, # 'ط'
|
| 1584 |
+
38: 1, # 'ظ'
|
| 1585 |
+
11: 1, # 'ع'
|
| 1586 |
+
31: 1, # 'غ'
|
| 1587 |
+
45: 0, # 'ؿ'
|
| 1588 |
+
42: 2, # 'ـ'
|
| 1589 |
+
14: 1, # 'ف'
|
| 1590 |
+
16: 1, # 'ق'
|
| 1591 |
+
17: 1, # 'ك'
|
| 1592 |
+
2: 2, # 'ل'
|
| 1593 |
+
4: 3, # 'م'
|
| 1594 |
+
6: 3, # 'ن'
|
| 1595 |
+
15: 1, # 'ه'
|
| 1596 |
+
5: 3, # 'و'
|
| 1597 |
+
25: 1, # 'ى'
|
| 1598 |
+
3: 3, # 'ي'
|
| 1599 |
+
33: 1, # 'ً'
|
| 1600 |
+
44: 1, # 'ٌ'
|
| 1601 |
+
43: 1, # 'ٍ'
|
| 1602 |
+
35: 1, # 'َ'
|
| 1603 |
+
36: 2, # 'ُ'
|
| 1604 |
+
39: 1, # 'ِ'
|
| 1605 |
+
37: 1, # 'ّ'
|
| 1606 |
+
},
|
| 1607 |
+
5: { # 'و'
|
| 1608 |
+
34: 1, # 'ء'
|
| 1609 |
+
40: 1, # 'آ'
|
| 1610 |
+
18: 3, # 'أ'
|
| 1611 |
+
41: 1, # 'ؤ'
|
| 1612 |
+
24: 2, # 'إ'
|
| 1613 |
+
32: 1, # 'ئ'
|
| 1614 |
+
1: 3, # 'ا'
|
| 1615 |
+
9: 3, # 'ب'
|
| 1616 |
+
10: 2, # 'ة'
|
| 1617 |
+
8: 3, # 'ت'
|
| 1618 |
+
28: 2, # 'ث'
|
| 1619 |
+
20: 3, # 'ج'
|
| 1620 |
+
19: 3, # 'ح'
|
| 1621 |
+
26: 2, # 'خ'
|
| 1622 |
+
12: 3, # 'د'
|
| 1623 |
+
30: 2, # 'ذ'
|
| 1624 |
+
7: 3, # 'ر'
|
| 1625 |
+
27: 3, # 'ز'
|
| 1626 |
+
13: 3, # 'س'
|
| 1627 |
+
21: 2, # 'ش'
|
| 1628 |
+
23: 3, # 'ص'
|
| 1629 |
+
29: 2, # 'ض'
|
| 1630 |
+
22: 3, # 'ط'
|
| 1631 |
+
38: 2, # 'ظ'
|
| 1632 |
+
11: 3, # 'ع'
|
| 1633 |
+
31: 2, # 'غ'
|
| 1634 |
+
45: 0, # 'ؿ'
|
| 1635 |
+
42: 1, # 'ـ'
|
| 1636 |
+
14: 3, # 'ف'
|
| 1637 |
+
16: 3, # 'ق'
|
| 1638 |
+
17: 3, # 'ك'
|
| 1639 |
+
2: 3, # 'ل'
|
| 1640 |
+
4: 3, # 'م'
|
| 1641 |
+
6: 3, # 'ن'
|
| 1642 |
+
15: 3, # 'ه'
|
| 1643 |
+
5: 2, # 'و'
|
| 1644 |
+
25: 2, # 'ى'
|
| 1645 |
+
3: 3, # 'ي'
|
| 1646 |
+
33: 1, # 'ً'
|
| 1647 |
+
44: 1, # 'ٌ'
|
| 1648 |
+
43: 1, # 'ٍ'
|
| 1649 |
+
35: 2, # 'َ'
|
| 1650 |
+
36: 1, # 'ُ'
|
| 1651 |
+
39: 1, # 'ِ'
|
| 1652 |
+
37: 1, # 'ّ'
|
| 1653 |
+
},
|
| 1654 |
+
25: { # 'ى'
|
| 1655 |
+
34: 1, # 'ء'
|
| 1656 |
+
40: 0, # 'آ'
|
| 1657 |
+
18: 0, # 'أ'
|
| 1658 |
+
41: 0, # 'ؤ'
|
| 1659 |
+
24: 0, # 'إ'
|
| 1660 |
+
32: 0, # 'ئ'
|
| 1661 |
+
1: 1, # 'ا'
|
| 1662 |
+
9: 1, # 'ب'
|
| 1663 |
+
10: 0, # 'ة'
|
| 1664 |
+
8: 0, # 'ت'
|
| 1665 |
+
28: 0, # 'ث'
|
| 1666 |
+
20: 0, # 'ج'
|
| 1667 |
+
19: 0, # 'ح'
|
| 1668 |
+
26: 0, # 'خ'
|
| 1669 |
+
12: 0, # 'د'
|
| 1670 |
+
30: 0, # 'ذ'
|
| 1671 |
+
7: 0, # 'ر'
|
| 1672 |
+
27: 0, # 'ز'
|
| 1673 |
+
13: 0, # 'س'
|
| 1674 |
+
21: 0, # 'ش'
|
| 1675 |
+
23: 0, # 'ص'
|
| 1676 |
+
29: 0, # 'ض'
|
| 1677 |
+
22: 0, # 'ط'
|
| 1678 |
+
38: 0, # 'ظ'
|
| 1679 |
+
11: 0, # 'ع'
|
| 1680 |
+
31: 0, # 'غ'
|
| 1681 |
+
45: 0, # 'ؿ'
|
| 1682 |
+
42: 1, # 'ـ'
|
| 1683 |
+
14: 0, # 'ف'
|
| 1684 |
+
16: 0, # 'ق'
|
| 1685 |
+
17: 1, # 'ك'
|
| 1686 |
+
2: 1, # 'ل'
|
| 1687 |
+
4: 0, # 'م'
|
| 1688 |
+
6: 0, # 'ن'
|
| 1689 |
+
15: 0, # 'ه'
|
| 1690 |
+
5: 0, # 'و'
|
| 1691 |
+
25: 0, # 'ى'
|
| 1692 |
+
3: 1, # 'ي'
|
| 1693 |
+
33: 1, # 'ً'
|
| 1694 |
+
44: 0, # 'ٌ'
|
| 1695 |
+
43: 0, # 'ٍ'
|
| 1696 |
+
35: 1, # 'َ'
|
| 1697 |
+
36: 1, # 'ُ'
|
| 1698 |
+
39: 1, # 'ِ'
|
| 1699 |
+
37: 1, # 'ّ'
|
| 1700 |
+
},
|
| 1701 |
+
3: { # 'ي'
|
| 1702 |
+
34: 1, # 'ء'
|
| 1703 |
+
40: 1, # 'آ'
|
| 1704 |
+
18: 1, # 'أ'
|
| 1705 |
+
41: 1, # 'ؤ'
|
| 1706 |
+
24: 1, # 'إ'
|
| 1707 |
+
32: 2, # 'ئ'
|
| 1708 |
+
1: 3, # 'ا'
|
| 1709 |
+
9: 3, # 'ب'
|
| 1710 |
+
10: 3, # 'ة'
|
| 1711 |
+
8: 3, # 'ت'
|
| 1712 |
+
28: 3, # 'ث'
|
| 1713 |
+
20: 3, # 'ج'
|
| 1714 |
+
19: 3, # 'ح'
|
| 1715 |
+
26: 3, # 'خ'
|
| 1716 |
+
12: 3, # 'د'
|
| 1717 |
+
30: 2, # 'ذ'
|
| 1718 |
+
7: 3, # 'ر'
|
| 1719 |
+
27: 3, # 'ز'
|
| 1720 |
+
13: 3, # 'س'
|
| 1721 |
+
21: 3, # 'ش'
|
| 1722 |
+
23: 2, # 'ص'
|
| 1723 |
+
29: 3, # 'ض'
|
| 1724 |
+
22: 3, # 'ط'
|
| 1725 |
+
38: 1, # 'ظ'
|
| 1726 |
+
11: 3, # 'ع'
|
| 1727 |
+
31: 2, # 'غ'
|
| 1728 |
+
45: 0, # 'ؿ'
|
| 1729 |
+
42: 1, # 'ـ'
|
| 1730 |
+
14: 3, # 'ف'
|
| 1731 |
+
16: 3, # 'ق'
|
| 1732 |
+
17: 3, # 'ك'
|
| 1733 |
+
2: 3, # 'ل'
|
| 1734 |
+
4: 3, # 'م'
|
| 1735 |
+
6: 3, # 'ن'
|
| 1736 |
+
15: 3, # 'ه'
|
| 1737 |
+
5: 3, # 'و'
|
| 1738 |
+
25: 1, # 'ى'
|
| 1739 |
+
3: 3, # 'ي'
|
| 1740 |
+
33: 2, # 'ً'
|
| 1741 |
+
44: 1, # 'ٌ'
|
| 1742 |
+
43: 1, # 'ٍ'
|
| 1743 |
+
35: 2, # 'َ'
|
| 1744 |
+
36: 2, # 'ُ'
|
| 1745 |
+
39: 1, # 'ِ'
|
| 1746 |
+
37: 2, # 'ّ'
|
| 1747 |
+
},
|
| 1748 |
+
33: { # 'ً'
|
| 1749 |
+
34: 1, # 'ء'
|
| 1750 |
+
40: 0, # 'آ'
|
| 1751 |
+
18: 1, # 'أ'
|
| 1752 |
+
41: 0, # 'ؤ'
|
| 1753 |
+
24: 0, # 'إ'
|
| 1754 |
+
32: 0, # 'ئ'
|
| 1755 |
+
1: 3, # 'ا'
|
| 1756 |
+
9: 1, # 'ب'
|
| 1757 |
+
10: 1, # 'ة'
|
| 1758 |
+
8: 1, # 'ت'
|
| 1759 |
+
28: 0, # 'ث'
|
| 1760 |
+
20: 0, # 'ج'
|
| 1761 |
+
19: 1, # 'ح'
|
| 1762 |
+
26: 1, # 'خ'
|
| 1763 |
+
12: 1, # 'د'
|
| 1764 |
+
30: 0, # 'ذ'
|
| 1765 |
+
7: 1, # 'ر'
|
| 1766 |
+
27: 0, # 'ز'
|
| 1767 |
+
13: 1, # 'س'
|
| 1768 |
+
21: 1, # 'ش'
|
| 1769 |
+
23: 1, # 'ص'
|
| 1770 |
+
29: 1, # 'ض'
|
| 1771 |
+
22: 0, # 'ط'
|
| 1772 |
+
38: 0, # 'ظ'
|
| 1773 |
+
11: 1, # 'ع'
|
| 1774 |
+
31: 0, # 'غ'
|
| 1775 |
+
45: 0, # 'ؿ'
|
| 1776 |
+
42: 1, # 'ـ'
|
| 1777 |
+
14: 1, # 'ف'
|
| 1778 |
+
16: 1, # 'ق'
|
| 1779 |
+
17: 1, # 'ك'
|
| 1780 |
+
2: 1, # 'ل'
|
| 1781 |
+
4: 1, # 'م'
|
| 1782 |
+
6: 1, # 'ن'
|
| 1783 |
+
15: 1, # 'ه'
|
| 1784 |
+
5: 1, # 'و'
|
| 1785 |
+
25: 1, # 'ى'
|
| 1786 |
+
3: 1, # 'ي'
|
| 1787 |
+
33: 1, # 'ً'
|
| 1788 |
+
44: 0, # 'ٌ'
|
| 1789 |
+
43: 0, # 'ٍ'
|
| 1790 |
+
35: 1, # 'َ'
|
| 1791 |
+
36: 1, # 'ُ'
|
| 1792 |
+
39: 0, # 'ِ'
|
| 1793 |
+
37: 1, # 'ّ'
|
| 1794 |
+
},
|
| 1795 |
+
44: { # 'ٌ'
|
| 1796 |
+
34: 0, # 'ء'
|
| 1797 |
+
40: 0, # 'آ'
|
| 1798 |
+
18: 0, # 'أ'
|
| 1799 |
+
41: 0, # 'ؤ'
|
| 1800 |
+
24: 0, # 'إ'
|
| 1801 |
+
32: 0, # 'ئ'
|
| 1802 |
+
1: 1, # 'ا'
|
| 1803 |
+
9: 1, # 'ب'
|
| 1804 |
+
10: 0, # 'ة'
|
| 1805 |
+
8: 1, # 'ت'
|
| 1806 |
+
28: 0, # 'ث'
|
| 1807 |
+
20: 1, # 'ج'
|
| 1808 |
+
19: 1, # 'ح'
|
| 1809 |
+
26: 1, # 'خ'
|
| 1810 |
+
12: 1, # 'د'
|
| 1811 |
+
30: 0, # 'ذ'
|
| 1812 |
+
7: 1, # 'ر'
|
| 1813 |
+
27: 0, # 'ز'
|
| 1814 |
+
13: 1, # 'س'
|
| 1815 |
+
21: 1, # 'ش'
|
| 1816 |
+
23: 1, # 'ص'
|
| 1817 |
+
29: 1, # 'ض'
|
| 1818 |
+
22: 1, # 'ط'
|
| 1819 |
+
38: 1, # 'ظ'
|
| 1820 |
+
11: 1, # 'ع'
|
| 1821 |
+
31: 1, # 'غ'
|
| 1822 |
+
45: 0, # 'ؿ'
|
| 1823 |
+
42: 0, # 'ـ'
|
| 1824 |
+
14: 1, # 'ف'
|
| 1825 |
+
16: 1, # 'ق'
|
| 1826 |
+
17: 1, # 'ك'
|
| 1827 |
+
2: 1, # 'ل'
|
| 1828 |
+
4: 1, # 'م'
|
| 1829 |
+
6: 1, # 'ن'
|
| 1830 |
+
15: 1, # 'ه'
|
| 1831 |
+
5: 1, # 'و'
|
| 1832 |
+
25: 1, # 'ى'
|
| 1833 |
+
3: 1, # 'ي'
|
| 1834 |
+
33: 0, # 'ً'
|
| 1835 |
+
44: 0, # 'ٌ'
|
| 1836 |
+
43: 0, # 'ٍ'
|
| 1837 |
+
35: 1, # 'َ'
|
| 1838 |
+
36: 1, # 'ُ'
|
| 1839 |
+
39: 0, # 'ِ'
|
| 1840 |
+
37: 1, # 'ّ'
|
| 1841 |
+
},
|
| 1842 |
+
43: { # 'ٍ'
|
| 1843 |
+
34: 0, # 'ء'
|
| 1844 |
+
40: 0, # 'آ'
|
| 1845 |
+
18: 0, # 'أ'
|
| 1846 |
+
41: 0, # 'ؤ'
|
| 1847 |
+
24: 1, # 'إ'
|
| 1848 |
+
32: 0, # 'ئ'
|
| 1849 |
+
1: 1, # 'ا'
|
| 1850 |
+
9: 1, # 'ب'
|
| 1851 |
+
10: 1, # 'ة'
|
| 1852 |
+
8: 1, # 'ت'
|
| 1853 |
+
28: 0, # 'ث'
|
| 1854 |
+
20: 1, # 'ج'
|
| 1855 |
+
19: 0, # 'ح'
|
| 1856 |
+
26: 0, # 'خ'
|
| 1857 |
+
12: 1, # 'د'
|
| 1858 |
+
30: 0, # 'ذ'
|
| 1859 |
+
7: 1, # 'ر'
|
| 1860 |
+
27: 0, # 'ز'
|
| 1861 |
+
13: 1, # 'س'
|
| 1862 |
+
21: 0, # 'ش'
|
| 1863 |
+
23: 0, # 'ص'
|
| 1864 |
+
29: 0, # 'ض'
|
| 1865 |
+
22: 0, # 'ط'
|
| 1866 |
+
38: 0, # 'ظ'
|
| 1867 |
+
11: 1, # 'ع'
|
| 1868 |
+
31: 0, # 'غ'
|
| 1869 |
+
45: 0, # 'ؿ'
|
| 1870 |
+
42: 0, # 'ـ'
|
| 1871 |
+
14: 1, # 'ف'
|
| 1872 |
+
16: 1, # 'ق'
|
| 1873 |
+
17: 1, # 'ك'
|
| 1874 |
+
2: 1, # 'ل'
|
| 1875 |
+
4: 1, # 'م'
|
| 1876 |
+
6: 1, # 'ن'
|
| 1877 |
+
15: 0, # 'ه'
|
| 1878 |
+
5: 1, # 'و'
|
| 1879 |
+
25: 0, # 'ى'
|
| 1880 |
+
3: 1, # 'ي'
|
| 1881 |
+
33: 0, # 'ً'
|
| 1882 |
+
44: 0, # 'ٌ'
|
| 1883 |
+
43: 1, # 'ٍ'
|
| 1884 |
+
35: 0, # 'َ'
|
| 1885 |
+
36: 0, # 'ُ'
|
| 1886 |
+
39: 1, # 'ِ'
|
| 1887 |
+
37: 1, # 'ّ'
|
| 1888 |
+
},
|
| 1889 |
+
35: { # 'َ'
|
| 1890 |
+
34: 1, # 'ء'
|
| 1891 |
+
40: 1, # 'آ'
|
| 1892 |
+
18: 1, # 'أ'
|
| 1893 |
+
41: 1, # 'ؤ'
|
| 1894 |
+
24: 1, # 'إ'
|
| 1895 |
+
32: 1, # 'ئ'
|
| 1896 |
+
1: 2, # 'ا'
|
| 1897 |
+
9: 1, # 'ب'
|
| 1898 |
+
10: 1, # 'ة'
|
| 1899 |
+
8: 1, # 'ت'
|
| 1900 |
+
28: 1, # 'ث'
|
| 1901 |
+
20: 1, # 'ج'
|
| 1902 |
+
19: 1, # 'ح'
|
| 1903 |
+
26: 1, # 'خ'
|
| 1904 |
+
12: 1, # 'د'
|
| 1905 |
+
30: 1, # 'ذ'
|
| 1906 |
+
7: 2, # 'ر'
|
| 1907 |
+
27: 1, # 'ز'
|
| 1908 |
+
13: 1, # 'س'
|
| 1909 |
+
21: 1, # 'ش'
|
| 1910 |
+
23: 1, # 'ص'
|
| 1911 |
+
29: 1, # 'ض'
|
| 1912 |
+
22: 1, # 'ط'
|
| 1913 |
+
38: 1, # 'ظ'
|
| 1914 |
+
11: 1, # 'ع'
|
| 1915 |
+
31: 1, # 'غ'
|
| 1916 |
+
45: 0, # 'ؿ'
|
| 1917 |
+
42: 1, # 'ـ'
|
| 1918 |
+
14: 1, # 'ف'
|
| 1919 |
+
16: 1, # 'ق'
|
| 1920 |
+
17: 1, # 'ك'
|
| 1921 |
+
2: 2, # 'ل'
|
| 1922 |
+
4: 2, # 'م'
|
| 1923 |
+
6: 2, # 'ن'
|
| 1924 |
+
15: 1, # 'ه'
|
| 1925 |
+
5: 1, # 'و'
|
| 1926 |
+
25: 1, # 'ى'
|
| 1927 |
+
3: 2, # 'ي'
|
| 1928 |
+
33: 0, # 'ً'
|
| 1929 |
+
44: 0, # 'ٌ'
|
| 1930 |
+
43: 0, # 'ٍ'
|
| 1931 |
+
35: 1, # 'َ'
|
| 1932 |
+
36: 1, # 'ُ'
|
| 1933 |
+
39: 1, # 'ِ'
|
| 1934 |
+
37: 3, # 'ّ'
|
| 1935 |
+
},
|
| 1936 |
+
36: { # 'ُ'
|
| 1937 |
+
34: 1, # 'ء'
|
| 1938 |
+
40: 0, # 'آ'
|
| 1939 |
+
18: 1, # 'أ'
|
| 1940 |
+
41: 1, # 'ؤ'
|
| 1941 |
+
24: 0, # 'إ'
|
| 1942 |
+
32: 1, # 'ئ'
|
| 1943 |
+
1: 1, # 'ا'
|
| 1944 |
+
9: 1, # 'ب'
|
| 1945 |
+
10: 1, # 'ة'
|
| 1946 |
+
8: 2, # 'ت'
|
| 1947 |
+
28: 1, # 'ث'
|
| 1948 |
+
20: 1, # 'ج'
|
| 1949 |
+
19: 1, # 'ح'
|
| 1950 |
+
26: 1, # 'خ'
|
| 1951 |
+
12: 1, # 'د'
|
| 1952 |
+
30: 1, # 'ذ'
|
| 1953 |
+
7: 2, # 'ر'
|
| 1954 |
+
27: 1, # 'ز'
|
| 1955 |
+
13: 2, # 'س'
|
| 1956 |
+
21: 1, # 'ش'
|
| 1957 |
+
23: 1, # 'ص'
|
| 1958 |
+
29: 1, # 'ض'
|
| 1959 |
+
22: 1, # 'ط'
|
| 1960 |
+
38: 1, # 'ظ'
|
| 1961 |
+
11: 2, # 'ع'
|
| 1962 |
+
31: 1, # 'غ'
|
| 1963 |
+
45: 0, # 'ؿ'
|
| 1964 |
+
42: 1, # 'ـ'
|
| 1965 |
+
14: 1, # 'ف'
|
| 1966 |
+
16: 2, # 'ق'
|
| 1967 |
+
17: 1, # 'ك'
|
| 1968 |
+
2: 2, # 'ل'
|
| 1969 |
+
4: 2, # 'م'
|
| 1970 |
+
6: 2, # 'ن'
|
| 1971 |
+
15: 1, # 'ه'
|
| 1972 |
+
5: 2, # 'و'
|
| 1973 |
+
25: 1, # 'ى'
|
| 1974 |
+
3: 1, # 'ي'
|
| 1975 |
+
33: 0, # 'ً'
|
| 1976 |
+
44: 0, # 'ٌ'
|
| 1977 |
+
43: 0, # 'ٍ'
|
| 1978 |
+
35: 0, # 'َ'
|
| 1979 |
+
36: 1, # 'ُ'
|
| 1980 |
+
39: 1, # 'ِ'
|
| 1981 |
+
37: 2, # 'ّ'
|
| 1982 |
+
},
|
| 1983 |
+
39: { # 'ِ'
|
| 1984 |
+
34: 0, # 'ء'
|
| 1985 |
+
40: 1, # 'آ'
|
| 1986 |
+
18: 1, # 'أ'
|
| 1987 |
+
41: 1, # 'ؤ'
|
| 1988 |
+
24: 1, # 'إ'
|
| 1989 |
+
32: 1, # 'ئ'
|
| 1990 |
+
1: 1, # 'ا'
|
| 1991 |
+
9: 1, # 'ب'
|
| 1992 |
+
10: 1, # 'ة'
|
| 1993 |
+
8: 1, # 'ت'
|
| 1994 |
+
28: 1, # 'ث'
|
| 1995 |
+
20: 1, # 'ج'
|
| 1996 |
+
19: 1, # 'ح'
|
| 1997 |
+
26: 1, # 'خ'
|
| 1998 |
+
12: 1, # 'د'
|
| 1999 |
+
30: 1, # 'ذ'
|
| 2000 |
+
7: 1, # 'ر'
|
| 2001 |
+
27: 1, # 'ز'
|
| 2002 |
+
13: 1, # 'س'
|
| 2003 |
+
21: 1, # 'ش'
|
| 2004 |
+
23: 1, # 'ص'
|
| 2005 |
+
29: 1, # 'ض'
|
| 2006 |
+
22: 1, # 'ط'
|
| 2007 |
+
38: 1, # 'ظ'
|
| 2008 |
+
11: 1, # 'ع'
|
| 2009 |
+
31: 1, # 'غ'
|
| 2010 |
+
45: 0, # 'ؿ'
|
| 2011 |
+
42: 1, # 'ـ'
|
| 2012 |
+
14: 1, # 'ف'
|
| 2013 |
+
16: 1, # 'ق'
|
| 2014 |
+
17: 1, # 'ك'
|
| 2015 |
+
2: 2, # 'ل'
|
| 2016 |
+
4: 1, # 'م'
|
| 2017 |
+
6: 2, # 'ن'
|
| 2018 |
+
15: 1, # 'ه'
|
| 2019 |
+
5: 1, # 'و'
|
| 2020 |
+
25: 1, # 'ى'
|
| 2021 |
+
3: 2, # 'ي'
|
| 2022 |
+
33: 0, # 'ً'
|
| 2023 |
+
44: 0, # 'ٌ'
|
| 2024 |
+
43: 0, # 'ٍ'
|
| 2025 |
+
35: 0, # 'َ'
|
| 2026 |
+
36: 0, # 'ُ'
|
| 2027 |
+
39: 1, # 'ِ'
|
| 2028 |
+
37: 2, # 'ّ'
|
| 2029 |
+
},
|
| 2030 |
+
37: { # 'ّ'
|
| 2031 |
+
34: 1, # 'ء'
|
| 2032 |
+
40: 1, # 'آ'
|
| 2033 |
+
18: 1, # 'أ'
|
| 2034 |
+
41: 1, # 'ؤ'
|
| 2035 |
+
24: 0, # 'إ'
|
| 2036 |
+
32: 1, # 'ئ'
|
| 2037 |
+
1: 2, # 'ا'
|
| 2038 |
+
9: 1, # 'ب'
|
| 2039 |
+
10: 2, # 'ة'
|
| 2040 |
+
8: 1, # 'ت'
|
| 2041 |
+
28: 1, # 'ث'
|
| 2042 |
+
20: 1, # 'ج'
|
| 2043 |
+
19: 1, # 'ح'
|
| 2044 |
+
26: 1, # 'خ'
|
| 2045 |
+
12: 2, # 'د'
|
| 2046 |
+
30: 1, # 'ذ'
|
| 2047 |
+
7: 2, # 'ر'
|
| 2048 |
+
27: 1, # 'ز'
|
| 2049 |
+
13: 1, # 'س'
|
| 2050 |
+
21: 1, # 'ش'
|
| 2051 |
+
23: 1, # 'ص'
|
| 2052 |
+
29: 1, # 'ض'
|
| 2053 |
+
22: 1, # 'ط'
|
| 2054 |
+
38: 1, # 'ظ'
|
| 2055 |
+
11: 1, # 'ع'
|
| 2056 |
+
31: 1, # 'غ'
|
| 2057 |
+
45: 0, # 'ؿ'
|
| 2058 |
+
42: 1, # 'ـ'
|
| 2059 |
+
14: 1, # 'ف'
|
| 2060 |
+
16: 1, # 'ق'
|
| 2061 |
+
17: 1, # 'ك'
|
| 2062 |
+
2: 2, # 'ل'
|
| 2063 |
+
4: 2, # 'م'
|
| 2064 |
+
6: 1, # 'ن'
|
| 2065 |
+
15: 2, # 'ه'
|
| 2066 |
+
5: 1, # 'و'
|
| 2067 |
+
25: 1, # 'ى'
|
| 2068 |
+
3: 1, # 'ي'
|
| 2069 |
+
33: 0, # 'ً'
|
| 2070 |
+
44: 0, # 'ٌ'
|
| 2071 |
+
43: 0, # 'ٍ'
|
| 2072 |
+
35: 0, # 'َ'
|
| 2073 |
+
36: 0, # 'ُ'
|
| 2074 |
+
39: 0, # 'ِ'
|
| 2075 |
+
37: 1, # 'ّ'
|
| 2076 |
+
},
|
| 2077 |
+
}
|
| 2078 |
+
|
| 2079 |
+
# 255: Undefined characters that did not exist in training text
|
| 2080 |
+
# 254: Carriage/Return
|
| 2081 |
+
# 253: symbol (punctuation) that does not belong to word
|
| 2082 |
+
# 252: 0 - 9
|
| 2083 |
+
# 251: Control characters
|
| 2084 |
+
|
| 2085 |
+
# Character Mapping Table(s):
|
| 2086 |
+
ISO_8859_6_ARABIC_CHAR_TO_ORDER = {
|
| 2087 |
+
0: 251, # '\x00'
|
| 2088 |
+
1: 251, # '\x01'
|
| 2089 |
+
2: 251, # '\x02'
|
| 2090 |
+
3: 251, # '\x03'
|
| 2091 |
+
4: 251, # '\x04'
|
| 2092 |
+
5: 251, # '\x05'
|
| 2093 |
+
6: 251, # '\x06'
|
| 2094 |
+
7: 251, # '\x07'
|
| 2095 |
+
8: 251, # '\x08'
|
| 2096 |
+
9: 251, # '\t'
|
| 2097 |
+
10: 254, # '\n'
|
| 2098 |
+
11: 251, # '\x0b'
|
| 2099 |
+
12: 251, # '\x0c'
|
| 2100 |
+
13: 254, # '\r'
|
| 2101 |
+
14: 251, # '\x0e'
|
| 2102 |
+
15: 251, # '\x0f'
|
| 2103 |
+
16: 251, # '\x10'
|
| 2104 |
+
17: 251, # '\x11'
|
| 2105 |
+
18: 251, # '\x12'
|
| 2106 |
+
19: 251, # '\x13'
|
| 2107 |
+
20: 251, # '\x14'
|
| 2108 |
+
21: 251, # '\x15'
|
| 2109 |
+
22: 251, # '\x16'
|
| 2110 |
+
23: 251, # '\x17'
|
| 2111 |
+
24: 251, # '\x18'
|
| 2112 |
+
25: 251, # '\x19'
|
| 2113 |
+
26: 251, # '\x1a'
|
| 2114 |
+
27: 251, # '\x1b'
|
| 2115 |
+
28: 251, # '\x1c'
|
| 2116 |
+
29: 251, # '\x1d'
|
| 2117 |
+
30: 251, # '\x1e'
|
| 2118 |
+
31: 251, # '\x1f'
|
| 2119 |
+
32: 251, # ' '
|
| 2120 |
+
33: 253, # '!'
|
| 2121 |
+
34: 253, # '"'
|
| 2122 |
+
35: 253, # '#'
|
| 2123 |
+
36: 253, # '$'
|
| 2124 |
+
37: 253, # '%'
|
| 2125 |
+
38: 253, # '&'
|
| 2126 |
+
39: 253, # "'"
|
| 2127 |
+
40: 253, # '('
|
| 2128 |
+
41: 253, # ')'
|
| 2129 |
+
42: 253, # '*'
|
| 2130 |
+
43: 253, # '+'
|
| 2131 |
+
44: 253, # ','
|
| 2132 |
+
45: 253, # '-'
|
| 2133 |
+
46: 253, # '.'
|
| 2134 |
+
47: 253, # '/'
|
| 2135 |
+
48: 252, # '0'
|
| 2136 |
+
49: 252, # '1'
|
| 2137 |
+
50: 252, # '2'
|
| 2138 |
+
51: 252, # '3'
|
| 2139 |
+
52: 252, # '4'
|
| 2140 |
+
53: 252, # '5'
|
| 2141 |
+
54: 252, # '6'
|
| 2142 |
+
55: 252, # '7'
|
| 2143 |
+
56: 252, # '8'
|
| 2144 |
+
57: 252, # '9'
|
| 2145 |
+
58: 253, # ':'
|
| 2146 |
+
59: 253, # ';'
|
| 2147 |
+
60: 253, # '<'
|
| 2148 |
+
61: 253, # '='
|
| 2149 |
+
62: 253, # '>'
|
| 2150 |
+
63: 253, # '?'
|
| 2151 |
+
64: 253, # '@'
|
| 2152 |
+
65: 255, # 'A'
|
| 2153 |
+
66: 255, # 'B'
|
| 2154 |
+
67: 255, # 'C'
|
| 2155 |
+
68: 255, # 'D'
|
| 2156 |
+
69: 255, # 'E'
|
| 2157 |
+
70: 255, # 'F'
|
| 2158 |
+
71: 255, # 'G'
|
| 2159 |
+
72: 255, # 'H'
|
| 2160 |
+
73: 255, # 'I'
|
| 2161 |
+
74: 255, # 'J'
|
| 2162 |
+
75: 255, # 'K'
|
| 2163 |
+
76: 255, # 'L'
|
| 2164 |
+
77: 255, # 'M'
|
| 2165 |
+
78: 255, # 'N'
|
| 2166 |
+
79: 255, # 'O'
|
| 2167 |
+
80: 255, # 'P'
|
| 2168 |
+
81: 255, # 'Q'
|
| 2169 |
+
82: 255, # 'R'
|
| 2170 |
+
83: 255, # 'S'
|
| 2171 |
+
84: 255, # 'T'
|
| 2172 |
+
85: 255, # 'U'
|
| 2173 |
+
86: 255, # 'V'
|
| 2174 |
+
87: 255, # 'W'
|
| 2175 |
+
88: 255, # 'X'
|
| 2176 |
+
89: 255, # 'Y'
|
| 2177 |
+
90: 255, # 'Z'
|
| 2178 |
+
91: 253, # '['
|
| 2179 |
+
92: 253, # '\\'
|
| 2180 |
+
93: 253, # ']'
|
| 2181 |
+
94: 253, # '^'
|
| 2182 |
+
95: 253, # '_'
|
| 2183 |
+
96: 253, # '`'
|
| 2184 |
+
97: 255, # 'a'
|
| 2185 |
+
98: 255, # 'b'
|
| 2186 |
+
99: 255, # 'c'
|
| 2187 |
+
100: 255, # 'd'
|
| 2188 |
+
101: 255, # 'e'
|
| 2189 |
+
102: 255, # 'f'
|
| 2190 |
+
103: 255, # 'g'
|
| 2191 |
+
104: 255, # 'h'
|
| 2192 |
+
105: 255, # 'i'
|
| 2193 |
+
106: 255, # 'j'
|
| 2194 |
+
107: 255, # 'k'
|
| 2195 |
+
108: 255, # 'l'
|
| 2196 |
+
109: 255, # 'm'
|
| 2197 |
+
110: 255, # 'n'
|
| 2198 |
+
111: 255, # 'o'
|
| 2199 |
+
112: 255, # 'p'
|
| 2200 |
+
113: 255, # 'q'
|
| 2201 |
+
114: 255, # 'r'
|
| 2202 |
+
115: 255, # 's'
|
| 2203 |
+
116: 255, # 't'
|
| 2204 |
+
117: 255, # 'u'
|
| 2205 |
+
118: 255, # 'v'
|
| 2206 |
+
119: 255, # 'w'
|
| 2207 |
+
120: 255, # 'x'
|
| 2208 |
+
121: 255, # 'y'
|
| 2209 |
+
122: 255, # 'z'
|
| 2210 |
+
123: 253, # '{'
|
| 2211 |
+
124: 253, # '|'
|
| 2212 |
+
125: 253, # '}'
|
| 2213 |
+
126: 253, # '~'
|
| 2214 |
+
127: 251, # '\x7f'
|
| 2215 |
+
128: 251, # '\x80'
|
| 2216 |
+
129: 251, # '\x81'
|
| 2217 |
+
130: 251, # '\x82'
|
| 2218 |
+
131: 251, # '\x83'
|
| 2219 |
+
132: 251, # '\x84'
|
| 2220 |
+
133: 251, # '\x85'
|
| 2221 |
+
134: 251, # '\x86'
|
| 2222 |
+
135: 251, # '\x87'
|
| 2223 |
+
136: 251, # '\x88'
|
| 2224 |
+
137: 251, # '\x89'
|
| 2225 |
+
138: 251, # '\x8a'
|
| 2226 |
+
139: 251, # '\x8b'
|
| 2227 |
+
140: 251, # '\x8c'
|
| 2228 |
+
141: 251, # '\x8d'
|
| 2229 |
+
142: 251, # '\x8e'
|
| 2230 |
+
143: 251, # '\x8f'
|
| 2231 |
+
144: 251, # '\x90'
|
| 2232 |
+
145: 251, # '\x91'
|
| 2233 |
+
146: 251, # '\x92'
|
| 2234 |
+
147: 251, # '\x93'
|
| 2235 |
+
148: 251, # '\x94'
|
| 2236 |
+
149: 251, # '\x95'
|
| 2237 |
+
150: 251, # '\x96'
|
| 2238 |
+
151: 251, # '\x97'
|
| 2239 |
+
152: 251, # '\x98'
|
| 2240 |
+
153: 251, # '\x99'
|
| 2241 |
+
154: 251, # '\x9a'
|
| 2242 |
+
155: 251, # '\x9b'
|
| 2243 |
+
156: 251, # '\x9c'
|
| 2244 |
+
157: 251, # '\x9d'
|
| 2245 |
+
158: 251, # '\x9e'
|
| 2246 |
+
159: 251, # '\x9f'
|
| 2247 |
+
160: 251, # '\xa0'
|
| 2248 |
+
161: 255, # None
|
| 2249 |
+
162: 255, # None
|
| 2250 |
+
163: 255, # None
|
| 2251 |
+
164: 253, # '¤'
|
| 2252 |
+
165: 255, # None
|
| 2253 |
+
166: 255, # None
|
| 2254 |
+
167: 255, # None
|
| 2255 |
+
168: 255, # None
|
| 2256 |
+
169: 255, # None
|
| 2257 |
+
170: 255, # None
|
| 2258 |
+
171: 255, # None
|
| 2259 |
+
172: 253, # '،'
|
| 2260 |
+
173: 251, # '\xad'
|
| 2261 |
+
174: 255, # None
|
| 2262 |
+
175: 255, # None
|
| 2263 |
+
176: 255, # None
|
| 2264 |
+
177: 255, # None
|
| 2265 |
+
178: 255, # None
|
| 2266 |
+
179: 255, # None
|
| 2267 |
+
180: 255, # None
|
| 2268 |
+
181: 255, # None
|
| 2269 |
+
182: 255, # None
|
| 2270 |
+
183: 255, # None
|
| 2271 |
+
184: 255, # None
|
| 2272 |
+
185: 255, # None
|
| 2273 |
+
186: 255, # None
|
| 2274 |
+
187: 253, # '؛'
|
| 2275 |
+
188: 255, # None
|
| 2276 |
+
189: 255, # None
|
| 2277 |
+
190: 255, # None
|
| 2278 |
+
191: 253, # '؟'
|
| 2279 |
+
192: 255, # None
|
| 2280 |
+
193: 34, # 'ء'
|
| 2281 |
+
194: 40, # 'آ'
|
| 2282 |
+
195: 18, # 'أ'
|
| 2283 |
+
196: 41, # 'ؤ'
|
| 2284 |
+
197: 24, # 'إ'
|
| 2285 |
+
198: 32, # 'ئ'
|
| 2286 |
+
199: 1, # 'ا'
|
| 2287 |
+
200: 9, # 'ب'
|
| 2288 |
+
201: 10, # 'ة'
|
| 2289 |
+
202: 8, # 'ت'
|
| 2290 |
+
203: 28, # 'ث'
|
| 2291 |
+
204: 20, # 'ج'
|
| 2292 |
+
205: 19, # 'ح'
|
| 2293 |
+
206: 26, # 'خ'
|
| 2294 |
+
207: 12, # 'د'
|
| 2295 |
+
208: 30, # 'ذ'
|
| 2296 |
+
209: 7, # 'ر'
|
| 2297 |
+
210: 27, # 'ز'
|
| 2298 |
+
211: 13, # 'س'
|
| 2299 |
+
212: 21, # 'ش'
|
| 2300 |
+
213: 23, # 'ص'
|
| 2301 |
+
214: 29, # 'ض'
|
| 2302 |
+
215: 22, # 'ط'
|
| 2303 |
+
216: 38, # 'ظ'
|
| 2304 |
+
217: 11, # 'ع'
|
| 2305 |
+
218: 31, # 'غ'
|
| 2306 |
+
219: 255, # None
|
| 2307 |
+
220: 255, # None
|
| 2308 |
+
221: 255, # None
|
| 2309 |
+
222: 255, # None
|
| 2310 |
+
223: 255, # None
|
| 2311 |
+
224: 42, # 'ـ'
|
| 2312 |
+
225: 14, # 'ف'
|
| 2313 |
+
226: 16, # 'ق'
|
| 2314 |
+
227: 17, # 'ك'
|
| 2315 |
+
228: 2, # 'ل'
|
| 2316 |
+
229: 4, # 'م'
|
| 2317 |
+
230: 6, # 'ن'
|
| 2318 |
+
231: 15, # 'ه'
|
| 2319 |
+
232: 5, # 'و'
|
| 2320 |
+
233: 25, # 'ى'
|
| 2321 |
+
234: 3, # 'ي'
|
| 2322 |
+
235: 253, # 'ً'
|
| 2323 |
+
236: 253, # 'ٌ'
|
| 2324 |
+
237: 253, # 'ٍ'
|
| 2325 |
+
238: 253, # 'َ'
|
| 2326 |
+
239: 253, # 'ُ'
|
| 2327 |
+
240: 253, # 'ِ'
|
| 2328 |
+
241: 253, # 'ّ'
|
| 2329 |
+
242: 253, # 'ْ'
|
| 2330 |
+
243: 255, # None
|
| 2331 |
+
244: 255, # None
|
| 2332 |
+
245: 255, # None
|
| 2333 |
+
246: 255, # None
|
| 2334 |
+
247: 255, # None
|
| 2335 |
+
248: 255, # None
|
| 2336 |
+
249: 255, # None
|
| 2337 |
+
250: 255, # None
|
| 2338 |
+
251: 255, # None
|
| 2339 |
+
252: 255, # None
|
| 2340 |
+
253: 255, # None
|
| 2341 |
+
254: 255, # None
|
| 2342 |
+
255: 255, # None
|
| 2343 |
+
}
|
| 2344 |
+
|
| 2345 |
+
ISO_8859_6_ARABIC_MODEL = SingleByteCharSetModel(
|
| 2346 |
+
charset_name="ISO-8859-6",
|
| 2347 |
+
language="Arabic",
|
| 2348 |
+
char_to_order_map=ISO_8859_6_ARABIC_CHAR_TO_ORDER,
|
| 2349 |
+
language_model=ARABIC_LANG_MODEL,
|
| 2350 |
+
typical_positive_ratio=1.0,
|
| 2351 |
+
keep_ascii_letters=False,
|
| 2352 |
+
alphabet="ءآأؤإئابةتثجحخدذرزسشصضطظعغػؼؽؾؿـفقكلمنهوىيًٌٍَُِّ",
|
| 2353 |
+
)
|
| 2354 |
+
|
| 2355 |
+
WINDOWS_1256_ARABIC_CHAR_TO_ORDER = {
|
| 2356 |
+
0: 251, # '\x00'
|
| 2357 |
+
1: 251, # '\x01'
|
| 2358 |
+
2: 251, # '\x02'
|
| 2359 |
+
3: 251, # '\x03'
|
| 2360 |
+
4: 251, # '\x04'
|
| 2361 |
+
5: 251, # '\x05'
|
| 2362 |
+
6: 251, # '\x06'
|
| 2363 |
+
7: 251, # '\x07'
|
| 2364 |
+
8: 251, # '\x08'
|
| 2365 |
+
9: 251, # '\t'
|
| 2366 |
+
10: 254, # '\n'
|
| 2367 |
+
11: 251, # '\x0b'
|
| 2368 |
+
12: 251, # '\x0c'
|
| 2369 |
+
13: 254, # '\r'
|
| 2370 |
+
14: 251, # '\x0e'
|
| 2371 |
+
15: 251, # '\x0f'
|
| 2372 |
+
16: 251, # '\x10'
|
| 2373 |
+
17: 251, # '\x11'
|
| 2374 |
+
18: 251, # '\x12'
|
| 2375 |
+
19: 251, # '\x13'
|
| 2376 |
+
20: 251, # '\x14'
|
| 2377 |
+
21: 251, # '\x15'
|
| 2378 |
+
22: 251, # '\x16'
|
| 2379 |
+
23: 251, # '\x17'
|
| 2380 |
+
24: 251, # '\x18'
|
| 2381 |
+
25: 251, # '\x19'
|
| 2382 |
+
26: 251, # '\x1a'
|
| 2383 |
+
27: 251, # '\x1b'
|
| 2384 |
+
28: 251, # '\x1c'
|
| 2385 |
+
29: 251, # '\x1d'
|
| 2386 |
+
30: 251, # '\x1e'
|
| 2387 |
+
31: 251, # '\x1f'
|
| 2388 |
+
32: 251, # ' '
|
| 2389 |
+
33: 253, # '!'
|
| 2390 |
+
34: 253, # '"'
|
| 2391 |
+
35: 253, # '#'
|
| 2392 |
+
36: 253, # '$'
|
| 2393 |
+
37: 253, # '%'
|
| 2394 |
+
38: 253, # '&'
|
| 2395 |
+
39: 253, # "'"
|
| 2396 |
+
40: 253, # '('
|
| 2397 |
+
41: 253, # ')'
|
| 2398 |
+
42: 253, # '*'
|
| 2399 |
+
43: 253, # '+'
|
| 2400 |
+
44: 253, # ','
|
| 2401 |
+
45: 253, # '-'
|
| 2402 |
+
46: 253, # '.'
|
| 2403 |
+
47: 253, # '/'
|
| 2404 |
+
48: 252, # '0'
|
| 2405 |
+
49: 252, # '1'
|
| 2406 |
+
50: 252, # '2'
|
| 2407 |
+
51: 252, # '3'
|
| 2408 |
+
52: 252, # '4'
|
| 2409 |
+
53: 252, # '5'
|
| 2410 |
+
54: 252, # '6'
|
| 2411 |
+
55: 252, # '7'
|
| 2412 |
+
56: 252, # '8'
|
| 2413 |
+
57: 252, # '9'
|
| 2414 |
+
58: 253, # ':'
|
| 2415 |
+
59: 253, # ';'
|
| 2416 |
+
60: 253, # '<'
|
| 2417 |
+
61: 253, # '='
|
| 2418 |
+
62: 253, # '>'
|
| 2419 |
+
63: 253, # '?'
|
| 2420 |
+
64: 253, # '@'
|
| 2421 |
+
65: 255, # 'A'
|
| 2422 |
+
66: 255, # 'B'
|
| 2423 |
+
67: 255, # 'C'
|
| 2424 |
+
68: 255, # 'D'
|
| 2425 |
+
69: 255, # 'E'
|
| 2426 |
+
70: 255, # 'F'
|
| 2427 |
+
71: 255, # 'G'
|
| 2428 |
+
72: 255, # 'H'
|
| 2429 |
+
73: 255, # 'I'
|
| 2430 |
+
74: 255, # 'J'
|
| 2431 |
+
75: 255, # 'K'
|
| 2432 |
+
76: 255, # 'L'
|
| 2433 |
+
77: 255, # 'M'
|
| 2434 |
+
78: 255, # 'N'
|
| 2435 |
+
79: 255, # 'O'
|
| 2436 |
+
80: 255, # 'P'
|
| 2437 |
+
81: 255, # 'Q'
|
| 2438 |
+
82: 255, # 'R'
|
| 2439 |
+
83: 255, # 'S'
|
| 2440 |
+
84: 255, # 'T'
|
| 2441 |
+
85: 255, # 'U'
|
| 2442 |
+
86: 255, # 'V'
|
| 2443 |
+
87: 255, # 'W'
|
| 2444 |
+
88: 255, # 'X'
|
| 2445 |
+
89: 255, # 'Y'
|
| 2446 |
+
90: 255, # 'Z'
|
| 2447 |
+
91: 253, # '['
|
| 2448 |
+
92: 253, # '\\'
|
| 2449 |
+
93: 253, # ']'
|
| 2450 |
+
94: 253, # '^'
|
| 2451 |
+
95: 253, # '_'
|
| 2452 |
+
96: 253, # '`'
|
| 2453 |
+
97: 255, # 'a'
|
| 2454 |
+
98: 255, # 'b'
|
| 2455 |
+
99: 255, # 'c'
|
| 2456 |
+
100: 255, # 'd'
|
| 2457 |
+
101: 255, # 'e'
|
| 2458 |
+
102: 255, # 'f'
|
| 2459 |
+
103: 255, # 'g'
|
| 2460 |
+
104: 255, # 'h'
|
| 2461 |
+
105: 255, # 'i'
|
| 2462 |
+
106: 255, # 'j'
|
| 2463 |
+
107: 255, # 'k'
|
| 2464 |
+
108: 255, # 'l'
|
| 2465 |
+
109: 255, # 'm'
|
| 2466 |
+
110: 255, # 'n'
|
| 2467 |
+
111: 255, # 'o'
|
| 2468 |
+
112: 255, # 'p'
|
| 2469 |
+
113: 255, # 'q'
|
| 2470 |
+
114: 255, # 'r'
|
| 2471 |
+
115: 255, # 's'
|
| 2472 |
+
116: 255, # 't'
|
| 2473 |
+
117: 255, # 'u'
|
| 2474 |
+
118: 255, # 'v'
|
| 2475 |
+
119: 255, # 'w'
|
| 2476 |
+
120: 255, # 'x'
|
| 2477 |
+
121: 255, # 'y'
|
| 2478 |
+
122: 255, # 'z'
|
| 2479 |
+
123: 253, # '{'
|
| 2480 |
+
124: 253, # '|'
|
| 2481 |
+
125: 253, # '}'
|
| 2482 |
+
126: 253, # '~'
|
| 2483 |
+
127: 251, # '\x7f'
|
| 2484 |
+
128: 253, # '€'
|
| 2485 |
+
129: 255, # 'پ'
|
| 2486 |
+
130: 253, # '‚'
|
| 2487 |
+
131: 255, # 'ƒ'
|
| 2488 |
+
132: 253, # '„'
|
| 2489 |
+
133: 253, # '…'
|
| 2490 |
+
134: 253, # '†'
|
| 2491 |
+
135: 253, # '‡'
|
| 2492 |
+
136: 255, # 'ˆ'
|
| 2493 |
+
137: 253, # '‰'
|
| 2494 |
+
138: 255, # 'ٹ'
|
| 2495 |
+
139: 253, # '‹'
|
| 2496 |
+
140: 255, # 'Œ'
|
| 2497 |
+
141: 255, # 'چ'
|
| 2498 |
+
142: 255, # 'ژ'
|
| 2499 |
+
143: 255, # 'ڈ'
|
| 2500 |
+
144: 255, # 'گ'
|
| 2501 |
+
145: 253, # '‘'
|
| 2502 |
+
146: 253, # '’'
|
| 2503 |
+
147: 253, # '“'
|
| 2504 |
+
148: 253, # '”'
|
| 2505 |
+
149: 253, # '•'
|
| 2506 |
+
150: 253, # '–'
|
| 2507 |
+
151: 253, # '—'
|
| 2508 |
+
152: 255, # 'ک'
|
| 2509 |
+
153: 253, # '™'
|
| 2510 |
+
154: 255, # 'ڑ'
|
| 2511 |
+
155: 253, # '›'
|
| 2512 |
+
156: 255, # 'œ'
|
| 2513 |
+
157: 251, # '\u200c'
|
| 2514 |
+
158: 251, # '\u200d'
|
| 2515 |
+
159: 255, # 'ں'
|
| 2516 |
+
160: 251, # '\xa0'
|
| 2517 |
+
161: 253, # '،'
|
| 2518 |
+
162: 253, # '¢'
|
| 2519 |
+
163: 253, # '£'
|
| 2520 |
+
164: 253, # '¤'
|
| 2521 |
+
165: 253, # '¥'
|
| 2522 |
+
166: 253, # '¦'
|
| 2523 |
+
167: 253, # '§'
|
| 2524 |
+
168: 253, # '¨'
|
| 2525 |
+
169: 253, # '©'
|
| 2526 |
+
170: 255, # 'ھ'
|
| 2527 |
+
171: 253, # '«'
|
| 2528 |
+
172: 253, # '¬'
|
| 2529 |
+
173: 251, # '\xad'
|
| 2530 |
+
174: 253, # '®'
|
| 2531 |
+
175: 253, # '¯'
|
| 2532 |
+
176: 253, # '°'
|
| 2533 |
+
177: 253, # '±'
|
| 2534 |
+
178: 252, # '²'
|
| 2535 |
+
179: 252, # '³'
|
| 2536 |
+
180: 253, # '´'
|
| 2537 |
+
181: 255, # 'µ'
|
| 2538 |
+
182: 253, # '¶'
|
| 2539 |
+
183: 253, # '·'
|
| 2540 |
+
184: 253, # '¸'
|
| 2541 |
+
185: 252, # '¹'
|
| 2542 |
+
186: 253, # '؛'
|
| 2543 |
+
187: 253, # '»'
|
| 2544 |
+
188: 252, # '¼'
|
| 2545 |
+
189: 252, # '½'
|
| 2546 |
+
190: 252, # '¾'
|
| 2547 |
+
191: 253, # '؟'
|
| 2548 |
+
192: 255, # 'ہ'
|
| 2549 |
+
193: 34, # 'ء'
|
| 2550 |
+
194: 40, # 'آ'
|
| 2551 |
+
195: 18, # 'أ'
|
| 2552 |
+
196: 41, # 'ؤ'
|
| 2553 |
+
197: 24, # 'إ'
|
| 2554 |
+
198: 32, # 'ئ'
|
| 2555 |
+
199: 1, # 'ا'
|
| 2556 |
+
200: 9, # 'ب'
|
| 2557 |
+
201: 10, # 'ة'
|
| 2558 |
+
202: 8, # 'ت'
|
| 2559 |
+
203: 28, # 'ث'
|
| 2560 |
+
204: 20, # 'ج'
|
| 2561 |
+
205: 19, # 'ح'
|
| 2562 |
+
206: 26, # 'خ'
|
| 2563 |
+
207: 12, # 'د'
|
| 2564 |
+
208: 30, # 'ذ'
|
| 2565 |
+
209: 7, # 'ر'
|
| 2566 |
+
210: 27, # 'ز'
|
| 2567 |
+
211: 13, # 'س'
|
| 2568 |
+
212: 21, # 'ش'
|
| 2569 |
+
213: 23, # 'ص'
|
| 2570 |
+
214: 29, # 'ض'
|
| 2571 |
+
215: 253, # '×'
|
| 2572 |
+
216: 22, # 'ط'
|
| 2573 |
+
217: 38, # 'ظ'
|
| 2574 |
+
218: 11, # 'ع'
|
| 2575 |
+
219: 31, # 'غ'
|
| 2576 |
+
220: 42, # 'ـ'
|
| 2577 |
+
221: 14, # 'ف'
|
| 2578 |
+
222: 16, # 'ق'
|
| 2579 |
+
223: 17, # 'ك'
|
| 2580 |
+
224: 255, # 'à'
|
| 2581 |
+
225: 2, # 'ل'
|
| 2582 |
+
226: 255, # 'â'
|
| 2583 |
+
227: 4, # 'م'
|
| 2584 |
+
228: 6, # 'ن'
|
| 2585 |
+
229: 15, # 'ه'
|
| 2586 |
+
230: 5, # 'و'
|
| 2587 |
+
231: 255, # 'ç'
|
| 2588 |
+
232: 255, # 'è'
|
| 2589 |
+
233: 255, # 'é'
|
| 2590 |
+
234: 255, # 'ê'
|
| 2591 |
+
235: 255, # 'ë'
|
| 2592 |
+
236: 25, # 'ى'
|
| 2593 |
+
237: 3, # 'ي'
|
| 2594 |
+
238: 255, # 'î'
|
| 2595 |
+
239: 255, # 'ï'
|
| 2596 |
+
240: 253, # 'ً'
|
| 2597 |
+
241: 253, # 'ٌ'
|
| 2598 |
+
242: 253, # 'ٍ'
|
| 2599 |
+
243: 253, # 'َ'
|
| 2600 |
+
244: 255, # 'ô'
|
| 2601 |
+
245: 253, # 'ُ'
|
| 2602 |
+
246: 253, # 'ِ'
|
| 2603 |
+
247: 253, # '÷'
|
| 2604 |
+
248: 253, # 'ّ'
|
| 2605 |
+
249: 255, # 'ù'
|
| 2606 |
+
250: 253, # 'ْ'
|
| 2607 |
+
251: 255, # 'û'
|
| 2608 |
+
252: 255, # 'ü'
|
| 2609 |
+
253: 251, # '\u200e'
|
| 2610 |
+
254: 251, # '\u200f'
|
| 2611 |
+
255: 255, # 'ے'
|
| 2612 |
+
}
|
| 2613 |
+
|
| 2614 |
+
WINDOWS_1256_ARABIC_MODEL = SingleByteCharSetModel(
|
| 2615 |
+
charset_name="WINDOWS-1256",
|
| 2616 |
+
language="Arabic",
|
| 2617 |
+
char_to_order_map=WINDOWS_1256_ARABIC_CHAR_TO_ORDER,
|
| 2618 |
+
language_model=ARABIC_LANG_MODEL,
|
| 2619 |
+
typical_positive_ratio=1.0,
|
| 2620 |
+
keep_ascii_letters=False,
|
| 2621 |
+
alphabet="ءآأؤإئابةتثجحخدذرزسشصضطظعغػؼؽؾؿـفقكلمنهوىيًٌٍَُِّ",
|
| 2622 |
+
)
|
| 2623 |
+
|
| 2624 |
+
CP720_ARABIC_CHAR_TO_ORDER = {
|
| 2625 |
+
0: 251, # '\x00'
|
| 2626 |
+
1: 251, # '\x01'
|
| 2627 |
+
2: 251, # '\x02'
|
| 2628 |
+
3: 251, # '\x03'
|
| 2629 |
+
4: 251, # '\x04'
|
| 2630 |
+
5: 251, # '\x05'
|
| 2631 |
+
6: 251, # '\x06'
|
| 2632 |
+
7: 251, # '\x07'
|
| 2633 |
+
8: 251, # '\x08'
|
| 2634 |
+
9: 251, # '\t'
|
| 2635 |
+
10: 254, # '\n'
|
| 2636 |
+
11: 251, # '\x0b'
|
| 2637 |
+
12: 251, # '\x0c'
|
| 2638 |
+
13: 254, # '\r'
|
| 2639 |
+
14: 251, # '\x0e'
|
| 2640 |
+
15: 251, # '\x0f'
|
| 2641 |
+
16: 251, # '\x10'
|
| 2642 |
+
17: 251, # '\x11'
|
| 2643 |
+
18: 251, # '\x12'
|
| 2644 |
+
19: 251, # '\x13'
|
| 2645 |
+
20: 251, # '\x14'
|
| 2646 |
+
21: 251, # '\x15'
|
| 2647 |
+
22: 251, # '\x16'
|
| 2648 |
+
23: 251, # '\x17'
|
| 2649 |
+
24: 251, # '\x18'
|
| 2650 |
+
25: 251, # '\x19'
|
| 2651 |
+
26: 251, # '\x1a'
|
| 2652 |
+
27: 251, # '\x1b'
|
| 2653 |
+
28: 251, # '\x1c'
|
| 2654 |
+
29: 251, # '\x1d'
|
| 2655 |
+
30: 251, # '\x1e'
|
| 2656 |
+
31: 251, # '\x1f'
|
| 2657 |
+
32: 251, # ' '
|
| 2658 |
+
33: 253, # '!'
|
| 2659 |
+
34: 253, # '"'
|
| 2660 |
+
35: 253, # '#'
|
| 2661 |
+
36: 253, # '$'
|
| 2662 |
+
37: 253, # '%'
|
| 2663 |
+
38: 253, # '&'
|
| 2664 |
+
39: 253, # "'"
|
| 2665 |
+
40: 253, # '('
|
| 2666 |
+
41: 253, # ')'
|
| 2667 |
+
42: 253, # '*'
|
| 2668 |
+
43: 253, # '+'
|
| 2669 |
+
44: 253, # ','
|
| 2670 |
+
45: 253, # '-'
|
| 2671 |
+
46: 253, # '.'
|
| 2672 |
+
47: 253, # '/'
|
| 2673 |
+
48: 252, # '0'
|
| 2674 |
+
49: 252, # '1'
|
| 2675 |
+
50: 252, # '2'
|
| 2676 |
+
51: 252, # '3'
|
| 2677 |
+
52: 252, # '4'
|
| 2678 |
+
53: 252, # '5'
|
| 2679 |
+
54: 252, # '6'
|
| 2680 |
+
55: 252, # '7'
|
| 2681 |
+
56: 252, # '8'
|
| 2682 |
+
57: 252, # '9'
|
| 2683 |
+
58: 253, # ':'
|
| 2684 |
+
59: 253, # ';'
|
| 2685 |
+
60: 253, # '<'
|
| 2686 |
+
61: 253, # '='
|
| 2687 |
+
62: 253, # '>'
|
| 2688 |
+
63: 253, # '?'
|
| 2689 |
+
64: 253, # '@'
|
| 2690 |
+
65: 255, # 'A'
|
| 2691 |
+
66: 255, # 'B'
|
| 2692 |
+
67: 255, # 'C'
|
| 2693 |
+
68: 255, # 'D'
|
| 2694 |
+
69: 255, # 'E'
|
| 2695 |
+
70: 255, # 'F'
|
| 2696 |
+
71: 255, # 'G'
|
| 2697 |
+
72: 255, # 'H'
|
| 2698 |
+
73: 255, # 'I'
|
| 2699 |
+
74: 255, # 'J'
|
| 2700 |
+
75: 255, # 'K'
|
| 2701 |
+
76: 255, # 'L'
|
| 2702 |
+
77: 255, # 'M'
|
| 2703 |
+
78: 255, # 'N'
|
| 2704 |
+
79: 255, # 'O'
|
| 2705 |
+
80: 255, # 'P'
|
| 2706 |
+
81: 255, # 'Q'
|
| 2707 |
+
82: 255, # 'R'
|
| 2708 |
+
83: 255, # 'S'
|
| 2709 |
+
84: 255, # 'T'
|
| 2710 |
+
85: 255, # 'U'
|
| 2711 |
+
86: 255, # 'V'
|
| 2712 |
+
87: 255, # 'W'
|
| 2713 |
+
88: 255, # 'X'
|
| 2714 |
+
89: 255, # 'Y'
|
| 2715 |
+
90: 255, # 'Z'
|
| 2716 |
+
91: 253, # '['
|
| 2717 |
+
92: 253, # '\\'
|
| 2718 |
+
93: 253, # ']'
|
| 2719 |
+
94: 253, # '^'
|
| 2720 |
+
95: 253, # '_'
|
| 2721 |
+
96: 253, # '`'
|
| 2722 |
+
97: 255, # 'a'
|
| 2723 |
+
98: 255, # 'b'
|
| 2724 |
+
99: 255, # 'c'
|
| 2725 |
+
100: 255, # 'd'
|
| 2726 |
+
101: 255, # 'e'
|
| 2727 |
+
102: 255, # 'f'
|
| 2728 |
+
103: 255, # 'g'
|
| 2729 |
+
104: 255, # 'h'
|
| 2730 |
+
105: 255, # 'i'
|
| 2731 |
+
106: 255, # 'j'
|
| 2732 |
+
107: 255, # 'k'
|
| 2733 |
+
108: 255, # 'l'
|
| 2734 |
+
109: 255, # 'm'
|
| 2735 |
+
110: 255, # 'n'
|
| 2736 |
+
111: 255, # 'o'
|
| 2737 |
+
112: 255, # 'p'
|
| 2738 |
+
113: 255, # 'q'
|
| 2739 |
+
114: 255, # 'r'
|
| 2740 |
+
115: 255, # 's'
|
| 2741 |
+
116: 255, # 't'
|
| 2742 |
+
117: 255, # 'u'
|
| 2743 |
+
118: 255, # 'v'
|
| 2744 |
+
119: 255, # 'w'
|
| 2745 |
+
120: 255, # 'x'
|
| 2746 |
+
121: 255, # 'y'
|
| 2747 |
+
122: 255, # 'z'
|
| 2748 |
+
123: 253, # '{'
|
| 2749 |
+
124: 253, # '|'
|
| 2750 |
+
125: 253, # '}'
|
| 2751 |
+
126: 253, # '~'
|
| 2752 |
+
127: 251, # '\x7f'
|
| 2753 |
+
128: 251, # '\x80'
|
| 2754 |
+
129: 251, # '\x81'
|
| 2755 |
+
130: 255, # 'é'
|
| 2756 |
+
131: 255, # 'â'
|
| 2757 |
+
132: 251, # '\x84'
|
| 2758 |
+
133: 255, # 'à'
|
| 2759 |
+
134: 251, # '\x86'
|
| 2760 |
+
135: 255, # 'ç'
|
| 2761 |
+
136: 255, # 'ê'
|
| 2762 |
+
137: 255, # 'ë'
|
| 2763 |
+
138: 255, # 'è'
|
| 2764 |
+
139: 255, # 'ï'
|
| 2765 |
+
140: 255, # 'î'
|
| 2766 |
+
141: 251, # '\x8d'
|
| 2767 |
+
142: 251, # '\x8e'
|
| 2768 |
+
143: 251, # '\x8f'
|
| 2769 |
+
144: 251, # '\x90'
|
| 2770 |
+
145: 253, # 'ّ'
|
| 2771 |
+
146: 253, # 'ْ'
|
| 2772 |
+
147: 255, # 'ô'
|
| 2773 |
+
148: 253, # '¤'
|
| 2774 |
+
149: 42, # 'ـ'
|
| 2775 |
+
150: 255, # 'û'
|
| 2776 |
+
151: 255, # 'ù'
|
| 2777 |
+
152: 34, # 'ء'
|
| 2778 |
+
153: 40, # 'آ'
|
| 2779 |
+
154: 18, # 'أ'
|
| 2780 |
+
155: 41, # 'ؤ'
|
| 2781 |
+
156: 253, # '£'
|
| 2782 |
+
157: 24, # 'إ'
|
| 2783 |
+
158: 32, # 'ئ'
|
| 2784 |
+
159: 1, # 'ا'
|
| 2785 |
+
160: 9, # 'ب'
|
| 2786 |
+
161: 10, # 'ة'
|
| 2787 |
+
162: 8, # 'ت'
|
| 2788 |
+
163: 28, # 'ث'
|
| 2789 |
+
164: 20, # 'ج'
|
| 2790 |
+
165: 19, # 'ح'
|
| 2791 |
+
166: 26, # 'خ'
|
| 2792 |
+
167: 12, # 'د'
|
| 2793 |
+
168: 30, # 'ذ'
|
| 2794 |
+
169: 7, # 'ر'
|
| 2795 |
+
170: 27, # 'ز'
|
| 2796 |
+
171: 13, # 'س'
|
| 2797 |
+
172: 21, # 'ش'
|
| 2798 |
+
173: 23, # 'ص'
|
| 2799 |
+
174: 253, # '«'
|
| 2800 |
+
175: 253, # '»'
|
| 2801 |
+
176: 253, # '░'
|
| 2802 |
+
177: 253, # '▒'
|
| 2803 |
+
178: 253, # '▓'
|
| 2804 |
+
179: 253, # '│'
|
| 2805 |
+
180: 253, # '┤'
|
| 2806 |
+
181: 253, # '╡'
|
| 2807 |
+
182: 253, # '╢'
|
| 2808 |
+
183: 253, # '╖'
|
| 2809 |
+
184: 253, # '╕'
|
| 2810 |
+
185: 253, # '╣'
|
| 2811 |
+
186: 253, # '║'
|
| 2812 |
+
187: 253, # '╗'
|
| 2813 |
+
188: 253, # '╝'
|
| 2814 |
+
189: 253, # '╜'
|
| 2815 |
+
190: 253, # '╛'
|
| 2816 |
+
191: 253, # '┐'
|
| 2817 |
+
192: 253, # '└'
|
| 2818 |
+
193: 253, # '┴'
|
| 2819 |
+
194: 253, # '┬'
|
| 2820 |
+
195: 253, # '├'
|
| 2821 |
+
196: 253, # '─'
|
| 2822 |
+
197: 253, # '┼'
|
| 2823 |
+
198: 253, # '╞'
|
| 2824 |
+
199: 253, # '╟'
|
| 2825 |
+
200: 253, # '╚'
|
| 2826 |
+
201: 253, # '╔'
|
| 2827 |
+
202: 253, # '╩'
|
| 2828 |
+
203: 253, # '╦'
|
| 2829 |
+
204: 253, # '╠'
|
| 2830 |
+
205: 253, # '═'
|
| 2831 |
+
206: 253, # '╬'
|
| 2832 |
+
207: 253, # '╧'
|
| 2833 |
+
208: 253, # '╨'
|
| 2834 |
+
209: 253, # '╤'
|
| 2835 |
+
210: 253, # '╥'
|
| 2836 |
+
211: 253, # '╙'
|
| 2837 |
+
212: 253, # '╘'
|
| 2838 |
+
213: 253, # '╒'
|
| 2839 |
+
214: 253, # '╓'
|
| 2840 |
+
215: 253, # '╫'
|
| 2841 |
+
216: 253, # '╪'
|
| 2842 |
+
217: 253, # '┘'
|
| 2843 |
+
218: 253, # '┌'
|
| 2844 |
+
219: 253, # '█'
|
| 2845 |
+
220: 253, # '▄'
|
| 2846 |
+
221: 253, # '▌'
|
| 2847 |
+
222: 253, # '▐'
|
| 2848 |
+
223: 253, # '▀'
|
| 2849 |
+
224: 29, # 'ض'
|
| 2850 |
+
225: 22, # 'ط'
|
| 2851 |
+
226: 38, # 'ظ'
|
| 2852 |
+
227: 11, # 'ع'
|
| 2853 |
+
228: 31, # 'غ'
|
| 2854 |
+
229: 14, # 'ف'
|
| 2855 |
+
230: 255, # 'µ'
|
| 2856 |
+
231: 16, # 'ق'
|
| 2857 |
+
232: 17, # 'ك'
|
| 2858 |
+
233: 2, # 'ل'
|
| 2859 |
+
234: 4, # 'م'
|
| 2860 |
+
235: 6, # 'ن'
|
| 2861 |
+
236: 15, # 'ه'
|
| 2862 |
+
237: 5, # 'و'
|
| 2863 |
+
238: 25, # 'ى'
|
| 2864 |
+
239: 3, # 'ي'
|
| 2865 |
+
240: 253, # '≡'
|
| 2866 |
+
241: 253, # 'ً'
|
| 2867 |
+
242: 253, # 'ٌ'
|
| 2868 |
+
243: 253, # 'ٍ'
|
| 2869 |
+
244: 253, # 'َ'
|
| 2870 |
+
245: 253, # 'ُ'
|
| 2871 |
+
246: 253, # 'ِ'
|
| 2872 |
+
247: 253, # '≈'
|
| 2873 |
+
248: 253, # '°'
|
| 2874 |
+
249: 253, # '∙'
|
| 2875 |
+
250: 253, # '·'
|
| 2876 |
+
251: 253, # '√'
|
| 2877 |
+
252: 255, # 'ⁿ'
|
| 2878 |
+
253: 252, # '²'
|
| 2879 |
+
254: 253, # '■'
|
| 2880 |
+
255: 251, # '\xa0'
|
| 2881 |
+
}
|
| 2882 |
+
|
| 2883 |
+
CP720_ARABIC_MODEL = SingleByteCharSetModel(
|
| 2884 |
+
charset_name="CP720",
|
| 2885 |
+
language="Arabic",
|
| 2886 |
+
char_to_order_map=CP720_ARABIC_CHAR_TO_ORDER,
|
| 2887 |
+
language_model=ARABIC_LANG_MODEL,
|
| 2888 |
+
typical_positive_ratio=1.0,
|
| 2889 |
+
keep_ascii_letters=False,
|
| 2890 |
+
alphabet="ءآأؤإئابةتثجحخدذرزسشصضطظعغػؼؽؾؿـفقكلمنهوىيًٌٍَُِّ",
|
| 2891 |
+
)
|
| 2892 |
+
|
| 2893 |
+
CP864_ARABIC_CHAR_TO_ORDER = {
|
| 2894 |
+
0: 251, # '\x00'
|
| 2895 |
+
1: 251, # '\x01'
|
| 2896 |
+
2: 251, # '\x02'
|
| 2897 |
+
3: 251, # '\x03'
|
| 2898 |
+
4: 251, # '\x04'
|
| 2899 |
+
5: 251, # '\x05'
|
| 2900 |
+
6: 251, # '\x06'
|
| 2901 |
+
7: 251, # '\x07'
|
| 2902 |
+
8: 251, # '\x08'
|
| 2903 |
+
9: 251, # '\t'
|
| 2904 |
+
10: 254, # '\n'
|
| 2905 |
+
11: 251, # '\x0b'
|
| 2906 |
+
12: 251, # '\x0c'
|
| 2907 |
+
13: 254, # '\r'
|
| 2908 |
+
14: 251, # '\x0e'
|
| 2909 |
+
15: 251, # '\x0f'
|
| 2910 |
+
16: 251, # '\x10'
|
| 2911 |
+
17: 251, # '\x11'
|
| 2912 |
+
18: 251, # '\x12'
|
| 2913 |
+
19: 251, # '\x13'
|
| 2914 |
+
20: 251, # '\x14'
|
| 2915 |
+
21: 251, # '\x15'
|
| 2916 |
+
22: 251, # '\x16'
|
| 2917 |
+
23: 251, # '\x17'
|
| 2918 |
+
24: 251, # '\x18'
|
| 2919 |
+
25: 251, # '\x19'
|
| 2920 |
+
26: 251, # '\x1a'
|
| 2921 |
+
27: 251, # '\x1b'
|
| 2922 |
+
28: 251, # '\x1c'
|
| 2923 |
+
29: 251, # '\x1d'
|
| 2924 |
+
30: 251, # '\x1e'
|
| 2925 |
+
31: 251, # '\x1f'
|
| 2926 |
+
32: 251, # ' '
|
| 2927 |
+
33: 253, # '!'
|
| 2928 |
+
34: 253, # '"'
|
| 2929 |
+
35: 253, # '#'
|
| 2930 |
+
36: 253, # '$'
|
| 2931 |
+
37: 253, # '٪'
|
| 2932 |
+
38: 253, # '&'
|
| 2933 |
+
39: 253, # "'"
|
| 2934 |
+
40: 253, # '('
|
| 2935 |
+
41: 253, # ')'
|
| 2936 |
+
42: 253, # '*'
|
| 2937 |
+
43: 253, # '+'
|
| 2938 |
+
44: 253, # ','
|
| 2939 |
+
45: 253, # '-'
|
| 2940 |
+
46: 253, # '.'
|
| 2941 |
+
47: 253, # '/'
|
| 2942 |
+
48: 252, # '0'
|
| 2943 |
+
49: 252, # '1'
|
| 2944 |
+
50: 252, # '2'
|
| 2945 |
+
51: 252, # '3'
|
| 2946 |
+
52: 252, # '4'
|
| 2947 |
+
53: 252, # '5'
|
| 2948 |
+
54: 252, # '6'
|
| 2949 |
+
55: 252, # '7'
|
| 2950 |
+
56: 252, # '8'
|
| 2951 |
+
57: 252, # '9'
|
| 2952 |
+
58: 253, # ':'
|
| 2953 |
+
59: 253, # ';'
|
| 2954 |
+
60: 253, # '<'
|
| 2955 |
+
61: 253, # '='
|
| 2956 |
+
62: 253, # '>'
|
| 2957 |
+
63: 253, # '?'
|
| 2958 |
+
64: 253, # '@'
|
| 2959 |
+
65: 255, # 'A'
|
| 2960 |
+
66: 255, # 'B'
|
| 2961 |
+
67: 255, # 'C'
|
| 2962 |
+
68: 255, # 'D'
|
| 2963 |
+
69: 255, # 'E'
|
| 2964 |
+
70: 255, # 'F'
|
| 2965 |
+
71: 255, # 'G'
|
| 2966 |
+
72: 255, # 'H'
|
| 2967 |
+
73: 255, # 'I'
|
| 2968 |
+
74: 255, # 'J'
|
| 2969 |
+
75: 255, # 'K'
|
| 2970 |
+
76: 255, # 'L'
|
| 2971 |
+
77: 255, # 'M'
|
| 2972 |
+
78: 255, # 'N'
|
| 2973 |
+
79: 255, # 'O'
|
| 2974 |
+
80: 255, # 'P'
|
| 2975 |
+
81: 255, # 'Q'
|
| 2976 |
+
82: 255, # 'R'
|
| 2977 |
+
83: 255, # 'S'
|
| 2978 |
+
84: 255, # 'T'
|
| 2979 |
+
85: 255, # 'U'
|
| 2980 |
+
86: 255, # 'V'
|
| 2981 |
+
87: 255, # 'W'
|
| 2982 |
+
88: 255, # 'X'
|
| 2983 |
+
89: 255, # 'Y'
|
| 2984 |
+
90: 255, # 'Z'
|
| 2985 |
+
91: 253, # '['
|
| 2986 |
+
92: 253, # '\\'
|
| 2987 |
+
93: 253, # ']'
|
| 2988 |
+
94: 253, # '^'
|
| 2989 |
+
95: 253, # '_'
|
| 2990 |
+
96: 253, # '`'
|
| 2991 |
+
97: 255, # 'a'
|
| 2992 |
+
98: 255, # 'b'
|
| 2993 |
+
99: 255, # 'c'
|
| 2994 |
+
100: 255, # 'd'
|
| 2995 |
+
101: 255, # 'e'
|
| 2996 |
+
102: 255, # 'f'
|
| 2997 |
+
103: 255, # 'g'
|
| 2998 |
+
104: 255, # 'h'
|
| 2999 |
+
105: 255, # 'i'
|
| 3000 |
+
106: 255, # 'j'
|
| 3001 |
+
107: 255, # 'k'
|
| 3002 |
+
108: 255, # 'l'
|
| 3003 |
+
109: 255, # 'm'
|
| 3004 |
+
110: 255, # 'n'
|
| 3005 |
+
111: 255, # 'o'
|
| 3006 |
+
112: 255, # 'p'
|
| 3007 |
+
113: 255, # 'q'
|
| 3008 |
+
114: 255, # 'r'
|
| 3009 |
+
115: 255, # 's'
|
| 3010 |
+
116: 255, # 't'
|
| 3011 |
+
117: 255, # 'u'
|
| 3012 |
+
118: 255, # 'v'
|
| 3013 |
+
119: 255, # 'w'
|
| 3014 |
+
120: 255, # 'x'
|
| 3015 |
+
121: 255, # 'y'
|
| 3016 |
+
122: 255, # 'z'
|
| 3017 |
+
123: 253, # '{'
|
| 3018 |
+
124: 253, # '|'
|
| 3019 |
+
125: 253, # '}'
|
| 3020 |
+
126: 253, # '~'
|
| 3021 |
+
127: 251, # '\x7f'
|
| 3022 |
+
128: 253, # '°'
|
| 3023 |
+
129: 253, # '·'
|
| 3024 |
+
130: 253, # '∙'
|
| 3025 |
+
131: 253, # '√'
|
| 3026 |
+
132: 253, # '▒'
|
| 3027 |
+
133: 253, # '─'
|
| 3028 |
+
134: 253, # '│'
|
| 3029 |
+
135: 253, # '┼'
|
| 3030 |
+
136: 253, # '┤'
|
| 3031 |
+
137: 253, # '┬'
|
| 3032 |
+
138: 253, # '├'
|
| 3033 |
+
139: 253, # '┴'
|
| 3034 |
+
140: 253, # '┐'
|
| 3035 |
+
141: 253, # '┌'
|
| 3036 |
+
142: 253, # '└'
|
| 3037 |
+
143: 253, # '┘'
|
| 3038 |
+
144: 255, # 'β'
|
| 3039 |
+
145: 253, # '∞'
|
| 3040 |
+
146: 255, # 'φ'
|
| 3041 |
+
147: 253, # '±'
|
| 3042 |
+
148: 252, # '½'
|
| 3043 |
+
149: 252, # '¼'
|
| 3044 |
+
150: 253, # '≈'
|
| 3045 |
+
151: 253, # '«'
|
| 3046 |
+
152: 253, # '»'
|
| 3047 |
+
153: 255, # 'ﻷ'
|
| 3048 |
+
154: 255, # 'ﻸ'
|
| 3049 |
+
155: 255, # None
|
| 3050 |
+
156: 255, # None
|
| 3051 |
+
157: 255, # 'ﻻ'
|
| 3052 |
+
158: 255, # 'ﻼ'
|
| 3053 |
+
159: 255, # None
|
| 3054 |
+
160: 251, # '\xa0'
|
| 3055 |
+
161: 251, # '\xad'
|
| 3056 |
+
162: 255, # 'ﺂ'
|
| 3057 |
+
163: 253, # '£'
|
| 3058 |
+
164: 253, # '¤'
|
| 3059 |
+
165: 255, # 'ﺄ'
|
| 3060 |
+
166: 255, # None
|
| 3061 |
+
167: 255, # None
|
| 3062 |
+
168: 255, # 'ﺎ'
|
| 3063 |
+
169: 255, # 'ﺏ'
|
| 3064 |
+
170: 255, # 'ﺕ'
|
| 3065 |
+
171: 255, # 'ﺙ'
|
| 3066 |
+
172: 253, # '،'
|
| 3067 |
+
173: 255, # 'ﺝ'
|
| 3068 |
+
174: 255, # 'ﺡ'
|
| 3069 |
+
175: 255, # 'ﺥ'
|
| 3070 |
+
176: 252, # '٠'
|
| 3071 |
+
177: 252, # '١'
|
| 3072 |
+
178: 252, # '٢'
|
| 3073 |
+
179: 252, # '٣'
|
| 3074 |
+
180: 252, # '٤'
|
| 3075 |
+
181: 252, # '٥'
|
| 3076 |
+
182: 252, # '٦'
|
| 3077 |
+
183: 252, # '٧'
|
| 3078 |
+
184: 252, # '٨'
|
| 3079 |
+
185: 252, # '٩'
|
| 3080 |
+
186: 255, # 'ﻑ'
|
| 3081 |
+
187: 253, # '؛'
|
| 3082 |
+
188: 255, # 'ﺱ'
|
| 3083 |
+
189: 255, # 'ﺵ'
|
| 3084 |
+
190: 255, # 'ﺹ'
|
| 3085 |
+
191: 253, # '؟'
|
| 3086 |
+
192: 253, # '¢'
|
| 3087 |
+
193: 255, # 'ﺀ'
|
| 3088 |
+
194: 255, # 'ﺁ'
|
| 3089 |
+
195: 255, # 'ﺃ'
|
| 3090 |
+
196: 255, # 'ﺅ'
|
| 3091 |
+
197: 255, # 'ﻊ'
|
| 3092 |
+
198: 255, # 'ﺋ'
|
| 3093 |
+
199: 255, # 'ﺍ'
|
| 3094 |
+
200: 255, # 'ﺑ'
|
| 3095 |
+
201: 255, # 'ﺓ'
|
| 3096 |
+
202: 255, # 'ﺗ'
|
| 3097 |
+
203: 255, # 'ﺛ'
|
| 3098 |
+
204: 255, # 'ﺟ'
|
| 3099 |
+
205: 255, # 'ﺣ'
|
| 3100 |
+
206: 255, # 'ﺧ'
|
| 3101 |
+
207: 255, # 'ﺩ'
|
| 3102 |
+
208: 255, # 'ﺫ'
|
| 3103 |
+
209: 255, # 'ﺭ'
|
| 3104 |
+
210: 255, # 'ﺯ'
|
| 3105 |
+
211: 255, # 'ﺳ'
|
| 3106 |
+
212: 255, # 'ﺷ'
|
| 3107 |
+
213: 255, # 'ﺻ'
|
| 3108 |
+
214: 255, # 'ﺿ'
|
| 3109 |
+
215: 255, # 'ﻁ'
|
| 3110 |
+
216: 255, # 'ﻅ'
|
| 3111 |
+
217: 255, # 'ﻋ'
|
| 3112 |
+
218: 255, # 'ﻏ'
|
| 3113 |
+
219: 253, # '¦'
|
| 3114 |
+
220: 253, # '¬'
|
| 3115 |
+
221: 253, # '÷'
|
| 3116 |
+
222: 253, # '×'
|
| 3117 |
+
223: 255, # 'ﻉ'
|
| 3118 |
+
224: 42, # 'ـ'
|
| 3119 |
+
225: 255, # 'ﻓ'
|
| 3120 |
+
226: 255, # 'ﻗ'
|
| 3121 |
+
227: 255, # 'ﻛ'
|
| 3122 |
+
228: 255, # 'ﻟ'
|
| 3123 |
+
229: 255, # 'ﻣ'
|
| 3124 |
+
230: 255, # 'ﻧ'
|
| 3125 |
+
231: 255, # 'ﻫ'
|
| 3126 |
+
232: 255, # 'ﻭ'
|
| 3127 |
+
233: 255, # 'ﻯ'
|
| 3128 |
+
234: 255, # 'ﻳ'
|
| 3129 |
+
235: 255, # 'ﺽ'
|
| 3130 |
+
236: 255, # 'ﻌ'
|
| 3131 |
+
237: 255, # 'ﻎ'
|
| 3132 |
+
238: 255, # 'ﻍ'
|
| 3133 |
+
239: 255, # 'ﻡ'
|
| 3134 |
+
240: 255, # 'ﹽ'
|
| 3135 |
+
241: 253, # 'ّ'
|
| 3136 |
+
242: 255, # 'ﻥ'
|
| 3137 |
+
243: 255, # 'ﻩ'
|
| 3138 |
+
244: 255, # 'ﻬ'
|
| 3139 |
+
245: 255, # 'ﻰ'
|
| 3140 |
+
246: 255, # 'ﻲ'
|
| 3141 |
+
247: 255, # 'ﻐ'
|
| 3142 |
+
248: 255, # 'ﻕ'
|
| 3143 |
+
249: 255, # 'ﻵ'
|
| 3144 |
+
250: 255, # 'ﻶ'
|
| 3145 |
+
251: 255, # 'ﻝ'
|
| 3146 |
+
252: 255, # 'ﻙ'
|
| 3147 |
+
253: 255, # 'ﻱ'
|
| 3148 |
+
254: 253, # '■'
|
| 3149 |
+
255: 255, # None
|
| 3150 |
+
}
|
| 3151 |
+
|
| 3152 |
+
CP864_ARABIC_MODEL = SingleByteCharSetModel(
|
| 3153 |
+
charset_name="CP864",
|
| 3154 |
+
language="Arabic",
|
| 3155 |
+
char_to_order_map=CP864_ARABIC_CHAR_TO_ORDER,
|
| 3156 |
+
language_model=ARABIC_LANG_MODEL,
|
| 3157 |
+
typical_positive_ratio=1.0,
|
| 3158 |
+
keep_ascii_letters=False,
|
| 3159 |
+
alphabet="ءآأؤإئابةتثجحخدذرزسشصضطظعغػؼؽؾؿـفقكلمنهوىيًٌٍَُِّ",
|
| 3160 |
+
)
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langbelarusianmodel.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langbretonmodel.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langbulgarianmodel.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langcroatianmodel.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langdanishmodel.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langdutchmodel.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langenglishmodel.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langesperantomodel.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langestonianmodel.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langfarsimodel.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langfinnishmodel.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langfrenchmodel.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/tefig/envs/olmes-eval/lib/python3.10/site-packages/chardet/langgermanmodel.py
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|