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
```
### 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.2.tar.gz
(5.4 kB
view hashes)
Built Distribution
uts-0.0.2-py2.7.egg
(19.9 kB
view hashes)