Is there a way to remove a particular entity from a knowledge base given their entity id? #8307
epb378
started this conversation in
Help: Best practices
Replies: 1 comment 1 reply
-
There's currently not really a method to delete one entity, as it was kind of assumed that a KB is built once and isn't dynamically being changed. Might I ask what's your use-case for removing an entity after construction of the KB? And yes you're right that if you'd copy the entities over to a new KB, you'd also have to specify the aliases again for each. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Spacy knowledge base
Is there an elegant way to remove an entity from a knowledge base? It looks like you might be able to copy all the existing entities (minus the one to be deleted) to a new kb, but this doesn't seem like an elegant approach, and it doesn't look like it will keep the probabilities of each alias being assigned to each entity.
source
Beta Was this translation helpful? Give feedback.
All reactions