-
Notifications
You must be signed in to change notification settings - Fork 82
_fruit_toggle.py example doesn't work, CompoundRules broken? #29
Comments
I went ahead and wrote a MappingRule version which works just to be sure:
|
The fruit toggle example works fine for me in WSR. |
DNS user here, I can confirm this bug. Actually, for me it works inconsistently. If I alternate between saying, "I like apples" and "I like bananas", sometimes it triggers the rule and sometimes it doesn't, and just prints the text of what I said. Dragonfly 0.6.6b1 |
@synkarius Does the MappingRule version work for you? |
@jgarvin Yes, and without the inconsistency. |
The fruit_toggle.py example works just fine as-is, meaning two CompoundRule instances added to a single Grammar. To verify this in a scientific way, I just now dictated "I like bananas" and then "I like apples" 10 times in a row, for a total of 20 sequential recognitions. At that point I was sufficiently convinced that there is not a problem. Dragonfly 0.6.6b1 |
Speaking, "I like bananas" or "I like apples" does nothing.
If I copy and paste the MappingRule from the outlook_example.py into _fruit_toggle.py, and add the rule to the same grammar object as the apple/banana rule, the phrases in it are recognized correctly. So dragon/natlink are working. So it appears just plain CompoundRules are broken?
The text was updated successfully, but these errors were encountered: