# US 2026/0268066 A1 · Artificial intelligence-based text processing method and apparatus, and computer-readable storage medium

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

- Number: US 2026/0268066 A1
- Document ID: US20260268066A1
- Status: Published application
- Kind: A1
- Application number: 19/659,686
- Filed: 2026-04-27
- Published: 2026-09-10
- Earliest claimed: 2024-01-19
- Assignees: Tencent Technology (Shenzhen) Company Limited
- Applicants: Tencent Technology (Shenzhen) Company Limited
- Inventors: Yong HU
- Web page: https://patentgrep.com/patent/US20260268066A1

## CPC

- G06F 40/166: Editing, e.g. inserting or deleting
- G06F 40/103: Formatting, i.e. changing of presentation of documents (automatic justification G06F40/189; automatic line break hyphenation G06F40/191)
- G06F 40/131: Fragmentation of text files, e.g. creating reusable text-blocks; Linking to fragments, e.g. using XInclude; Namespaces
- G06F 40/16: Automatic learning of transformation rules, e.g. from examples
- G06F 40/186: Templates
- G06F 40/20: Natural language analysis (semantic analysis of natural language G06F40/30)
- G06F 40/205: Parsing
- G06F 40/216: using statistical methods
- G06F 40/232: Orthographic correction, e.g. spell checking or vowelisation
- G06F 40/253: Grammatical analysis; Style critique
- G06F 40/279: Recognition of textual entities
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F 40/289: Phrasal analysis, e.g. finite state techniques or chunking
- G06F 40/30: Semantic analysis
- G06F 40/56: Natural language generation
- 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
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/045: Combinations of networks
- G06N 3/0499: Feedforward networks
- G06N 3/08: Learning methods
- G06N 20/00: Machine learning
- G06V 30/1916: {Validation; Performance evaluation}
- G06V 30/1918: {Fusion techniques, i.e. combining data from various sources, e.g. sensor fusion}
- Y02D 10/00: Energy efficient computing, e.g. low power processors, power management or thermal management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- Y02D: CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE

## Abstract

This application provides an artificial intelligence-based text processing method and apparatus, an electronic device, a computer program product, and a computer-readable storage medium. The method includes obtaining a first integrated text, the first integrated text being obtained by correcting a first original text; concatenating the first integrated text and the first original text, to obtain a concatenated text; performing multi-dimensional evaluation on the concatenated text, to obtain an evaluation result corresponding to each dimension, the multi-dimensional evaluation comprising at least two of the following: semantic evaluation, grammatical evaluation, and formatting evaluation; and fusing the evaluation results of at least two of the dimensions, to obtain a corrected evaluation result of the first integrated text.

## Claims

### Claim 1

An artificial intelligence-based text processing method, performed by an electronic device, the method comprising:
obtaining a first integrated text, the first integrated text being obtained by correcting a first original text;
concatenating the first integrated text and the first original text, to obtain a concatenated text;
performing multi-dimensional evaluation on the concatenated text, to obtain an evaluation result corresponding to each dimension, the multi-dimensional evaluation comprising at least two of the following: semantic evaluation, grammatical evaluation, and formatting evaluation; and
fusing the evaluation results of at least two of the dimensions, to obtain a corrected evaluation result of the first integrated text.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the concatenating the first integrated text and the first original text, to obtain a concatenated text comprises:
obtaining a concatenation template; and
concatenating the first original text and the first integrated text based on the concatenation template, to obtain the concatenated text.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the formatting evaluation comprises:
performing text vectorization on each character or word in the concatenated text, to obtain a text vector representation of each character or word, and concatenating the text vector representations of a plurality of characters or words into a concatenated text vector representation;
performing formatting feature extraction on the concatenated text vector representation, to obtain a formatting feature corresponding to the concatenated text; and
performing first mapping on the formatting feature, to obtain a formatting evaluation result.

### Claim 4 (depends on 3)

The method according to claim 3, wherein the performing text vectorization on each character in the concatenated text, to obtain a text vector representation of each character or word comprises:
performing the following processing on each character or word:
performing word vectorization on the character or word, to obtain a word vector representation of the character or word;
performing sentence vectorization on the character or word based on a sentence to which the character or word belongs, to obtain a sentence vector representation of the character or word, the sentence being from the concatenated text;
performing position vectorization on the character or word based on a position of the character or word in the concatenated text, to obtain a position vector representation of the character or word; and
fusing the word vector representation, the sentence vector representation, and the position vector representation that correspond to the character or word, to obtain the text vector representation corresponding to the character or word.

### Claim 5 (depends on 3)

The method according to claim 3, wherein the performing formatting feature extraction on the concatenated text vector representation, to obtain a formatting feature corresponding to the concatenated text comprises:
performing the following processing on the text vector representation of each character in the concatenated text vector representation:
performing formatting feature extraction on the text vector representation of the character or worder when a character or worder corresponding to the text vector representation of the character or worder is the first character or worder of the concatenated text, to obtain a character or worder formatting feature of the character or worder; or
performing formatting feature extraction on the text vector representation of the character or worder and the preceding character or worder when a character or worder corresponding to the text vector representation of the character or worder is not the first character or worder of the concatenated text, to obtain a character or worder formatting feature of the character or worder, the preceding character or worder being the character or worder in the concatenated text that is positioned before the character or worder; and
using the character or worder formatting feature of the last character or worder in the concatenated text as the formatting feature of the concatenated text.

