aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2019-09-26 17:20:28 +0300
committerYigit Sever2019-09-26 17:20:28 +0300
commit9e62cf0f8d7d6016df505234aa6e062c5da54443 (patch)
tree9c0da61061c0dbc97020cb46b6b12e52de7c3edd
parent5f30965f966aa76881d212e30115700a10a5154e (diff)
downloadEvaluating-Dictionary-Alignment-9e62cf0f8d7d6016df505234aa6e062c5da54443.tar.gz
Evaluating-Dictionary-Alignment-9e62cf0f8d7d6016df505234aa6e062c5da54443.tar.bz2
Evaluating-Dictionary-Alignment-9e62cf0f8d7d6016df505234aa6e062c5da54443.zip
demo clarification
-rw-r--r--README.md2
-rwxr-xr-xdemo.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 338c51d..40909f5 100644
--- a/README.md
+++ b/README.md
@@ -113,7 +113,7 @@ Bear in mind that this will require around 50 GB free space. The mapped embeddin
113 113
114## Quick Demo 114## Quick Demo
115 115
116`demo.sh` is included, downloads data for 2 languages. 116`demo.sh` is included, downloads data for 2 languages and runs WMD (Word Mover's Distance) and SNK (Sinkhorn Distance) methods in matching and retrieval paradigms.
117 117
118```bash 118```bash
119./demo.sh 119./demo.sh
diff --git a/demo.sh b/demo.sh
index d8b0b37..1eb1f64 100755
--- a/demo.sh
+++ b/demo.sh
@@ -95,4 +95,4 @@ python "${ROOT}/vecmap/map_embeddings.py" --supervised \
95 "${MAP_TO}/${source_lang}_to_${target_lang}.vec" \ 95 "${MAP_TO}/${source_lang}_to_${target_lang}.vec" \
96 "${MAP_TO}/${target_lang}_to_${source_lang}.vec" > /dev/null 2>&1 96 "${MAP_TO}/${target_lang}_to_${source_lang}.vec" > /dev/null 2>&1
97 97
98python "${ROOT}/WMD_matching.py" "${source_lang}" "${target_lang}" "${MAP_TO}/${source_lang}_to_${target_lang}.vec" "${MAP_TO}/${target_lang}_to_${source_lang}.vec" "${READY}/${source_lang}_to_${target_lang}.def" "${READY}/${target_lang}_to_${source_lang}.def" all 98python "${ROOT}/WMD.py" "${source_lang}" "${target_lang}" "${MAP_TO}/${source_lang}_to_${target_lang}.vec" "${MAP_TO}/${target_lang}_to_${source_lang}.vec" "${READY}/${source_lang}_to_${target_lang}.def" "${READY}/${target_lang}_to_${source_lang}.def" all all