|
Post by mu on Mar 30, 2022 2:30:50 GMT
Anything related to ezbee, and python ... for real-time discussions please join qq group 316287378 . Other members in the bee family: bumblebee (old big brother), radiobee and ultimatumbee (both hosted on huggingface.co/mikeee, currently broken, to be fixed), vizbee (coming soon) Donation www.paypal.com/paypalme/mupal Any amount of donation will be greatly appreciated. If you drop me a message after a donation, I'll note down your contact info and notify you when there is any update with ezbee.
|
|
|
Post by mu on Apr 3, 2022 7:20:01 GMT
Installation ( Python3.8 only, best with python3.8.3 or python3.8.5) For Pro/Expert users: you may wish to create a python virtual environment first, e.g. py -3.8 -m venv ezbee-venv && ezbee-venv\Scripts\activate or in Linux/Mac: python3.8 -m venv ezbee-venv && source ezbee-venv/bin/actiavte or poetry new ezbee-venv && cd ezbee-venv && poetry shell Usageezbee --help Usage: python -m ezbee [OPTIONS] file1 [file2]...
Align en-zh texts.
e.g.
* ezbee file1 file2
* ezbee file1 file2 -p # show plots
* ezbee file1 -s
* ezbee file1 file2 -s
Arguments: file1 [file2]... files (absolute or relative paths) to be aligned; if only one file is specified, the -s flag must be used to signal it's an english/chinese mixed text file and needs to be separated. [required]
Options: --eps FLOAT epsilon [default: 10] --min-samples INTEGER eps, min-samples: Larger esp or smaller min_samples will result in more aligned pairs but also more false positives (pairs falsely identified as candidates). On the other hand, smaller esp or larger min_samples values tend to miss `good` pairs. [default: 6] -s, --need-sep Separate input files that are mixed english and chinese text. -p, --show-plot Show heatmap and align trace plots in the default browser. --save-xlsx / --no-save-xlsx Save xlsx. [default: save-xlsx] --save-tsv / --no-save-tsv Save tsv. [default: save-tsv] --save-csv / --no-save-csv Save csv. [default: no-save-csv] -v, -V, --version Show version info and exit. --help Show this message and exit.
Examplesezbee data/test-en.txt data/test-zh.txt outputs aligned xlsx and tsv files
ezbee --save-csv data/test-en.txt data/test-zh.txt outputs aligned xlsx, tsv and csv files
ezbee --no-save-tsv data/test-en.txt data/test-zh.txt outputs aligned xlsx file
ezbee -p data/test-en.txt data/test-zh.txt[code] outputs xlsx and tsv files and plot heatmap and align trace graphs [/li] [li][code]ezbee -s data/test-dual.txt separates text in test-dual.txt and outputs aligned xlsx and tsv files
xlsx snapshot plots shown in the browser and saved in heatmap12.html
|
|
|
Post by mu on Sept 3, 2022 13:47:56 GMT
|
|