Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

python package for unsupervised text segmentation

Project description

## Unsupervised Text Segmentation

### Install

sudo pip install uts

### Usage

```python
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]
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.

Files for uts, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size uts-0.0.4-py2.7.egg (11.2 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size uts-0.0.4-py3.4.egg (12.0 kB) File type Egg Python version 3.4 Upload date Hashes View
Filename, size uts-0.0.4.tar.gz (5.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page