-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support for secondary edges #6
Comments
This new structure is a little awkward to handle with Salt: it'd be most straightforward to treat a It's probably best to do the following:
|
Hm, I see the problem. But wouldn't that mean that a query for a simple secedge between two EDUs would end up requiring two relation edges and three nodes? Or what would AQL look like for finding (2) ->cause (1)? |
Yeah, I think that's right. I don't see a viable workaround, though. The only other possible solution that I can think of to make a single |
I agree it's awkward, but I like option 1 even worse, especially considering that some people might implement secedges without using signals, in which case the entire existence of the How about this third option: We use a single PR between the source and target node, but attach the signal node to both the source and target nodes to indicate that it 'belongs' to that edge? We could even give it an attribute that indicates it's a secedge signal, so it's not confused with a primary edge signal. This would lead to queries like this:
Then for a secedge signal by itself you could do:
And now the awkward part with both:
The last part ensures that this signal node 'straddles' both the source and target with a dom edge. Not fun, but maybe better than options 1 and 2? And for people not using signals, or using signals but not secedges, maximum simplicity is retained. |
use the proposal in korpling#6
OK, implemented that |
The latest rstpp format supports secondary, treebreaking edges, represented as follows in rstWeb. Minimal example (not necessarily linguistically correct!)
Note that secondary edges support signals just like regular edges, and their 'source' field uses a 'src-trg' syntax (
1-2
), which is also used in the<secedge>
element. Since these structures are treebreaking and can form cycles I propose using pointing relations to represent them on top of the existing dominance edge tree, and using a second pointing relation type if cycles occur. This should be very rare if even attested, but the importer should ideally be able to handle it by checking for cycles before generating Salt.The text was updated successfully, but these errors were encountered: