Structured output classification work in handwriting and named entity recognition. Part of Masters Thesis.