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

Doc for Python import and use inside scripts or program #2

Open
Cbhihe opened this issue Nov 10, 2021 · 0 comments
Open

Doc for Python import and use inside scripts or program #2

Cbhihe opened this issue Nov 10, 2021 · 0 comments

Comments

@Cbhihe
Copy link

Cbhihe commented Nov 10, 2021

Hello and thank you for making your code available to the public.
A couple of questions:

  • Is there info or documentation and use examples for methods and classes to be import from inside an iPython shell or from within Python code ? (The alternative would be to dig into your code directly.) Concretely I am interested in using 'lelesk' in a way similar to 'lesk', i.e. propose ambiguous terms and context sentence and return the most likely synset.

  • I installed yawlib as well as db files in ~/wordnet, checked that yawlib is operational (python -m yawlib lemma research), but python -m lelesk wsd "I go to the bank to get money" produces segmentation fault from within a Python v 3.7.1 virtual environment. Any idea why that could be ? ... my VENV is set up with `pyenv for what it's worth.

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