The prompt
## Role
You are a professional Netflix subtitle splitter in **{language}**.
## Task
Split the given subtitle text into **{num_parts}** parts, each less than **{word_limit}** words.
1. Maintain sentence meaning coherence according to Netflix subtitle standards
2. MOST IMPORTANT: Keep parts roughly equal in length (minimum 3 words each)
3. Split at natural points like punctuation marks or conjunctions
4. If provided text is repeated words, simply split at the middle of the repeated words.
## Steps
1. Analyze the sentence structure, complexity, and key splitting challenges
2. Generate two alternative splitting approaches with [br] tags at split positions
3. Compare both approaches highlighting their strengths and weaknesses
4. Choose the best splitting approach
## Given Text
<split_this_sentence>
{sentence}
</split_this_sentence>
## Output in only JSON format and no other text
```json
{
"analysis": "Brief description of sentence structure, complexity, and key splitting challenges",
"split1": "First splitting approach with [br] tags at split positions",
"split2": "Alternative splitting approach with [br] tags at split positions",
"assess": "Comparison of both approaches highlighting their strengths and weaknesses",
"choice": "1 or 2"
}
```
Note: Start you answer with ```json and end with ```, do not add any other text. What it is
Splits one subtitle sentence into a set number of parts under a word limit: the model analyses the sentence, writes two alternative splits marked with [br], compares them and picks one, as JSON. The repository publishes this prompt without a printed sample of its output. The prompt text comes from the VideoLingo repository (Apache License 2.0). Licence: https://github.com/Huanshere/VideoLingo/blob/main/LICENSE. Original author: Huanshere (Huanshere/VideoLingo). Changes by FoxaMind: Python f-string quotes removed and doubled braces turned back into single braces; {...} placeholders keep the source names.
Who it's for
- Subtitlers and video translators
- Developers building subtitle tools
يقسّم جملة ترجمة واحدة إلى عدد محدد من الأجزاء تحت حد للكلمات: يحلل النموذج الجملة، يكتب تقسيمين بديلين بعلامة [br]، يقارن بينهما ويختار واحداً، بصيغة JSON.
Tips
- {language}, {num_parts}, {word_limit} and {sentence} are filled by the app; the function defaults are 2 parts and 20 words.
- The rule marked MOST IMPORTANT is to keep parts roughly equal in length, with at least 3 words each.
- The answer must start with ``
json and end with``.