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

LWS does not match current OpenHowNet implementation #23

Open
courtlandvandam opened this issue Jun 9, 2023 · 1 comment
Open

LWS does not match current OpenHowNet implementation #23

courtlandvandam opened this issue Jun 9, 2023 · 1 comment

Comments

@courtlandvandam
Copy link

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
Copy link
Author

Downgrading OpenHowNet to version 1.0 resolves this issue

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