Skip to main content

python package for unsupervised text segmentation

Project description

## Unsupervised Text Segmentation

### Install

sudo pip install uts

### Usage

import uts

document = ['this is a good day', 'good day means good weather',\
'I love computer science', 'computer science is cool']
model = uts.C99(window=2)
boundary = model.segment(document)
# output: [1, 0, 1, 0]

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

uts-0.0.4.tar.gz (5.4 kB view hashes)

Uploaded source

Built Distributions

uts-0.0.4-py3.4.egg (12.0 kB view hashes)

Uploaded 3 4

uts-0.0.4-py2.7.egg (11.2 kB view hashes)

Uploaded 2 7

Supported by

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