OpenHowNet icon indicating copy to clipboard operation
OpenHowNet copied to clipboard

TypeError: get_sememes_by_word() got an unexpected keyword argument 'structured'

Open Hannah271 opened this issue 2 years ago • 2 comments

您好, 我在运行SememeWSD data_util.py这里的代码时在 File "data_util.py", line 44, in gen_sem_dict tree = hownet_dict.get_sememes_by_word(word,structured=True,lang='zh',merge= False)有一个报错: TypeError: get_sememes_by_word() got an unexpected keyword argument 'structured'. 不确定这个是不是HowNet的问题

Hannah271 avatar Mar 28 '22 02:03 Hannah271

i also have this problem

zzy1991099242 avatar Oct 27 '22 04:10 zzy1991099242

same here. It is version issue, install OpenHowNet==0.0.1a11

lunaryan avatar May 05 '23 05:05 lunaryan