           allWords[j].PronunciationAssessment.ErrorType = "Insertion";
                            }
                            lastWords.push(allWords[j]);
                        }
                    }
                    if (d[0] == "delete" || d[0] == "replace") {
                        if (
                            d[2] == referenceWords.length &&
                            !(
                                jo.RecognitionStatus == "Success" ||
                                jo.RecognitionStat