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

Uploaded Python 3

File details

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

File metadata

  • Download URL: iuextract-1.0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 796bcba2e20c5f51d85247d5ad64e3a38efea0732dd21e91fb2adc54c58d253e
MD5 654cb5ec94a61a24358fbbb4acf06155
BLAKE2b-256 ab09c18fb997ae9e9c1c5156374607c3c9563936667f8d9e56153f982d29f0a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: IUExtract-1.0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 eb4e11fb0055fa22c6d48b7219fe58c3fe3e9e00917e5df3e4d95ab2197a6d1a
MD5 93343dc47b0125f89e6f964e30dd5dc9
BLAKE2b-256 b1997d36c9a4892119d9a7ad1d5c19c20cb649d2a68519e909e2914237a3bada

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