# US 2019/0244605 A1 · Thematic segmentation of long content using deep learning and contextual cues

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2019/0244605 A1
- Document ID: US20190244605A1
- Status: Published application
- Kind: A1
- Application number: 16/386,498
- Filed: 2019-04-17
- Published: 2019-08-08
- Earliest claimed: 2017-08-23
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Jayananda Appanna Kotri; Tarun Sharma; Sharad Kejriwal; Yashwanth Dasari; Abinaya S
- Web page: https://patentgrep.com/patent/US20190244605A1

## CPC

- G10L 15/16: using artificial neural networks
- G06F 40/258: Heading extraction; Automatic titling; Numbering
- G06F 40/30: Semantic analysis
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 3/091: Active learning
- G10L 15/04: Segmentation; Word boundary detection
- G10L 15/30: Distributed recognition, e.g. in client-server systems, for mobile phones or network applications
- G10L 15/26: Speech to text systems (G10L15/08 takes precedence)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A recurrent neural network (RNN) is trained to identify split positions in long content, wherein each split position is a position at which the theme of the long content changes. Each sentence in the long content is converted to a vector that corresponds to the meaning of the sentence. The sentence vectors are used as inputs to the RNN. The high-probability split points determined by the RNN may be combined with contextual cues to determine the actual split point to use. The split points are used to generate thematic segments of the long content. The multiple thematic segments may be presented to a user along with a topic label for each thematic segment. Each topic label may be generated based on the words contained in the corresponding thematic segment.

## Claims

### Claim 1

A system comprising:
a memory that stores instructions;
one or more processors configured by the instructions to perform operations comprising:
accessing a plurality of sentences;
generating a plurality of sentence vectors, each sentence vector of the plurality of sentence vectors corresponding to a respective sentence of the plurality of sentences;
providing a subset of the plurality of sentence vectors as an input to a recurrent neural network (RNN);
based on an output of the RNN responsive to the input, determining that a subset of the plurality of sentences relate to a first topic; and
providing an output comprising the subset of the plurality of sentences related to the first topic.

### Claim 2 (depends on 1)

The system of claim 1, wherein the generating of each sentence vector of the plurality of sentence vectors comprises:
accessing a plurality of word vectors, each word vector of the plurality of word vectors corresponding to a respective word of the sentence corresponding to the sentence vector; and
averaging the plurality of word vectors to generate the sentence vector.

### Claim 3 (depends on 1)

The system of claim 1, wherein the operations further comprise:
accessing an audio file; and
generating the plurality of sentences from the audio file using speech-to-text conversion.

### Claim 4 (depends on 1)

The system of claim 1, wherein:
the operations further comprise:
providing a second subset of the plurality of sentence vectors as a second input to the RNN, and
the determining that the subset of the plurality of sentences relate to the first topic is further based on a second output of the RNN responsive to the second input.

### Claim 5 (depends on 4)

The system of claim 4, wherein:
the second subset of the plurality of sentence vectors has a same number of sentence vectors as the first subset of the plurality of sentence vectors;
the second subset of the plurality of sentence vectors has at least one vector in common with the first subset of the plurality of sentence vectors; and
the second subset of the plurality of sentence vectors has at least one vector different from each vector in the first subset of the plurality of sentence vectors.

### Claim 6 (depends on 1)

The system of claim 1, wherein:
the determining that the subset of the plurality of sentences relate to the first topic comprises:
comparing each value of a plurality of output values from the RNN to a predetermined threshold, each output value corresponding to a possible split position indicating a split between the first topic and a second topic; and
the determining that the subset of the plurality of sentences relate to the first topic is based on results of the comparisons.

### Claim 7 (depends on 1)

The system of claim 1, wherein:
the plurality of sentences are embedded in a file that includes a paragraph change indicator at a position within the plurality of sentences; and
the determining that the subset of the plurality of sentences relate to the first topic is based on the position of the paragraph change indicator.

### Claim 8 (depends on 1)

The system of claim 1, wherein:
the plurality of sentences are embedded in a file that includes a header indicator at a position within the plurality of sentences; and
the determining that the subset of the plurality of sentences relate to the first topic is based on the position of the header indicator.

### Claim 9 (depends on 1)

