Browse Source

Remove outdated comment

pull/223/head
Clemens Wolff 5 years ago
parent
commit
22285277f0
1 changed files with 0 additions and 6 deletions
  1. 6
      app/server/utils.py

6
app/server/utils.py

@ -242,12 +242,6 @@ class CoNLLParser(FileParser):
```
"""
def parse(self, file):
"""Store json for seq2seq.
Return format:
{"text": "Python is awesome!", "labels": [[0, 6, "Product"],]}
...
"""
words, tags = [], []
data = []
for i, line in enumerate(file, start=1):

Loading…
Cancel
Save