added two flags for not detokenizing xml tags, similarly to tokenizer.perl