The system of claim 1, wherein the operations further comprise:
determining a set of words comprised by the subset of the plurality of sentences; and
generating a name of the first topic based on the set of words.

### Claim 10 (depends on 1)

The system of claim 1, wherein:
the operations further comprise:
accessing a uniform resource locator (URL);
accessing a media file using the URL;
generating the plurality of sentences by using speech-to-text conversion on the media file; and
identifying a second subset of the plurality of sentences related to a second topic, using the RNN;
the output comprising the subset of the plurality of sentences related to the first topic is a first media file; and
the operations further comprise:
generating a first name for the first topic;
generating a second media file comprising the second subset of the plurality of sentences related to the second topic;
generating a second name for the second topic; and
providing a user interface that includes the first name, a link to the first media file, the second name, and a link to the second media file.

### Claim 11

A method comprising:
accessing, by one or more processors, a plurality of sentences;
generating, by the one or more processors, a plurality of sentence vectors, each sentence vector of the plurality of sentence vectors corresponding to a respective sentence of the plurality of sentences;
providing, by the one or more processors, a subset of the plurality of sentence vectors as an input to a recurrent neural network (RNN);
based on an output of the RNN responsive to the input, determining, by the one or more processors, that a subset of the plurality of sentences relate to a first topic; and
providing, by the one or more processors an output comprising the subset of the plurality of sentences related to the first topic.

### Claim 12 (depends on 11)

The method of claim 11, wherein the generating of each sentence vector of the plurality of sentence vectors comprises:
accessing a plurality of word vectors, each word vector of the plurality of word vectors corresponding to a respective word of the sentence corresponding to the sentence vector; and
averaging the plurality of word vectors to generate the sentence vector.

### Claim 13 (depends on 11)

The method of claim 11, further comprising:
accessing an audio file; and
generating the plurality of sentences from the audio file using speech-to-text conversion.

### Claim 14 (depends on 11)

The method of claim 11, wherein:
the method further comprises:
providing a second subset of the plurality of sentence vectors as a second input to the RNN; and
the determining that the subset of the plurality of sentences relate to the first topic is further based on a second output of the RNN responsive to the second input.

### Claim 15 (depends on 14)

The method of claim 14, wherein:
the second subset of the plurality of sentence vectors has a same number of sentence vectors as the first subset of the plurality of sentence vectors;
the second subset of the plurality of sentence vectors has at least one vector in common with the first subset of the plurality of sentence vectors; and
the second subset of the plurality of sentence vectors has at least one vector different from each vector in the first subset of the plurality of sentence vectors.

### Claim 16 (depends on 11)

The method of claim 11, wherein:
the determining that the subset of the plurality of sentences relate to the first topic comprises:
comparing each value of a plurality of output values from the RNN to a predetermined threshold, each output value corresponding to a possible split position indicating a split between the first topic and a second topic; and
the determining that the subset of the plurality of sentences relate to the first topic is based on results of the comparisons.

### Claim 17 (depends on 11)

The method of claim 11, wherein:
the plurality of sentences are embedded in a file that includes a paragraph change indicator at a position within the plurality of sentences; and
the determining that the subset of the plurality of sentences relate to the first topic is based on the position of the paragraph change indicator.

### Claim 18 (depends on 11)

The method of claim 11, wherein:
the plurality of sentences are embedded in a file that includes a header indicator at a position within the plurality of sentences; and
the determining that the subset of the plurality of sentences relate to the first topic is based on the position of the header indicator.

### Claim 19 (depends on 11)

The method of claim 11, further comprising:
determining a set of words comprised by the subset of the plurality of sentences; and
generating a name of the first topic based on the set of words.

### Claim 20

A non-transitory machine-readable storage medium comprising instructions that, when executed by one or more processors of a machine, cause the machine to perform operations comprising:
accessing, by one or more processors, a plurality of sentences;
generating, by the one or more processors, a plurality of sentence vectors, each sentence vector of the plurality of sentence vectors corresponding to a respective sentence of the plurality of sentences;
providing, by the one or more processors, a subset of the plurality of sentence vectors as an input to a recurrent neural network (RNN);
based on an output of the RNN responsive to the input, determining, by the one or more processors, that a subset of the plurality of sentences relate to a first topic; and
providing, by the one or more processors, an output comprising the subset of the plurality of sentences related to the first topic.
