A local recognition system hosted by a host device and including one or more processors coupled to memory, the memory being loaded with computer instructions to control the host device to perform one or more operations, the computer instructions, when executed on the one or more processors, causing the one or more processors to implement operations comprising:
- receiving a query;
- routing the query using a control module within the local recognition system to a local speech recognition module;
- performing speech recognition on the received query by:
- accessing, by the local speech recognition module from a local database, a local language context comprising:
- (i) a first module comprising a vocabulary including a set of words, and
- (ii) a second module comprising a language model;
- implementing, by the local recognition system, an update module external to the local language context, the update module performing adaptation of the first module by adding words to, or removing words from, the vocabulary;
- and
- performing speech recognition, by the local speech recognition module using the local language context, to produce a transcribed output that matches content of the received query;
- and
- in dependence on the transcribed output, issuing, by the control module, a command to control the host device to perform one or more operations.