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.0.tar.gz
(11.9 kB
view hashes)
Close
Hashes for pydomaintextfeature-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6e225d79e3065a68a20da3d8d9b6ac94a3e09147390c16a0819bda21097621c |
|
MD5 | c824d28232766d819908e8e94eeb0696 |
|
BLAKE2b-256 | c66c0a212b2f20d47d61f2ab17f7cf1e9bbc1e46f2212a936852616ba6174920 |