# US 11,120,085 B2 · Individual deviation analysis by warning pattern detection

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

- Number: US 11,120,085 B2
- Document ID: US11120085B2
- Status: Granted
- Kind: B2
- Application number: 16/432,381
- Filed: 2019-06-05
- Published: 2020-12-10
- Granted: 2021-09-14
- Earliest claimed: 2019-06-05
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Toshiaki Yasue; Nobuhiro Hosokawa; Kohichi Ono; Yukiko Hara
- Web page: https://patentgrep.com/patent/US11120085B2

## CPC

- G06F 16/90344: {by using string matching techniques}
- G06F 40/279: Recognition of textual entities
- G06F 8/33: Intelligent editors
- G06F 8/36: Software reuse
- G06F 8/427: {Parsing}
- G06F 8/436: {Semantic checking}
- G06F 16/34: Browsing; Visualisation therefor (browsing or visualisation for clustering or classification G06F16/358)
- G06F 16/9035: Filtering based on additional data, e.g. user or group profiles
- G06F 40/253: Grammatical analysis; Style critique
- G06F 40/30: Semantic analysis
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method is provided for detecting characteristics of usages of problem expressions for each of multiple authors. The method includes providing, by a hardware processor, a set of regular expression patterns configured to detect the problem expressions. The method further includes detecting, by the hardware processor based on the set of regular expressions, respective sets of the problem expressions which are (i) used in each of multiple analysis units, (ii) associated with a respective one of each of the multiple authors, and (iii) associated with a respective one of each of multiple artifact types. The method also includes finding, by the hardware processor using automatic feature selection, a set of important expressions in the respective sets of problem expressions. The method additionally includes detecting, by the hardware processor, a typical tendency of the usages of the problem expressions for each of the multiple authors, based on the important expressions.

## Claims

### Claim 1

A computer-implemented method for detecting characteristics of usages of problem expressions for each of multiple authors, the method comprising:
providing, by a hardware processor, a set of regular expression patterns configured to detect the problem expressions, wherein the set of regular expression patterns comprise a sequence of characters that define a search pattern;
detecting, by the hardware processor based on the set of regular expression patterns, respective sets of the problem expressions which are (i) used in each of multiple analysis units, (ii) associated with a respective one of each of the multiple authors, and (iii) associated with a respective one of each of multiple artifact types;
finding, by the hardware processor using automatic feature selection, a set of important expressions in the respective sets of problem expressions, the set of important expressions identifying any of a used analysis unit from the multiple analysis units and an actual author from the multiple authors;
detecting, by the hardware processor, a typical tendency of the usages of the problem expressions for each of the multiple authors, based on the important expressions; and
automatically mitigating an unwanted result of the typical tendency of the usages of the problem expressions for each of the multiple authors, using a set of rules for automatically correcting the usages of the problem expressions.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the analysis unit is selected from the group consisting of an entire file and a portion of the entire file.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, further comprising providing guidance to mitigate the typical tendency of the usages of the problem expressions for each of the multiple authors, based on the typical tendency.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the typical tendency of the usages of the problem expressions for a given one of the multiple authors is relative to the typical tendency of the usages of the problem expressions for remaining ones of the multiple authors.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein detecting the typical tendency of the usages for a given author from among the multiple authors comprises:
detecting important features of an artifact which identify the artifact from all other artifacts;
detecting important features of the given author which identify the given author from all other ones of the multiple authors; and
detecting important features of the given author working for an artifact to identify the given author from all other ones of the multiple authors working for the artifact.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein detecting the typical tendency of the usages for a given author from among the multiple authors comprises converting an original count dataset into a N-level value dataset by thresholding.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein detecting the typical tendency of the multiple usages for a given author from among the multiple authors further comprises:
detecting important features of the given author whose usage of the detected expressions is different from other ones of the multiple authors from a point of view of frequency by using an original count data set.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein said finding step comprises using binary labels to selectively indicate membership or non-membership in a plurality of sets corresponding at least to an analysis unit from among multiple analysis units, an author from among the multiple authors, and the author relative to a given artifact from among multiple artifacts.

