add method
Add a new phrase to a particular alternate. The way this works is that the first alternate is the most likely, the second alternate is the second most likely, etc. The first alternate is the one that is returned by the speech recognition engine as 'the answer'. Engines may return more than one alternate, but the first one will always contain the most phrases. If a phrase is added to an alternate that
Implementation
void add(int phrase, String words, double confidence) {
_alternates[phrase] ??= [];
_alternates[phrase]?.add(SpeechRecognitionWords(words, confidence));
}