Oct-04-2020, 05:31 PM
(This post was last modified: Oct-04-2020, 05:45 PM by ErnestTBass.)
I am having some troubles using pseudogen. It generates pseudo code from python source code, a nice trick.. You can use the basic version or the Docker image. I choose to use the Docker image because a lot of the trivial stuff is already done for you. The link for that is now shown below.
https://github.com/delihiros/pseudogen/b.../README.md
I have been able to get it to run. The output of pseudocode is separated from the python source so one must a a rather tedious matchup of python source code and the associated pseudocode.
The two lines that I use are shown now
The second question is what is this command for:
Why do we need en-django at all? In the Docker image in the link, when one runs the image at the link the containers shown is a linux system with a en-django folder. But again, why do we need to get it? It is there already.
As I have said my preference is for the Docker image since so much has been set up for you in the docker image.
I think there is something that I am missing and I wish someone could tell how to get it to run with a gui and reliably.
Any help appreciated.
Respectfully,
ErnestTBass
https://github.com/delihiros/pseudogen/b.../README.md
I have been able to get it to run. The output of pseudocode is separated from the python source so one must a a rather tedious matchup of python source code and the associated pseudocode.
The two lines that I use are shown now
../train-pseudogen.sh -p all.code -e all.anno ../run-pseudogen.sh -f tune/travatar.ini # input Python code you want to translate # in some environments, you may need to press Ctrl+D few times in order to start tranlatingMy first question that I thought pseudogen used a graphical user interface and this is not one, it is strictly command line.
The second question is what is this command for:
wget -O- http://ahclab.naist.jp/pseudogen/en-django.tar.gz | tar zxvf - mv en-django/all.* .?
Why do we need en-django at all? In the Docker image in the link, when one runs the image at the link the containers shown is a linux system with a en-django folder. But again, why do we need to get it? It is there already.
As I have said my preference is for the Docker image since so much has been set up for you in the docker image.
I think there is something that I am missing and I wish someone could tell how to get it to run with a gui and reliably.
Any help appreciated.
Respectfully,
ErnestTBass