PointerSQL icon indicating copy to clipboard operation
PointerSQL copied to clipboard

not working of prepare file

Open hsctc opened this issue 6 years ago • 2 comments

three are so many syntaxes error of prepare file, not working at all. Hope to fix them, thanks a lot.

hsctc avatar Dec 24 '18 11:12 hsctc

Hi! I've just checked preprare.py myself and it works on my side.

Can you double check:

  1. use python 2.7 to run the scripts
  2. to run annoate, you need to put the lib directory of the original wikisql annotate scripts under wikisql_data/scripts/ (this require setup Stanford stanza, this step is same as the annotation instruction in https://github.com/salesforce/WikiSQL)
  3. finally, create a directory named annotated under wikisql_data and run the script.

Step 2 requires some additional setups, if it still doesn't work, I can send you annotated data so that only need to run prepare.py.

Mestway avatar Dec 25 '18 04:12 Mestway

Hi @Mestway,

I was able to run annotate.py. I was also able to run prepare.py, but after that when I was trying to run relevance.py it gives me an error of correct files not found!

I looked into the issue, it wants .dat files, but no such files are created via prepare.py or annotated.py

Can you please help with the same?

It would be also great if you could just send the link of pre-processed wikiSQL data, as the link in the readme downloads the preprocessed input data, but the file input.tar.bz2 appears to be corrupted.

Thanks.

akku1506 avatar Sep 06 '19 11:09 akku1506