CN113033150A - Method and device for coding program text and storage medium - Google Patents

Method and device for coding program text and storage medium Download PDF

Info

Publication number
CN113033150A
CN113033150A CN202110289407.0A CN202110289407A CN113033150A CN 113033150 A CN113033150 A CN 113033150A CN 202110289407 A CN202110289407 A CN 202110289407A CN 113033150 A CN113033150 A CN 113033150A
Authority
CN
China
Prior art keywords
text
program
target
code
converted
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
Application number
CN202110289407.0A
Other languages
Chinese (zh)
Inventor
刘均
李河金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Launch Technology Co Ltd
Original Assignee
Shenzhen Launch Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Launch Technology Co Ltd filed Critical Shenzhen Launch Technology Co Ltd
Priority to CN202110289407.0A priority Critical patent/CN113033150A/en
Publication of CN113033150A publication Critical patent/CN113033150A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/126Character encoding
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a method, a device and a storage medium for coding processing of a program text, which are used for improving the construction efficiency of a multilingual text library. The method comprises the following steps: acquiring a target text of a target program; determining structural information of the target text according to the characteristic information of the target text; determining a target code of the target text according to the structural information; coding and converting the target text by using the target code to obtain a converted text; judging whether the converted text is consistent with the target text; and processing the converted text according to the judgment result.

Description

