Italic tags should not include roman characters attached to an italic word (dialogue dash, elided article, trailing punctuation)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by inspecting the Blu-ray SUP OCR path that produces italic tags and compare its output with the attached sample, especially the dialogue dash, elided words, and final punctuation. The report does not name the relevant files or tests; trace where OCR styling is assigned and check whether roman characters can be kept outside the tags. Done means the sample output leaves those roman characters unitalicized.
Written by the indexing model from the issue text.
Description
Version: Subtitle Edit 5.4.0 Beta 5 (Windows)
Description
When OCR-ing a Blu-ray SUP, characters that are roman in the image end up inside the <i> tags when they touch an italic word: the dialogue dash, elided articles/prepositions (l', d', qu'…) and final punctuation. In French typography they stay roman, e.g. a ship name in italics:
- On manque de marins sur l'<i>Artemis</i>.
Instead, the OCR output puts these characters in italics in the subtitle itself (see screenshot), so they are saved in italics in the file.
Sample
I attached a sample SUP that reproduces the issue.
Request
Could the OCR keep these characters outside the <i> tags when they are roman in the image? Alternatively, an option or a "Fix common errors" rule ("Keep dialogue dashes, elided articles and trailing punctuation in roman") would help a lot.
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 1.4k
- Avg merge
- 57m
- Merged PRs (30d)
- 637
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SubtitleEdit/subtitleedit
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SubtitleEdit/subtitleedit#16638 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SubtitleEdit/subtitleedit#16614 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SubtitleEdit/subtitleedit#16374 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SubtitleEdit/subtitleedit#14510 · 3 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
SubtitleEdit/subtitleedit#16624 ·
Maintainers usually reply within 1 day
All issues in SubtitleEdit/subtitleedit
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 80/100
Unity-Technologies/unity-agent-plugin#118 ·
Maintainers usually reply within 1 day
-
The Recommended preset turns on Import Uno DSP, which only works with the Material themePossibly taken @agneszitte claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
unoplatform/uno.templates#2388 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
eyalgolan/statecraft-israel#2732 ·
Maintainers usually reply within 1 day
-
要トリアージ
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
Maintainers usually reply within 1 day
-
kind/chore status/draft
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Altinn/altinn-events#1158 ·
Maintainers usually reply within 1 day