help required
Can you please tell me how to run this code .. i have downloaded the code but i am unable to run it . can u please guide me with the directions if possible .
waiting for a positive reply.
Thank you so much.
hi , can you please tell me where should i give the path of my folder for the extraction on the code-docstring corpus.?
in /scripts/nmt/ there are the scripts used to prepare the data and train the baseline models with Nematus. You have to edit these scripts with the paths of the tools and then run them from a working directory containing the data.
You might want to first become experienced in using Nematus. You can follow this tutorial: http://data.statmt.org/wmt17_systems/training/
Hi,
Actually i have scrapped the python code as you suggested from pycodesuggest now i have to extract the code-docstring corpus from that extracted python folder . For that what direction should i follow ?
Thank you so much .
Best regards Jigyasa Sakhuja
On Wed, Mar 21, 2018 at 8:33 PM, Antonio Valerio Miceli Barone < [email protected]> wrote:
in /scripts/nmt/ there are the scripts used to prepare the data and train the baseline models with Nematus. You have to edit these scripts with the paths of the tools and then run them from a working directory containing the data.
You might want to first become experienced in using Nematus. You can follow this tutorial: http://data.statmt.org/wmt17_systems/training/
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EdinburghNLP/code-docstring-corpus/issues/7#issuecomment-375068675, or mute the thread https://github.com/notifications/unsubscribe-auth/AdhRy05ojryawOkG59_5UM-M-N4xFW8Wks5tgqr8gaJpZM4SyA3Y .
You don't need to scrape the code yourself. This is a corpus release, it already contains the scraped code.
What are you trying to do exactly?
I want to implement once the code documentation and code generation using nematus for that i need a corpus and i scrapped it also and now i want to extract the code,docstrings and declaration. over here scripts are provided to extract the python code , docstring, body but i am not getting it where to give the path of my folder.
On Wed, Mar 21, 2018 at 9:07 PM, Antonio Valerio Miceli Barone < [email protected]> wrote:
You don't need to scrape the code yourself. This is a corpus release, it already contains the scraped code.
What are you trying to do exactly?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EdinburghNLP/code-docstring-corpus/issues/7#issuecomment-375078558, or mute the thread https://github.com/notifications/unsubscribe-auth/AdhRyw3mor-oQj6bq4K6hH4Nt5psSneFks5tgrMCgaJpZM4SyA3Y .
Hi, I want to know that if i have scraped all the python files in one folder now i want to make a corpus of my own so for that i am following your code but i am unable to identify how to run the shell scripts to extract the function declaration and docstrings .you have mentioned that i the scripts folder all the scripts are given for the extraction but you have not mentioned the way to use them . can you please guide me how to do it?
Thank you so much waiting for a positive response.
Best Regards Jigyasa Sakhuja
On Wed, Mar 21, 2018 at 9:11 PM, Gaurav Bhagat [email protected] wrote:
I want to implement once the code documentation and code generation using nematus for that i need a corpus and i scrapped it also and now i want to extract the code,docstrings and declaration. over here scripts are provided to extract the python code , docstring, body but i am not getting it where to give the path of my folder.
On Wed, Mar 21, 2018 at 9:07 PM, Antonio Valerio Miceli Barone < [email protected]> wrote:
You don't need to scrape the code yourself. This is a corpus release, it already contains the scraped code.
What are you trying to do exactly?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EdinburghNLP/code-docstring-corpus/issues/7#issuecomment-375078558, or mute the thread https://github.com/notifications/unsubscribe-auth/AdhRyw3mor-oQj6bq4K6hH4Nt5psSneFks5tgrMCgaJpZM4SyA3Y .
for example when I am running this shell command I am not getting anything in my corpora.txt , corpora1.txt, corpora2.txt.. can u tell me why?
find ~/venv/corpus/ -type f -name "*.py" | python extract_funcdefs_and_docstrings.py ~/corpora.txt ~/corpora2.txt ~/corpora3.txt
On Thu, Mar 22, 2018 at 2:55 PM, Gaurav Bhagat [email protected] wrote:
Hi, I want to know that if i have scraped all the python files in one folder now i want to make a corpus of my own so for that i am following your code but i am unable to identify how to run the shell scripts to extract the function declaration and docstrings .you have mentioned that i the scripts folder all the scripts are given for the extraction but you have not mentioned the way to use them . can you please guide me how to do it?
Thank you so much waiting for a positive response.
Best Regards Jigyasa Sakhuja
On Wed, Mar 21, 2018 at 9:11 PM, Gaurav Bhagat [email protected] wrote:
I want to implement once the code documentation and code generation using nematus for that i need a corpus and i scrapped it also and now i want to extract the code,docstrings and declaration. over here scripts are provided to extract the python code , docstring, body but i am not getting it where to give the path of my folder.
On Wed, Mar 21, 2018 at 9:07 PM, Antonio Valerio Miceli Barone < [email protected]> wrote:
You don't need to scrape the code yourself. This is a corpus release, it already contains the scraped code.
What are you trying to do exactly?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/EdinburghNLP/code-docstring-corpus/issues/7#issuecomment-375078558, or mute the thread https://github.com/notifications/unsubscribe-auth/AdhRyw3mor-oQj6bq4K6hH4Nt5psSneFks5tgrMCgaJpZM4SyA3Y .
Hi Gaurav,
I'm a bit busy at the moment, I will look into this next week.