ElishaAz / Sayboard

An open-source on-device voice IME (keyboard) for Android using the Vosk library.
GNU General Public License v3.0
379 stars 23 forks source link

Adds number recognition #19

Open MXC48 opened 1 year ago

MXC48 commented 1 year ago

I think it would be a good idea for Sayboard to recognize when you pronounce a number and instead of writing it in letters writes it in numbers. For example instead of writing "a" Sayboard could type "1" For that there is the Dicio-number library which was created to already do this in the Dicio which could save development time in Sayboard : https://github.com/Stypox/dicio-numbers

stilez commented 1 year ago

An easier solution is to utilise the present approach for punctuation.

Perhaps allow one row of equally spaces symbols/keys along the top, or top left+top right. The user can then add enough symbols to cover numbers as well as punctuation, using essentially the same code as already used to cover punctuation.

Could solve and save a lot of effort.

If this is done, may I ask one extra feature? A way to add a key for "switch case of previous letter, if alphabetic" ? To easily capitalise letters of names, starts of sentences etc without having to leave Sayboard to use a full keyboard. Is that easy? Possible? That seems the last kind of very common manipulation after return/punctuation/numbers that can't be done as-is within it.

ghost commented 8 months ago

My current solution:

sayboard layout

lriesebos commented 1 month ago

see also https://github.com/alphacep/vosk-api/issues/627