# US 2017/0286396 A1 · Method and system for identifying user issues in forum posts based on discourse analysis

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

- Number: US 2017/0286396 A1
- Document ID: US20170286396A1
- Status: Published application
- Kind: A1
- Application number: 15/083,504
- Filed: 2016-03-29
- Published: 2017-10-05
- Earliest claimed: 2016-03-29
- Assignees: Xerox Corporation
- Applicants: Xerox Corporation
- Inventors: Ágnes Sandor; Nikolaos Lagos; Caroline Brun; Ngoc Phuoc An Vo
- Web page: https://patentgrep.com/patent/US20170286396A1

## CPC

- G06F 40/35: Discourse or dialogue representation
- G06F 16/2455: Query execution
- G06F 16/353: into predefined classes
- G06F 40/211: Syntactic parsing, e.g. based on context-free grammar [CFG] or unification grammars
- G06F 40/30: Semantic analysis
- G06F 40/253: Grammatical analysis; Style critique
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for categorizing an issue includes, for each of a plurality of categories of issue, providing at least one discourse pattern for identify text sequences that meet the discourse pattern. At least one of the discourse patterns specifies that an instance of a domain term in a domain term vocabulary be present in the text sequence for the pattern to be met. An issue is received which includes a text sequence. The text sequence is categorized based on which, if any, of the discourse patterns are met by the text sequence of the received issue. Information based on the categorization of the text sequence is output.

## Claims

### Claim 1

A method for categorizing an issue comprising:
for each of a plurality of categories of issue, providing at least one discourse pattern for identify text sequences that meet the discourse pattern, at least one of the discourse patterns specifying that an instance of a domain term in a domain term vocabulary be present in the text sequence for the discourse pattern to be met;
receiving an issue comprising a text sequence;
with a processor, categorizing the text sequence based on which of the discourse patterns are met by the text sequence of the received issue; and
outputting information based on the categorization of the text sequence.

### Claim 2 (depends on 1)

The method of claim 1, wherein the categories of issue include an anomaly category having at least one discourse pattern for identifying a deviation from normal behavior of an instance of a domain term, expressed by the author of the issue.

### Claim 3 (depends on 2)

The method of claim 2, wherein the anomaly category is associated with a plurality of discourse patterns which are defined by an anomaly discourse model.

### Claim 4 (depends on 2)

The method of claim 2, wherein there are at least two discourse patterns provided for the anomaly category.

### Claim 5 (depends on 4)

The method of claim 4, wherein the discourse patterns for the anomaly category are selected from the group consisting of:
a pattern specifying that a term from a predefined set of deviance-related terms be in a syntactic dependency with a term in the domain term vocabulary;
a pattern specifying that a term classed as deviance be in a syntactic dependency with a term in the domain term vocabulary;
a pattern specifying that a deviance aspect indicator co-occur with a negative element, wherein the negative element is in a syntactic dependency with a term in the domain term vocabulary;
a pattern specifying that a deviance indicator of contrast co-occur with a deviance aspect indicator and a predicate or argument, wherein the predicate or argument is in a syntactic dependency with a term in the domain term vocabulary; and
a pattern specifying that a deviance indicator of contrast co-occur with deviance aspect indicator and a predicate or argument, wherein the predicate or argument is in a syntactic dependency with a term in the domain term vocabulary.

### Claim 6 (depends on 1)

The method of claim 1, wherein the issue categories include at least one information request category.

### Claim 7 (depends on 6)

The method of claim 6, wherein the at least one information request category is selected from:
a how-to category;
a property category;
an explanation category; and
combinations thereof.

### Claim 8 (depends on 7)

The method of claim 7, wherein the at least one information request category includes a how-to category, and the at least one discourse pattern is selected from:
a pattern specifying that a direct or indirect question contains the word how in combination with a 1 st person subject;
a pattern specifying that a direct or indirect question contains the word how to or way,
a pattern specifying that a direct or indirect question containing an instance of the lemma do has an instance of the lemma what as its direct object; and
combinations thereof.

