# US 2017/0293620 A1 · Natural language processing based on textual polarity

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

- Number: US 2017/0293620 A1
- Document ID: US20170293620A1
- Status: Published application
- Kind: A1
- Application number: 15/091,775
- Filed: 2016-04-06
- Published: 2017-10-12
- Earliest claimed: 2016-04-06
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Branimir K. Boguraev; Bharath Dandala; Lakshminarayanan Krishnamurthy; Benjamin P. Segal
- Web page: https://patentgrep.com/patent/US20170293620A1

## CPC

- G06F 16/3344: {using natural language analysis}
- G06F 16/24522: {Translation of natural language queries to structured queries}
- G06F 16/24578: {using ranking}
- G06F 16/3329: Natural language query formulation
- G06F 16/337: {Profile generation, learning or modification}
- G06F 16/353: into predefined classes
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/30: Semantic analysis
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 5/025: Extracting rules from data
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Natural language processing (NLP) with awareness of textual polarity. An NLP system, such as a search engine or a Question-Answering (QA) system receives input text for processing. The input text may be a text fragment, a search phrase, a question having a general type, or a polar question having a yes or no answer. The NLP system identifies textual polarity and provides responses to the input text (for example, in answer form) based on identifying evidence whose selection, scoring, and processing, is informed by the textual polarity of the input text, and the textual polarity of candidate evidence passages.

## Claims

### Claim at position 1

-17. (canceled)

### Claim 18

A computer program product for processing a natural language question in a computing system, comprising a non-transitory tangible storage device having program code embodied therewith, the program code executable by a processor of a computer to perform a method, the method comprising:
identifying, by the processor, an electronic text as a polar question having a polarity value;
selecting, by the processor, at least one pivot word in the polar question for replacement with a lexical substitute word, whereby replacing the at least one pivot word in the polar question with the lexical substitute word flips the polarity value of the polar question; and
generating, by the processor, a flipped polar question by replacing the selected pivot word with the corresponding lexical substitute word.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the method further comprises:
querying a text corpus, by the processor, using at least one term in the flipped polar question;
receiving, by the processor, an evidence passage in response to the query;
associating, by the processor, the received evidence passage with the flipped polar question; and
providing the flipped polar question and the evidence passage to a processing stage in a natural language processing pipeline.

### Claim 20

A computer system for processing a natural language question, comprising:
one or more computer devices each having one or more processors and one or more tangible storage devices; and
a program embodied on at least one of the one or more storage devices, the program having a plurality of program instructions for execution by the one or more processors, the program instructions comprising instructions for:
identifying, by the one or more processors, an electronic text as a polar question having a polarity value;
selecting, by the one or more processors, at least one pivot word in the polar question for replacement with a lexical substitute word, whereby replacing the at least one pivot word in the polar question with the lexical substitute word flips the polarity value of the polar question;
generating, by the one or more processors, a flipped polar question by replacing the selected pivot word with the corresponding lexical substitute word;
querying a text corpus, by the one or more processors, using at least one term in the flipped polar question;
receiving, by the one or more processors, an evidence passage in response to the query;
associating, by the one or more processors, the received evidence passage with the flipped polar question; and
providing the flipped polar question and the evidence passage, by the one or more processors, to a processing stage in a natural language processing pipeline.
