# US 2020/0394365 A1 · Automated extraction of message sequence chart from textual description

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

- Number: US 2020/0394365 A1
- Document ID: US20200394365A1
- Status: Published application
- Kind: A1
- Application number: 16/813,840
- Filed: 2020-03-10
- Published: 2020-12-17
- Earliest claimed: 2019-05-08
- Assignees: Tata Consultancy Services Limited
- Applicants: Tata Consultancy Services Limited
- Inventors: Sangameshwar Suryakant Patil; Swapnil Vishweshwar Hingmire; Nitin Vijaykumar Ramrakhiyani; Sachin Sharad Pawar; Harsimran Bedi; Girish Keshav Palshikar; Pushpak Bhattacharyya; Vasudeva Varma Kalidindi
- Web page: https://patentgrep.com/patent/US20200394365A1

## CPC

- G06F 40/30: Semantic analysis
- G06F 16/3344: {using natural language analysis}
- G06F 16/345: {Summarisation for human users}
- G06F 40/137: Hierarchical processing, e.g. outlines
- G06F 40/205: Parsing
- G06F 40/211: Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
- G06F 40/253: Grammatical analysis; Style critique
- G06F 40/268: Morphological analysis
- G06F 40/279: Recognition of textual entities
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/289: Phrasal analysis, e.g. finite state techniques or chunking
- G06F 40/295: Named entity recognition
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Narrative texts contain rich knowledge about actors and interactions among them. It is often useful to extract and visualize these interactions through a set of inter-related timelines in which an actor has participated. Current approaches utilize labeled datasets and implement supervised techniques and thus are not suitable. Embodiments of the present disclosure implement systems and methods for automated extraction of Message Sequence Chart (MSC) from textual description by identifying verbs which indicate interactions and then use dependency parsing and Semantic Role Labelling based approaches to identify senders (initiating actors) and receivers (other actors involved) for these interaction verbs. The present disclosure further employs an optimization-based approach to temporally re-order these interactions.

## Claims

### Claim 1

A processor implemented method, comprising:
obtaining, via one or more hardware processors, textual description indicative of a narrative text comprising a plurality of sentences;
identifying a plurality of actors and aliases in the textual description and resolving corresponding coreferences associated thereof, via the one or more hardware processors;
traversing, via the one or more hardware processors, using a breadth-first-search (BFS) technique, dependency parse tree of each sentence from the textual description to obtain past-tense words and a set of identified verbs in the obtained past-tense words;
identifying, via the one or more hardware processors, at least a subset of interaction verbs from the set of identified verbs as at least one of a first type verb or a second type verb to obtain a set of interactions;
identifying, via the one or more hardware processors, predicates and corresponding arguments in at least a subset of the plurality of sentences based on the set of interactions;
identifying, via the one or more hardware processors, using the identified predicates and corresponding arguments, senders and receivers from the plurality of actors and aliases, for each valid interaction from the set of interactions, wherein the senders and receivers are identified for the valid interactions comprised in at least a subset of sentences from the plurality of sentences;
filtering, via the one or more hardware processors, the senders and receivers, using dependency parse based rules, to obtain a filtered set of senders and receivers;
generating, via the one or more hardware processors, using the filtered set of senders and receivers, (i) a message for each unique combination of sender and receiver for each interaction verb from the subset to obtain a set of messages, and (ii) a message label for each of the set of messages, wherein the message label is indicative of a scenario; and
generating, via the one or more hardware processors, a temporal ordering of messages using the set of messages based on an availability of explicit and relative time expressions in each sentence of the set of messages, wherein the temporal ordering of messages forms a message sequence chart.

### Claim 2 (depends on 1)

The processor implemented method of claim 1, wherein the step of identifying at least a subset of interaction verbs as at least one of a first type verb or a second type verb to obtain a set of interactions comprises eliminating one or more verbs of the set of identified verbs based on one or more criteria.

### Claim 3 (depends on 2)

The processor implemented method of claim 2, wherein the one or more criteria comprise verbs representing mental actions, copula verbs, and verbs denoting states of objects and actors.

### Claim 4 (depends on 1)

The processor implemented method of claim 1, wherein an interaction verb in the obtained past-tense words is one of an action verb or a communication verb.

### Claim 5 (depends on 1)

The processor implemented method of claim 1, wherein the senders and receivers are identified by applying a Semantic Role Labelling (SRL) and semantic and syntactic verbal lexical resource based techniques on the identified predicates and corresponding arguments.

### Claim 6 (depends on 1)

The processor implemented method of claim 1, wherein the senders are initiators of an interaction.

### Claim 7 (depends on 1)

The processor implemented method of claim 1, wherein the receivers are other actors involved in the interaction with corresponding senders.

### Claim 8

