Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denvaar/dragonfly_grammars
https://github.com/denvaar/dragonfly_grammars
Last synced: about 4 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/denvaar/dragonfly_grammars
- Owner: denvaar
- Created: 2022-06-17T04:15:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-15T15:05:05.000Z (about 2 years ago)
- Last Synced: 2023-03-01T07:26:40.609Z (over 1 year ago)
- Language: Python
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Setup
Create a Python virtual environment if setting up for the first time.
```
python3 -m venv ./env
```Activate the virtual environment.
```
source env/bin/activate
```Install required Python dependencies.
```
pip3 install -r ./requirements.txt
pip3 install 'dragonfly2[kaldi]'
pip3 install nltk
``````
mkdir language_models
```Download the [Kaldi language model](https://github.com/daanzu/kaldi-active-grammar/releases), and place within `language_models/`.
Try running the program.
```
python run.py
```