Added missing TextLine type mapping
Improved TextCriterionFactoryWorker