Are there any open source libraries that work like Amazon Alexa Custom Skills where you provide it with an intent schema and sample utterances to match and it will provide a parsed tokenized response with entities that are matched in the definition.
Here's an example Alexa Custom Skill Intent schema.
Sample utterances to train and specify how to match text and map to entities:
AnswerIntent the answer is {Answer}
AnswerIntent my answer is {Answer}
AnswerIntent is it {Answer}
AnswerIntent {Answer} is my answer AnswerOnlyIntent {Answer}
AMAZON.StartOverIntent start game
AMAZON.StartOverIntent new game
AMAZON.StartOverIntent start
AMAZON.StartOverIntent start new game
Another service is https://wit.ai/ which allows you to configure expressions and tokens to match on, is there any open source library that provides this level of flexibility.
Mycroft AI seems to have a nice stack of projects that offer functionality and programmer interface very similar to Amazon Alexa Custom Skills, and you can host and modify it yourself to get more flexibility than Alexa Voice Service (but that's also a bit of a downside because you have to scale it yourself).