Add links to synonyms and antonyms.
--- a/py/gadict_c5.py Thu Aug 25 00:41:31 2016 +0300
+++ b/py/gadict_c5.py Thu Aug 25 00:43:00 2016 +0300
@@ -92,6 +92,12 @@
FOUT.write("«")
FOUT.write(sense.pos)
FOUT.write("» ")
+ if sense.ant_list and len(sense.ant_list) > 0:
+ FOUT.write(" ant: ")
+ FOUT.write("; ".join(["{"+s+"}" for s in sense.ant_list]))
+ if sense.syn_list and len(sense.syn_list) > 0:
+ FOUT.write(" syn: ")
+ FOUT.write("; ".join(["{"+s+"}" for s in sense.syn_list]))
FOUT.write("\n")
for (lang, tr) in sense.tr_list:
FOUT.write(" ")