diff --git a/scripts/stanza-annotator.py b/scripts/stanza-annotator.py index 2d341b9bcef4c95d9f2b390d8388d410deb3b85c..c6f4d5e0951125587927188b339d92dbdf356e66 100755 --- a/scripts/stanza-annotator.py +++ b/scripts/stanza-annotator.py @@ -34,10 +34,10 @@ class Annotator: def encode(self, file, annotation): with open(f'{self.target}/{file}', 'w') as target: - print('<text>', file=target) + print('<body>', file=target) for sentence in annotation.sentences: self.encode_sentence(sentence, target) - print('</text>', file=target) + print('</body>', file=target) def encode_sentence(self, sentence, target): print('\t<s>', file=target)