A Data-driven Approach for Language Modeling in Contemporary and Historical French This is the main repository for the thesis of Pedro Ortiz Suarez.