Rule-based Idea Unit segmentation algorithm for the English language.
Project description
IUExtract
Rule-based Idea Unit segmentation algorithm for the English language.
Installation
First of all, you need to install the dependencies:
pip install spacy
python -m spacy download en_core_web_lg
To install the package with the command line tool install pipx and run the following command:
pipx install iuextract
If you only wish to use the package in your python projects you can install without executable via
pip install iuextract
Command Line Interface (CLI) Usage
Once installed via pipx, you can run
iuextract -i input_file.txt
to segment file.txt into Idea Units. The segmented file will be printed on the console as standard output.
You can specify an output file with the -o parameter.
iuextract -i input_file.txt -o output_file.txt
For more options you can call the help argument.
iuextract -h
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file iuextract-1.0.0.tar.gz.
File metadata
- Download URL: iuextract-1.0.0.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e0f718b6809146538bcd76b0775c2cc4406d0420faf8753bd7de17b3a9083bca
|
|
| MD5 |
2d8b2e4a89cde73703b39b9b457fd308
|
|
| BLAKE2b-256 |
6d716e414c50869c4a042971968b52dff3eb87007c36d0c370eee175772b0124
|
File details
Details for the file IUExtract-1.0.0-py3-none-any.whl.
File metadata
- Download URL: IUExtract-1.0.0-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
97ce849701b531c9aaaa50c145db52f59a11e255616caf19993fb6f02de1eadd
|
|
| MD5 |
71e8c13cd333f92a80194e4ecc0f408e
|
|
| BLAKE2b-256 |
74251ace0a68e9099df999db684ddad03078c658fbee7c695404a802c7b49bd3
|