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

Allow user to turn on/off the negation behaviour #59

Open
woodthom2 opened this issue Oct 29, 2024 · 0 comments
Open

Allow user to turn on/off the negation behaviour #59

woodthom2 opened this issue Oct 29, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@woodthom2
Copy link
Contributor

woodthom2 commented Oct 29, 2024

Description

Question negation is language specific but not always wanted. Can we enable/disable it at the match_instruments function?

To clarify, there are some rule based scripts here which turn "I like" into "I don't like" etc in English and a few other languages. This is hard coded and some users want to be able to turn it off. Can you add a switch at library level and also at API level which stops the functions in negator.py being called?

Rationale

Sometimes users only want the absolute value of cosine similarity

See related R issue harmonydata/harmony_r#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant