The problem: When I turn on word-wrap, either by clicking on the checkbox or with the --wrap flag, I get an error in the prodigy UI.
I ran prodigy as follows:
python -m prodigy rel.manual AcousticGuitars en_core_web_trf output\html2text\coref_resolved\AcousticGuitars_relations.jsonl --label CORE
To eliminate possible issues in the input file, I reduced it to just one line:
{"text": "Acoustic guitars of Spain.\n", "tokens": [{"text": "Acoustic", "start": 0, "end": 8, "id": 0, "ws": true}, {"text": "guitars", "start": 9, "end": 16, "id": 1, "ws": true}, {"text": "of", "start": 17, "end": 19, "id": 2, "ws": true}, {"text": "Spain", "start": 20, "end": 25, "id": 3, "ws": false}, {"text": ".", "start": 25, "end": 26, "id": 4, "ws": false}, {"text": "\n", "start": 26, "end": 27, "id": 5, "ws": false}], "_view_id": "relations", "relations": }
Without wrapping the UI looks like:
When I enable wrapping I get the error:
If I use a jsonl file generated via coref.manual and then db-out, I don't see this error. However, I want to used a jsonl file that I generate (from neuralcoref via spacy) to correct it.