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

verify: entities without any mentions? #9

Open
arne-cl opened this issue Sep 4, 2014 · 0 comments
Open

verify: entities without any mentions? #9

arne-cl opened this issue Sep 4, 2014 · 0 comments
Assignees

Comments

@arne-cl
Copy link
Member

arne-cl commented Sep 4, 2014

from pocores import Pocores
from discoursegraphs.readwrite import ConllDocumentGraph

cdg = ConllDocumentGraph('test/maz176/maz-12188.conll2009')
p = Pocores(cdg)

for entity, mentions in p.entities.items():
    print entity, mentions
...
s5_t6 ['s5_t6', 's8_t21', 's9_t1', 's9_t3']
...
s8_t21 []
@arne-cl arne-cl self-assigned this Sep 4, 2014
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