Skip to content

ffreemt/st-bumblebee-aligner

Repository files navigation

streamlit bumblebee aligner buildStreamlit App

a streamlit powered bumblebee aligner

Pre-installation of pyicu, pycld2 and morfessor

For Linux/OSX
  1. Install libicu E.g.
  • Ubuntu: sudo apt install libicu-dev
  • Centos: yum install libicu
  • OSX: brew install icu4c
  1. Then install pyicu, pycld2 and morfessor, e.g.,
  pip install pyicu pycld2 morfessor
For Windows

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

Installation

From a command prompt, run

git clone https://github.com/ffreemt/st-bumblebee-aligner
cd st-bumblebee-aligner

with pip, run

pip install -r requirements.txt

or with poetry, run

poetry install

Usage

streamlit run st-bumblebee-aligner.py

or

python -m streamlit run st-bumblebee-aligner.py
  • st-bumblebee-aligner-v0.1.0.py is the same as st-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.

Notes

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

About

A streamlit powered bumblebee aligner

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages