Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/denvaar/dragonfly_grammars


https://github.com/denvaar/dragonfly_grammars

Last synced: about 4 hours ago
JSON representation

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
```