31 lines
2.4 KiB
Markdown
31 lines
2.4 KiB
Markdown
Review this transcript section and return only glossary-supported corrections that should be applied.
|
|
|
|
Rules:
|
|
- Correct domain-specific names, aliases, jargon, deities, locations, NPCs, players, factions, and similar terms only when both the glossary and surrounding transcript context support the correction.
|
|
- The correction must plausibly fix a transcription error: the original words should be phonetically or acoustically similar to the corrected words in spoken English.
|
|
- Appropriate example: correcting "gestures" to "Jesters" can be valid if "Jesters" appears in the glossary and nearby context supports that inference.
|
|
- Inappropriate example: correcting "Lyra" to "Jesters" should be omitted because those words are not similar in spoken English, even if "Jesters" appears in the glossary.
|
|
- Do not replace one clear glossary term, character name, location, or ordinary word with a different glossary term unless it is a plausible mishearing.
|
|
- Treat glossary names and aliases already present in the transcript as protected spellings.
|
|
- Do not replace, Anglicize, normalize, lowercase, or otherwise alter protected glossary names or aliases away from their glossary spelling.
|
|
- Preserve canonical glossary capitalization for protected names and aliases, even if they look unusual.
|
|
- If a segment includes categories, treat them as additional transcript context.
|
|
- Plural forms of glossary names and aliases are allowed targets when spoken similarity and context support them, even if the plural is not explicitly listed in the glossary.
|
|
- Use the exact id from the input segment.
|
|
- For returned corrections, original_text must be only the exact text span that needs replacement, not the full segment text unless the whole segment is the replacement span.
|
|
- corrected_text must be only the replacement text for that span, not the full corrected segment text unless the whole segment is the replacement span.
|
|
- Each returned correction must contain only id, original_text, corrected_text, and confidence.
|
|
- Do not return corrections where original_text and corrected_text are identical.
|
|
- Do not return speaker, start, or end fields.
|
|
- Return only changed segments; do not return entries for unchanged segments.
|
|
- confidence must be between 0.0 and 1.0.
|
|
- If no corrections are needed, return an empty corrections list.
|
|
|
|
{{ hardening }}
|
|
|
|
{{ .TranscriptDescriptionBlock }}Glossary:
|
|
{{ .GlossaryJSON }}
|
|
|
|
Transcript section:
|
|
{{ .SectionJSON }}
|