1. A method comprising: determining, by a computing device, relevance intervals for corresponding terms in text associated with a content item, the text comprising a plurality of term strings and each relevance interval identifying one or more sections of the content item that are relevant to a corresponding term; after determining the relevance intervals, generating a first set of nodes for a first term string from the plurality of term strings, the first set of nodes comprising both a node for each term in the first term string and at least one node for a term from a second term string, and the term from the second term string having a corresponding relevance interval identifying a section of the content item with an occurrence of at least one term from the first term string; generating a second set of nodes for the second term string from the plurality of term strings, the second set of nodes comprising both a node for each term in the second term string and at least one node for a term from the first term string, and the term from the first term string having a corresponding relevance interval identifying a section of the content item with an occurrence of at least one term from the second term string; determining a plurality of connections between nodes in the first set of nodes and the second set of nodes; and determining, using the first set of nodes, second set of nodes or the plurality of connections, one or more segment boundaries within the content item.