Searched refs:keywordIndex (Results 1 – 1 of 1) sorted by relevance
126 int keywordIndex = 0; in elzTalk() local127 for (; keywordIndex < CONVERSATION_KEYWORDS.length; ++keywordIndex) { in elzTalk()128 int index = input.indexOf(CONVERSATION_KEYWORDS[keywordIndex]); in elzTalk()135 if (keywordIndex == CONVERSATION_KEYWORDS.length) { in elzTalk()136 keywordIndex = 35; in elzTalk()138 int index = input.indexOf(CONVERSATION_KEYWORDS[keywordIndex]); in elzTalk()139 afterKeyword = input.substring(index + CONVERSATION_KEYWORDS[keywordIndex].length()); in elzTalk()155 String question = QUESTIONS[responseCurrentIndices[keywordIndex] - 1]; in elzTalk()156 responseCurrentIndices[keywordIndex] = responseCurrentIndices[keywordIndex] + 1; in elzTalk()157 if (responseCurrentIndices[keywordIndex] > responseEnds[keywordIndex]) { in elzTalk()[all …]