Skip to content
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

Fix/parse tree bug #29

Open
wants to merge 7 commits into
base: dev
Choose a base branch
from
Open

Fix/parse tree bug #29

wants to merge 7 commits into from

Conversation

rlenain
Copy link

@rlenain rlenain commented Jan 25, 2021

Please note that we do not accept pull requests for the master branch. You should raise new PRs for the dev branch only.

See our contributing guide for details.

Please include the following details in your pull request to make the reviewer's job easier.

  • Description: Please include a brief description of the reason behind the PR. For example, you could be raising an issue, implementing a bugfix or adding a new feature to BlaBla.
  • Issue(s) that your PR fixes: Please list the reported issues/bugs the PR fixes with # references. (e.g., #123). Please make sure you have the issue raised before raising the PR.
  • Changes in BlaBla as a result of the PR: Please let us know if you think the PR raises any new issues in BlaBla and how can we handle it. The team at Novoic will do its best to address these issues.

Please note that before your pull request will be merged, you must sign our Contributor License Agreement (CLA). Instructions on how to do this will be automatically commented on the PR once you make it.

@CLAassistant
Copy link

CLAassistant commented Jan 25, 2021

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ abhisheknovoic
✅ rlenain
❌ Raphael Lenain


Raphael Lenain seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

from nltk.tree import Tree


def get_nltk_tree(parse_tree) -> Tree:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we doing typing or not? Pick a lane buddy.

return Tree(
parse_tree.value,
[get_nltk_tree(child) for child in parse_tree.child]
) if parse_tree.child else parse_tree.value
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EOF \n

setup.py Outdated
"stanza==1.0.0",
"stanza>=1.1.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We discussed pinning only major versions. What's the rationale here? Consider changing all to major version only

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.

4 participants