a streamlit powered bumblebee aligner
- Install
libicuE.g.
- Ubuntu:
sudo apt install libicu-dev - Centos:
yum install libicu - OSX:
brew install icu4c
- Then install
pyicu,pycld2andmorfessor, e.g.,
pip install pyicu pycld2 morfessor
Download and install the pyicu, pycld2 and morfessor whl packages for your OS and Python versions from https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyicu and https://www.lfd.uci.edu/~gohlke/pythonlibs/#pycld2 and https://www.lfd.uci.edu/~gohlke/pythonlibs/#morfessor e.g.
pip install pyicu...whl pyicld2....whl morfessro...whl
From a command prompt, run
git clone https://github.com/ffreemt/st-bumblebee-aligner
cd st-bumblebee-alignerwith pip, run
pip install -r requirements.txt
or with poetry, run
poetry install
streamlit run st-bumblebee-aligner.pyor
python -m streamlit run st-bumblebee-aligner.py
-
st-bumblebee-aligner-v0.1.0.pyis the same asst-bumblebee-aligner.py- Simple para alignment or sent alignment
-
st-bumblebee-aligner-v0.1.1.py- introduced sent alignment within paras aligned
To try st-bumblebee-aligner-v0.1.1.py, do
streamlit run st-bumblebee-aligner-v0.1.1.py
Point your browser to http://127.0.0.1:8501
and follow instructions.
The newest numpy is known to cause some problems, refer to https://tinyurl.com/y3dm3h86. Pin numpy to version 1.19.3 may get rid of the problems, e.g.,
pip install -U numpy==1.19.3
or
poetry add numpy==1.19.3