I get this error, after about 1 minute of running the program:
Adding words to the trie ...
Traceback (most recent call last):
File "txt2trieDictConvert.py", line 166, in <module>
main()
File "txt2trieDictConvert.py", line 138, in main
trie.addWord(line.strip('\n'))
File "txt2trieDictConvert.py", line 101, in addWord
item.mergeWith(branch.children[0])
IndexError: list index out of range
The dictionary file I use the script on is quite big, it has about 4M lines.
I get this error, after about 1 minute of running the program:
The dictionary file I use the script on is quite big, it has about 4M lines.