n0nick / earley_bird

Earley's Parser written in Python
GNU General Public License v3.0
20 stars 3 forks source link

The parse() function in not terminating in Parse.py #1

Open harish5556 opened 6 years ago

harish5556 commented 6 years ago

The '''Main Earley's Parser loop''' is not terminating. I tried with the same example(sentence and grammar) which you gave. The loop is iterating infinitely.

n0nick commented 6 years ago

Thanks for the report @harish5556! Unfortunately this project is now a 6 years old homework project which I haven't maintained since. I can't say that I remember much about the implementation and possible causes for the issue you're describing.

Have you tried debugging this and might have an idea for what causes this? I would love to incorporate a Pull Request if you already know the issue here.