Bayesian background models for keyword spotting in handwritten documents. (April 2017)