aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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