[x] I am requesting to pull a topic/feature/bugfix branch (right side). In other words, not main.
[x] I have run npm test against my changes and tests pass.
[x] I have added or edited necessary documentation, or no docs changes are needed.
Description
This adds the keyword feature to react-native-spokestack, which has support in spokestack-ios and spokestack-android.
Also added a .destroy() method to free up all resources and get things ready to re-initialize. This was needed in the example app to switch between keyword and NLU.
Remaining items before merging:
[x] spokestack-ios will add support for keyword metadata JSON files (already in android)
[x] spokestack-android is adding support for a pipeline profile combining wakeword+keyword (already in ios)
[x] Enable the TFLITE_WAKEWORD_KEYWORD profile, update docs to allow for both, and set it as default if both wakeword and keyword configs are specified and NLU is not specified.
PR Checklist
Please review the guidelines for contributing to this repository.
npm test
against my changes and tests pass.Description
This adds the keyword feature to react-native-spokestack, which has support in spokestack-ios and spokestack-android.
Also added a
.destroy()
method to free up all resources and get things ready to re-initialize. This was needed in the example app to switch between keyword and NLU.Remaining items before merging:
TFLITE_WAKEWORD_KEYWORD
profile, update docs to allow for both, and set it as default if both wakeword and keyword configs are specified and NLU is not specified.