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
Implementation of the model used in the paper Protest Activity Detection and Perceived Violence Estimation from Social Media Images (ACM Multimedia 2017)
How are words loaded with meaning? Repository to accompany research paper in preparation by Alina Arseniev-Koehler and Jacob G. Foster, titled "Machine learning as a model for cultural learning: teaching an algorithm what it means to be fat."
This is a collaborative, interdisciplinary endeavour of scholars from the German academic context. We look at Twitter data from the 2021 hashtag #IchbinHanna et al. and combine organising-specific concerns with academic social media research. You may use and share the code and plots provided. To join the team and get access to all tweet data, just drop a message.
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