english-chinese dualtext aligner
Project description
ezbee
Align en/zh texts, fast
Install it
Python 3.8 only
pip install ezbee
# or poetry add ezbee --alow-prerealeases
# pip install git+https://github.com/ffreemt/ezbee
# poetry add git+https://github.com/ffreemt/ezbee
# git clone https://github.com/ffreemt/ezbee && cd ezbee
Post- or Pre-install
pip install fastext
pip install pyicu==2.8 pycld2
pip install https://github.com/ffreemt/ezbee/raw/main/data/artifects/polyglot-16.7.4.tar.gz
In linux/macos, you may need to run (if the required packages are not already present in the system) something similar to
apt install libicu-dev
# or for macos
brew install icu4c
brew link icu4c --force
export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"
export LDFLAGS="-L/usr/local/opt/icu4c/lib"
export CPPFLAGS="-I/usr/local/opt/icu4c/include"
Refer to the pre-install part in workflow file: routine-tests.yml
For Windows without C++
e.g. for Python 3.8
cd data\artifects
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
pip install https://github.com/ffreemt/ezbee/raw/main/data/artifects/polyglot-16.7.4.tar.gz
Use it
ezbee --help
# or python -m ezbee --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ezbee-0.1.5.tar.gz
(14.1 kB
view details)
Built Distribution
ezbee-0.1.5-py3-none-any.whl
(16.8 kB
view details)
File details
Details for the file ezbee-0.1.5.tar.gz
.
File metadata
- Download URL: ezbee-0.1.5.tar.gz
- Upload date:
- Size: 14.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.8.10 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74a2aa1796ebab1a1c61687b2bf2a848147caaef13963881d4370dacba4500b8 |
|
MD5 | 16a43c1ab32265a48d0d4e5032df157b |
|
BLAKE2b-256 | 979982f7c1d3b6aa238dcb0c9cddb089ade43f83cfd711c81df65f4c329ea56a |
File details
Details for the file ezbee-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: ezbee-0.1.5-py3-none-any.whl
- Upload date:
- Size: 16.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.1 CPython/3.8.10 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a46839fc32d87b9b2c1c69d1b86eb01ff3881b04b4058350f5914f6f4250d426 |
|
MD5 | 3021decab13bcc6feeb99649f4d7ef10 |
|
BLAKE2b-256 | 0ab9d712bedf3249d23429724d68ab27aaa69364f4151dd1023a62c58c8cbea8 |