commit | 2dd2dd727e7e6645e6e76527f9015ec41114e2f0 | [log] [tgz] |
---|---|---|
author | Marc Kupietz <kupietz@ids-mannheim.de> | Fri Dec 01 22:08:14 2017 +0100 |
committer | Marc Kupietz <kupietz@ids-mannheim.de> | Fri Dec 01 22:08:14 2017 +0100 |
tree | fc3cb8e24697c230b9d904a92ca04feabead69b4 | |
parent | 6e2fc10839af5349f149819648f6b479f5e47168 [diff] [blame] |
w2v-server: fix cache hash
diff --git a/w2v-server.pl b/w2v-server.pl index 5792893..8085874 100755 --- a/w2v-server.pl +++ b/w2v-server.pl
@@ -122,7 +122,7 @@ } else { $res = get_neighbours($w, $no_nbs, $sort, $searchBaseVocabFirst, $cutoff, $dedupe); } - $cache{$w} = $res; + $cache{$w.$cutoff.$no_nbs.$sort.$dedupe} = $res; } push(@lists, $res->{paradigmatic}); }