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

Add type2score alias #26

Open
ryanjgallagher opened this issue Jul 26, 2021 · 0 comments
Open

Add type2score alias #26

ryanjgallagher opened this issue Jul 26, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@ryanjgallagher
Copy link
Owner

Add a new parameter alias type2score which can be used to set the score dictionary for both corpora at the same time in a WeightedAvgShift. Specifying a single dictionary using only type2score_1 is already possible, but a parameter type2score would be more natural. Just have to check if type2score is None, and if not, set type2score_1 as type2score. Existing code should then handle the rest.

@ryanjgallagher ryanjgallagher added the good first issue Good for newcomers label Jul 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant