Closed NixBiks closed 2 years ago
This is not something that Holmes would support out of the box, but the match()
and topic_match_documents_against()
methods return a lot of context information including the indexes of the spaCy tokens that matched. You can call Holmes from your own code and then use this information to drive such more specific tasks.
I'm wondering if this is able to capture context from subheads. Take this example (taken from here):
Let's say I wanted to extract two facts from this
I have a NER model that can mark all metrics, values and periods just fine. And with Holmes I see how I would be able to extract the metric and value - however I'm not sure how to connect the period (given from the subhead) to the facts. Is this possible with the current version of Holmes?