You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Add a new parameter alias
type2score
which can be used to set the score dictionary for both corpora at the same time in aWeightedAvgShift
. Specifying a single dictionary using onlytype2score_1
is already possible, but a parametertype2score
would be more natural. Just have to check iftype2score
isNone
, and if not, settype2score_1
astype2score
. Existing code should then handle the rest.The text was updated successfully, but these errors were encountered: