Text this: Restoration of missing data in old archives based on genetic algorithm