Applescript and SpeechRecognitionServer: reading in a file as "listen for"
The items to listen for need to be in a list, so you will need to extract the items from the text.

If the items in the text are separated by end-of-ine characters:

list item 1
list item 2
list item 3
list item n


you can just get the paragraphs:

set theQueryList to paragraphs of (read POSIX file "/Users/username/folder/text.txt")


If the items in the text are separated by commas (or tabs, or whatever):

list item 1,list item 2,list item 3,list item n


you can use AppleScript's text item delimiters:

set separator to "," -- the separating text
set fileText to (read POSIX file "/Users/username/folder/text.txt")
set {tempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, separator}
set theQueryList to text items of fileText
set AppleScript's text item delimiters to tempTID -- restore original