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

TypeError: unsupported operand type(s) for +: 'int' and 'str' #36

Open
PiyushKyushu opened this issue Oct 19, 2022 · 0 comments
Open

TypeError: unsupported operand type(s) for +: 'int' and 'str' #36

PiyushKyushu opened this issue Oct 19, 2022 · 0 comments

Comments

@PiyushKyushu
Copy link

PiyushKyushu commented Oct 19, 2022

I have two dictionary A_dict and B_dict and when I am trying below code, I am getting TypeError.

import shifterator as sh
sentiment_shift = sh.WeightedAvgShift(type2freq_1=A_dict,
                                      type2freq_2=B_dict,
                                      type2score_1='labMT_English')
sentiment_shift.get_shift_graph()

Can you please tell me what is the issue here?

Thanks!

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

No branches or pull requests

1 participant