Dushistov / sdcv

https://dushistov.github.io/sdcv/
GNU General Public License v2.0
294 stars 42 forks source link

sdcv_ordering example #42

Closed 1094 closed 6 years ago

1094 commented 6 years ago

I have been look for examples for quite some time now and can not find one. Does anyone have an example I could use so I know what this files needs to look like and include?
Thanks.

Dushistov commented 6 years ago

@1094

For example you run

$ sdcv -l
Dictionary's name   Word count
oxford    43808
Merriam-Webster's Collegiate    119769

you take the first column of output, in other words Dictionary's name, and put it to ~/.sdcv_ordering line by line:

$ cat ~/.sdcv_ordering 
Merriam-Webster's Collegiate
oxford
$ 

that's all, at the next run of sdcv, for example sdcv man you get at first translation from Merriam-Webster's Collegiate and after that from oxford dictionary and after that all other translations.

1094 commented 6 years ago

I honestly thought it was going to be something much more complicated than that. Thank you!