-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CKY Algorithm? #1722
Comments
👍 |
@aetilley It's a good idea to have a working CKY wrapper in NLTK like Additionally, there's a Create a PR when the code is ready and someone will help review through it =) Looking forward to the PR! |
@alvations Great. Yes, I already noticed there's quite a bit done. Also it seems that there's already functionality for transforming an arbitrary CFG into Chomsky Normal Form, so I don't need to bring over that machinery. I'll get on it. |
(Just started a job so this might get delayed a bit, but I'm definitely still interested.) |
Commented on #1884 Closing issue. |
I've noticed that there are a lot of bottom-up parsers, but I don't find the exact CKY parser anywhere or the associated 'inside algorithm' for sentence scoring.
I implemented this a year ago,
https://github.com/aetilley/pcfg
and I'd be happy to re-write it inside NLTK if people think it would be worthwhile.
I understand many of the other bottom-up- / chart - parsers tend to perform better than CKY, but I believe CKY is often one of the first taught.
Just a thought.
The text was updated successfully, but these errors were encountered: