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.4a0.tar.gz
(14.1 kB
view hashes)
Built Distribution
ezbee-0.1.4a0-py3-none-any.whl
(16.9 kB
view hashes)