diff options
author | Yigit Sever | 2019-09-26 17:20:28 +0300 |
---|---|---|
committer | Yigit Sever | 2019-09-26 17:20:28 +0300 |
commit | 9e62cf0f8d7d6016df505234aa6e062c5da54443 (patch) | |
tree | 9c0da61061c0dbc97020cb46b6b12e52de7c3edd | |
parent | 5f30965f966aa76881d212e30115700a10a5154e (diff) | |
download | Evaluating-Dictionary-Alignment-9e62cf0f8d7d6016df505234aa6e062c5da54443.tar.gz Evaluating-Dictionary-Alignment-9e62cf0f8d7d6016df505234aa6e062c5da54443.tar.bz2 Evaluating-Dictionary-Alignment-9e62cf0f8d7d6016df505234aa6e062c5da54443.zip |
demo clarification
-rw-r--r-- | README.md | 2 | ||||
-rwxr-xr-x | demo.sh | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 |
@@ -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 | ||
98 | 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 | 98 | 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 |