Add factory which uses hidden parameters, if available, for TextTreesProcessor