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

AttributeError: "'ASERWorker' object has no attribute 'extract_eventualities_and_relations'" #41

Open
qtli opened this issue Dec 23, 2022 · 1 comment

Comments

@qtli
Copy link

qtli commented Dec 23, 2022

Dear authors,

Thanks for your useful work!

after running:

aser-server -n_workers 1 -n_concurrent_back_socks 10 -port 8000 -port_out 8001 -corenlp_path "stanford-corenlp-3.9.2" -base_corenlp_port 9000

then I call the extract_eventualities_and_relations function, like:
client.extract_eventualities_and_relations(text)

but I encounter the following error:
AttributeError: "'ASERWorker' object has no attribute 'extract_eventualities_and_relations'"

could you help me to solve it? thanks!

@qtli
Copy link
Author

qtli commented Dec 23, 2022

I could find the function in the package:

image

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