# US 2021/0064701 A1 · Generating comment excerpts within an online publication

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

- Number: US 2021/0064701 A1
- Document ID: US20210064701A1
- Status: Published application
- Kind: A1
- Application number: 16/556,467
- Filed: 2019-08-30
- Published: 2021-03-04
- Earliest claimed: 2019-08-30
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Scott Carrier; Dwi Sianto Mansjur; Brendan Bull; Andrew G. Hicks
- Web page: https://patentgrep.com/patent/US20210064701A1

## CPC

- G06F 3/0482: Interaction with lists of selectable items, e.g. menus
- G06F 40/30: Semantic analysis
- G06F 3/04817: using icons (graphical or visual programming using iconic symbols G06F8/34)
- G06F 3/0484: for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F 3/04842: Selection of displayed objects or displayed text elements (G06F3/0482 takes precedence)
- G06F 16/958: Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F 40/169: Annotation, e.g. comment data or footnotes
- G06F 40/289: Phrasal analysis, e.g. finite state techniques or chunking
- G06F 40/58: Use of machine translation, e.g. for multi-lingual retrieval, for server-side translation for client devices or for real-time translation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for generating and presenting a comment excerpt in an online publication based on a comment in a comments section is provided. The method may include determining whether a passage from the comment in the comments section is relevant to a sentence in the online publication, and in response to determining that the passage from the comment is relevant to the sentence in the online publication, extracting the passage from the comment. The method may further include determining the scope of the comment that is associated with the extracted passage, wherein determining the scope of the comment comprises determining a context associated with the extracted passage based on text surrounding the extracted passage. The method may further include, based on the determined scope of the comment, generating the comment excerpt that corresponds to the comment. The method may further include presenting the comment excerpt within the online publication.

## Claims

### Claim 1

A method for generating and presenting at least one comment excerpt in an online publication based on a comment in a comments section associated with the online publication, the method comprising:
determining whether at least one passage from the comment in the comments section is relevant to at least one sentence in the online publication, and in response to determining that the at least one passage from the comment in the comments section is relevant to the at least one sentence in the online publication, extracting the at least one passage from the comment;
determining the scope of the comment that is associated with the extracted at least one passage, wherein determining the scope of the comment comprises determining a context associated with the extracted at least one passage based on text surrounding the extracted at least one passage in the comment;
based on the determined scope of the comment, generating the at least one comment excerpt that corresponds to the comment in the comments section, wherein the at least one comment excerpt includes the extracted at least one passage and extracted surrounding text based on the determined scope of the comment; and
presenting the at least one comment excerpt within the online publication by aligning the at least one comment excerpt with the at least one sentence in the online publication.

### Claim 2 (depends on 1)

The method of claim 1, wherein presenting the at least one comment excerpt further comprises:
generating and presenting a first expand and collapse icon that is aligned with the at least one sentence in the online publication, wherein the first expand and collapse icon corresponds to a comment excerpt window comprising the at least one comment except, and wherein the first expand and collapse icon expands and collapses the comment excerpt window to present and hide the at least one comment excerpt.

### Claim 3 (depends on 2)

The method of claim 2, wherein the comment excerpt window further comprises at least one second expand and collapse icon corresponding to the at least one comment excerpt, wherein the at least one second expand and collapse icon expands and collapses a window associated with the at least one comment excerpt to present and hide full text associated with the comment in the comments section.

### Claim 4 (depends on 1)

The method of claim 1, wherein presenting the at least one comment excerpt within the online publication further comprises:
presenting a relevancy score indicating a level of relevancy between the at least one comment excerpt and the at least one sentence in the online publication.

### Claim 5 (depends on 1)

The method of claim 1, wherein presenting the at least one comment excerpt within the online publication further comprises:
highlighting the at least one sentence in the online publication or causing the at least one sentence to be highlighted in response to a user moving a cursor over the at least one sentence.

### Claim 6 (depends on 1)

The method of claim 1, wherein determining the scope of the comment that is associated with the extracted at least one passage further comprises:
computing the scope of the comment based on inputs comprising cross-sentence subject and object analysis, text-tiling to identify subtopics in the comment, natural language processing techniques to identify specific types of words and phrases that semantically indicate the context of the at least one passage.

### Claim 7 (depends on 6)

The method of claim 6, wherein determining the scope of the comment further comprises:
using logical rules associated with the inputs to compute the scope of the comment.

### Claim 8

