Studying the history of the Arabic language: language technology and a large-scale historical corpus