-
Notifications
You must be signed in to change notification settings - Fork 8
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
base: dev
Are you sure you want to change the base?
Conversation
Merging all changes for BlaBla V0.2 Release
Release BlaBla V0.2.2
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. |
blabla/utils/utils.py
Outdated
from nltk.tree import Tree | ||
|
||
|
||
def get_nltk_tree(parse_tree) -> Tree: |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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
Please note that we do not accept pull requests for the
master
branch. You should raise new PRs for thedev
branch only.See our contributing guide for details.
Please include the following details in your pull request to make the reviewer's job easier.
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.