Reply To: Add a document to recognize TTS instead of passing a string in open ears sample

Home Forums OpenEars Add a document to recognize TTS instead of passing a string in open ears sample Reply To: Add a document to recognize TTS instead of passing a string in open ears sample

#1015691
Halle Winkler
Politepix

Welcome Dalee,

You can’t pass in a document, but the code to convert a text file into an NSString is just 1-2 lines, here’s an example:

http://stackoverflow.com/questions/2171341/how-to-get-the-contents-of-a-text-file-stored-locally-in-the-documents-director