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)
```
### 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 details)
Built Distributions
uts-0.0.4-py3.4.egg
(12.0 kB
view details)
uts-0.0.4-py2.7.egg
(11.2 kB
view details)
File details
Details for the file uts-0.0.4.tar.gz
.
File metadata
- Download URL: uts-0.0.4.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
27cbdc4c5bb75b49f98e4f0a81a6aa0b7edc441badc8e9fee56a306d681eab97
|
|
MD5 |
90c629ac9df871142e3258c53b6e6dc3
|
|
BLAKE2b-256 |
1c558dc06df6baf821baa45083697c3f3f54d8e84db6258fd2e8f29ada2a9bba
|
File details
Details for the file uts-0.0.4-py3.4.egg
.
File metadata
- Download URL: uts-0.0.4-py3.4.egg
- Upload date:
- Size: 12.0 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
6602a4a2de6440e5038f197d0717cb3fedc09f326bd34d58de64609bcb293f91
|
|
MD5 |
a71aeebbf52df67ff4774b3a36168ea4
|
|
BLAKE2b-256 |
745c9b94e04d624d9c6cd4d8dde75f18f252a6c1ae475443677f675c62c0c7cb
|
File details
Details for the file uts-0.0.4-py2.7.egg
.
File metadata
- Download URL: uts-0.0.4-py2.7.egg
- Upload date:
- Size: 11.2 kB
- Tags: Egg
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
56aefae579df96972a44a13a2a93e918f14764c399ba5dba51f8aecbbc6d06ff
|
|
MD5 |
6b94de8a3101747c65e4c8e16721d38c
|
|
BLAKE2b-256 |
09d5f9a0f1f495b4f771aed158162fb635946984f18aa385068ca5626bfd110c
|