Method and device for coding program text and storage medium
Technical Field
The present application relates to the field of data processing, and in particular, to a method and an apparatus for encoding a program text, and a storage medium.
Background
The multiple languages of the software are generally realized based on a multi-language text library, the multi-language text library comprises texts corresponding to the multiple languages, and the languages of different countries are different in encoding format, such as UTF-8, UTF-16, GBK2312 and the like.
In the scheme provided by the prior art, when a multilingual text library is constructed, the multilingual text library is generally arranged manually, and the text is easy to cause coding confusion in the copying and pasting process. In the prior art, when a program loads a multilingual text library, corresponding language texts are displayed on a display interface, the language texts are loaded and analyzed according to a fixed coding format, and if one text contains multiple codes, the codes are easily disordered when the multilingual text library is constructed, so that the efficiency of constructing the multilingual text library is low.
Disclosure of Invention
In order to solve the above technical problem, the present application provides a method, an apparatus, and a storage medium for encoding a program text, which are used to improve the efficiency of constructing a multilingual text library.
The first aspect of the present application provides a method for encoding and processing a program text, where the method includes:
acquiring a target text of a target program;
determining the structural information of the target text according to the characteristic information of the target text;
determining a target code of the target text according to the structural information;
coding and converting the target text by using the target code to obtain a converted text;
judging whether the converted text is consistent with the target text;
and processing the converted text according to the judgment result.
Optionally, before the obtaining the target text of the target program, the method further includes:
loading the target program;
acquiring a program text of the target program;
storing the program text according to a predefined structure body to generate a program text structure;
extracting characteristic information of the program text;
and constructing a mapping relation between the program text characteristic information and the program text structure.
Optionally, before storing the program text according to the predefined structure, the method further includes:
storing the program text according to a preset data format;
marking the language type of the program text by taking a type label as an identifier;
and marking the default code of the program text by taking the attribute label as an identification.
Optionally, the encoding and converting the target text by using the target code specifically includes:
determining the source code of the target text according to the structural information;
and calling a code conversion interface by using the source code to perform code conversion on the target text according to the target code.
Optionally, when the converted text is consistent with the target text,
the processing the converted text according to the judgment result specifically includes:
determining that the target text contains only one code;
and normally displaying the target text.
Optionally, when the converted text is not consistent with the target text,
the processing the converted text according to the judgment result specifically includes:
determining that the target text contains at least 2 codes;
highlighting and recording the target text.
A second aspect of the present application provides an encoding processing apparatus for a program text, the apparatus including:
an acquisition unit configured to acquire a target text of a target program;
the first determining unit is used for determining the structure information of the target text according to the characteristic information of the target text;
the second determining unit is used for determining the target code of the target text according to the structure information;
the conversion unit is used for carrying out coding conversion on the target text by utilizing the target code to obtain a converted text;
a judging unit, configured to judge whether the converted text is consistent with the target text;
and the processing unit is used for processing the converted text according to the judgment result.
Optionally, the apparatus includes: a building unit, the building unit specifically configured to:
loading the target program;
acquiring a program text of the target program;
storing the program text according to a predefined structure body to generate a program text structure;
extracting characteristic information of the program text;
and constructing a mapping relation between the program text characteristic information and the program text structure.
A third aspect of the present application provides an encoding processing apparatus for a program text, the apparatus including:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the memory holds a program that the processor calls to perform the method of any of the first aspect and the first aspect.
A fourth aspect of the present application provides a computer readable storage medium having a program stored thereon, which when executed on a computer performs the method of any one of the first aspect and the first aspect.
According to the technical scheme, the method has the following advantages:
in the method for coding and processing the program text, the terminal can determine the target code of the target text according to the structural information of the target text, code-convert the target text by using the target code, judge whether the converted text is consistent with the target text or not, and finally process the converted text according to the conversion structure. The method provided by the application can be applied to code verification of the program text, and can improve the construction efficiency of the multilingual text library.
Drawings
In order to more clearly illustrate the technical solutions in the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of an embodiment of a method for encoding a program text provided in the present application;
fig. 2 is a schematic flowchart of another embodiment of a method for encoding a program text provided in the present application;
FIG. 3 is a schematic structural diagram of an embodiment of an encoding processing apparatus for a program text provided in the present application;
fig. 4 is a schematic structural diagram of another embodiment of an encoding processing device for a program text provided in the present application.
Detailed Description
In the scheme provided by the prior art, when a multilingual text library is constructed, the multilingual text library is generally arranged manually, and the text is easy to cause coding confusion in the copying and pasting process. For example, if a string of chinese text carries some english letters or special characters, the unified encoding format of the string of text should be GBK2312, but in practical applications, english carried in chinese may be copied from other places, and the copied text is just encoded in other formats. However, when the system loads the multi-language text library, corresponding language texts are displayed on the display interface, the language texts are loaded and analyzed according to a fixed coding format, and if one text contains multiple codes, the finally analyzed text must contain messy codes. In the scheme provided by the prior art, messy codes are easy to appear when the multi-language text library is constructed, and the construction efficiency of the multi-language text library is low.
Based on the above, the application provides a method for coding a program text, which is used for reducing the error rate of text coding.
The method for encoding and processing the program text provided by the present application may be applied to a terminal, a system, or a server, for example, the terminal may be a fixed terminal such as a smart phone or a computer, a tablet computer, a smart television, a smart watch, a portable computer terminal, or a desktop computer. For convenience of explanation, the terminal is taken as an execution subject for illustration in the present application.
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating an embodiment of a method for encoding a program text provided in the present application, where the method for encoding a program text includes:
101. acquiring a target text of a target program;
the method for processing the program text codes is applied to a multi-language text base, the multi-language text codes are generally based on the multi-language text base, texts corresponding to multiple languages are stored in the multi-language text base, and the languages of different countries are different in codes, such as UTF-8, UTF-6, GBK2312 and the like. The common multilingual text library is manually sorted, and the codes of the target text may change in the process of copying the target text into the multilingual text library, so that the codes used by the target text in the multilingual text library are inconsistent with the default coding format. In the method provided by the application, the terminal loads a multi-language text base which is constructed in advance through the target program, and acquires the target text of the target program from the multi-language text base, for example, the target text is 'low internal circuit output voltage'.
The object program comprises a program text structure and a mapping structure which are designed according to a multi-language text library, wherein the mapping structure is used for mapping the program text structure and an information abstract, the program text structure stores texts, text type tags and default codes of the texts, the type tags are used for identifying the language types of the texts, the default codes refer to default codes corresponding to the languages used by the texts, the default codes used by the languages in different countries are different, the structure body mentioned in the application refers to one data type, and for example, the multi-language text library comprises:
SLANGUGE s_4;
s_4.strType=“en_EN”;
s_4.strEncoding=“UTF-8”;
s_4.strText=circuit volt below threshold;
mapLanguge.insert(pair<string,SLANGUGE>(“f6478d1f-dbc2-42d8-8d56-ea4b4b3eb34c”,s_4));
SLANGUGE s_3;
s_3.strType=“zh_CN”;
s_3.strEncoding=“GBK2312”;
s _3.strText — internal circuit output voltage is low;
mapLanguge.insert(pair<string,SLANGUGE>(“f6478d1f-dbc2-42d8-8d56-ea4b4b3eb34c”,s_3));
wherein SLANGUGEs _4 and SLANGUGEs _3 are program text structures, s _4.strType is a language type of the text s _4, s _4.strType is a type tag of EN _ EN in "EN _ EN", EN _ EN indicates that the text is english, s _4.strEncoding is "UTF-8" indicates that the default code of the text is UTF-8, and s _4.strText is circular volt threshold.
mapLangege refers to a mapping structure, and the mapping structure stores the mapping relation between the message digests f6478d1f-dbc2-42d8-8d56-ea4b4b3eb34c and the program text structures SLANGUGEs _4 and SLANGUGEs _3, i.e. the message digests are mapped to a plurality of program text structures, so that the messages can be mapped to texts in different languages by taking the message digests as key values.
102. Determining structural information of the target text according to the characteristic information of the target text;
the terminal determines structure information of a target text according to feature information of the target text, wherein the feature information can be specifically an information abstract of the target text, a program text structure designed according to a multi-language text base is arranged in a target program, and the program text structure stores the structure information, wherein the structure information comprises the text, a type tag of the text and default codes of the text, the type tag is used for identifying the language type of the text, the default codes refer to default codes corresponding to the language used by the text, the default codes used by languages of different countries are different, and the structure body mentioned in the application refers to one data type, and for example, the multi-language text base contains:
SLANGUGE s_4;
s_4.strType=“en_EN”;
s_4.strEncoding=“UTF-8”;
s_4.strText=circuit volt below threshold;
mapLanguge.insert(pair<string,SLANGUGE>(“f6478d1f-dbc2-42d8-8d56-ea4b4b3eb34c”,s_4));
SLANGUGE s_3;
s_3.strType=“zh_CN”;
s_3.strEncoding=“GBK2312”;
s _3.strText — internal circuit output voltage is low;
mapLanguge.insert(pair<string,SLANGUGE>(“f6478d1f-dbc2-42d8-8d56-ea4b4b3eb34c”,s_3));
wherein SLANGUGEs _4 and SLANGUGEs _3 are program text structures, s _4.strType is a language type of the text s _4, s _4.strType is a type tag of EN _ EN in "EN _ EN", EN _ EN indicates that the text is english, s _4.strEncoding is "UTF-8" indicates that the default code of the text is UTF-8, and s _4.strText is circular volt threshold.
mapLangege refers to a mapping structure for representing the mapping relationship between the message digests f6478d1f-dbc2-42d8-8d56-ea4b 3eb34c and the program text structures SLANGUGEs _4 and SLANGAGEs _3, i.e., the message digests are mapped to a plurality of program text structures, so that a plurality of program text structures can be mapped for key values through the message digests.
103. Determining a target code of the target text according to the structural information;
the terminal determines the target code of the target text according to the structure information, specifically, the structure of the target text is determined according to a mapping relationship between feature information of the text and a program text structure, and then a default code of the target text is determined according to an attribute tag in the structure of the target text, and then the default code is used as the target code, for example:
SLANGUGE s_4;
s_4.strType=“en_EN”;
s_4.strEncoding=“UTF-8”;
s_4.strText=circuit volt below threshold;
mapLanguge.insert(pair<string,SLANGUGE>(“f6478d1f-dbc2-42d8-8d56-ea4b4b3eb34c”,s_4));
and determining the program text structures SLANGUGGE _4 and SLANGUGGE _3 mapped with the information summary 'f 6478d1f-dbc2-42d8-8d56-ea4b4b3eb34 c', further determining that the default code in SLANGUGGE _4 is UTF-8 and the default code in SLANGUGGE _3 is GBK 2312.
104. Coding and converting the target text by using the target code to obtain a converted text;
the terminal performs code conversion on the target text after determining the default code of the target text, performs code conversion on the target text by taking the default code as the source code and the target code at the same time, and obtains a converted text.
105. Judging whether the converted text is consistent with the target text;
and the terminal judges whether the formats of the converted text and the target text are consistent or not, and finally obtains a judgment result.
The converted text is processed according to the judgment result, and the details described in step 106 or step 107 may be specifically referred to.
106. Determining that the target text contains only one code; normally displaying the target text;
and the terminal processes the converted text according to the judging structure. For example, the specific processing method may be:
when the converted text is consistent with the target text, processing the converted text according to a judgment result, which specifically comprises: determining that the target text contains only one code; and normally displaying the target text. In the method provided by the application, because the source code and the target code used are consistent when the code conversion is carried out, if the final converted text is consistent with the target text, the target text only contains one code, the target text does not need to be revised, and the target text does not need to be highlighted.
107. Determining that the target text contains at least 2 codes; the target text is highlighted and recorded.
In another possible implementation manner, when the converted text is inconsistent with the target text, processing the converted text according to the determination result specifically includes: determining that the target text contains at least 2 codes; the target text is highlighted and recorded. If the target text is inconsistent with the converted text, the target text is indicated to contain a plurality of codes, and the target text needs to be revised, so that the target text needs to be highlighted and recorded, and the operation and maintenance personnel can revise the target text conveniently. Wherein highlighting may include displaying by a bullet box, or making the displayed color of the text different from the displayed color of other text containing only one code. The recording includes: and generating a log of records, wherein the log comprises the information abstract, the text content and the language identification corresponding to the text.
In the method for coding the program text, before the target text of the target program is acquired, a program text structure and a mapping relation between the characteristic information and the program text structure need to be established. This embodiment will be described in detail below.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating an embodiment of a method for encoding a program text provided in the present application, where the method for encoding a program text includes:
201. loading a target program;
and the terminal loads the target program.
202. Acquiring a program text of a target program;
and the terminal reads the program text in the target program.
203. Storing a program text according to a predefined structure body, and generating a program text structure;
the terminal stores the program text according to a preset defined structure body to obtain a program text structure, wherein the structure body is a data storage type, and the program text structure comprises structure information, such as the program text structure:
SLANGUGE s_4;
s_4.strType=“en_EN”;
s_4.strEncoding=“UTF-8”;
s_4.strText=circuit volt below threshold;
mapLanguge.insert(pair<string,SLANGUGE>(“f6478d1f-dbc2-42d8-8d56-ea4b4b3eb34c”,s_4));
the program text "circulation volume threshold" and the related structure information of the program text, such as the feature information "f 6478d1f-dbc2-42d8-8d56-ea4b4b3eb34 c" of the program text, are included in the program text, and the feature information is the information abstract of the program text.
In another possible implementation manner, before storing the program text according to the predefined 1 structure, the terminal may further store the program text according to a preset data type, for example, according to an XML format, and mark the language type of the program text with a type tag as an identifier, for example, mark the language type of the program text as english with the type tag s _4.strType ═ EN _ EN ", and mark the default encoding of the program text with an attribute tag as an identifier, for example, mark the default encoding of the program text as" UTF-8 "with the attribute tag s _4.strEncoding ═ UTF-8".
204. Extracting characteristic information of a program text;
the terminal extracts feature information of the program text.
205. Constructing a mapping relation between the program text characteristic information and a program text structure;
the mapping relation between the characteristic information of the terminal building program text and the program text structure, for example, the mapping relation between the building information summary "f 6478d1f-dbc2-42d8-8d56-ea4b4b3eb34 c" and the program text structure SLANGUGEs _4, it should be noted that one information summary can be mapped to a plurality of program text structures, for example, "f 6478d1f-dbc2-42d8-8d56-ea4b 3eb34 c" and can also be mapped to SLANGUGEs _3.
206. Acquiring a target text of a target program;
207. determining structural information of the target text according to the characteristic information of the target text;
208. determining a target code of the target text according to the structural information;
209. coding and converting the target text by using the target code to obtain a converted text;
210. judging whether the converted text is consistent with the target text;
211. determining that the target text contains only one code; normally displaying the target text;
212. determining that the target text contains at least 2 codes; the target text is highlighted and recorded.
Steps 206 to 212 in this embodiment are similar to steps 101 to 107 in the previous embodiment, and are not described again here.
The above embodiments describe the encoding processing method of the program text provided in the present application in detail, and the encoding processing device of the program text provided in the present application will be described below with reference to the accompanying drawings.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an embodiment of a device for encoding a program text provided in the present application, where the device for encoding a program text includes:
an acquisition unit 301 configured to acquire a target text of a target program;
a first determining unit 302, configured to determine structure information of the target text according to the feature information of the target text;
a second determining unit 303, configured to determine a target code of the target text according to the structure information;
the conversion unit 304 is configured to perform coding conversion on the target text by using the target code to obtain a converted text;
a judging unit 305 for judging whether the converted text is identical to the target text;
and the processing unit 306 is used for processing the converted text according to the judgment result.
Optionally, the apparatus comprises: a building unit 307, where the building unit 307 is specifically configured to:
loading a target program;
acquiring a program text of a target program;
storing a program text according to a predefined structure body, and generating a program text structure;
extracting characteristic information of a program text;
and constructing a mapping relation between the program text characteristic information and the program text structure.
Optionally, the apparatus comprises: a marking unit 308, the marking unit 308 being specifically configured to:
storing a program text according to a preset data format;
marking the language type of the program text by taking the type tag as an identifier;
the default encoding of the program text is tagged with an attribute tag as an identification.
Optionally, the conversion unit 304 is specifically configured to:
determining the source code of the target text according to the structural information;
and calling a code conversion interface by using the source code to perform code conversion on the target text according to the target code.
Optionally, the processing unit 306 is specifically configured to:
determining that the target text contains only one code;
and normally displaying the target text.
Optionally, the processing unit 306 is specifically configured to:
determining that the target text contains at least 2 codes;
the target text is highlighted and recorded.
The present application also provides a device for encoding and processing a program text, including:
a processor 401, a memory 402, an input-output unit 403, a bus 404;
the processor 401 is connected to the memory 402, the input/output unit 403, and the bus 404;
the memory 402 holds a program, and the processor 401 calls the program to execute the encoding processing method of any of the above program texts.
The present application also relates to a computer-readable storage medium having a program stored thereon, wherein the program, when executed on a computer, causes the computer to execute a method of encoding a program text as described above.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like.

