|
|
|
@ -751,12 +751,12 @@ def main():
|
|
|
|
|
for s in structures:
|
|
|
|
|
print(s)
|
|
|
|
|
|
|
|
|
|
# words = load_corpus(STAVKI)
|
|
|
|
|
import pickle
|
|
|
|
|
words = load_corpus(STAVKI)
|
|
|
|
|
# import pickle
|
|
|
|
|
# with open("words.p", "wb") as fp:
|
|
|
|
|
# pickle.dump(words, fp)
|
|
|
|
|
with open("words.p", "rb") as fp:
|
|
|
|
|
words = pickle.load(fp)
|
|
|
|
|
# with open("words.p", "rb") as fp:
|
|
|
|
|
# words = pickle.load(fp)
|
|
|
|
|
|
|
|
|
|
print("MATCHES...")
|
|
|
|
|
matches = {s.id: [] for s in structures}
|
|
|
|
|