Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

String Feature Extraction

Project Description
This is the string feature extracting project for later maching learning algorithms.

sample:

```
import string_demon as sd

str1 = "我住在北方,夜晚听见窗外的雨声,让我想起了南方。May the force be with you....""
print sd.spam_check(str1)
```

> (0.9047619047619048, 2.6246719160104988, 4.833333333333333, 0.7241379310344828)
return refer to: (中文重复率,中文停顿长度,英文停顿长度,中英文长度比)


```
import string_demon as sd

str2 = "我住在南方,我住在南方。"

print sd.lcs_check(str2)
```

> (2, '\xe6\x88\x91\xe4\xbd\x8f\xe5\x9c\xa8\xe5\x8d\x97\xe6\x96\xb9', 5)
> return refer to: (重复次数,LCS,LCS.length)
Release History

Release History

This version
History Node

0.2.50

History Node

0.2.46

History Node

0.2.45

History Node

0.2.44

History Node

0.2.43

History Node

0.2.42

History Node

0.2.41

History Node

0.2.7

History Node

0.2.6

History Node

0.2.4

History Node

0.2.3

History Node

0.2.1

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
string_demon-0.2.50.tar.gz (6.9 kB) Copy SHA256 Checksum SHA256 Source Feb 29, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting