Hi,
I get the following error while running the first script to extract the data:
[dnagaraj@tir crfsrl]$ bash scripts/conll05.sh PTB=/projects/tir1/corpora/treebank_3 SRL=data
PTB: /projects/tir1/corpora/treebank_3
SRL: data
Extracting evaluation files
Converting data/conll05/train.prop to conllu format
File "scripts/prop2conllu.py", line 30
rels[start-1] = '|'.join((rels[start-1], f'{prd}:B-{label}'))
^
SyntaxError: invalid syntax
Converting data/conll05/dev.prop to conllu format
File "scripts/prop2conllu.py", line 30
rels[start-1] = '|'.join((rels[start-1], f'{prd}:B-{label}'))
^
SyntaxError: invalid syntax
Converting data/conll05/test.prop to conllu format
File "scripts/prop2conllu.py", line 30
rels[start-1] = '|'.join((rels[start-1], f'{prd}:B-{label}'))
^
Please could you let me know why this is the case and what should I do to resolve this error.
Thanks in advance :)
Hi,
I get the following error while running the first script to extract the data:
[dnagaraj@tir crfsrl]$ bash scripts/conll05.sh PTB=/projects/tir1/corpora/treebank_3 SRL=data
PTB: /projects/tir1/corpora/treebank_3
SRL: data
Extracting evaluation files
Converting data/conll05/train.prop to conllu format
File "scripts/prop2conllu.py", line 30
rels[start-1] = '|'.join((rels[start-1], f'{prd}:B-{label}'))
^
SyntaxError: invalid syntax
Converting data/conll05/dev.prop to conllu format
File "scripts/prop2conllu.py", line 30
rels[start-1] = '|'.join((rels[start-1], f'{prd}:B-{label}'))
^
SyntaxError: invalid syntax
Converting data/conll05/test.prop to conllu format
File "scripts/prop2conllu.py", line 30
rels[start-1] = '|'.join((rels[start-1], f'{prd}:B-{label}'))
^
Please could you let me know why this is the case and what should I do to resolve this error.
Thanks in advance :)