Command Line Interface for Behavioral Signals Emotion and Behavior Recognition Engine in the Cloud
Project description
# Behavioral Signals CLI
Command Line Interface for Behavioral Signals' Emotion and Behavior Recognition in the Cloud
* Free software: MIT license
## Install
```
pip install behavioral_signals_cli
```
## Getting Started
* First request your account id and token for the Behavioral Signals Web API by sending an email to nassos@behavioralsignals.com
* Export the following as environmental variables:
```
export BEST_ID=your_id_on_service_api
export BEST_TOKEN=your_token_for_service_api
```
* Run the CLI to submit your audio files:
```
behaviorals_signals_cli send_audio [csv_file] [pids_log]
```
The .csv file must have the following form (order matters):
path/to/file, number of channels, call direction, agentId, agentTeam, campaign Id, calltype, calltime, timezone, ANI. The [pids_log] file
is an empty file where the process ids of the created jobs will be written.
* Run the CLI to get the emotion/behavior recognition, diarization and other results:
```
behaviorals_signals_cli get_results [pids_log] [results_dir]
```
The results will be written as .json files inside [results_dir] (polling may be performed if results
are not readily available).
* Run the CLI to get ASR results:
```
behaviorals_signals_cli get_results_asr [pids_log] [results_dir]
```
The results will be written as "[filename]_[pid]_words.json" files inside [results_dir] (polling may be performed if results
are not readily available).
Type:
```
behavioral_signals_cli --help
```
for more info.
Features
--------
The CLI allows you to easily:
- Submit multiple audio files to API,
- Get behavior and emotion recognition results
- Get speech recognition results
* TODO
Credits
---------
This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
0.1.0 (2017-11-17)
------------------
* First release on PyPI.
Command Line Interface for Behavioral Signals' Emotion and Behavior Recognition in the Cloud
* Free software: MIT license
## Install
```
pip install behavioral_signals_cli
```
## Getting Started
* First request your account id and token for the Behavioral Signals Web API by sending an email to nassos@behavioralsignals.com
* Export the following as environmental variables:
```
export BEST_ID=your_id_on_service_api
export BEST_TOKEN=your_token_for_service_api
```
* Run the CLI to submit your audio files:
```
behaviorals_signals_cli send_audio [csv_file] [pids_log]
```
The .csv file must have the following form (order matters):
path/to/file, number of channels, call direction, agentId, agentTeam, campaign Id, calltype, calltime, timezone, ANI. The [pids_log] file
is an empty file where the process ids of the created jobs will be written.
* Run the CLI to get the emotion/behavior recognition, diarization and other results:
```
behaviorals_signals_cli get_results [pids_log] [results_dir]
```
The results will be written as .json files inside [results_dir] (polling may be performed if results
are not readily available).
* Run the CLI to get ASR results:
```
behaviorals_signals_cli get_results_asr [pids_log] [results_dir]
```
The results will be written as "[filename]_[pid]_words.json" files inside [results_dir] (polling may be performed if results
are not readily available).
Type:
```
behavioral_signals_cli --help
```
for more info.
Features
--------
The CLI allows you to easily:
- Submit multiple audio files to API,
- Get behavior and emotion recognition results
- Get speech recognition results
* TODO
Credits
---------
This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage
=======
History
=======
0.1.0 (2017-11-17)
------------------
* First release on PyPI.
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
Built Distribution
Close
Hashes for behavioral_signals_cli-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 153038116d3ac6bbfbd4f1d0c39bb265ab0e578643aef834de903a1664eb1f88 |
|
MD5 | 57d1f6ab0e64c9c84ebd3cf2aa94ecd0 |
|
BLAKE2b-256 | 9f369302061d604a11184fa16cd8423e8a5c06983fa22a87932dc46083d6904a |
Close
Hashes for behavioral_signals_cli-1.0.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0418f822fb79d7a5fffb1e3cdecac12921201a6146c1c44bfb3d51ba3fa1f9af |
|
MD5 | 4dca3ace4b140be1f50bdf8a71d746f2 |
|
BLAKE2b-256 | a271b30ffae55fa4e3da5489b769207be3142987bcc519002554bc2a977c22a5 |