### Claim 6 (depends on 3)

The method according to claim 3, wherein the performing first mapping on the formatting feature, to obtain a formatting evaluation result comprises:
performing multi-layer perception processing on the formatting feature, to obtain a predicted score value corresponding to the concatenated text; and
performing normalization on the predicted score value based on an activation function, to obtain a formatting evaluation score, and using the formatting evaluation score as the formatting evaluation result.

### Claim 7 (depends on 1)

The method according to claim 1, wherein
the semantic evaluation comprises:
performing text vectorization on each character or word in the concatenated text, to obtain a text vector representation of each character or word, and concatenating the text vector representations of a plurality of characters or words into a concatenated text vector representation;
performing semantic feature extraction on the concatenated text vector representation, to obtain a semantic feature corresponding to the concatenated text; and
performing second mapping on the semantic feature, to obtain a semantic evaluation result of the concatenated text; and
the grammatical evaluation comprises:
performing text vectorization on each character or word in the concatenated text, to obtain a text vector representation of each character or word, and concatenating the text vector representations of a plurality of characters or words into a concatenated text vector representation;
performing grammatical feature extraction on the concatenated text vector representation, to obtain a grammatical feature corresponding to the concatenated text; and
performing third mapping on the grammatical feature, to obtain a grammatical evaluation result of the concatenated text.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the evaluation results of at least two of the dimensions comprise the semantic evaluation result, the grammatical evaluation result, and the formatting evaluation result, and the fusing the evaluation results of at least two of the dimensions, to obtain a corrected evaluation result of the first integrated text comprises:
obtaining a weight combination adapted to an evaluation requirement, the weight combination comprising a first weight corresponding to the semantic evaluation result, a second weight corresponding to the grammatical evaluation result, and a third weight corresponding to the formatting evaluation result; and
performing weighted summation on the semantic evaluation result, the grammatical evaluation result, and the formatting evaluation result based on the weight combination, to obtain the corrected evaluation result of the first integrated text.

### Claim 9 (depends on 1)

The method according to claim 1, further comprising:
obtaining a second integrated text, the second integrated text being obtained by correcting a second original text;
concatenating the second integrated text and the second original text, to obtain a concatenated text sample;
performing forward propagation on the concatenated text sample in a pre-trained model, to obtain a predicted evaluation result of the concatenated text sample in a target dimension, the target dimension being from the plurality of dimensions;
obtaining an actual evaluation result of the concatenated text sample in the target dimension; and
determining a loss function based on the predicted evaluation result and the actual evaluation result in the target dimension, and updating the pre-trained model based on the loss function, to obtain an evaluation model, the evaluation model being configured for performing evaluation of the target dimension on the concatenated text sample.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the obtaining an actual evaluation result of the concatenated text sample in the target dimension comprises:
determining the value 1 as the actual evaluation result of the concatenated text sample in the target dimension when the second original text and the second integrated text have a positive sample relationship in the target dimension; or
determining the value 0 as the actual evaluation result of the concatenated text sample in the target dimension when the second original text and the second integrated text have a negative sample relationship in the target dimension.

### Claim 11 (depends on 9)

The method according to claim 9, wherein the performing forward propagation on the concatenated text sample in a pre-trained model, to obtain a predicted evaluation result of the concatenated text sample in a target dimension comprises:
invoking the pre-trained model to perform the following operations on the concatenated text sample:
performing text vectorization on each sample character or word in the concatenated text sample, to obtain a sample text vector representation of each sample character or word, and concatenating the sample text vector representations of a plurality of sample characters or words into a concatenated text sample representation;
performing feature extraction corresponding to the target dimension on the concatenated text sample representation, to obtain a text sample feature in the target dimension;
performing multi-layer perception processing on the text sample feature, to obtain a sample predicted score value corresponding to the concatenated text sample in the target dimension;
performing normalization on the sample predicted score value based on an activation function, to obtain a sample evaluation score, a value range of the sample evaluation score being not less than 0 and not greater than 1; and
using the sample evaluation score as the predicted evaluation result of the concatenated text sample in the target dimension.

### Claim 12

An electronic device, comprising:
a memory, configured to store computer-executable instructions; and
a processor, configured to implement an artificial intelligence-based text processing method, the method comprising:
obtaining a first integrated text, the first integrated text being obtained by correcting a first original text;
concatenating the first integrated text and the first original text, to obtain a concatenated text;
performing multi-dimensional evaluation on the concatenated text, to obtain an evaluation result corresponding to each dimension, the multi-dimensional evaluation comprising at least two of the following: semantic evaluation, grammatical evaluation, and formatting evaluation; and
fusing the evaluation results of at least two of the dimensions, to obtain a corrected evaluation result of the first integrated text.

