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.0.2.tar.gz
(11.8 kB
view hashes)
Close
Hashes for pydomaintextfeature-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56540c1054d3a48fdd0f5bb0324d026f3e36f606f64c54cc930295063a166018 |
|
MD5 | c74a04600e7889e8ad27c3469ca277a8 |
|
BLAKE2b-256 | 7259d44727b0441ab7cf0c959179affb01b06cd9c6a8a510aeb29881e9759ac5 |