Added category "baby" as opposite to male/female.
--- a/contrib/gadict.el Fri Nov 01 14:43:10 2019 +0200
+++ b/contrib/gadict.el Sat Dec 07 23:29:43 2019 +0200
@@ -133,7 +133,7 @@
(defconst gadict--art-lang-regex (regexp-opt '("en" "ru" "uk" "la")))
(defconst gadict--art-rel-regex (regexp-opt '("cnt" "ant" "syn" "rel" "topic" "hyper" "hypo" "col")))
-(defconst gadict--art-var-regex (regexp-opt '("rare" "v1" "v2" "v3" "s" "pl" "male" "female" "abbr" "comp" "super" "Am" "Br" "Au")))
+(defconst gadict--art-var-regex (regexp-opt '("rare" "v1" "v2" "v3" "s" "pl" "male" "female" "baby" "abbr" "comp" "super" "Am" "Br" "Au")))
(defconst gadict--art-pos-regex (regexp-opt gadict--pos))
(defgroup gadict nil
--- a/py/gadict.py Fri Nov 01 14:43:10 2019 +0200
+++ b/py/gadict.py Sat Dec 07 23:29:43 2019 +0200
@@ -136,7 +136,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_VAR_RE = re.compile(u"^ +(rare|s|pl|v[123]|male|female|baby|comp|super|abbr|Am|Br|Au)$", re.UNICODE)
HEADWORD_PRON_RE = re.compile(u"^ +\\[([a-zˌˈːəæɛɒʊɪɔɜɑʌɚɐɹʃʧθðɡʒŋɾʔ ]+)\\]$", re.UNICODE)
HEADWORD_HOMO_RE = re.compile(u"^ +homo: (\\w|\\w[-'\\w ;]*\\w)$", 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)