OpenBackdoor
OpenBackdoor copied to clipboard
LWS does not match current OpenHowNet implementation
In openbackdoor/data/lws_utils.py line 130 no longer works. OpenHowNet no longer accepts structured or lang keywords.
Line 134 also breaks. The subtrees of sememe_tree does not have the keys "word" or "syn"
Downgrading OpenHowNet to version 1.0 resolves this issue