From c964f7fd4550ed1f3eb7aa58a620de88fbabc3cf Mon Sep 17 00:00:00 2001 From: Matt Post Date: Thu, 1 Jun 2023 09:58:32 -0700 Subject: [PATCH] Fixed path to JSON file --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e620d21..96ae654 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Under `bin/` are two scripts: Using our modified ContraPro dataset, you first need to change to that directory and run the download script to download OpenSubs. Then run: # maximum 250 tokens, en-de - ./ext/ContraPro/bin/json2text.py -m 250 --spm /path/to/spm/model --json-file ContraPro/contrapro.json > contrapro.en-de.tsv + ./ext/ContraPro/bin/json2text.py -m 250 --spm /path/to/spm/model --json-file ext/ContraPro/contrapro.json > contrapro.en-de.tsv This will print the file to STDOUT: 36,031 lines of correct and contrastive lines. One of the fields has a value of "correct" or "contrastive"; for generative results, use only the former. You can output only these using the `--correct-only` flag.