We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Current entity augmenters do not handle entity links as one would use for entity linking.
Ideally, entity formatters should keep the same link, while entity replacers could potentially add a new link.
if you don't care about the links annotation they can be removed using augmenters such as:
def create_remove_links_augmenter() -> Callable[..., Iterator[Any]]: def remove_links(nlp: Language, example: Example) -> Iterator[Example]: example_dict = example.to_dict() example_dict["doc_annotation"].pop("links") yield Example.from_dict(example.y, example_dict) return remove_links
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Current entity augmenters do not handle entity links as one would use for entity linking.
Ideally, entity formatters should keep the same link, while entity replacers could potentially add a new link.
if you don't care about the links annotation they can be removed using augmenters such as:
The text was updated successfully, but these errors were encountered: