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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com