A simple service implementation that implements the trait defined by Scrooge.
Each service owns a queue of recognizers for a set of languages. For each
request, if we have a queue for the given language, we grab a recognizer from
that queue (and return it when processing is finished). If the language is
unknown, we try to load the models for it in a future pool (in order to avoid
blocking the Finagle thread).
A simple service implementation that implements the trait defined by Scrooge.
Each service owns a queue of recognizers for a set of languages. For each request, if we have a queue for the given language, we grab a recognizer from that queue (and return it when processing is finished). If the language is unknown, we try to load the models for it in a future pool (in order to avoid blocking the Finagle thread).