Marked glottal stop as valid IPA sign.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 28 Jul 2017 21:18:18 +0300
changeset 892 0c298fe6739e
parent 891 72d36bb11b2a
child 893 20e268cfa3b4
Marked glottal stop as valid IPA sign.
py/gadict.py
--- a/py/gadict.py	Thu Jul 27 01:32:41 2017 +0300
+++ b/py/gadict.py	Fri Jul 28 21:18:18 2017 +0300
@@ -130,7 +130,7 @@
     SEPARATOR_RE = re.compile(u"^__$", re.UNICODE)
     HEADWORD_RE = re.compile( u"^(\\w.*)$" )
     HEADWORD_VAR_RE = re.compile(u"^ +(rare|s|pl|v[123]|male|female|comp|super|abbr|Am|Br|Au)$", re.UNICODE)
-    HEADWORD_PRON_RE = re.compile(u"^ +\\[([a-zˌˈːəæɛɒʊɪɔɜɑʌɚɐɹʃʧθðɡʒŋɾ ]+)\\]$", re.UNICODE)
+    HEADWORD_PRON_RE = re.compile(u"^ +\\[([a-zˌˈːəæɛɒʊɪɔɜɑʌɚɐɹʃʧθðɡʒŋɾʔ ]+)\\]$", re.UNICODE)
     TRANSL_POS_RE = re.compile(u"^(?:n|det|pron|adj|v|adv|prep|conj|num|int|phr|phr\\.v|contr|abbr|prefix)$", re.UNICODE)
     TRANSL_RE = re.compile(u"^(ru|uk|la|en): ([\\w(].*)$", re.UNICODE)
     TRANSL_EX_RE = re.compile(u"""^(ru|uk|la|en)> ([-'"\\w].*)$""", re.UNICODE)