1. A method comprising: comparing, via a processor, received speech with a precompiled grammar to yield a match result, wherein the precompiled grammar is based on a database; and when the match result is below a threshold, comparing the received speech with a dynamically compiled grammar that is based only on new data added to the database after the precompiled grammar is compiled.