code: function dumpNice(sentence, fn) {
      var result = [];
      sentence.forEach(function (oWord, index) {
          var sWord = "[" + index + "] : " + (oWord._ranking || 0).toFixed(3) + " " + oWord.category + " \"" + oWord.string + "\" => \"" + oWord.matchedString + "\"";
          result.push(sWord + "\n");
      });
      result.push(".\n");
      return result.join("");
  }
docs: /*
  export function simplifySentence(res : IMatch.ICategorizedStringRanged[][]) : string[][] {
  return res.map(function (r) {
  return r.map(word => { return word.string + '=>' + word.matchedString + '/' + word.category + (word.span ? '/' + word.span : '') })
  });
  }