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.1.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.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iuextract-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 1ee8ed1154c576013af3b1a3b0ca41d78d4a836d0abe276cd75ef259d6460089
MD5 c94b43fdfe4eedb956c3e5783e5980cb
BLAKE2b-256 bc2721068ef1baf28ffa67dd8ef08b44f6eda628c7d2e5029b595e88fda6eb1c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: IUExtract-1.0.1-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

Hashes for IUExtract-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c8f70a14238f1e0b53032cbea3aa7b972990f9c1cfd6ce8e98d5db3dab329b8c
MD5 a17c616a90eba621caafa2e626c4c5fe
BLAKE2b-256 2a83b6e8c0e08292d2f4104cf7e2bff0eaa3802201a6de9b6c84ae7610e5748d

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