Keyword Spotting, applied to handwritten text documents, aims to retrieve the documents, or parts of them, that are relevant for a query, given by the user, within a large collection of documents. The topic has gained a large interest in the last 20 years among Pattern Recognition researchers, as well as digital libraries and archives. vi RESUMEN mos para construir índices de palabras a partir de modelos probabilísticos, basados tanto en un léxico cerrado como abierto. Estos índices son muy similares a los utilizados por los motores de búsqueda tradicionales. Además, se estudia la relación que hay entre la formulación probabilística presentada y otros métodos de gran influencia en el campo de la detección de palabras clave, destacando cuáles son las limitaciones de los segundos. Finalmente, todas la aportaciones se evalúan de forma experimental, no sólo utilizando pruebas académicas estándar, sino también en colecciones con decenas de miles de páginas provenientes de manuscritos históricos. Los resultados muestran que el marco de trabajo presentado permite construir sistemas de detección de palabras clave muy rápidos y precisos, con una sólida base teórica. I com no, als meus pares i la meua germana, que sempre m'han fet costat, m'han animat a fer allò que m'apassionara, i m'han donat estima, tot i el meu caràcter, (a vegades) un tant distant amb ells. També als meus uelos (als quatre), i a la meva tia. En especial al Pepe, que, per fi, deixarà de preguntar-me "encara no has acabat?". Ara ja sí. Allà on vaja, és sempre amb vosaltres.