-
-
Notifications
You must be signed in to change notification settings - Fork 626
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On using NUMPAD 2(twice) in desktop layout for character description, the compound character is not described instead only its first contained character is described #4582
Comments
Comment 1 by siddhartha_iitd on 2014-12-16 18:59 |
Comment 4 by mdcurran on 2015-01-26 04:25
|
Comment 5 by siddhartha_iitd on 2015-01-26 14:31
Yes. It returns character descriptions now.
Agreed. Check for this implemented. Please find the modified code in branch in_t4582_splitOnWordsAndCheck at following url: |
Comment 6 by siddhartha_iitd on 2015-01-27 06:59 |
Comment 7 by mdcurran on 2015-01-30 05:57
|
Attachment hi_characterDescriptions.dic added by siddhartha_iitd on 2015-01-30 09:58 |
Comment 8 by siddhartha_iitd on 2015-01-30 10:00 |
Comment 9 by jteh on 2015-02-03 06:22 In the getCharDescListFromText method: nit: Please remove the tabs on the blank lines above and below the function. The comment explaining what the function does could be a docstring rather than a comment, as docstrings are the preferred way of documenting what a function or class does in Python. For example:
It's better to append a tuple rather than a list (parentheses instead of square brackets), as you aren't mutating it and a tuple is lighter.
Here's a rough idea of what I'd recommend (haven't tested this though):
|
Comment 10 by siddhartha_iitd on 2015-02-06 07:48 |
Comment 11 by jteh on 2015-02-10 01:53
This would be better as a set rather than a tuple (change parentheses to braces). The reason is that the "in" operator has to do a linear search on a tuple, whereas it can do a hash lookup for a set, which is much faster.
nit: Your patch removes a blank line in the "speak" function here. Is there a reason for that? In _speakSpellingGen:
I don't quite understand why you do this. Why not just assign charDesc to item1
but I'd want a comment explaining why you only want the first. Thanks. |
Comment 12 by siddhartha_iitd on 2015-02-11 06:36 |
Comment 13 by James Teh <jamie@... on 2015-02-12 07:08
Changes:
|
Comment 14 by jteh on 2015-02-12 07:13
Thanks for your work! |
Comment 15 by siddhartha_iitd on 2015-02-13 04:57 |
Comment 16 by James Teh <jamie@... on 2015-03-26 05:27
Changes:
|
Comment 17 by jteh on 2015-03-26 05:28 |
Comment 18 by td.dinakar on 2015-05-31 14:15 |
Comment 20 by siddhartha_iitd on 2015-05-31 16:53 |
Comment 21 by td.dinakar (in reply to comment 20) on 2015-06-01 13:53 Replying to siddhartha_iitd:
|
Comment 22 by siddhartha_iitd on 2015-06-01 13:59 |
Comment 23 by td.dinakar (in reply to comment 22) on 2015-06-01 14:58 Replying to siddhartha_iitd:
|
Comment 24 by jteh on 2015-06-03 01:01 |
…ers in certain Indian languages. Fixes #4582.
Reported by sumandogra on 2014-10-28 10:31
On using NUMPAD 2(twice) in desktop layout for character description, the compound character is not described instead only its first contained character is described. For example, for Hindi character, क्ष the character description for क्ष is not announced, instead क is described which is the first character out of three characters that form the compound character क्ष.
Steps:
The text was updated successfully, but these errors were encountered: