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!
Project Description
Statistical Engine for Text Understanding (SETU)
================================================

This package provides wrapper around statistical models created with
SciKit-Learn Laboratory (SKLL) as well as an easy to use API based
on Flask.

[SourceForge](https://sourceforge.net/p/halef/halef-SETU)

Installation
------------
```bash
pip install halef-SETU
```


Getting started with the API
----------------------------

Create a 'config.cfg' file like the following:

config.cfg
```ini
DEBUG = False
HALEF_SLU_MODELS='slu_models.ymal'
```

Set the location of this configuration file inside an environment variable:

```bash
export HALEF_SETU_SETTINGS=<path/to/config.cfg>
```

Create the 'slu_models.yaml' file:

slu_models.yaml
```yaml
model_dir: <path/to/directory/containing/model/and/vocab/files/>
reject_class: <name_of_the_class_for_nomatch>
items:
- <item_name>:
- state: <state_name>
model: <slu_model_file_name>.model
vocab: <slu_model_vocab_file_name>.vocab
classes:
- <class_1_name>
- <class_2_name>
- <class_3_name>
- state: <some_other_state_name>
model: <some_other_slu_model_file_name>.model
vocab: <some_other_slu_vocab_file_name>.vocab
classes:
- <some_other_class_1>
- <some_other_class_2>
```

Create a file to start the API. This can be hosted like any other Flask application.
A quick example would be:

run.py
```python
from halef_setu_api import app
app.run()
```

```bash
python run.py
```
Release History

Release History

0.0.5

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.0.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

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
halef-SETU-0.0.5.tar.gz (8.8 kB) Copy SHA256 Checksum SHA256 Source Feb 24, 2017

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