Tuples are made up of the importance & the text phrase. from watson_text_talker import * text_talker = TextTalker ( username = 'credentials-username', password = 'credentials-password' ) importance = TT_Importance () grouping_example = text_talker. Phrase grouping is based on array of tuples. The only caveat is the phrase MUST be limited to 255 characters. This has the advantage of making it human readable. To regulate the filename I slugify the phrase. voice_mp3s, but can also be defined in TT_Config. The package always caches new phrases to a file.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |