speechmatics-python icon indicating copy to clipboard operation
speechmatics-python copied to clipboard

Move the asr-metrics dependencies into a 'extra' set of dependencies

Open JamesG-Speechmatics opened this issue 1 year ago • 2 comments

Installing numpy and other large libraries is not necessary if only doing realtime speech recognition. This MR moves the dependencies of asr_metrics into a larger version of the package to be installed as

pip3 install speechmatics-python[full]

todo: code in asr_metrics to fail gracefully on import error.

Because this is a breaking change for anyone who does use asr_metrics, the major version is bumped from 2 to 3.

JamesG-Speechmatics avatar Oct 25 '24 14:10 JamesG-Speechmatics