Original issue 25 created by Kaljurand on 2012-08-25T20:30:03.000Z:
In the Apps list context menu, add "Assign regexp" and "Remove regexp". "Assign regexp" would allow the user to specify a regular expression that modifies the transcription(s) that the server returns.
Use case: TuneIn Radio. TuneIn Radio supports voice search (in car mode, with device language set to English) but expects the returned transcription to start with "listen to". So, Kõnele cannot be used with TuneIn. The solution would be to automatically modify the transcription e.g. by:
s/^/listen to /
or
s/^mängi /listen to /
Allowing the user to say "tallinn põleb" (i.e. simply the search query) or "mängi Arvo Pärt" (search query with an Estonian prefix).
Use case: removing brackets e.g. from arithmetical expressions: s/[)(]//g
Some modifications would require actually a chain of regexp transformations instead of just a single regexp.
Original issue 25 created by Kaljurand on 2012-08-25T20:30:03.000Z:
In the Apps list context menu, add "Assign regexp" and "Remove regexp". "Assign regexp" would allow the user to specify a regular expression that modifies the transcription(s) that the server returns.
Use case: TuneIn Radio. TuneIn Radio supports voice search (in car mode, with device language set to English) but expects the returned transcription to start with "listen to". So, Kõnele cannot be used with TuneIn. The solution would be to automatically modify the transcription e.g. by:
or
Allowing the user to say "tallinn põleb" (i.e. simply the search query) or "mängi Arvo Pärt" (search query with an Estonian prefix).
Use case: removing brackets e.g. from arithmetical expressions: s/[)(]//g
Some modifications would require actually a chain of regexp transformations instead of just a single regexp.