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

Get full leaf token in parseTree, not only text #35

Open
lcswillems opened this issue May 22, 2019 · 0 comments
Open

Get full leaf token in parseTree, not only text #35

lcswillems opened this issue May 22, 2019 · 0 comments

Comments

@lcswillems
Copy link

Hi,

If I do annotation = client.annotate(text), annotation.sentence[0] will contain tokens and a parseTree, but the parseTree leaves are just plain text. No way to access the corresponding token.

@lcswillems lcswillems changed the title Get full label in parseTree Get full leaf label in parseTree, not only text May 22, 2019
@lcswillems lcswillems changed the title Get full leaf label in parseTree, not only text Get full leaf token in parseTree, not only text May 22, 2019
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

No branches or pull requests

1 participant