https://github.com/ffreemt/dzbee
Align de-zh texts, fast
https://github.com/ffreemt/dzbee
aligner python
Last synced: 11 months ago
JSON representation
Align de-zh texts, fast
- Host: GitHub
- URL: https://github.com/ffreemt/dzbee
- Owner: ffreemt
- License: mit
- Created: 2022-05-14T00:56:30.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-06-05T11:27:19.000Z (almost 4 years ago)
- Last Synced: 2025-02-25T04:45:59.912Z (over 1 year ago)
- Topics: aligner, python
- Language: Python
- Homepage:
- Size: 46.6 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dzbee
[](https://github.com/ffreemt/dzbee/actions)[](https://www.python.org/downloads/)[](https://github.com/psf/black)[](https://opensource.org/licenses/MIT)[](https://badge.fury.io/py/dzbee)
Align german(de)-chinese(zh) texts, fast
### Python 3.8 Only
## Pre-Install `fasttext`, `pycld2`, `PyICU`
* If your computer **does not** have a C++ compiler,
search for needed wheels at https://www.lfd.uci.edu/~gohlke/pythonlibs/ and install, e.g.,
```
pip install fasttext-0.9.2-cp38-cp38-win_amd64.whl pycld2-0.41-cp38-cp38-win_amd64.whl PyICU-2.8.1-cp38-cp38-win_amd64.whl
```
* If your computer *does* have a C++ compiler
```
pip insall fasttext pycld2 PyICU
# poetry add fasttext pycld2 PyICU
```
## Install it
```shell
pip install dzbee
# poetry add dzbee
# pip install git+https://github.com/ffreemt/dzbee
# poetry add git+https://github.com/ffreemt/dzbee
# git clone https://github.com/ffreemt/dzbee && cd dzbee
```
## Use it
```bash
dzbee file1 file2
```