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

coreferents() function to find tiers/items aligning to the same thing #19

Open
goodmami opened this issue Apr 6, 2015 · 1 comment
Open

Comments

@goodmami
Copy link
Member

goodmami commented Apr 6, 2015

In some cases, multiple kinds of annotations can align to the same thing, but not transitively. That is, instead of A->B->C, we may have A->C and B->C. In these cases, it would be useful to be able to find what items on A and B refer to the same things in C.

Maybe something like:

>>> query.coreferents(tier_a, tier_b, 'alignment')
[(<Item (id: a1) at ...>, <Item (id: b1) at ...>, [<Item (id: c1) at ...>]), ...]
>>> query.coreferrers(tier_c, 'alignment')
[(<Item (id: c1) at ...>, [<Item (id: a1) at ...>, ...], [<Item (id: b1) at ...>, ...]), ...]
@goodmami
Copy link
Member Author

goodmami commented Dec 7, 2015

This won't make it in time for the 1.1 release. Removing the milestone.

@goodmami goodmami removed this from the 1.1 milestone Dec 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant