Write word variance attributed on same line with headword to preserve space.
--- a/py/gadict_c5.py Fri Apr 15 18:25:18 2016 +0300
+++ b/py/gadict_c5.py Fri Apr 15 18:25:57 2016 +0300
@@ -76,13 +76,12 @@
FOUT.write(" [")
FOUT.write(pron)
FOUT.write("]")
- FOUT.write("\n")
if len(attrs) > 0:
- FOUT.write(" ")
- l = list(attrs)
+ FOUT.write(" ")
+ l = ["«"+x+"»" for x in attrs]
l.sort()
FOUT.write(", ".join(l))
- FOUT.write("\n")
+ FOUT.write("\n")
FOUT.write("\n")
for (pos, trs, exs) in article[1]:
FOUT.write(" ")