### Claim 9 (depends on 7)

The method of claim 7, wherein the at least one information request category includes a property category, and the at least one discourse pattern is selected from:
a pattern specifying a direct or indirect yes-no question;
a pattern specifying a direct or indirect Wh-question, except when classed in the how-to category; and
combinations thereof.

### Claim 10 (depends on 7)

The method of claim 7, wherein the at least one information request category includes an explanation category, and the at least one discourse pattern is selected from:
a pattern specifying a direct or indirect question containing an instance of the lemma why;
a pattern specifying a direct or indirect question where an instance of the lemma cause has a subject or an object; and
combinations thereof.

### Claim 11 (depends on 1)

The method of claim 1, further comprising applying rules for detection of direct and indirect questions in the text sequence.

### Claim 12 (depends on 1)

The method of claim 1, further comprising parsing the text sequence to identify occurrences of syntactic dependencies between words of the text sequence from a predefined set of syntactic dependencies, at least some of the patterns specifying that the domain term be in a syntactic dependency.

### Claim 13 (depends on 1)

The method of claim 1, wherein the receiving an issue comprises receiving a collection of web posts each web post including an issue and at least one answer and wherein the output information includes categories for the issues which are used to label the post or to generate or update a knowledge base which includes questions and associated answers.

### Claim 14 (depends on 1)

The method of claim 1, wherein the outputting information comprises at least one of:
identifying a process for responding to the issue from a plurality of processes associated with different issue categories;
identifying a knowledge base from a plurality of knowledge bases for querying based on the categorization of the issue; and
querying a knowledge base or collection of web posts with the issue, wherein the query is also based on the categorization of the query.

### Claim 15 (depends on 1)

The method of claim 1, wherein there are at least three issue categories.

### Claim 16 (depends on 1)

The method of claim 1, further comprising extracting the domain terms in the domain term vocabulary from a collection of issue sentences.

### Claim 17 (depends on 1)

The method of claim 1, wherein the categorization includes extracting discourse pattern features based on the discourse patterns that are met by the text sequence and inputting the discourse pattern features into a classifier trained to classify text sequences or issues containing them based on the discourse pattern features.

### Claim 18 (depends on 1)

The method of claim 1, wherein the text sequence is a single sentence.

### Claim 19 (depends on 1)

A computer program product comprising a non-transitory recording medium storing instructions, which when executed on a computer, causes the computer to perform the method of claim 1.

### Claim 20

A system for categorizing issues comprising:
a domain term vocabulary which includes a plurality of domain terms;
memory which, for each of a plurality of categories of issue, stores at least one discourse pattern for identify patterns that are met by a text sequence, at least one of the patterns specifying that an instance of one of the domain terms be present in the text sequence for the pattern to be met;
a syntactic parser which identifies syntactic dependencies in an issue comprising a text sequence;
a discourse pattern extraction component which determines which of the discourse patterns are met by the text sequence;
a categorization component which categorizes the text sequence based on the discourse patterns which are met; and
an output component which outputs information based on the categorization of the text sequence.

### Claim 21

A method for categorizing an issue comprising:
providing a vocabulary of domain terms;
for each of a plurality of categories of issue, providing at least one discourse pattern for identify text sequences that met the pattern, the issue categories including at least one information request category and an anomaly category, at least one of the anomaly category discourse patterns being met when an instance of one of the domain terms in the domain term vocabulary is in a syntactic relation with another term in the in the text sequence;
receiving a text sequence;
with a processor, categorizing the text sequence based on the discourse patterns that are met by the text sequence; and
where the text sequence meets a discourse pattern for the anomaly category, processing the text sequence with a first procedure and where the text sequence meets a discourse pattern for the information request category, processing the text sequence with a second procedure, different from the first procedure.
