dictation-toolbox / Caster

Dragonfly-Based Voice Programming and Accessibility Toolkit
Other
336 stars 122 forks source link

Saying "zero" interferes with the `numb` command #938

Open BawdyInkSlinger opened 9 months ago

BawdyInkSlinger commented 9 months ago

Describe the bug The following examples follow this structure:

this is what I spoke

this is what the Caster status window printed
this is what Caster output at my cursor

Examples

numb 0 1 1

Numbers: [<long>] numb <wnKK>, , 0
0

numb 0 90

Numbers: [<long>] numb <wnKK>, , 0
0

numb 1 0 1 1

Numbers: [<long>] numb <wnKK>, , 101
101

numb 1 1 0 1

Numbers: [<long>] numb <wnKK>, , 1101
1101

numb 1 1 0 1 1

Numbers: [<long>] numb <wnKK>, , 1101
1101

numb 1 1 1 0 1

Numbers: [<long>] numb <wnKK>, , 1110
1110

To Reproduce

Expected behavior I expect the output to be the full number I spoke.

Screenshots If applicable, add screenshots to help explain your problem.

System:

May be related to https://github.com/dictation-toolbox/Caster/issues/857

LexiconCode commented 9 months ago

This is reproducible with dragonfly's text engine. The issue is either with short integer ref or a ccr bug. Further investigation is needed.