Generating LANGUAGE_MAP
Slowika opened this issue · 3 comments
Slowika commented
Hi, thanks for releasing the dataset.
Can you please clarify how to generate LANGUAGE_MAP without running synbols-jupyter
?
It works well in the jupyter notebook but when I run a python script with the same code LANGUAGE_MAP is empty.
aldro61 commented
Hi @Slowika,
The LANGUAGE_MAP will only be non-empty when running inside the Synbols runtime environment, i.e., inside the Docker image that ships with each release. If you want to run a custom Python script that uses synbols, you should use synbols myscript.py
instead of python myscript.py
to run it (see here https://github.com/ElementAI/synbols#defining-your-own-generator).
Alex
aldro61 commented
I'm closing this for now. Please reopen if you are still having issues.