a small, pedagogical, fst-based dialog toolkit.
Project description
fstflowchat
fstflowchat is a small, pedagogical, fst-based dialog toolkit.
fstflowchat uses finite state transducers to control dialog flow. It uses graphviz to visualize the dialog flow and as a graph specification language for the dialog FST. Each graph edge specifies two functions, a test function that determines if the edge is a valid transition, and an output fuction that determines the system's output as it changes state.
Installation
To install the development version, run
pip install git+https://github.com/abecode/fstflowchat
Currently the development version is preferred.
To run the stable version (in the future), run
pip install fstflowchat
Currently the only dependency is the graphviz application and the pygraphviz library. For mac installation issues, please use the following command as described in this stackoverflow question
python -m pip install \
--global-option=build_ext \
--global-option="-I$(brew --prefix graphviz)/include/" \
--global-option="-L$(brew --prefix graphviz)/lib/" \
pygraphviz
Running a demo
To see a demo, run
fstflowchat-example
Documentation
For more information, please see the documentation
Project details
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
Hashes for fstflowchat-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e36cb841de50446f48a93fb9017bf1a00551cde7604e2a18c2ccb52a4b886fa4 |
|
MD5 | 8146887c349aa6c592f6369ef906126c |
|
BLAKE2b-256 | 3f45d9732122c34d8df3cca9ec1f3a3b5d74b834d95923701777cb503a6e7221 |