Generate text feature of domain for machine learn
Project description
Overview
========
This lib generate text feature sparse vector for a given domain
Usage
=====
```
import pydomaintextfeature
if __name__ == '__main__':
while True:
iput = raw_input()
f = Ppydomaintextfeature.yDomainTextFeature({'ngram':3})
print f.range()
print f.feature(iput)
```
========
This lib generate text feature sparse vector for a given domain
Usage
=====
```
import pydomaintextfeature
if __name__ == '__main__':
while True:
iput = raw_input()
f = Ppydomaintextfeature.yDomainTextFeature({'ngram':3})
print f.range()
print f.feature(iput)
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydomaintextfeature-0.1.1.tar.gz
(11.9 kB
view details)
File details
Details for the file pydomaintextfeature-0.1.1.tar.gz
.
File metadata
- Download URL: pydomaintextfeature-0.1.1.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3ccf09cf5719fea02f3f1bc285d9d444c94d9c22e36b91d8babfec59411f677 |
|
MD5 | 4610b69764f96dd3b8780fe134f19442 |
|
BLAKE2b-256 | d323747a84bb1e58e6438d64fdac80ca1d4d46ba336ecf2b23c8e369564b37ab |