use true translation metrics

We were on magnetic translation befoe
This commit is contained in:
Douglas Gardner 2013-04-21 16:12:14 +00:00
parent 0376926dfc
commit 17e9e73617

View File

@ -52,7 +52,7 @@ var project = function(dbot) {
}
}
var t = {};
for (var k = 0; k < str.length; k++) {
for (var k = 0; k < translation.length; k++) {
var curr = translation[k];
if (t[curr]) {
t[curr]["count"] += 1;