Swift Edit-distance Resources