Claims (10)

1. A method for encoding a program text, the method comprising:
acquiring a target text of a target program;
determining the structural information of the target text according to the characteristic information of the target text;
determining a target code of the target text according to the structural information;
coding and converting the target text by using the target code to obtain a converted text;
judging whether the converted text is consistent with the target text;
and processing the converted text according to the judgment result.
2. The method for encoding a program text according to claim 1, wherein before the acquiring the target text of the target program, the method further comprises:
loading the target program;
acquiring a program text of the target program;
storing the program text according to a predefined structure body to generate a program text structure;
extracting characteristic information of the program text;
and constructing a mapping relation between the program text characteristic information and the program text structure.
3. The method for encoding processing of program text according to claim 2, wherein before the storing of the program text in accordance with the predefined structure, the method further comprises:
storing the program text according to a preset data format;
marking the language type of the program text by taking a type label as an identifier;
and marking the default code of the program text by taking the attribute label as an identification.
4. The method for encoding processing of program text according to claim 1, wherein the encoding conversion of the target text by using the target code is specifically:
determining the source code of the target text according to the structural information;
and calling a code conversion interface by using the source code to perform code conversion on the target text according to the target code.
5. The method for encoding processing of program text according to any one of claims 1 to 4, wherein when the converted text is consistent with the target text, the processing of the converted text according to the determination result specifically includes:
determining that the target text contains only one code; and normally displaying the target text.
6. The method according to any one of claims 1 to 4, wherein when the converted text is inconsistent with the target text, the processing the converted text according to the determination result specifically includes:
determining that the target text contains at least 2 codes;
highlighting and recording the target text.
7. An apparatus for encoding a program text, the apparatus comprising:
an acquisition unit configured to acquire a target text of a target program;
the first determining unit is used for determining the structure information of the target text according to the characteristic information of the target text;
the second determining unit is used for determining the target code of the target text according to the structure information;
the conversion unit is used for carrying out coding conversion on the target text by utilizing the target code to obtain a converted text;
a judging unit, configured to judge whether the converted text is consistent with the target text;
and the processing unit is used for processing the converted text according to the judgment result.
8. The apparatus for encoding and processing program text according to claim 7, wherein the apparatus comprises: a building unit, the building unit specifically configured to:
loading the target program;
acquiring a program text of the target program;
storing the program text according to a predefined structure body to generate a program text structure;
extracting characteristic information of the program text;
and constructing a mapping relation between the program text characteristic information and the program text structure.
9. An apparatus for encoding a program text, the apparatus comprising:
the device comprises a processor, a memory, an input and output unit and a bus;
the processor is connected with the memory, the input and output unit and the bus;
the memory holds a program that the processor calls to perform the method of any of claims 1 to 6.
10. A computer-readable storage medium having a program stored thereon, the program, when executed on a computer, performing the method of any one of claims 1 to 6.
CN202110289407.0A 2021-03-18 2021-03-18 Method and device for coding program text and storage medium Pending CN113033150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110289407.0A CN113033150A (en) 2021-03-18 2021-03-18 Method and device for coding program text and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110289407.0A CN113033150A (en) 2021-03-18 2021-03-18 Method and device for coding program text and storage medium

