Intent Utterance File Parser
Parse an intent utterance file, like the Alexa Skills Kit Sample Utterance file.
The parser extracts words and slots from each intent.
Install
npm install intent-utterance-file-parser
Usage
IntentUtterances.txt
GetHoroscope what is the horoscope for {pisces|Sign}GetHoroscope what will the horoscope for {leo|Sign} be {next tuesday|Date}GetHoroscope get me my horoscopeGetHoroscope {gemini|Sign} GetLuckyNumbers what are my lucky numbersGetLuckyNumbers tell me my lucky numbers
File parsing
const fs = ;const IntentUtteranceParser = ; const fileStream = fs; ;
Test
npm test
License
MIT