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

Show relations in the view. #71

Open
danyaljj opened this issue May 4, 2017 · 2 comments
Open

Show relations in the view. #71

danyaljj opened this issue May 4, 2017 · 2 comments

Comments

@danyaljj
Copy link
Member

danyaljj commented May 4, 2017

Here in the view:
https://github.com/CogComp/sioux/blob/fb67e448fcde5010413e2ce7dded54b95461be51/sioux/core/view.py#L7-L17

We only print the constituents; while we should also print the relations too. Maybe like this:

relation-label (source-cons-label, target-cons-label)

For example for parse tree:

det(construction-2, The-1)
nsubj(finished-8, construction-2)
case(library-7, of-3)
det(library-7, the-4)
compound(library-7, John-5)
compound(library-7, Smith-6)
nmod(construction-2, library-7)
root(ROOT-0, finished-8)
case(time-10, on-9)
nmod(finished-8, time-10)
@GHLgh
Copy link
Member

GHLgh commented May 4, 2017

Okay, just output relations line by line? If some views contain many relations, it might occupy the whole screen...

@danyaljj
Copy link
Member Author

danyaljj commented May 4, 2017

Yeah that should be fine.

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

2 participants