Thanks to visit codestin.com
Credit goes to github.com

Skip to content

NLP: Chart Parsing #612

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

Merged
merged 3 commits into from
Aug 11, 2017
Merged

NLP: Chart Parsing #612

merged 3 commits into from
Aug 11, 2017

Conversation

antmarakis
Copy link
Collaborator

Added a test and a section to the notebook for chart parsing. Also, updated the docstring in nlp.py to the 3rd edition.

@norvig
Copy link
Collaborator

norvig commented Aug 11, 2017

This looks nice. One style comment: you have:

Lexicon(
    Verb="is | say | are", ...

and I know that is the correct PEP 8 style for keyword args, but seen as a grammar rather than a function call, I think it would look prettier as:

Lexicon(
    Verb = "is | say | are", ...

@norvig norvig merged commit 2f03807 into aimacode:master Aug 11, 2017
@antmarakis antmarakis deleted the patch-6 branch August 12, 2017 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants