author | Oleksandr Gavenko <gavenkoa@gmail.com> |
Tue, 12 Dec 2017 02:04:24 +0200 | |
changeset 987 | 6880ca22ec67 |
parent 986 | d22f0bd08553 |
child 988 | 1f31dc86e290 |
contrib/gadict.el | file | annotate | diff | comparison | revisions |
--- a/contrib/gadict.el Sun Dec 10 23:59:39 2017 +0200 +++ b/contrib/gadict.el Tue Dec 12 02:04:24 2017 +0200 @@ -52,7 +52,7 @@ (defun gadict--espeak-cleanup-accent (s) "Remove accent if only one syllable in word." (if (<= (gadict--vowel-group-count s) 1) - (replace-regexp-in-string "$,1$h(B" "" s) + (replace-regexp-in-string "[$,1$h$l(B]" "" s) s)) (defun gadict--espeak-cleanup-accent-in-sentence (s)