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

Uploaded Python 3

File details

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

File metadata

  • Download URL: iuextract-1.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 fa4ca558e7535b71fdc53a57300422b3d54898598cd22281f831f98161bcafa8
MD5 dcc97a0fe917da819017e78a8f3abe86
BLAKE2b-256 d66165a5d2c4b05a041a57e29516f728dd9d141ef823399f6b37cec592225ca4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: IUExtract-1.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e800dbd353ff8739056cae7aa20ea00b6684dd965755198ee2304c7e8fea25cf
MD5 d30c9f49b117d25b9fa150120f0eecc9
BLAKE2b-256 60125652b5d28b8f82878f3f4d9a47936f3f40ab3acc43c2255c7b6d190f182f

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