### Claim 9

A computer program product for detecting characteristics of usages of problem expressions for each of multiple authors, the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:
providing, by a hardware processor, a set of regular expression patterns configured to detect the problem expressions, wherein the set of regular expression patterns comprise a sequence of characters that define a search pattern;
detecting, by the hardware processor based on the set of regular expression patterns, respective sets of the problem expressions which are (i) used in each of multiple analysis units, (ii) associated with a respective one of each of the multiple authors, and (iii) associated with a respective one of each of multiple artifact types;
finding, by the hardware processor using automatic feature selection, a set of important expressions in the respective sets of problem expressions, the set of important expressions identifying any of a used analysis unit from the multiple analysis units and an actual author from the multiple authors;
detecting, by the hardware processor, a typical tendency of the usages of the problem expressions for each of the multiple authors, based on the important expressions; and
automatically mitigating, by the hardware processor an unwanted result of the typical tendency of the usages of the problem expressions for each of the multiple authors, using a set of rules for automatically correcting the usages of the problem expressions.

### Claim 10 (depends on 9)

The computer program product of claim 9, wherein the analysis unit is selected from the group consisting of an entire file and a portion of the entire file.

### Claim 11 (depends on 9)

The computer program product of claim 9, wherein the method further comprises providing guidance to mitigate the typical tendency of the usages of the problem expressions for each of the multiple authors, based on the typical tendency.

### Claim 12 (depends on 9)

The computer program product of claim 9, wherein the typical tendency of the usages of the problem expressions for a given one of the multiple authors is relative to the typical tendency of the usages of the problem expressions for remaining ones of the multiple authors.

### Claim 13 (depends on 9)

The computer program product of claim 9, wherein detecting the typical tendency of the usages for a given author from among the multiple authors comprises:
detecting important features of an artifact which identify the artifact from all other artifacts;
detecting important features of the given author which identify the given author from all other ones of the multiple authors; and
detecting important features of the given author working for an artifact to identify the given author from all other ones of the multiple authors working for the artifact.

### Claim 14 (depends on 9)

The computer program product of claim 9, wherein detecting the typical tendency of the usages for a given author from among the multiple authors comprises converting an original count dataset into a N-level value dataset by thresholding.

### Claim 15 (depends on 9)

The computer program product of claim 9, wherein detecting the typical tendency of the multiple usages for a given author from among the multiple authors further comprises:
detecting important features of the given author whose usage of the detected expressions is different from other ones of the multiple authors from a point of view of frequency by using an original count data set.

### Claim 16 (depends on 9)

The computer program product of claim 9, wherein said finding step comprises using binary labels to selectively indicate membership or non-membership in a plurality of sets corresponding at least to an analysis unit from among multiple analysis units, an author from among the multiple authors, and the author relative to a given artifact from among multiple artifacts.

### Claim 17

A computer processing system for detecting characteristics of usages of problem expressions for each of multiple authors, the computer processing system comprising:
a memory storing program code; and
a hardware processor for running the program code to
provide a set of regular expression patterns configured to detect the problem expressions, wherein the set of regular expression patterns comprise a sequence of characters that define a search pattern;
detect, based on the set of regular expressions, respective sets of the problem expression patterns which are (i) used in each of multiple analysis units, (ii) associated with a respective one of each of the multiple authors, and (iii) associated with a respective one of each of multiple artifact types;
find, using automatic feature selection, a set of important expressions in the respective sets of problem expressions, the set of important expressions identifying any of a used analysis unit from the multiple analysis units and an actual author from the multiple authors;
detect a typical tendency of the usages of the problem expressions for each of the multiple authors, based on the important expressions; and
automatically mitigate an unwanted result of the typical tendency of the usages of the problem expressions for each of the multiple authors, using a set of rules for automatically correcting the usages of the problem expressions.

### Claim 18 (depends on 17)

The computer processing system of claim 17, wherein the analysis unit is selected from the group consisting of an entire file and a portion of the entire file.
