 
   var m = false;
   if let pl = lookupPattern(letter: lowercased(letter: tr)) {
-    m = matchPattern(table: pl, point: point)
+    m = matchPattern(dlist: pl, point: point)
   }
 
   if (tr == "I") { return ch == tr ? !m : m }

      s = setCharAt(s: s, n: i, c: x);
      i -= 1;
      space = false;
    }
    index -= 1;
  }
  return s;
}

func matchPattern(table : [String: Int], point : Int) -> Bool {
  return true;
}

func needsCorrectionAux(c : Character, point : Int) -> Bool {


  var (i, space, index) = (size + 1, false, point);
  index += 1;
  var currentChar : Character;

  while (i < s.characters.count &&
  !space && index < asciiString.characters.count) {
