ericlagergren / marisa-trie

Automatically exported from code.google.com/p/marisa-trie
Other
0 stars 0 forks source link

Find All Prefixs doesn't work on Linux Mint 13 after installing thorugh PIP, but Filter By Prefix Does #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Put 98000 dict words in a list, loaded them in trie
2.Find all prefixes of a given key.
3.

What is the expected output? What do you see instead?
I expected to see the prefixes.  I seen single letters returned (The first 
letter of the prefix)

Filter them by prefix did work, I just used list comprehension to remove index.

What version of the product are you using? On what operating system?

I installed today through pip on Linux Mint 13 LTS Cinnamon.

Please provide any additional information below.

Original issue reported on code.google.com by planetof...@gmail.com on 25 Apr 2014 at 7:35