Hello, I've been looking through the code in pocketsphinx to see if there is a way to dump the loaded jsgf grammar into a dot file. I've seen this in the java code but not in pocketsphinx. Can you provide some guidance on how this could be done? I'm running the android demo code but I don't see this ability in the JNI.
Thanks,
-marco
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This feature is not supported, you have to implement it yourself. You can convert JSGF to FSG first and then implement the code to display FSG which is simply a graph.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, I've been looking through the code in pocketsphinx to see if there is a way to dump the loaded jsgf grammar into a dot file. I've seen this in the java code but not in pocketsphinx. Can you provide some guidance on how this could be done? I'm running the android demo code but I don't see this ability in the JNI.
Thanks,
-marco
This feature is not supported, you have to implement it yourself. You can convert JSGF to FSG first and then implement the code to display FSG which is simply a graph.