1
0
This commit is contained in:
Your Name
2023-04-14 23:38:34 +08:00
commit ff5da79d57
1392 changed files with 378574 additions and 0 deletions

9
scripts/wordlist.py Normal file
View File

@ -0,0 +1,9 @@
print("#ifndef GENERATED_WORDLIST_H")
print("#define GENERATED_WORDLIST_H")
print("const char g_aFallbackWordlist[][32] = {")
with open("data/wordlist.txt", encoding="utf-8") as f:
for line in f:
word = line.strip().split("\t")[1]
print(f"\t\"{word}\", ")
print("};")
print("#endif // GENERATED_WORDLIST_H")