A naive service definition that implements the trait defined by Scrooge.
There are several serious problems with this implementation! First of all,
it's not thread-safe: for each language we're using a single NameRecognizer
instance (which maintains internal state during processing). It will also
block a Finagle thread while attempting to read models for an unknown
language from disk.
A naive service definition that implements the trait defined by Scrooge.
There are several serious problems with this implementation! First of all, it's not thread-safe: for each language we're using a single NameRecognizer instance (which maintains internal state during processing). It will also block a Finagle thread while attempting to read models for an unknown language from disk.