w2v-servert: add cutoff parame (consider only n most frequent forms)
WARNING: this might break mapped multi-lingual vector-spaces
diff --git a/templates/index.html.ep b/templates/index.html.ep
index 7270997..d42a282 100644
--- a/templates/index.html.ep
+++ b/templates/index.html.ep
@@ -310,11 +310,13 @@
<form method="GET">
word(s):
<input id="word" type="text" name="word" size="20" value="<%= $word %>" title="When looking for multiple words use spaces as separators to search around the average vector and | as separator to get the neighbours for each word.">
+ cut-off:
+ <input id="cutoff" type="text" name="cutoff" size="10" value="<%= $cutoff %>" title="Only consider the most frequent x word forms.">
% if($mergedEnd > 0) {
backw. <input type="checkbox" name="sbf" value="1" <%= ($searchBaseVocabFirst ? "checked" : "") %> title="If checkecked base vocabulary will be searched first. Otherwise merged vocabulray will be searched first.">
% }
- max. neighbours: <input type="text" size="8" name="n" value="<%= $no_nbs %>">
- max. iterations: <input type="text" name="N" size="8" value="<%= $no_iterations %>">
+ max. neighbours: <input type="text" size="4" name="n" value="<%= $no_nbs %>">
+ max. iterations: <input type="text" name="N" size="4" value="<%= $no_iterations %>">
SOM <input type="checkbox" name="som" value="1" <%= ($show_som ? "checked" : "") %>>
% if($collocators) {
<span> </span>sort collocators by