CN110580344A - intercommunication mutual identification technical method of Chinese characters and Spanish language - Google Patents
intercommunication mutual identification technical method of Chinese characters and Spanish language Download PDFInfo
- Publication number
- CN110580344A CN110580344A CN201710540264.XA CN201710540264A CN110580344A CN 110580344 A CN110580344 A CN 110580344A CN 201710540264 A CN201710540264 A CN 201710540264A CN 110580344 A CN110580344 A CN 110580344A
- Authority
- CN
- China
- Prior art keywords
- spanish
- picture
- chinese
- character
- characters
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Machine Translation (AREA)
Abstract
The invention relates to a system implementation method for mutually recognizing Spanish characters through Chinese character intercommunication, which comprises a method for mutually recognizing Chinese character patterns according to Spanish character intercommunication and a method for inquiring corresponding Spanish characters according to the Chinese character patterns: the method for mutually identifying the character patterns of the Chinese characters according to the intercommunication of the Spanish texts comprises two steps of establishing data mapping between the character patterns of the Chinese characters and the corresponding Spanish texts, realizing network service and providing a function of mutual identification of intercommunication; the method for inquiring the corresponding Spanish characters according to the character patterns of the Chinese characters comprises two steps of establishing a character pattern characteristic character string database of the Chinese characters and an implementation method and an algorithm for recognizing the character patterns of the Chinese characters.
Description
1. field of the invention
the invention relates to the field of intercommunication and mutual identification of Chinese characters and various languages, in particular to a method for realizing direct intercommunication and mutual identification of Chinese and Spanish applied to a intercommunication and mutual identification system of Chinese and various languages.
2. background of the invention
The characters are tools for expressing ideas and developing life communication for human beings, have long history and huge characters, and are universal for human beings speaking Chinese. The number of Chinese characters is the first in the world at present, and 5000 years of culture inherits China to enhance the centripetal force and cohesion of each nation. The culture essence propagated by the Chinese characters strengthens the recognition among all nationalities, and is a binder for cultural communication of all nationalities in history. The Chinese spline is used as a long-term basis for the large country, and one of the important reasons is that the Chinese character-carrying culture is always recognized by each nation.
chinese characters are one of official characters of the united nations, all files must be translated into Chinese characters for storage, and foreigners learning Chinese \ Chinese characters are increasing along with increasing strength of Chinese nations. With the historical status of China in the world, the essence of Chinese famous family, Chinese character, should also become the universal language in the world.
however, in order to promote the Chinese character culture more quickly and more widely, a set of system for intercommunicating and mutually recognizing the Chinese characters and the languages and characters of all countries in the world needs to be established by means of the current high technology, each Chinese character is collected into a database of the system by the system, then a Chinese character learner accesses the database of the system by using a terminal capable of being connected with the internet, information in the database is fed back to the terminal, and the learner queries the character patterns of the Chinese characters according to the languages and characters in the world or queries the corresponding languages and characters in the world according to the character patterns of the Chinese characters.
3. summary of the invention
The invention aims to overcome the defects in the prior art and provides a method for realizing direct intercommunication and mutual identification of Chinese and Spanish in a intercommunication and mutual identification system of Chinese and various languages.
A system implementation method for Chinese direct intercommunication and Spanish identification is characterized in that: the method comprises a method for mutually recognizing Chinese character patterns according to Spanish character intercommunication and a method for inquiring corresponding Spanish characters according to the Chinese character patterns.
The method for mutually identifying the Chinese character book font according to Spanish intercommunication comprises the following steps:
step 1), establishing data mapping of Spanish corresponding to Chinese character patterns: all Spanish languages are translated and written into Chinese character patterns, the written Chinese character patterns are scanned into an electronic edition, each character generates a picture and is stored into a jpeg format picture file named by the corresponding Spanish language, the jpeg format picture file and the corresponding Chinese characters are mapped in a one-to-one mode, and a database is established.
step 2), realizing network service, and providing the intercommunication and mutual identification function of Chinese characters and Spanish: installing a Chinese character text input box with a function of mutually identifying Spanish in Chinese character intercommunication on hardware connected with the Internet for a user to input Chinese characters, wherein the Chinese character text input box is connected with a database storing a jpeg format picture file, the user selects the function of mutually identifying Spanish in intercommunication on the Chinese character text input box, and a background service inquires a picture corresponding to Spanish from the database mapped by Spanish and Chinese character font pictures according to the Chinese characters, transmits the picture to a client and displays the picture on the client for the user to check and use;
The method for identifying Spanish according to Chinese character intercommunication comprises the following steps:
step 1), establishing a Chinese character font characteristic character string database;
Compiling and writing all Spanish characters into corresponding Chinese characters, scanning the written Chinese characters into an electronic edition, generating a picture for each character, storing the picture into a JPEG format picture file named by the corresponding Spanish characters, and respectively processing each picture file to generate a corresponding characteristic string, wherein the generation method of the characteristic string comprises the following steps:
Firstly, reading an image;
Reading the generated original pictures in the JPEG format named in corresponding Spanish into picture processing software;
secondly, color processing;
Processing the picture added in the first step in picture processing software to completely generate white black characters, wherein the white black characters are black fonts, and the background except the fonts is white;
thirdly, cutting;
processing the picture obtained in the second step through picture processing software, cutting off the vacant part outside the character horizontally and vertically, and overlapping the edge of the outermost side of the character with the edge of the picture;
fourthly, compressing;
compressing the picture obtained after the third step to obtain a picture with a standard size;
fifthly, generating a characteristic string;
scanning each pixel point of the picture obtained after the fourth step, taking black as 1 and white as 0 to obtain a 64-bit string,
all Chinese character font is processed according to the method to obtain character strings, pictures and Spanish translation one-to-one mapping, and a character database is established;
step 2), a Chinese character font identification realization method and an algorithm:
step one, imaging:
the method comprises the steps that Chinese character recognition software with a photographing function is installed on hardware equipment connected with the Internet, the equipment connected with the Internet has the photographing function, Chinese characters needing to be recognized are photographed and taken by the hardware equipment, the size of an image obtained by photographing is set to be a fixed size, and only a single Chinese character font needing to be recognized is required to be ensured in the image obtained by photographing during photographing.
And a second step of treatment:
processing the picture generated in the first step according to the picture processing method in the step 1) of establishing the Chinese character font characteristic character string to obtain the Chinese character font characteristic character string in the picture.
Step three, comparison:
and uploading the character string of the Chinese character font to be identified, which is calculated in the second step, to a server, and comparing the character string with all character strings in the database to find the character string with the highest similarity to the character string of the Chinese character font to be identified.
And fourthly, displaying:
and after finding the character string with the highest similarity to the characteristic character string of the character pattern of the Chinese character to be recognized according to the third step, searching the picture and the Spanish translation corresponding to the character string from the database according to the character string, transmitting the picture and the Spanish translation to software installed on hardware connected with the Internet through the Internet by a background, and displaying the picture and the Spanish translation through an interface of the software for comparison, study and use of a user.
in the step 1) of the method for mutually identifying corresponding Spanish characters according to Chinese character font intercommunication, the picture size of the picture with the standard size generated in the fourth step is 8 x 8, and the unit is millimeter.
The size of the picture obtained by photographing in the first step of the step 2) of the method for mutually identifying corresponding Spanish characters according to Chinese character font intercommunication is set to be 800 × 600 in unit of millimeter.
In the step 2), the hardware connected with the internet is a computer with a photographing function in the first step.
In the first step of the method step 2) for identifying corresponding Spanish according to Chinese character font intercommunication, hardware connected with the Internet is other intelligent equipment such as a smart phone and a smart watch with a photographing function.
The invention has originality, the invention adopts high-tech informatization of Chinese character patterns, each Chinese character is recorded and input in a Chinese character database by camera shooting, each Chinese character has corresponding Spanish language translation, the Chinese intercommunication mutual identification Spanish language system established by the method is provided for Spanish language users to intercommunicate and identify corresponding Spanish language immediately according to the writing method of Chinese character direct-through Spanish language and after Spanish language learners see a certain Chinese character, particularly when the Chinese character patterns are intercommunicated and identified with corresponding Spanish language, the Chinese intercommunication mutual identification Spanish language system established by the invention has the recognition accuracy of the Chinese character patterns reaching more than 99 percent, is favorable for people to know and learn Chinese characters, and is favorable for popularization and use of the Chinese characters in the whole world range
4. Description of the drawings
The above and other aspects and advantages of the present invention will become more readily apparent by describing in more detail exemplary embodiments thereof with reference to the attached drawings, in which:
FIG. 1: the design method adopted by the invention is a flow chart;
Fig. 2 is a picture in an embodiment of the invention.
fig. 3 is a picture in an embodiment of the invention.
fig. 4 is a picture in an embodiment of the invention.
5. Detailed description of the preferred embodiments
the present invention now will be described more fully hereinafter with reference to the accompanying drawings, in which various embodiments are shown. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Hereinafter, exemplary embodiments of the present invention will be described in more detail with reference to the accompanying drawings.
Example (b): as shown in fig. 1, a method for implementing a chinese intercommunication mutual identification spanish system includes a method for mutually identifying spanish according to chinese intercommunication and a method for mutually identifying corresponding chinese according to spanish intercommunication;
the method for mutually identifying Spanish according to Chinese character intercommunication comprises the following steps:
step 1) establishing data mapping between Chinese character patterns and corresponding Spanish texts: writing all Spanish characters into Chinese character patterns, scanning the written Chinese character patterns into an electronic version, generating a picture for each character, storing the picture into a Peg format picture file named by the corresponding Spanish characters, mapping the Peg format picture file and the corresponding Spanish characters one to one, and storing the Peg format picture file and the corresponding Spanish characters into a database;
the Peg format picture file of the chinese characters and the corresponding spanish nomenclature is exemplified as follows:
chinese characters | spanish-named Chinese character font picture |
han dynasty style toy | han, JP |
character (Chinese character) | word, JP |
Character (Chinese character) | word, JP |
Shape of | Form, JP |
step 2), realizing network service, and providing a query function: mobile phone software with a Chinese character text input box with an inquiry function is installed on a mobile phone connected with the Internet for a user to input Chinese characters, the Chinese character text input box is connected with a database storing a Peg format picture file, the user selects a Spanish intercommunication mutual identification function on the Chinese character text input box, a background service inquires out a picture corresponding to Spanish from the database mapped by Chinese characters and Chinese character font pictures and transmits the picture to a client, and the picture is displayed on the client for the user to check and learn;
the method for inquiring the corresponding Spanish according to the Chinese character patterns comprises the following steps:
step 1), establishing a font character string database;
writing all Spanish characters into Chinese character font, scanning the written Chinese character font into an electronic version, generating a picture for each character, storing the picture into a Peg format picture file named by the corresponding Spanish characters, processing each picture file respectively to generate corresponding characteristic character strings, wherein the generation method of the characteristic character strings comprises the following steps:
First step, image reading:
Reading the generated original picture in the Peg format named in Spanish into the picture processing software, wherein the read original picture is shown in FIG. 2 by taking 'Ming' as an example
step two, color processing:
The picture added in the first step is processed in the picture processing software, and the 'white (0xFFFFFF) black (0x000000) character' is completely generated, wherein the 'white black character' is that the font is black, the background except the font is white, and the processed picture is as shown in figure 3
third, cutting treatment:
Processing the picture obtained in the second step through picture processing software, horizontally and vertically cutting off the spare part outside the character, and overlapping the edges of the outermost sides of the upper direction, the lower direction, the left direction and the right direction of the character with the edges of the picture;
the processed picture is shown in fig. 4;
step four, compression treatment:
Compressing each pixel point of the picture obtained after the third step to obtain an 8 x 8 picture;
Fifthly, generating a characteristic string:
scanning each pixel point of the picture obtained after the fourth step, wherein black is 1, white is 0, a 64-bit character string can be obtained, and the character string obtained after the Chinese character font of the 'Ming' character is processed is as follows:
0000001100000100000100001000101011111110000101000010001000100100
The word strings obtained after processing are translated into one-to-one mapping with pictures, Chinese characters, pinyin and Spanish, and the mapping is stored in a database;
Step 2), a Chinese character font identification realization method and an algorithm:
the first step is as follows: imaging:
The method comprises the steps that Chinese character recognition software with a photographing function is installed on a smart phone connected with the Internet, the smart phone connected with the Internet has the photographing function, a smart camera is used for photographing and taking images of Chinese character patterns needing to be recognized, a flash lamp on the smart phone is turned on during photographing, accordingly, the phenomenon that shadow exists on a picture and the picture quality is affected is avoided, the size of the picture obtained through photographing is set to be 800 x 600, and during photographing, it is required to be ensured that the picture obtained through photographing only has a single Chinese character pattern needing to be recognized;
The second step is that: and (3) treatment:
processing the picture generated in the first step according to the picture processing method in the step 1) of establishing the character string of the Chinese character font to obtain the character string of the Chinese character font in the picture;
the third step: and (3) comparison:
Uploading the characteristic character string of the Chinese character font to be identified calculated in the second step to a server, comparing the characteristic character string with all character strings in a database, and finding out the character string with the highest similarity with the characteristic character string of the Chinese character font to be identified, wherein a similarity comparison algorithm is shown as the following table:
the fourth step: displaying:
After the character string with the highest similarity to the characteristic character string of the character pattern to be identified is found according to the third step, the picture Chinese characters, the pinyin and the Spanish corresponding to the character string can be found from the database according to the character string, and the picture Chinese characters, the pinyin and the Spanish are compared and studied by a user through the internet by the background.
Through tests, according to the algorithm, the accuracy of the Chinese character pattern recognition is over 99%.
the above description is only an example of the present invention, and is not intended to limit the present invention. The invention is susceptible to various modifications and alternative forms. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (5)
1. A technical method for intercommunicating and mutually identifying Chinese characters and Spanish languages,
The method is characterized in that:
the method comprises a method for directly corresponding Spanish characters by Chinese characters and a method for directly corresponding Chinese characters by Spanish characters;
the technical method for intercommunicating and mutually identifying the Chinese characters and the Spanish language comprises the following steps of:
step 1, establishing data mapping between Chinese characters and corresponding Spanish: compiling and writing all Spanish characters into Chinese characters, scanning the written Chinese character patterns into electronic versions, generating a picture for each character, storing the picture into a jpeg format picture file named by the corresponding Spanish characters, and mapping the jpeg format picture file and the corresponding Chinese characters in a one-to-one manner to build a database;
Step 2, realizing network service, and providing the intercommunication and mutual identification function of Chinese characters and Spanish: installing a Chinese character text input box with a function of mutually identifying Spanish in Chinese character intercommunication on hardware connected with the Internet for a user to input Chinese characters, wherein the Chinese character text input box is connected with a database storing a jpeg format picture file, the user selects the function of mutually identifying Spanish in intercommunication on the Chinese character text input box, and a background service inquires a picture corresponding to Spanish from the database mapped by Spanish and Chinese character font pictures according to the Chinese characters, transmits the picture to a client and displays the picture on the client for the user to check and use;
The method for identifying Spanish according to Chinese character intercommunication comprises the following steps:
step 1), establishing a Chinese character characteristic character string database;
compiling and writing all Spanish characters into corresponding Chinese characters, scanning the written Chinese characters into an electronic edition, generating a picture for each character, storing the picture into a JPEG format picture file named by the corresponding Spanish characters, and respectively processing each picture file to generate a corresponding characteristic string, wherein the generation method of the characteristic string comprises the following steps:
firstly, reading an image;
reading the generated original pictures in the JPEG format named in corresponding Spanish into picture processing software;
secondly, color processing;
processing the picture added in the first step in picture processing software to completely generate white black characters, wherein the white black characters are black fonts, and the background except the fonts is white;
thirdly, cutting;
processing the picture obtained in the second step through picture processing software, cutting off the vacant part outside the character horizontally and vertically, and overlapping the edge of the outermost side of the character with the edge of the picture;
fourthly, compressing;
Compressing the picture obtained after the third step to obtain a picture with a standard size;
fifthly, generating a characteristic string;
scanning each pixel point of the picture obtained after the fourth step, taking black as 1 and white as 0 to obtain a 64-bit string,
all Chinese character fonts are processed according to the method to obtain character strings, and the character strings are translated into one-to-one mapping with pictures and Spanish characters, so that a character string database is established;
Step 2), a Chinese character recognition realization method and algorithm:
step one, imaging:
the method comprises the steps that Chinese character recognition software with a photographing function is installed on hardware equipment connected with the Internet, the equipment connected with the Internet has the photographing function, the hardware equipment is used for photographing Chinese characters to be recognized, the size of an image obtained by photographing is set to be a fixed size, and only a single Chinese character font needing to be recognized is required to be ensured in the image obtained by photographing during photographing.
And a second step of treatment:
Processing the picture generated in the first step according to the picture processing method in the step 1) of establishing the Chinese character font characteristic character string to obtain the Chinese character font characteristic character string in the picture.
step three, comparison:
and uploading the character string of the Chinese character font to be identified, which is calculated in the second step, to a server, and comparing the character string with all character strings in the database to find the character string with the highest similarity to the character string of the Chinese character font to be identified.
and fourthly, displaying:
and after finding the character string with the highest similarity to the characteristic character string of the character pattern of the Chinese character to be recognized according to the third step, searching the picture and the Spanish translation corresponding to the character string from the database according to the character string, transmitting the picture and the Spanish translation to software installed on hardware connected with the Internet through the Internet by a background, and displaying the picture and the Spanish translation through an interface of the software for comparison, study and use of a user.
2. the method for realizing intercommunication between Chinese characters and Spanish in accordance with claim 1, wherein:
In the step 1) of the method for mutually identifying corresponding Spanish characters according to Chinese character font intercommunication, the picture size of the picture with the standard size generated in the fourth step is 8 x 8, and the unit is millimeter.
3. The method for realizing intercommunication between Chinese characters and Spanish in accordance with claim 1, wherein:
The size of the picture obtained by photographing in the first step of the step 2) of the method for mutually identifying corresponding Spanish characters according to Chinese character font intercommunication is set to be 800 × 600 in unit of millimeter.
4. the method for realizing intercommunication between Chinese characters and Spanish in accordance with claim 1, wherein:
In the step 2), the hardware connected with the internet is a computer with a photographing function in the first step.
5. the method for realizing intercommunication between Chinese characters and Spanish in accordance with claim 1, wherein:
in the first step of the method step 2) for identifying corresponding Spanish according to Chinese character font intercommunication, hardware connected with the Internet is other intelligent equipment such as a smart phone and a smart watch with a photographing function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710540264.XA CN110580344A (en) | 2017-07-04 | 2017-07-04 | intercommunication mutual identification technical method of Chinese characters and Spanish language |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710540264.XA CN110580344A (en) | 2017-07-04 | 2017-07-04 | intercommunication mutual identification technical method of Chinese characters and Spanish language |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110580344A true CN110580344A (en) | 2019-12-17 |
Family
ID=68808644
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710540264.XA Pending CN110580344A (en) | 2017-07-04 | 2017-07-04 | intercommunication mutual identification technical method of Chinese characters and Spanish language |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110580344A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202142076U (en) * | 2011-07-19 | 2012-02-08 | 青岛百灵信息科技有限公司 | Picture and character free translation apparatus |
CN103186587A (en) * | 2011-12-30 | 2013-07-03 | 牟颖 | Method for quickly translating English word of book through mobile phone |
CN103778250A (en) * | 2014-02-19 | 2014-05-07 | 张朝亮 | Implement method for Chinese wubi cursive script dictionary query system |
-
2017
- 2017-07-04 CN CN201710540264.XA patent/CN110580344A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202142076U (en) * | 2011-07-19 | 2012-02-08 | 青岛百灵信息科技有限公司 | Picture and character free translation apparatus |
CN103186587A (en) * | 2011-12-30 | 2013-07-03 | 牟颖 | Method for quickly translating English word of book through mobile phone |
CN103778250A (en) * | 2014-02-19 | 2014-05-07 | 张朝亮 | Implement method for Chinese wubi cursive script dictionary query system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2634194C1 (en) | Verification of optical character recognition results | |
CN109753968A (en) | Generation method, device, equipment and the medium of character recognition model | |
US10460192B2 (en) | Method and system for optical character recognition (OCR) of multi-language content | |
CN102360353A (en) | Storage method and device of scanned file as well as scanning equipment | |
CN109034148A (en) | One kind is based on character image identification audio reading method and its device | |
CN110516125B (en) | Method, device and equipment for identifying abnormal character string and readable storage medium | |
CN103455479A (en) | Method and terminal for creating contacts | |
CN110580359A (en) | Chinese character and Arabic intercommunication mutual identification technical method | |
CN110580343A (en) | Chinese character and Urdu intercommunication mutual recognition technical method | |
CN111881900A (en) | Corpus generation, translation model training and translation method, apparatus, device and medium | |
CN110580344A (en) | intercommunication mutual identification technical method of Chinese characters and Spanish language | |
CN110580357A (en) | chinese character and Korean intercommunication mutual identification technical method | |
CN110580354A (en) | chinese character and Japanese intercommunicating and mutual identifying technical method | |
CN110580349A (en) | chinese character and Persian intercommunication mutual identification technical method | |
CN110580345A (en) | chinese character and French intercommunication mutual identification technical method | |
CN110580355A (en) | Intercommunication mutual identification technique for Chinese characters and all language characters | |
CN110580360A (en) | intercommunication mutual identification technique for Chinese characters and all language characters | |
CN110580356A (en) | Chinese character and German intercommunication mutual identification technical method | |
CN110580346A (en) | intercommunication mutual identification technical method for Chinese characters and Bengali | |
CN110580351A (en) | chinese character and Italian intercommunication mutual recognition technical method | |
CN110580348A (en) | chinese character and Russian intercommunication mutual recognition technical method | |
CN110580358A (en) | intercommunication mutual identification technical method for Chinese characters and Sanskrit | |
CN110580350A (en) | Chinese character and English intercommunication mutual identification technical method | |
CN110580353A (en) | intercommunication mutual identification technical method for Chinese characters and Vietnamese | |
CN110580347A (en) | Chinese character and grape dental language intercommunication mutual identification technical method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20191217 |