| CPC G06V 30/413 (2022.01) [G06F 16/953 (2019.01); G06F 40/20 (2020.01); G06V 30/12 (2022.01); G06V 30/19093 (2022.01); G06V 30/412 (2022.01); G06V 30/414 (2022.01); G06V 30/416 (2022.01)] | 13 Claims |

|
1. An apparatus for data structuring of text, the apparatus comprising:
a processor; and
a memory storing instructions executable by the processor,
wherein the processor is configured to execute the instructions to:
extract text and location information of the text from an image,
set text units for the extracted text,
assign a first tag and a second tag to at least one of the text units,
connect text units with related tags among the text units allocated the first tag and the second tag,
label the connected text units as first text corresponding to an item name, second text corresponding to an item value, and third text corresponding to others based on a natural language processing model, and
structure the extracted text by mapping the second text to the first text,
wherein the processor is configured to identify fourth text, which is the first text that falls within a preset distance threshold value from the second text, and maps the first text corresponding to the fourth text and the second text in the process of structuring.
|