OpenBackdoor icon indicating copy to clipboard operation
OpenBackdoor copied to clipboard

LWS does not match current OpenHowNet implementation

Open courtlandvandam opened this issue 1 year ago • 1 comments

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"

courtlandvandam avatar Jun 09 '23 19:06 courtlandvandam

Downgrading OpenHowNet to version 1.0 resolves this issue

courtlandvandam avatar Jun 09 '23 20:06 courtlandvandam