The means of creating a specification-compliant Speech Recognition class from this polyfill (AWSRecognizer.create()) is currently broken. To integrate this polyfill with libraries like react-speech-recognition and other consumers that need such a class to work with, this needs to be fixed.
Why
The means of creating a specification-compliant Speech Recognition class from this polyfill (
AWSRecognizer.create()
) is currently broken. To integrate this polyfill with libraries likereact-speech-recognition
and other consumers that need such a class to work with, this needs to be fixed.What
dom
librarycreate
class factorycreate
class factory to return a class that has a constructor with no args and that instantiates anAWSRecognizer
with a given configcreate
class factory to the native speech recognition class so that it works on browsers that support it nativelyError
objects (based on standard practice recommended by Kent C Dodds)