A system for the automatic morphological analysis of mediaeval manuscripts