The biggest challenge was accounting for the fact that no automatic speech recognition system is 100% accurate – it can occasionally mishear something, just like a human would. We had to design a way for patients to correct such system mistakes without risking damage to the history of their previous exercises.
Another challenge was that the university’s server does not have a dedicated graphics card to accelerate AI processing. The entire speech recognition and generation pipeline had to be designed to run efficiently on a standard processor – while remaining easy to scale up should the university later invest in more powerful hardware.
A separate challenge was scoring patient results fairly – making sure that a single short, poorly understood fragment doesn’t skew the statistics as much as a long fragment full of errors, and vice versa. This required a carefully thought-out way of calculating results across an entire practice session, rather than just a single utterance.
On top of that, the module had to plug into the existing platform, which has been running for years, in a way that lets patients log in from one place without noticing they are actually using two connected systems – and the deployment itself couldn’t take the platform offline for more than a few days.