initial commit

This commit is contained in:
2025-12-10 13:38:11 +11:00
commit 53852868aa
17 changed files with 370571 additions and 0 deletions

16
makedict Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/python3
import sys
words = [ ]
for filename in sys.argv[1:]:
for line in open(filename):
line = line.strip().lower()
try:
words[len(line)][line] = None
except IndexError:
while len(words) <= len(line):
words.append({})
for i in range(len(words)):
words[i] = sorted(words[i].keys())
print('words =', words)