Gate xml to opennlp format and validator