-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 Fix DONT_COMBINE_RES not doing anything
- Loading branch information
Showing
3 changed files
with
171 additions
and
3 deletions.
There are no files selected for viewing
167 changes: 167 additions & 0 deletions
167
worker/tests/data/test_strict_sentence_paragraphs-leaves_special_paras.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,167 @@ | ||
{ | ||
"input": [ | ||
{ | ||
"type": "paragraph", | ||
"speaker": null, | ||
"lang": "de", | ||
"children": [ | ||
{ | ||
"text": "*", | ||
"start": 0.0, | ||
"end": 0.82, | ||
"conf": 0.4493102431297302, | ||
"conf_ts": 0.0 | ||
}, | ||
{ | ||
"text": "Klirren", | ||
"start": 0.82, | ||
"end": 1.0, | ||
"conf": 0.9744400978088379, | ||
"conf_ts": 0.005903157405555248 | ||
}, | ||
{ | ||
"text": "*", | ||
"start": 1.0, | ||
"end": 1.07, | ||
"conf": 0.9744400978088379, | ||
"conf_ts": 0.005903157405555248 | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "paragraph", | ||
"speaker": null, | ||
"lang": "de", | ||
"children": [ | ||
{ | ||
"text": "Ich ", | ||
"start": 1.07, | ||
"end": 1.65, | ||
"conf": 0.9838394522666931, | ||
"conf_ts": 0.01149927917867899 | ||
}, | ||
{ | ||
"text": "will ", | ||
"start": 1.65, | ||
"end": 2.0, | ||
"conf": 0.9566531777381897, | ||
"conf_ts": 0.0096774036064744 | ||
}, | ||
{ | ||
"text": "Infos, ", | ||
"start": 2.0, | ||
"end": 2.07, | ||
"conf": 0.9566531777381897, | ||
"conf_ts": 0.0096774036064744 | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "paragraph", | ||
"speaker": null, | ||
"lang": "de", | ||
"children": [ | ||
{ | ||
"text": "Ich ", | ||
"start": 2.07, | ||
"end": 2.65, | ||
"conf": 0.9838394522666931, | ||
"conf_ts": 0.01149927917867899 | ||
}, | ||
{ | ||
"text": "will ", | ||
"start": 2.65, | ||
"end": 3.06, | ||
"conf": 0.9566531777381897, | ||
"conf_ts": 0.0096774036064744 | ||
}, | ||
{ | ||
"text": "Fakten, ", | ||
"start": 3.06, | ||
"end": 3.09, | ||
"conf": 0.9566531777381897, | ||
"conf_ts": 0.0096774036064744 | ||
} | ||
] | ||
} | ||
], | ||
"expected": [ | ||
{ | ||
"type": "paragraph", | ||
"speaker": null, | ||
"lang": "de", | ||
"children": [ | ||
{ | ||
"text": "*", | ||
"start": 0.0, | ||
"end": 0.82, | ||
"conf": 0.4493102431297302, | ||
"conf_ts": 0.0 | ||
}, | ||
{ | ||
"text": "Klirren", | ||
"start": 0.82, | ||
"end": 1.0, | ||
"conf": 0.9744400978088379, | ||
"conf_ts": 0.005903157405555248 | ||
}, | ||
{ | ||
"text": "*", | ||
"start": 1.0, | ||
"end": 1.07, | ||
"conf": 0.9744400978088379, | ||
"conf_ts": 0.005903157405555248 | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "paragraph", | ||
"speaker": null, | ||
"lang": "de", | ||
"children": [ | ||
{ | ||
"text": "Ich ", | ||
"start": 1.07, | ||
"end": 1.65, | ||
"conf": 0.9838394522666931, | ||
"conf_ts": 0.01149927917867899 | ||
}, | ||
{ | ||
"text": "will ", | ||
"start": 1.65, | ||
"end": 2.0, | ||
"conf": 0.9566531777381897, | ||
"conf_ts": 0.0096774036064744 | ||
}, | ||
{ | ||
"text": "Infos, ", | ||
"start": 2.0, | ||
"end": 2.07, | ||
"conf": 0.9566531777381897, | ||
"conf_ts": 0.0096774036064744 | ||
}, | ||
{ | ||
"text": "Ich ", | ||
"start": 2.07, | ||
"end": 2.65, | ||
"conf": 0.9838394522666931, | ||
"conf_ts": 0.01149927917867899 | ||
}, | ||
{ | ||
"text": "will ", | ||
"start": 2.65, | ||
"end": 3.06, | ||
"conf": 0.9566531777381897, | ||
"conf_ts": 0.0096774036064744 | ||
}, | ||
{ | ||
"text": "Fakten, ", | ||
"start": 3.06, | ||
"end": 3.09, | ||
"conf": 0.9566531777381897, | ||
"conf_ts": 0.0096774036064744 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters