Examples
Examples
Try the starting example
- Caption text
- A clear caption uses short lines and readable words
- Maximum characters per line including spaces
- 20
- Maximum displayed lines
- 2
- Candidate displayed lines
- ["A clear caption uses","short lines and"]
- Overflow lines
- ["readable words"]
- Overlength words
- []
Try another scenario
- Caption text
- A clear caption uses short lines and readable words
- Maximum characters per line including spaces
- 25
- Maximum displayed lines
- 2
- Candidate displayed lines
- ["A clear caption uses","short lines and readable"]
- Overflow lines
- ["words"]
- Overlength words
- []
Calculation method
Calculation method
Candidate displayed lines
Greedy whitespace word wrap with character-count limit; a long word remains unbroken and is flagged.
Overflow lines
Wrapped lines beyond supplied line count.
Overlength words
Tokens individually longer than character limit.
Symbols and units
- a
- Caption text
- b
- Maximum characters per line including spaces
- c
- Maximum displayed lines
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- Character-count caption mode only, plain whitespace tokenization; character count is Python Unicode code points. Pixel-measured wrapping requires supplied token widths and is outside this mode. Supported limits: Text≤10000 code points, line limit 1–200 characters, line count 1–20.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.