Automatic Identification of Types of Alterations in Historical Manuscripts