Change script param and output organisation to resonable defaults
The script convert_text_to_amr.py
takes an input argument that is a filename without prefix (realizing this alone took me 10 minutes). The filename is supposed to be contained in an input directory whose path is hard coded.
The output directory is hard coded to.
The output structure doesn't make sense : it creates a directory named after the script argument 'filename' then copy 'filename.txt' in if and 'duplicate' it with the name filename.sentence.txt
and a .
appended to the content. It also create a subdirectory 'filename-01' with the actual outputs in it...
@alam you need to change this with reasonable defaults like : give a filepath as parameter and the script creates a directory next to the path (striping the file extension) that directly contains every outputs.
This needs to be done before I can develop any kind of real demo (for the EGC submission I will make something ad-hoc but this needs to be fixed quickly)