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

Problem converting the TIGER corpus into pickle format #10

Open
EineTasseKaffee opened this issue Mar 17, 2021 · 1 comment
Open

Problem converting the TIGER corpus into pickle format #10

EineTasseKaffee opened this issue Mar 17, 2021 · 1 comment

Comments

@EineTasseKaffee
Copy link

Hello there, I am relatively new to programming in general and language processing in particular, so please excuse if this seems like a silly problem:

After installing germalemma using pip, downloading the TIGER corpus in the CONLL09 format and also installing Pyphen, I am struggeling to covert the TIGER corpus into pickle format. (I used the anaconda prompt for all of this, which seemed useful as I use Jupyter Notebooks to code)

When I apply the code specified in the readme document, I get this error:
"python: can't open file 'germalemma/init.py': [Errno 2] No such file or directory"

I suspect I might have made a mistake with a detail a more experienced person would find too obvious to specify in the document?
Any help, suggestion or hint would be greatly appreciated! Thank you.
(Maybe there is even a more detailed tutorial on using germalemma somewhere? So far I haven't found anything)

@internaut
Copy link
Member

Hi there,
if you already installed germalemma via pip, there's no need to follow the "downloading and installing from source" instructions. Everything should already be set up correctly. In order to check this out, you should open a Python shell and try out the commands shown in the "usage" section of the README. If you're using a virtual environment, make sure you activate it before starting the Python shell.

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

2 participants