mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-22 09:32:53 -06:00
trim the input string in the conversation view for better lexical matching
This commit is contained in:
@@ -82,7 +82,7 @@ public class ConversationView extends ScrollView {
|
|||||||
inputMethodManager.toggleSoftInput(InputMethodManager.SHOW_IMPLICIT, 0);
|
inputMethodManager.toggleSoftInput(InputMethodManager.SHOW_IMPLICIT, 0);
|
||||||
}
|
}
|
||||||
if (mSpeechListener != null)
|
if (mSpeechListener != null)
|
||||||
mSpeechListener.onSpeechInput(text.toString());
|
mSpeechListener.onSpeechInput(text.toString().trim());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user