forked from kristjan/cjvt-srl-tagging
Makefile fix
This commit is contained in:
5
tools/gen_json.py
Normal file
5
tools/gen_json.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import Path
|
||||
|
||||
if __name__ == "__main__":
|
||||
print("TODO: take data/kres_example_srl/* and generate data/kres_example_json/*")
|
||||
print("TODO: check ssj and kres <links> for structure")
|
||||
@@ -5,7 +5,7 @@ OUT_FOLDER="$2"
|
||||
SUFFIX="srl.tsv"
|
||||
|
||||
mkdir -p $OUT_FOLDER
|
||||
rm $OUT_FOLDER/*${SUFFIX}
|
||||
rm $OUT_FOLDER/*${SUFFIX} &> /dev/null
|
||||
|
||||
for infile in $IN_FOLDER/*; do
|
||||
echo "Tagging: ${infile}"
|
||||
|
||||
Reference in New Issue
Block a user