Skip to main content

Python module to identify regions in text.

ci gh-pages

Part of the CLiC project

Installation

Linux

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

Windows / MacOS

Under either you can install clictagger via. Anaconda:

  1. Install Miniconda if you haven’t already.

  2. Download environment-windows.yml if running windows, environment.yml otherwise.

  3. Start an Anaconda prompt

  4. On windows, run conda env create -f environment-windows.yml, otherwise run conda env create -f environment.yml

  5. conda activate clictagger

You can now use clictagger.

Usage

Python notebook

See getting_started.ipynb.

To region-tag your own examples, use file-upload.ipynb

Command line

Animation of command_line usage

You should now have the clictagger command available. See --help for usage.

For more examples, see the clictagger.script documentation.

Development

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

Acknowledgements

This work is released under MIT.

Changelog

0.9.0 (2021-07-30)

  • Initial release.

Release files for clictagger 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clictagger 0.9.0
File Size Uploaded
clictagger-0.9.0.tar.gz 32.0 kB Details

Release files / clictagger-0.9.0.tar.gz

Download URL clictagger-0.9.0.tar.gz
Size 32.0 kB
Tags Source
SHA-256 checksum
How to use checksums
50dc3be58e6a14e878e097b1d860f68e536239ebf2367a2d8e8e9162e274f1ea
BLAKE2b-256 checksum
How to use checksums
0261425fac29ae894f7a11a0d918aeda2bce7fd2a925495efa68f9647ed37479
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.9.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page