Skip to main content

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.

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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page