Infinite loop in getWordCompletions() #6

drorweiss opened this Issue Nov 25, 2013 · 0 comments


None yet
1 participant

I ran into an issue with the completer: in some corner cases, when the phrases are long, the while loop in getWordCompletions doesn't end. There's no firm invariant that ensures that the loop will be eventually terminated. Also, since there's a for loop on entries, I don't think there's a need for the while loop. I implemented a correction locally, I can share if relevant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment