Text rendering method, apparatus and electronic device

By segmenting the text and identifying the keyword types, the keywords in the text can be rendered with diversified coloring effects, which solves the problem of single highlighting function in the existing technology and improves the user experience.

CN116341538BActive Publication Date: 2025-10-17BEIJING BAIDU NETCOM SCI & TECH CO LTD
2 Cites 0 Cited by

Patent Information

Application Number
CN202111603712.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2025-10-17
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

The rendering solutions for highlighting text in the prior art usually only highlight a single keyword, have a single function, and lack diversity.

Method used

By segmenting the text to be processed, extracting keywords, and determining the display attributes according to the type of keywords, rendering with different coloring effects can be achieved.

Benefits of technology

It realizes the rendering of diversified coloring effects for keywords in the text, improving the user experience and reading convenience.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

The present disclosure provides a text rendering method and device and electronic equipment, relates to the field of artificial intelligence, in particular to the field of text processing. The specific implementation scheme is: obtaining original data corresponding to a to-be-processed text, wherein the original data includes a plurality of segmentation results obtained by segmenting the to-be-processed text; traversing the segmentation results in the original data, extracting keywords in the original data; determining display attributes of the keywords according to types of the keywords, and rendering the keywords according to the display attributes of the keywords. Thus, the rendering of different coloring effects on the to-be-processed text is realized.
Need to check novelty before this filing date? Find Prior Art