Add support for antonyms and synonyms.
--- a/py/gadict.py Fri Apr 15 19:04:52 2016 +0300
+++ b/py/gadict.py Fri Apr 15 19:51:26 2016 +0300
@@ -43,7 +43,7 @@
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}(].*)$")
TRANSL_EX_RE = regex.compile(r"^(ru|uk|la|en)> (\p{L}.*)$")
- TOPIC_RE = regex.compile(r"^topic: (\p{L}.*)$")
+ TOPIC_RE = regex.compile(r"^(topic|ant|syn): (\p{L}.*)$")
CONT_RE = regex.compile(r"^ +(.*)")