mirror of
https://github.com/Dushistov/sdcv.git
synced 2025-12-26 14:10:52 +00:00
something working
This commit is contained in:
10
tests/words_dic/gen_dic_from_words.py
Executable file
10
tests/words_dic/gen_dic_from_words.py
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys
|
||||
|
||||
with open(sys.argv[1], "r") as f:
|
||||
with open(sys.argv[2], "w") as out:
|
||||
words = set([word.strip() for word in f.readlines()])
|
||||
for word in words:
|
||||
out.write(word + "\n")
|
||||
out.write(word + "\n")
|
||||
1671705
tests/words_dic/stardict-words-2.4.2/words.dict
Normal file
1671705
tests/words_dic/stardict-words-2.4.2/words.dict
Normal file
File diff suppressed because it is too large
Load Diff
BIN
tests/words_dic/stardict-words-2.4.2/words.idx
Normal file
BIN
tests/words_dic/stardict-words-2.4.2/words.idx
Normal file
Binary file not shown.
BIN
tests/words_dic/stardict-words-2.4.2/words.idx.oft
Normal file
BIN
tests/words_dic/stardict-words-2.4.2/words.idx.oft
Normal file
Binary file not shown.
7
tests/words_dic/stardict-words-2.4.2/words.ifo
Normal file
7
tests/words_dic/stardict-words-2.4.2/words.ifo
Normal file
@@ -0,0 +1,7 @@
|
||||
StarDict's dict ifo file
|
||||
version=2.4.2
|
||||
wordcount=1671704
|
||||
idxfilesize=30235592
|
||||
bookname=
|
||||
date=2016.06.18
|
||||
sametypesequence=x
|
||||
3343408
tests/words_dic/words.dummy
Normal file
3343408
tests/words_dic/words.dummy
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user