Publications (1)

Publication Number Publication Date
CN113033150A true CN113033150A (en) 2021-06-25

Family

ID=76471336

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110289407.0A Pending CN113033150A (en) 2021-03-18 2021-03-18 Method and device for coding program text and storage medium

Country Status (1)

Country Link
CN (1) CN113033150A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6204782B1 (en) * 1998-09-25 2001-03-20 Apple Computer, Inc. Unicode conversion into multiple encodings
CN107133201A (en) * 2017-04-21 2017-09-05 东莞中国科学院云计算产业技术创新与育成中心 The hot information acquisition method and device recognized based on text code
CN107577482A (en) * 2017-08-28 2018-01-12 北京锐安科技有限公司 The automatic switching method and device of software languages
CN108255494A (en) * 2018-01-30 2018-07-06 平安科技(深圳)有限公司 A kind of XML file analytic method, device, computer equipment and storage medium
CN110019793A (en) * 2017-10-27 2019-07-16 阿里巴巴集团控股有限公司 A kind of text semantic coding method and device
CN110795913A (en) * 2019-09-30 2020-02-14 北京大米科技有限公司 Text encoding method and device, storage medium and terminal
CN111178061A (en) * 2019-12-20 2020-05-19 沈阳雅译网络技术有限公司 Multi-lingual word segmentation method based on code conversion
CN111247581A (en) * 2019-12-23 2020-06-05 深圳市优必选科技股份有限公司 Method, device, equipment and storage medium for synthesizing voice by multi-language text
CN111368508A (en) * 2020-03-03 2020-07-03 深信服科技股份有限公司 Data processing method, device, equipment and medium
CN111611769A (en) * 2019-02-25 2020-09-01 北京嘀嘀无限科技发展有限公司 Text conversion method and device for multiple language models
CN112507705A (en) * 2020-12-21 2021-03-16 北京百度网讯科技有限公司 Position code generation method and device and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6204782B1 (en) * 1998-09-25 2001-03-20 Apple Computer, Inc. Unicode conversion into multiple encodings
CN107133201A (en) * 2017-04-21 2017-09-05 东莞中国科学院云计算产业技术创新与育成中心 The hot information acquisition method and device recognized based on text code
CN107577482A (en) * 2017-08-28 2018-01-12 北京锐安科技有限公司 The automatic switching method and device of software languages
CN110019793A (en) * 2017-10-27 2019-07-16 阿里巴巴集团控股有限公司 A kind of text semantic coding method and device
CN108255494A (en) * 2018-01-30 2018-07-06 平安科技(深圳)有限公司 A kind of XML file analytic method, device, computer equipment and storage medium
CN111611769A (en) * 2019-02-25 2020-09-01 北京嘀嘀无限科技发展有限公司 Text conversion method and device for multiple language models
CN110795913A (en) * 2019-09-30 2020-02-14 北京大米科技有限公司 Text encoding method and device, storage medium and terminal
CN111178061A (en) * 2019-12-20 2020-05-19 沈阳雅译网络技术有限公司 Multi-lingual word segmentation method based on code conversion
CN111247581A (en) * 2019-12-23 2020-06-05 深圳市优必选科技股份有限公司 Method, device, equipment and storage medium for synthesizing voice by multi-language text
CN111368508A (en) * 2020-03-03 2020-07-03 深信服科技股份有限公司 Data processing method, device, equipment and medium
CN112507705A (en) * 2020-12-21 2021-03-16 北京百度网讯科技有限公司 Position code generation method and device and electronic equipment

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
叶蓉;陈榕;: "一种实现控件与多语言文本动态绑定的方法", 计算机技术与发展, no. 01, pages 43 - 45 *
李国红: "Web数据库技术与MySQL应用教程", 30 June 2020, 机械工业出版社, pages: 69 - 71 *
蒋衍君;: "电力监控软件多语言支持", 电力自动化设备, no. 03, pages 95 - 99 *
黄志勇: "基于中日韩的多国语言编码系统的研究与实现", 中国优秀硕士论文电子期刊网, pages 136 - 69 *

