if (source == 'fuzzy') {
//To access the proper
headers.flag = $('#fuzzyFlagText').val();
- headers.weigth = $('#fuzzyWeightText').val();
+ headers.weight = $('#fuzzyWeightText').val();
} else {
data = $('#' + source + 'TextSource').val();
}
}
}
else {
- /* We have a unique ngramm, increase its weigth */
+ /* We have a unique ngramm, increase its weight */
PTR_ARRAY_FOREACH (chain->languages, i, elt) {
elt->prob *= 4.0;
#ifdef EXTRA_LANGDET_DEBUG
(end_ticks - start_ticks));
return result;
-}
\ No newline at end of file
+}
if (cfg) {
if (!rspamd_lua_parse_table_arguments (L, 2, &err,
- "name=S;weigth=N;callback=F;flags=S;type=S;priority=I;parent=D;"
+ "name=S;weight=N;callback=F;flags=S;type=S;priority=I;parent=D;"
"score=D;description=S;group=S;one_shot=B;nshots=I;no_squeeze=B",
&name, &weight, &cbref, &flags_str, &type_str,
&priority, &parent_float,