From 9e62cf0f8d7d6016df505234aa6e062c5da54443 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Thu, 26 Sep 2019 17:20:28 +0300 Subject: demo clarification --- README.md | 2 +- demo.sh | 2 +- 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 ## Quick Demo -`demo.sh` is included, downloads data for 2 languages. +`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. ```bash ./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 \ "${MAP_TO}/${source_lang}_to_${target_lang}.vec" \ "${MAP_TO}/${target_lang}_to_${source_lang}.vec" > /dev/null 2>&1 -python "${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 +python "${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 -- cgit v1.2.3-70-g09d2