An image-text model for effective retrieval of seventeenth-century Spanish American notary records