Skip to content

Infinite loop in getWordCompletions() #6

Description

@drorweiss

Hi,
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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions