hierarchical model for subtitles