US 12,112,562 B2
Pre-processing a table in a document for natural language processing
Scott Carrier, New Hill, NC (US); Ritwik Ray, Apex, NC (US); Jonathan Chapin Rand, Ann Arbor, MI (US); Jothilakshmi Sirangimoorthy, Canton, MI (US); Hui Wang, Ann Arbor, MI (US); and Robert Fredenburg, Kalamazoo, MI (US)
Assigned to INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed by INTERNATIONAL BUSINESS MACHINES CORPORATION, Armonk, NY (US)
Filed on Nov. 22, 2023, as Appl. No. 18/518,279.
Application 18/518,279 is a continuation of application No. 18/154,665, filed on Jan. 13, 2023, granted, now 11,869,264.
Application 18/154,665 is a continuation of application No. 17/155,077, filed on Jan. 21, 2021, granted, now 11,587,347.
Prior Publication US 2024/0096124 A1, Mar. 21, 2024
Int. Cl. G06F 17/00 (2019.01); G06F 3/0482 (2013.01); G06F 40/237 (2020.01); G06F 40/40 (2020.01); G06V 30/412 (2022.01); G06V 30/416 (2022.01)
CPC G06V 30/412 (2022.01) [G06F 3/0482 (2013.01); G06F 40/237 (2020.01); G06F 40/40 (2020.01); G06V 30/416 (2022.01)] 17 Claims
OG exemplary drawing
 
1. A computer program product for natural language processing (NLP) of a document including a table, wherein the computer program product comprises a computer readable storage medium having computer readable program instructions executed by a processor to perform operations, the operations comprising:
generating a graphical user interface (GUI) providing a representation of table items in a table in a document including a set of a main element comprising an entity whose value is to be extracted, a conditional element that refines the entity, and a value element comprising a value for the entity;
rendering, in the GUI, graphical controls to enable a user to select an element from the table to be the main element, the conditional element, and the value element;
updating the set of the main element, the conditional element, and the value element with the user selected element to be one of the main element, the conditional element, and the value element to form a modified set;
providing the modified set of the main element, the conditional element, and the value element to an NLP engine to perform natural language processing of the document including the table, using the modified set of the main element, the conditional element, and the value element to interpret the table;
rendering, in the GUI, graphical controls to enable a user to select a lexical connector between the main element and one of conditional elements; and updating the set to include in the updated set the user selected lexical connector.