![]() ![]() ![]() However, when I start up & activate DNS and say "do something computer" with dictation & command mode, or just command mode, the transcription box pops up, how can I tell if it's working or not? I don't think it is. Grammar.add_rule(ExampleRule()) # Add the command rule to the grammar. ![]() Grammar = Grammar("example grammar") # Create a grammar to contain the command rule. # Create a grammar which contains and loads the command rule. Spec = "do something computer" # Spoken form of command.ĭef _process_recognition(self, node, extras): # Callback when command is spoken. # Voice command rule combining spoken form and recognition processing. This is the code in my dosomething.py from dragonfly import Grammar, CompoundRule I reset DNS 14 to ensure my "macro" (dosomething.py) is loaded. I get the natlink popup message when Dragon Naturally Speaking starts, telling me that it's working. I've got a python file with this in it in my "user configuration directory" set up by natlink I've got Dragon Naturally Speaking 14, dragonfly, the latest natlink (4.1 or something), pywin32, python 2.7, and wxpython installed ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |