Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Character similarity determination method and device, electronic equipment and storage medium

A technology of glyph similarity and similarity, applied in the computer field, can solve the problems of inaccurate similarity and inaccurate replacement of text content.

Pending Publication Date: 2021-06-15
挂号网(杭州)科技有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the similarity between characters is determined mainly through simple phonetic comparison or font comparison. At this time, there is a technical problem that the determined similarity between two characters is inaccurate, which leads to inaccurate replacement of text content.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Character similarity determination method and device, electronic equipment and storage medium
  • Character similarity determination method and device, electronic equipment and storage medium
  • Character similarity determination method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] figure 1 It is a schematic flow chart of a method for determining character similarity provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of determining the similarity between two characters, and the method can be executed by a device for determining character similarity. The device can be implemented in the form of software and / or hardware. The hardware can be an electronic device, and the electronic device can be a terminal or a server. The technical solution can be implemented through a terminal, a server, or a terminal and server cooperation to achieve.

[0031] Before introducing the technical solution of this embodiment, the application scenario is described as an example. In the process of the user editing text or editing a sentence, it can be determined based on the method provided by this embodiment whether there is an erroneous text in the sentence, and then the correct text is displayed; or it is determined whet...

Embodiment 2

[0054] Figure 5 It is a flow diagram of a method for determining character similarity provided by Embodiment 2 of the present invention. On the basis of the foregoing embodiments, for "based on the encoded character string and the glyph encoding table, determine the target character and the The target similarity of the text to be determined" will be described in detail, and its specific implementation can refer to the technical solution of this embodiment. Wherein, technical terms that are the same as or corresponding to those in the foregoing embodiments will not be repeated here.

[0055] Such as Figure 5 As shown, the method includes:

[0056] S210. According to the phonetics of the target text and the text to be determined, respectively determine encoded character strings corresponding to the target text and the text to be determined.

[0057] S220. Determine the basic character attribute information of the target character and the to-be-determined character respectiv...

Embodiment 3

[0091] Figure 7 A structural diagram of a text similarity determination device provided by Embodiment 3 of the present invention, the device includes: a coded character string determination module 310 , a glyph encoding table determination module 320 and a target similarity value determination module 330 .

[0092] Wherein, the encoding character string determining module 310 is used to determine respectively the encoding character string corresponding to the target character and the character to be determined according to the pronunciation of the target character and the character to be determined; Text and the text basic attribute information of the text to be determined, and determine the target text and the glyph encoding table of the text to be determined according to the basic text attributes; wherein, the basic text attribute information includes text structure, composition At least one basic unit of a character and the number of strokes of the character; a target simi...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a character similarity determination method and device, electronic equipment and a storage medium; the method comprises the steps: respectively determining coded character strings corresponding to a target character and a to-be-determined character according to the character pronunciation of the target character and the character pronunciation of the to-be-determined character; respectively determining character basic attribute information of the target character and the to-be-determined character, and determining a font coding table of the target character and the to-be-determined character according to the character basic attribute, wherein the character basic attribute information comprises a character structure, at least one basic unit forming a character and the number of strokes of the character; and determining a target similarity between the target character and the to-be-determined character based on the coded character string and the font coding table. According to the technical scheme, the technical problem that in the prior art, when the similarity between the two characters is determined only by considering the character pronunciation or the character pattern of the characters, the similarity result is determined inaccurately is solved, and the technical effect of accurately, efficiently and conveniently determining the similarity between the two characters is achieved.

Description

technical field [0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a method, device, electronic equipment, and storage medium for determining character similarity. Background technique [0002] In various fields, the similarity between two texts is usually determined, and then the wrong text or the text to be replaced in the document is determined based on the similarity, so as to improve the accuracy of the text content. [0003] At present, the similarity between characters is determined mainly through simple phonetic comparison or glyph comparison. At this time, there is a technical problem that the determined similarity between two characters is inaccurate, which leads to inaccurate replacement of text content. Contents of the invention [0004] The present invention provides a character similarity determination method, device, electronic equipment and storage medium to realize the optimization of the charac...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F40/126G06F16/903
CPCG06F40/126G06F16/90344
Inventor 饶官军方成孟海忠柴鹏飞陈雪魁吴边
Owner 挂号网(杭州)科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products