A system, comprising:
a memory storing instructions;
one or more communication interfaces; and
one or more hardware processors coupled to the memory via the one or more communication interfaces, wherein the one or more hardware processors are configured by the instructions to:
obtain textual description indicative of a narrative text comprising a plurality of sentences;
identify a plurality of actors and aliases in the textual description and resolve corresponding coreferences associated thereof;
traverse, using a breadth-first-search (BFS) technique, dependency parse tree of each sentence from the textual description to obtain past-tense words and a set of identified verbs in the obtained past-tense words;
identify at least a subset of interaction verbs from the set of identified verbs as at least one of a first type verb or a second type verb to obtain a set of interactions;
identify predicates and corresponding arguments in at least a subset of the plurality of sentences based on the set of interactions;
identify, using the identified predicates and corresponding arguments, senders and receivers from the plurality of actors and aliases, for each valid interaction from the set of interactions, wherein the senders and receivers are identified for the valid interactions comprised in at least a subset of sentences from the plurality of sentences;
filter the senders and receivers, using dependency parse based rules, to obtain a filtered set of senders and receivers;
generate, using the filtered set of senders and receivers, (i) a message for each unique combination of sender and receiver for each interaction verb from the subset to obtain a set of messages, and (ii) a message label for each of the set of messages, wherein the message label is indicative of a scenario; and
generate a temporal ordering of messages using the set of messages based on an availability of explicit and relative time expressions in each sentence of the set of messages, wherein the temporal ordering of messages forms a message sequence chart.

### Claim 9 (depends on 8)

The system of claim 8, wherein the at least a subset of interaction verbs is identified as at least one of a first type verb or a second type verb to obtain a set of interactions by eliminating one or more verbs of the set of identified verbs based on one or more criteria.

### Claim 10 (depends on 9)

The system of claim 9, wherein the one or more criteria comprise verbs representing mental actions, copula verbs and verbs denoting states of objects and actors.

### Claim 11 (depends on 8)

The system of claim 8, wherein an interaction verb in the obtained past-tense words is one of an action verb or a communication verb.

### Claim 12 (depends on 8)

The system of claim 8, wherein the senders and receivers are identified by applying a Semantic Role Labelling (SRL) and semantic and syntactic verbal lexical resource based techniques on the identified predicates and corresponding arguments.

### Claim 13 (depends on 8)

The system of claim 8, wherein the senders are initiator of an interaction.

### Claim 14 (depends on 8)

The system of claim 8, wherein the receivers are other actors involved in an interaction with corresponding senders.

### Claim 15

One or more non-transitory machine readable information storage mediums comprising one or more instructions which when executed by one or more hardware processors cause automated extraction of message sequence chart from textual description by:
obtaining textual description indicative of a narrative text comprising a plurality of sentences;
identifying a plurality of actors and aliases in the textual description and resolving corresponding coreferences associated thereof;
traversing, using a breadth-first-search (BFS) technique, dependency parse tree of each sentence from the textual description to obtain past-tense words and a set of identified verbs in the obtained past-tense words;
identifying at least a subset of interaction verbs from the set of identified verbs as at least one of a first type verb or a second type verb to obtain a set of interactions;
identifying predicates and corresponding arguments in at least a subset of the plurality of sentences based on the set of interactions;
identifying, using the identified predicates and corresponding arguments, senders and receivers from the plurality of actors and aliases, for each valid interaction from the set of interactions, wherein the senders and receivers are identified for the valid interactions comprised in at least a subset of sentences from the plurality of sentences;
filtering the senders and receivers, using dependency parse based rules, to obtain a filtered set of senders and receivers;
generating, using the filtered set of senders and receivers, (i) a message for each unique combination of sender and receiver for each interaction verb from the subset to obtain a set of messages, and (ii) a message label for each of the set of messages, wherein the message label is indicative of a scenario; and
generating a temporal ordering of messages using the set of messages based on an availability of explicit and relative time expressions in each sentence of the set of messages, wherein the temporal ordering of messages forms a message sequence chart.

### Claim 16 (depends on 15)

The one or more non-transitory machine readable information storage mediums of claim 15, wherein the step of identifying at least a subset of interaction verbs as at least one of a first type verb or a second type verb to obtain a set of interactions comprises eliminating one or more verbs of the set of identified verbs based on one or more criteria.

### Claim 17 (depends on 16)

The one or more non-transitory machine readable information storage mediums of claim 16, wherein the one or more criteria comprise verbs representing mental actions, copula verbs, and verbs denoting states of objects and actors.

### Claim 18 (depends on 15)

The one or more non-transitory machine readable information storage mediums of claim 15, wherein an interaction verb in the obtained past-tense words is one of an action verb or a communication verb.

### Claim 19 (depends on 15)

The one or more non-transitory machine readable information storage mediums of claim 15, wherein the senders and receivers are identified by applying a Semantic Role Labelling (SRL) and semantic and syntactic verbal lexical resource based techniques on the identified predicates and corresponding arguments.

### Claim 20 (depends on 15)

The one or more non-transitory machine readable information storage mediums of claim 15, wherein the senders are initiators of an interaction, and wherein the receivers are other actors involved in the interaction with corresponding senders.
