I've made a python script which converts 3 words separated by tabs into dsl compatible dsl file
please visit: and see the readme for usage:
https://github.com/fastrizwaan/tsv2dsl
midoziad wrote:Could you elaporate on how to use this scrip.Do we use it directly in goldendict? or is it used in an authoring software like N++?
python3 tsv2dsl.py data.txt
fast_rizwaan wrote:midoziad wrote:Could you elaporate on how to use this scrip.Do we use it directly in goldendict? or is it used in an authoring software like N++?
It's a commandline based program
- Code: Select all
python3 tsv2dsl.py data.txt
see Readme.md for more clear explanation and usage
https://github.com/fastrizwaan/tsv2dsl/blob/master/README.md
https://github.com/fastrizwaan/tsv2dsl
#NAME "common words"
#INDEX_LANGUAGE "English"
#CONTENTS_LANGUAGE "English"
a v. abandon
a v. arrive
a v. absorb
a v. abuse
a v. amplify
a v. amuse
a n. anaesthetic
a v. analyse
a adj. ancient
a n. angel
a n. anger
a n. angle
a adj. angry
a n. animal
a n. ankle
a n. anniversary
a v, announce
a v. annoy
a adj. annual
a adj. anonymous
a v. answer
a n. answer
b v buy
b v bring
b n box
b n bank
c v cut
c v cover
c n computer
midoziad wrote:Sir,
Thank you for your response. i have downloaded the update and made a txt file. please have a look at it and feel free to modify it if necessary. However i don't know how to run the python file and what is the relationship between this file and golden dict and does the python file make the dsl formatting automatically?
- Code: Select all
#NAME "common words"
#INDEX_LANGUAGE "English"
#CONTENTS_LANGUAGE "English"
a v. abandon
a v. arrive
a v. absorb
a v. abuse
a v. amplify
a v. amuse
a n. anaesthetic
a v. analyse
a adj. ancient
a n. angel
a n. anger
a n. angle
a adj. angry
a n. animal
a n. ankle
a n. anniversary
a v, announce
a v. annoy
a adj. annual
a adj. anonymous
a v. answer
a n. answer
b v buy
b v bring
b n box
b n bank
c v cut
c v cover
c n computer
i want to understand what is after this step
midoziad wrote:Hello sir,
i use windows 8
Users browsing this forum: No registered users and 63 guests