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

Option to average vectors when using "merge_entity" pipeline. #5082

Closed
mitchelldehaven opened this issue Mar 2, 2020 · 2 comments · Fixed by #5085
Closed

Option to average vectors when using "merge_entity" pipeline. #5082

mitchelldehaven opened this issue Mar 2, 2020 · 2 comments · Fixed by #5085
Labels
enhancement Feature requests and improvements feat / pipeline Feature: Processing pipeline and components feat / vectors Feature: Word vectors and similarity

Comments

@mitchelldehaven
Copy link

Would it be possible to have an option for averaging the vectors of merge entities when using the "merge_entities" pipeline? For example, when named entities are represented as a Span in doc.ents, you can have a vector representation which is the average over the vectors in the Span. When using the merge_entities pipeline, the vector representation of the entity is a zero vector.

@svlandeg svlandeg added feat / pipeline Feature: Processing pipeline and components feat / vectors Feature: Word vectors and similarity enhancement Feature requests and improvements labels Mar 2, 2020
@svlandeg
Copy link
Member

svlandeg commented Mar 2, 2020

I think that would make sense - cf. PR #5085 !

@lock
Copy link

lock bot commented Apr 15, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Feature requests and improvements feat / pipeline Feature: Processing pipeline and components feat / vectors Feature: Word vectors and similarity
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants