!7 p-experiment { L voiceLog = scanLog(cereprocLog()); L earLog = scanLog(speechRecognitionLog()); for (S s : earLog) { S timestamp = beforeSpace(s); if (!isInteger(timestamp)) continue; int i = -Collections.binarySearch(voiceLog, timestamp)-2; S said = get(voiceLog, i); S timestamp2 = beforeSpace(said); if (!isInteger(timestamp2)) continue; // huh? long diff = parseLong(timestamp)-parseLong(timestamp2); print(s + " => " + i + ", " + diff + " ms " + said); } }