diff --git a/comp_questions/src/main/java/cmu/xprize/comp_questions/CQn_ViewManagerASB.java b/comp_questions/src/main/java/cmu/xprize/comp_questions/CQn_ViewManagerASB.java index 50e8889d3..0dac92071 100644 --- a/comp_questions/src/main/java/cmu/xprize/comp_questions/CQn_ViewManagerASB.java +++ b/comp_questions/src/main/java/cmu/xprize/comp_questions/CQn_ViewManagerASB.java @@ -2415,20 +2415,8 @@ public void setRandomGenericQuestion(){ File[] allfiles = dir.listFiles();*/ String[] genericQuestions = - { "Has this happened to you", - "What part of the story are you reading now", - "What could you learn from this", - "When does this take place", - "What do you think this story will be about", - "Where does this story happen", - "What do you think will happen next", - "Where does this take place", - "What does this story teach you", - "Who does this talk about", - "What happens in this story", - "Who is this story about", + {"Who is this story about", "What has happened so far", - "Whom did you like best in this story", "What is this story about"}; Log.wtf("COMPREHEND", "files: " + genericQuestions.length); diff --git a/comp_reading/src/main/java/cmu/xprize/rt_component/CRt_ViewManagerASB.java b/comp_reading/src/main/java/cmu/xprize/rt_component/CRt_ViewManagerASB.java index 2db7b446d..01209c052 100644 --- a/comp_reading/src/main/java/cmu/xprize/rt_component/CRt_ViewManagerASB.java +++ b/comp_reading/src/main/java/cmu/xprize/rt_component/CRt_ViewManagerASB.java @@ -1474,7 +1474,7 @@ private PointF broadcastActiveTextPos(TextView text, String[] words){ /** * This is where we process words being narrated - * + * VMC_QA why does this get called twice for the last word??? */ @Override public void onUpdate(String[] heardWords) { @@ -1489,7 +1489,7 @@ public void onUpdate(String[] heardWords) { while (mHeardWord < heardWords.length) { - if (wordsToSpeak[mCurrWord].equals(heardWords[mHeardWord])) { + if (wordsToSpeak[mCurrWord].equals(heardWords[mHeardWord])) { // VMC_QA these are not equal. one of these is out of bounds (probably wordsToSpeak) nextWord(); mHeardWord++;