Text partitioning method, text classifying method, apparatus, device and storage medium
AssigneeBoe Technology Group Co., Ltd.
InventorBingqian Wang
Life of this patent
Estimating the term…
Abstract
A text partitioning method, a text classifying method, an apparatus, a device and a storage medium, wherein the method includes: parsing a content image, to obtain a target text in a text format; according to a line break in the target text, partitioning the target text into a plurality of text sections; and according to a first data-volume threshold, partitioning sequentially the plurality of text sections into a plurality of text-to-be-predicted sets, wherein a data volume of a last one text section in each of the text-to-be-predicted sets is greater than a second data-volume threshold.
Claims19
A text partitioning method, wherein the method comprises:
- parsing a content image, to obtain a target text in a text format;
- according to a line break in the target text, partitioning the target text into a plurality of text sections;
- and
- according to a first data-volume threshold, partitioning sequentially the plurality of text sections into a plurality of text-to-be-predicted sets, wherein a data volume of a last one text section in each of the text-to-be-predicted sets is greater than a second data-volume threshold.
An electronic device, wherein the electronic device comprises a memory, a processor and a computer program that is stored in the memory and is executable on the processor, and the processor, when executing the computer program, performs the following operations:
- parsing a content image, to obtain a target text in a text format;
- according to a line break in the target text, partitioning the target text into a plurality of text sections;
- and
- according to a first data-volume threshold, partitioning sequentially the plurality of text sections into a plurality of text-to-be-predicted sets, wherein a data volume of a last one text section in each of the text-to-be-predicted sets is greater than a second data-volume threshold.
A computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program, when executed by the processor, performs the following operations:
- parsing a content image, to obtain a target text in a text format;
- according to a line break in the target text, partitioning the target text into a plurality of text sections;
- and
- according to a first data-volume threshold, partitioning sequentially the plurality of text sections into a plurality of text-to-be-predicted sets, wherein a data volume of a last one text section in each of the text-to-be-predicted sets is greater than a second data-volume threshold.
Dependencies are inferred from the claim text.