drmfinlay / pyjsgf

JSpeech Grammar Format (JSGF) compiler, matcher and parser package for Python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NameError: name 'jsgf' is not defined

MarcoDiMarek opened this issue · comments

Steps to reproduce:
Just run the parser example file.

Mainly:
from jsgf import parse_grammar_string

grammar = parse_grammar_string(
"#JSGF V1.0 UTF-8 en;"
"grammar example;"
"public = hello world {tag};"
)

Hello @MarcoDiMarek,

Thank you for opening this issue. My apologies for taking a few months to respond. Unfortunately, I am unable to reproduce a NameError by running the parser example.py file. What version of Python are you running?