Refactor processing model.
Determine bidi of the first paragraph of a cue.