### Claim 13 (depends on 12)

The electronic device according to claim 12, wherein the concatenating the first integrated text and the first original text, to obtain a concatenated text comprises:
obtaining a concatenation template; and
concatenating the first original text and the first integrated text based on the concatenation template, to obtain the concatenated text.

### Claim 14 (depends on 12)

The electronic device according to claim 12, wherein the formatting evaluation comprises:
performing text vectorization on each character or word in the concatenated text, to obtain a text vector representation of each character or word, and concatenating the text vector representations of a plurality of characters or words into a concatenated text vector representation;
performing formatting feature extraction on the concatenated text vector representation, to obtain a formatting feature corresponding to the concatenated text; and
performing first mapping on the formatting feature, to obtain a formatting evaluation result.

### Claim 15 (depends on 14)

The electronic device according to claim 14, wherein the performing text vectorization on each character in the concatenated text, to obtain a text vector representation of each character or word comprises:
performing the following processing on each character or word:
performing word vectorization on the character or word, to obtain a word vector representation of the character or word;
performing sentence vectorization on the character or word based on a sentence to which the character or word belongs, to obtain a sentence vector representation of the character or word, the sentence being from the concatenated text;
performing position vectorization on the character or word based on a position of the character or word in the concatenated text, to obtain a position vector representation of the character or word; and
fusing the word vector representation, the sentence vector representation, and the position vector representation that correspond to the character or word, to obtain the text vector representation corresponding to the character or word.

### Claim 16 (depends on 14)

The electronic device according to claim 14, wherein the performing formatting feature extraction on the concatenated text vector representation, to obtain a formatting feature corresponding to the concatenated text comprises:
performing the following processing on the text vector representation of each character in the concatenated text vector representation:
performing formatting feature extraction on the text vector representation of the character or worder when a character or worder corresponding to the text vector representation of the character or worder is the first character or worder of the concatenated text, to obtain a character or worder formatting feature of the character or worder; or
performing formatting feature extraction on the text vector representation of the character or worder and the preceding character or worder when a character or worder corresponding to the text vector representation of the character or worder is not the first character or worder of the concatenated text, to obtain a character or worder formatting feature of the character or worder, the preceding character or worder being the character or worder in the concatenated text that is positioned before the character or worder; and
using the character or worder formatting feature of the last character or worder in the concatenated text as the formatting feature of the concatenated text.

### Claim 17 (depends on 14)

The electronic device according to claim 14, wherein the performing first mapping on the formatting feature, to obtain a formatting evaluation result comprises:
performing multi-layer perception processing on the formatting feature, to obtain a predicted score value corresponding to the concatenated text; and
performing normalization on the predicted score value based on an activation function, to obtain a formatting evaluation score, and using the formatting evaluation score as the formatting evaluation result.

### Claim 18 (depends on 12)

The electronic device according to claim 12, wherein the semantic evaluation comprises:
performing text vectorization on each character or word in the concatenated text, to obtain a text vector representation of each character or word, and concatenating the text vector representations of a plurality of characters or words into a concatenated text vector representation;
performing semantic feature extraction on the concatenated text vector representation, to obtain a semantic feature corresponding to the concatenated text; and
performing second mapping on the semantic feature, to obtain a semantic evaluation result of the concatenated text; and
the grammatical evaluation comprises:
performing text vectorization on each character or word in the concatenated text, to obtain a text vector representation of each character or word, and concatenating the text vector representations of a plurality of characters or words into a concatenated text vector representation;
performing grammatical feature extraction on the concatenated text vector representation, to obtain a grammatical feature corresponding to the concatenated text; and
performing third mapping on the grammatical feature, to obtain a grammatical evaluation result of the concatenated text.

### Claim 19 (depends on 12)

The electronic device according to claim 12, wherein the evaluation results of at least two of the dimensions comprise the semantic evaluation result, the grammatical evaluation result, and the formatting evaluation result, and the fusing the evaluation results of at least two of the dimensions, to obtain a corrected evaluation result of the first integrated text comprises:
obtaining a weight combination adapted to an evaluation requirement, the weight combination comprising a first weight corresponding to the semantic evaluation result, a second weight corresponding to the grammatical evaluation result, and a third weight corresponding to the formatting evaluation result; and
performing weighted summation on the semantic evaluation result, the grammatical evaluation result, and the formatting evaluation result based on the weight combination, to obtain the corrected evaluation result of the first integrated text.

### Claim 20

A non-transitory computer-readable storage medium, having computer-executable instructions stored therein, the computer-executable instructions, when executed by a processor, implementing an artificial intelligence-based text processing method, the method comprising:
obtaining a first integrated text, the first integrated text being obtained by correcting a first original text;
concatenating the first integrated text and the first original text, to obtain a concatenated text;
performing multi-dimensional evaluation on the concatenated text, to obtain an evaluation result corresponding to each dimension, the multi-dimensional evaluation comprising at least two of the following: semantic evaluation, grammatical evaluation, and formatting evaluation; and
fusing the evaluation results of at least two of the dimensions, to obtain a corrected evaluation result of the first integrated text.
