doccano / doccano/doccano-transformer

to_conll2003 function returns [ ] when annotations array is blank.

Open
#12 1 comment 2 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
108
Forks
34
PR merge metrics
No merged PRs in 30d

Description

trying with following text string,
`{"id": 2580, "text": "RUGBY UNION - CUTTITTA BACK FOR ITALY AFTER A YEAR .\nROME 1996-12-06\nItaly recalled Marcello Cuttitta", "annotations": []}`

the output is a blank array, it should give output with 'O' for all entity type.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.