Properly remove ampersand escaping for large topsequence

This commit is contained in:
ValdikSS 2024-07-26 22:52:33 +03:00
parent 8b5adbe792
commit 6eae76b095

View File

@ -94,5 +94,5 @@ with open(sys.argv[2], "w") as awkfile:
with open(sys.argv[3], "w") as pacfile: with open(sys.argv[3], "w") as pacfile:
pacdict = {} pacdict = {}
for i, w in enumerate(finallist): for i, w in enumerate(finallist):
pacdict[wordreplace[i].strip('\\')] = w pacdict[wordreplace[i].replace('\\', '')] = w
print(pacdict, file=pacfile) print(pacdict, file=pacfile)