Similar Documents

Publication Publication Date Title
CN110020358B (en) Method and device for generating dynamic page
CN112527291A (en) Webpage generation method and device, electronic equipment and storage medium
US8930808B2 (en) Processing rich text data for storing as legacy data records in a data storage system
CN111143505A (en) Document processing method, device, medium and electronic equipment
US20040181750A1 (en) Exception markup documents
CN113626223A (en) Interface calling method and device
CN113760894A (en) Data calling method and device, electronic equipment and storage medium
CN102467490B (en) Font data processing method and device
CN113297425B (en) Document conversion method, device, server and storage medium
CN116204428A (en) Test case generation method and device
CN113033150A (en) Method and device for coding program text and storage medium
CN115658127A (en) Data processing method and device, electronic equipment and storage medium
CN115759029A (en) Document template processing method and device, electronic equipment and storage medium
CN115982675A (en) Document processing method, device, electronic equipment and storage medium
CN113791860B (en) Information conversion method, device and storage medium
CN106569939B (en) Control script program multi-country character analysis system and multi-country character analysis method
CN114417850A (en) Information extraction method and device, storage medium and electronic equipment
CN113343663A (en) Bill structuring method and device
CN111241096A (en) Text extraction method, system, terminal and storage medium for EXCEL document
CN111273913A (en) Method and device for outputting application program interface data represented by specifications
CN110706309B (en) Method and device for generating fishbone map
CN117807264A (en) PNG format image preview method, PNG format image preview device, PNG format image preview computer device and PNG format image preview medium
CN111523295A (en) Data rendering method, device, medium and electronic equipment
CN113392624A (en) Sensitive vocabulary labeling method and device, electronic equipment and computer readable storage medium
CN113110873A (en) Method and apparatus for unifying system coding specifications

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