What have you tried. You have not shown any blocks for users to comment on and provide advice.
Where is the recognition text being displayed? In a label? In a TextBox? Where is the comparison text?
The way you compare is using the IF..then blocks...
if label1.text = label2 text
then do something
else
do something else
This example will work in some situations:

Your comparison of what the SR returns (label1) with your predefined text (label2 perhaps) could be communicated in a Notifier or in a label.I would use a label because both SpeechRecognizer and Notifier have some lag to them and not using a Notifier will help avoid collisions.
The
downcase block (same as the upcase block but use the carrot to change the block) is in the code example because AI discriminates between
this is the text and
This is the text; the statements are not equivalent because AI2 and Android are case sensitive. If you need to discriminate between the two, then you need to write more code. See
http://www.appinventor.org/Chapter18 and
http://www.appinventor.org/Chapter20 for possible ways of doing that. You might also need a
trim block ahead of the downcase blocks (to remove trailing and preceding spaces in front of the text in both blocks.
How about trying some blocks. Be aware, Android's SpeechRecognizer is fussy and it does not always return what you expect.
Regards,
Steve