Skip to main content

python package for unsupervised text segmentation

Project description

## Unsupervised Text Segmentation

### Install

sudo python setup.py install

### Usage

```python
import uts.c99

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

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.3.tar.gz (5.4 kB view hashes)

Uploaded source

Built Distribution

uts-0.0.3-py2.7.egg (11.3 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