Add "abbr" word variance.
--- a/py/gadict.py Thu Apr 14 20:49:28 2016 +0300
+++ b/py/gadict.py Fri Apr 15 18:25:18 2016 +0300
@@ -38,7 +38,7 @@
SEPARATOR_RE = regex.compile(r"^__$")
HEADWORD_RE = regex.compile(r"^(\p{L}.*)$")
- HEADWORD_VAR_RE = regex.compile(r"^ +(s|pl|v[123]|male|female|comp|super)$")
+ HEADWORD_VAR_RE = regex.compile(r"^ +(s|pl|v[123]|male|female|comp|super|abbr)$")
HEADWORD_PRON_RE = regex.compile(r"^ +\[([\p{L}' ]+)\]$")
TRANSL_POS_RE = regex.compile(r"^n|pron|adj|v|adv|prep|conj|num|int|phr|phr\.v|abbr|prefix$")
TRANSL_RE = regex.compile(r"^(ru|uk|la|en): ([\p{L}(].*)$")