Added default zero entropy field in generated per-lang csv file
authorEdouard Tisserant
Thu, 03 Jul 2014 12:23:40 +0200
changeset 4140c907a66be
parent 2 f1fc3afacfd6
child 5 ae0912a109cf
Added default zero entropy field in generated per-lang csv file
db/dic2csv.py
     1.1 --- a/db/dic2csv.py	Wed Jun 25 18:48:18 2014 +0200
     1.2 +++ b/db/dic2csv.py	Thu Jul 03 12:23:40 2014 +0200
     1.3 @@ -51,4 +51,4 @@
     1.4  assert len(_words) == 65536, "lenght is {}".format(len(_words))
     1.5  
     1.6  for i, w in enumerate(_words):
     1.7 -    print("{l},{i},{w}".format(l=args.lang[:2], i=i, w=w))
     1.8 +    print("{l},{i},{w},0".format(l=args.lang[:2], i=i, w=w))