Python module to identify regions in text.
Part of the CLiC project
First make sure you have the following prerequisites installed:
apt-get install python3 python3-dev \ libicu-dev pkg-config
Then install via. pip:
pip install clictagger
Under either you can install clictagger via. Anaconda:
- Install Miniconda if you haven't already.
- Download environment-windows.yml if running windows, environment.yml otherwise.
- Start an Anaconda prompt
- On windows, run
conda env create -f environment-windows.yml
, otherwise runconda env create -f environment.yml
conda activate clictagger
You can now use clictagger
.
To region-tag your own examples, use file-upload.ipynb
You should now have the clictagger
command available. See --help
for usage.
For more examples, see the clictagger.script documentation.
There is a Makefile that will setup and perform common development actions, in a venv. Once code is checked out you can run:
make test # Run all tests make lint # Check code formatting make coverage # Check unit-test coverage make notebook # Install and serve a Jupyter notebook session make release # Use zest.releaser to make a new release
This work is released under MIT.