This commit is contained in:
2026-06-05 01:28:27 +00:00
parent bdde9bd1ca
commit 67b7ced5ba
19 changed files with 276 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
words = set()
def check(word):
return word.lower() in words
def load(dictionary):
with open(dictionary) as file:
words.update(file.read().splitlines())
return True
def size():
return len(words)
def unload():
return True