Match whole word in pronunciation dictionaries #1704
Comments
Comment 4 by jteh on 2014-09-10 22:17
|
Comment 5 by blindbhavya on 2014-09-11 10:21 |
Attachment 0001-Added-Whole-Word-option-to-speech-dictionary.-1704.patch added by cannona on 2014-09-12 21:23 |
Comment 8 by cannona on 2014-09-12 21:26 |
Comment 9 by cannona on 2014-09-12 21:33 |
Attachment 0001-Added-Whole-Word-option-to-speech-dictionary.-1704.2.patch added by cannona on 2014-09-12 21:44 |
Comment 10 by cannona on 2014-09-12 21:46 |
Comment 11 by jteh on 2014-09-15 22:18
This could be a class constant; same as above.
nit: Unless I'm missing something, you shouldn't need the int() around entry.type, as it should already be an int. Thanks again! |
Attachment 0001-Added-Whole-Word-option-to-speech-dictionary.-1704.3.patch added by cannona on 2014-10-14 20:03 |
Comment 12 by cannona (in reply to comment 11) on 2014-10-14 20:07
I wasn't sure if it was ever possible for a user to deselect all radio buttons somehow, hence this bit of defensive programming. |
Comment 14 by James Teh <jamie@... on 2014-10-21 04:48
|
Comment 15 by James Teh <jamie@... on 2014-10-21 04:49
Changes:
|
Comment 16 by James Teh <jamie@... on 2014-11-06 04:46
Changes:
|
Comment 17 by jteh on 2014-11-06 04:47 |
Reported by dczajka on 2011-08-03 18:34
There should be a "match whole word only" option when creating entries in the pronunciation dictionaries. It is possible to achieve this result if desired by using regular expressions, but it seems a common enough requirement even for people not well-versed in regex syntax that it should be provided for in the dialog. A temporary patch would be to provide the regex syntax to achieve this in the userguide, as a brief example of basic regex use.
Blocking #2220, #4450
The text was updated successfully, but these errors were encountered: