Skip to content

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

@woodthom2

Description

@woodthom2

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?

Once we have enabled this switch we need to expose it as an option in the API. I have a related issue in the API issue tracker covering this function on the API side. However, the first step is to implement this switch in the Python library

Rationale

Sometimes users only want the absolute value of cosine similarity

See related R issue harmonydata/harmony_r#3

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions