Skip to main content

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 --python 3.9

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iuextract-1.0.2.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

IUExtract-1.0.2-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

Details for the file iuextract-1.0.2.tar.gz.

File metadata

  • Download URL: iuextract-1.0.2.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.13

File hashes

Hashes for iuextract-1.0.2.tar.gz
Algorithm Hash digest
SHA256 b25d7d08cda3ef691c4e199ec0a9173d4b582af4694aff4a4fc3d1226a7df87f
MD5 1ea7b23e2a0a4f1aa5caa4d336127f51
BLAKE2b-256 a942cf5bcc07e0df059ffe58f75ae31be5c20031984bd7e5dad463ebca2a4177

See more details on using hashes here.

File details

Details for the file IUExtract-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: IUExtract-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.13

File hashes

Hashes for IUExtract-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d70bfca823e9ade52cfe2c9f6e2bebfb945588938e9c6aeaf12977cffb350f1f
MD5 2b7f31c6d46ea3f1cbbf8a3056f6ea0a
BLAKE2b-256 9ade20a74b61168afd99f7c2e39d83c62d5ec7da08c9d79ac34752ae67c2d545

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page