A computer system for generating and presenting at least one comment excerpt in an online publication based on a comment in a comments section associated with the online publication, comprising:
one or more processors, one or more computer-readable memories, one or more computer-readable tangible storage devices, and program instructions stored on at least one of the one or more storage devices for execution by at least one of the one or more processors via at least one of the one or more memories, wherein the computer system is capable of performing a method comprising:
determining whether at least one passage from the comment in the comments section is relevant to at least one sentence in the online publication, and in response to determining that the at least one passage from the comment in the comments section is relevant to the at least one sentence in the online publication, extracting the at least one passage from the comment;
determining the scope of the comment that is associated with the extracted at least one passage, wherein determining the scope of the comment comprises determining a context associated with the extracted at least one passage based on text surrounding the extracted at least one passage in the comment;
based on the determined scope of the comment, generating the at least one comment excerpt that corresponds to the comment in the comments section, wherein the at least one comment excerpt includes the extracted at least one passage and extracted surrounding text based on the determined scope of the comment; and
presenting the at least one comment excerpt within the online publication by aligning the at least one comment excerpt with the at least one sentence in the online publication.

### Claim 9 (depends on 8)

The computer system of claim 8, wherein presenting the at least one comment excerpt further comprises:
generating and presenting a first expand and collapse icon that is aligned with the at least one sentence in the online publication, wherein the first expand and collapse icon corresponds to a comment excerpt window comprising the at least one comment except, and wherein the first expand and collapse icon expands and collapses the comment excerpt window to present and hide the at least one comment excerpt.

### Claim 10 (depends on 9)

The computer system of claim 9, wherein the comment excerpt window further comprises at least one second expand and collapse icon corresponding to the at least one comment excerpt, wherein the at least one second expand and collapse icon expands and collapses a window associated with the at least one comment excerpt to present and hide full text associated with the comment in the comments section.

### Claim 11 (depends on 8)

The computer system of claim 8, wherein presenting the at least one comment excerpt within the online publication further comprises:
presenting a relevancy score indicating a level of relevancy between the at least one comment excerpt and the at least one sentence in the online publication.

### Claim 12 (depends on 8)

The computer system of claim 8, wherein presenting the at least one comment excerpt within the online publication further comprises:
highlighting the at least one sentence in the online publication or causing the at least one sentence to be highlighted in response to a user moving a cursor over the at least one sentence.

### Claim 13 (depends on 8)

The computer system of claim 8, wherein determining the scope of the comment that is associated with the extracted at least one passage further comprises:
computing the scope of the comment based on inputs comprising cross-sentence subject and object analysis, text-tiling to identify subtopics in the comment, natural language processing techniques to identify specific types of words and phrases that semantically indicate the context of the at least one passage.

### Claim 14 (depends on 13)

The computer system of claim 13, wherein determining the scope of the comment further comprises:
using logical rules associated with the inputs to compute the scope of the comment.

### Claim 15

A computer program product for generating and presenting at least one comment excerpt in an online publication based on a comment in a comments section associated with the online publication, comprising:
one or more tangible computer-readable storage devices and program instructions stored on at least one of the one or more tangible computer-readable storage devices, the program instructions executable by a processor, the program instructions comprising:
program instructions to determine whether at least one passage from the comment in the comments section is relevant to at least one sentence in the online publication, and in response to determining that the at least one passage from the comment in the comments section is relevant to the at least one sentence in the online publication, program instructions to extract the at least one passage from the comment;
program instructions to determine the scope of the comment that is associated with the extracted at least one passage, wherein determining the scope of the comment comprises program instructions to determine a context associated with the extracted at least one passage based on text surrounding the extracted at least one passage in the comment;
based on the determined scope of the comment, program instructions to generate the at least one comment excerpt that corresponds to the comment in the comments section, wherein the at least one comment excerpt includes the extracted at least one passage and extracted surrounding text based on the determined scope of the comment; and
program instructions to present the at least one comment excerpt within the online publication by aligning the at least one comment excerpt with the at least one sentence in the online publication.

### Claim 16 (depends on 15)

The computer program product of claim 15, wherein the program instructions to present the at least one comment excerpt further comprises:
program instructions to generate and present a first expand and collapse icon that is aligned with the at least one sentence in the online publication, wherein the first expand and collapse icon corresponds to a comment excerpt window comprising the at least one comment except, and wherein the first expand and collapse icon expands and collapses the comment excerpt window to present and hide the at least one comment excerpt.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein the comment excerpt window further comprises at least one second expand and collapse icon corresponding to the at least one comment excerpt, wherein the at least one second expand and collapse icon expands and collapses a window associated with the at least one comment excerpt to present and hide full text associated with the comment in the comments section.

### Claim 18 (depends on 15)

The computer program product of claim 15, wherein the program instructions to present the at least one comment excerpt within the online publication further comprises:
program instructions to present a relevancy score indicating a level of relevancy between the at least one comment excerpt and the at least one sentence in the online publication.

### Claim 19 (depends on 15)

The computer program product of claim 15, wherein the program instructions to determine the scope of the comment that is associated with the extracted at least one passage further comprises:
program instructions to compute the scope of the comment based on inputs comprising cross-sentence subject and object analysis, text-tiling to identify subtopics in the comment, and natural language processing techniques to identify specific types of words and phrases that semantically indicate the context of the at least one passage.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the program instructions to determine the scope of the comment further comprises:
program instructions to use logical rules associated with the inputs to compute the scope of the comment.
