An internationalized file translation method, device, equipment and medium

By using automated methods for translating internationalized documents, including deep traversal and translation interface replacement, the tedious task of manually translating internationalized documents by developers is eliminated, improving efficiency and the development experience.

CN116227505BActive Publication Date: 2026-08-25JINAN INSPUR DATA TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310142888.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-17
Publication Date
2026-08-25
Estimated Expiration
2043-02-17

AI Technical Summary

Technical Problem

In existing technologies, developers need to manually maintain and translate internationalization documents, especially for newly developed products or new requirements, which makes the work tedious and heavy, and there is a lack of targeted tools to support the translation of internationalization documents for JS and JSON files.

Method used

This paper provides a method for translating internationalized documents. By obtaining the source file to be translated, configuring translation parameters, deeply traversing the object data, filtering out the terms to be translated, calling the translation interface to generate the target text and replacing it in the corresponding position, the paper achieves automated translation.

Benefits of technology

It improved the efficiency of developers in handling internationalized documents, freeing them from repetitive and tedious translation work, optimizing the development experience, and accelerating the product development process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116227505B_ABST
    Figure CN116227505B_ABST
Patent Text Reader

Abstract

The present application relates to the field of software multilingual, and particularly relates to a kind of internationalization file translation method, device, equipment and medium.The method comprises: obtaining to be translated internationalization source file, and configuring translation parameter for the to be translated internationalization source file;The to be translated internationalization source file is parsed to convert into object data;The object data obtained by conversion is subjected to depth traversal operation to filter out to be translated entry text and the position of the to be translated entry text in the object data;The to be translated entry text is input into the target text by calling translation interface through crawler, the translation parameter is generated, and the target text is replaced into corresponding position.The scheme of the present application greatly improves the efficiency of developer to handle internationalization file, liberates developer from repetitive and tedious translation work, speeds up the development progress of product, and optimizes development experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of multilingual software, and more particularly to a method, apparatus, device, and medium for translating internationalized documents. Background Technology

[0002] With the accelerating pace of globalization, our products not only need to establish a presence in the domestic market but also expand overseas to reach users worldwide. The first hurdle in going global is adapting to foreign language environments, which requires us to configure internationalization within our projects. Currently, in our projects, the internationalization language configuration files need to be manually maintained by our developers, especially for newly developed products or new requirements that necessitate adding a large number of terms. After maintaining a Chinese configuration file, the subsequent manual translation of terms to generate new language configuration files is a tedious and burdensome task for the developers.

[0003] Currently, there are many online document translation tools available, but most of these services only support formats like doc, pdf, and ppt. However, our developers' internationalization documents are typically js and json files, and there's a lack of dedicated internationalization document translation services to meet their needs. Therefore, developing a tool that frees developers from manual translation work is essential and urgently needed to address their specific requirements for translating product internationalization documents. Summary of the Invention

[0004] In view of this, it is necessary to provide a method, apparatus, equipment and medium for translating international documents to address the above technical problems.

[0005] According to a first aspect of the present invention, an internationalization document translation method is provided, the method comprising: Obtain the internationalization source file to be translated, and configure translation parameters for the internationalization source file to be translated; The source file to be translated for internationalization is parsed and converted into object data; A depth-first traversal operation is performed on the transformed object data to filter out the text entries to be translated and their positions within the object data; The target text is generated by calling the translation interface through a web crawler, passing in the text to be translated and the translation parameters, and then replacing the target text in the corresponding position.

[0006] In some embodiments, obtaining the internationalization source file to be translated and configuring translation parameters for the internationalization source file to be translated includes: Use Electron to develop a user interface to upload or select the internationalization source file to be translated, and submit the internationalization source file to be translated to the file parser. Set the original language type and target language type for the source file to be translated for internationalization, and save the original language type and the target language type to a register.

[0007] In some embodiments, parsing the source file to be translated for internationalization to convert it into object data includes: The file parser uses Node.js to read the source file to be translated and internationalized, parses the string data into a JS object to generate object data, and submits the object data to the traversal judge. The file parser obtains the file name and format information of the internationalization source file to be translated, and saves the file name and format information to a register.

[0008] In some embodiments, performing a depth-first search on the converted object data to filter out the text entries to be translated and the positions of the text entries to be translated within the object data includes: The traversal checker performs a depth-first traversal of each value in the object data according to the following rules: The position of the value is stored layer by layer in the keys array, and the current depth is recorded by deep to adjust the length of keys at any time; If value is a string, then the string is used as the text of the term to be translated, and the text of the term to be translated and its position in the object data are submitted to the translation and replacement. If value is an object, then continue iterating through the object.

[0009] In some embodiments, a web crawler calls a translation interface, passing in the text to be translated and the translation parameters to generate target text, and then replaces the target text in the corresponding position, including: The translation replacement tool calls the translation interface via a web crawler; The original language type and the target language type retrieved from the register, along with the text to be translated passed from the traversal judge, are passed to the translation interface, and the translated text returned by the translation interface is used as the target text. By traversing the keys, the position of the text to be translated in the object data is located, and the text to be translated at that position is replaced with the target text. Once all translated terms have been replaced, the last replaced file data is submitted to the file generator.

[0010] In some embodiments, the method further includes: The file generator obtains file data from the translator and replacer, and retrieves the target language type, the file name, and the format information from the register; The name of the file to be generated is determined based on the target language type and the file name; The file data is reorganized according to the format information to obtain the file content to be generated.

[0011] In some embodiments, the source file to be translated for internationalization is a JS file or a JSON file.

[0012] According to a second aspect of the present invention, an internationalization document translation apparatus is provided, the apparatus comprising: The acquisition module is configured to acquire the internationalization source file to be translated and to configure translation parameters for the internationalization source file to be translated. The conversion module is configured to parse the internationalization source file to be translated and convert it into object data; The filtering module is configured to perform a depth-first traversal operation on the converted object data to filter out the text entries to be translated and the positions of the text entries to be translated in the object data; The translation and replacement module is configured to call the translation interface via a web crawler, pass in the text of the term to be translated and the translation parameters to generate the target text, and replace the target text in the corresponding position.

[0013] According to a third aspect of the present invention, a computer device is also provided, the computer device comprising: At least one processor; and The memory stores computer programs that can run on the processor, which executes the aforementioned internationalization document translation method when executing the program.

[0014] According to a fourth aspect of the present invention, a computer-readable storage medium is also provided, which stores a computer program that, when executed by a processor, performs the aforementioned internationalization document translation method.

[0015] The aforementioned method for translating internationalized documents first configures translation-related parameters for the acquired internationalized source file, then performs a deep traversal of the internationalized objects within the file, identifies the terms that need to be translated, and then obtains the translation result of the term through a web crawler accessing the translation interface. Finally, the original term is replaced, completing the conversion from an untranslated internationalized source file to an internationalized document in the specified language. This significantly improves the efficiency of developers in processing internationalized documents, freeing them from repetitive and tedious translation work, accelerating product development, and optimizing the development experience.

[0016] In addition, the present invention also provides an international document translation device, a computer device, and a computer-readable storage medium, which can achieve the above-mentioned technical effects, and will not be described in detail here. Attached Figure Description

[0017] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other embodiments can be obtained based on these drawings without creative effort.

[0018] Figure 1 A flowchart illustrating an internationalization document translation method according to an embodiment of the present invention; Figure 2 A flowchart illustrating another internationalization document translation method provided in another embodiment of the present invention; Figure 3 A schematic diagram of an international document translation device provided in another embodiment of the present invention; Figure 4 This is an internal structural diagram of a computer device according to another embodiment of the present invention. Detailed Implementation

[0019] To make the objectives, technical solutions, and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below with reference to specific examples and the accompanying drawings.

[0020] It should be noted that all uses of "first" and "second" in the embodiments of the present invention are for the purpose of distinguishing two entities or parameters with the same name but different names. It is clear that "first" and "second" are only for the convenience of expression and should not be construed as limiting the embodiments of the present invention. Subsequent embodiments will not explain this in detail.

[0021] In one embodiment, please refer to Figure 1 As shown, the present invention provides an internationalization document translation method 100, specifically, the method includes the following steps: Step 101: Obtain the internationalization source file to be translated and configure translation parameters for the internationalization source file to be translated; Step 102: Parse the source file to be translated for internationalization to convert it into object data; Step 103: Perform a depth-first search on the converted object data to filter out the text of the term to be translated and the position of the text of the term to be translated in the object data; Step 104: The target text is generated by calling the translation interface through a web crawler, passing in the text to be translated and the translation parameters, and then replacing the target text in the corresponding position.

[0022] The aforementioned method for translating internationalized documents first configures translation-related parameters for the acquired internationalized source file, then performs a deep traversal of the internationalized objects within the file, identifies the terms that need to be translated, and then obtains the translation result of the term through a web crawler accessing the translation interface. Finally, the original term is replaced, completing the conversion from an untranslated internationalized source file to an internationalized document in the specified language. This significantly improves the efficiency of developers in processing internationalized documents, freeing them from repetitive and tedious translation work, accelerating product development, and optimizing the development experience.

[0023] In some embodiments, step 101, which involves obtaining the internationalization source file to be translated and configuring translation parameters for the internationalization source file, includes: Use Electron to develop a user interface to upload or select the internationalization source file to be translated, and submit the internationalization source file to be translated to the file parser. Set the original language type and target language type for the source file to be translated for internationalization, and save the original language type and the target language type to a register.

[0024] In some embodiments, step 102, which involves parsing the source file to be translated for internationalization and converting it into object data, includes: The file parser uses Node.js to read the source file to be translated and internationalized, parses the string data into a JS object to generate object data, and submits the object data to the traversal judge. The file parser obtains the file name and format information of the internationalization source file to be translated, and saves the file name and format information to a register.

[0025] In some embodiments, step 103, which involves performing a depth-first search on the converted object data to filter out the text entries to be translated and their positions within the object data, includes: The traversal checker performs a depth-first traversal of each value in the object data according to the following rules: The position of the value is stored layer by layer in the keys array, and the current depth is recorded by deep to adjust the length of keys at any time; If value is a string, then the string is used as the text of the term to be translated, and the text of the term to be translated and its position in the object data are submitted to the translation and replacement. If value is an object, then continue iterating through the object.

[0026] In some embodiments, step 104, which involves using a web crawler to call a translation interface, passing in the text to be translated and the translation parameters to generate target text, and then replacing the target text in the corresponding position, includes: The translation replacement tool calls the translation interface via a web crawler; The original language type and the target language type retrieved from the register, along with the text to be translated passed from the traversal judge, are passed to the translation interface, and the translated text returned by the translation interface is used as the target text. By traversing the keys, the position of the text to be translated in the object data is located, and the text to be translated at that position is replaced with the target text. Once all translated terms have been replaced, the last replaced file data is submitted to the file generator.

[0027] In some embodiments, the method further includes: The file generator obtains file data from the translator and replacer, and retrieves the target language type, the file name, and the format information from the register; The name of the file to be generated is determined based on the target language type and the file name; The file data is reorganized according to the format information to obtain the file content to be generated.

[0028] In some embodiments, the source file to be translated for internationalization is a JS file or a JSON file.

[0029] In another embodiment, to facilitate understanding of the present invention, the following example uses Electron to develop a user interface to select the file and language to be translated. This embodiment provides another internationalization file translation method 200. Its implementation principle is to use Node.js to operate on the file, perform a deep traversal of the internationalization objects within the file, identify the terms that need to be translated, then use a web crawler to access the translation interface to obtain the translation result of the term, replace the original term, and after the traversal is complete, fill all the content into the newly generated file. This method requires five parts: a visual operation unit, a file parser, registers, a traversal judge, a translation replacement unit, and a file generator. Please refer to [link / reference]. Figure 2 As shown, the specific implementation process is as follows: Step 201, Visual Operation Unit, i.e., visual operation interface, visual forms, etc. Main tasks: Configure the language to be translated and the target language after translation; select or upload the internationalized source file to be converted.

[0030] (1) Configuration parameters: the language type of the file to be translated, and the target language type to be converted; (2) Click to select the internationalization source file to upload, which is mostly in JSON and JS format; (3) After the form is submitted, the file data will be submitted to the file parser, and the selected language configuration parameters and internationalized file format will be saved in the register.

[0031] Step 202: The file parser reads the file content and saves the file information based on the received file location.

[0032] (1) Based on the file location, use Node to read the file content data and parse the string data into a JS object; (2) Obtain the file name and format information and put them into the register.

[0033] Step 203, Traversal Detector, mainly completes the deep object traversal and the judgment of whether to enter the translation replacement.

[0034] (1) Receive source file data, perform depth traversal of object data, and judge each value. Store the position key of the value in the keys array layer by layer, and record the current depth through deep, and adjust the length of keys at any time. (2) If the value is a string, then the string text and its position (keys) in the object are passed to the translation and replacement. (3) If value is an object, then continue iterating through that object; (4) After the traversal is completed, the processed data is sent to the file generator.

[0035] Step 204, the translator and replacer, translates the string text passed from the traversal judge through the web crawler and then replaces it in the object.

[0036] (1) Take the language type of the file to be translated from the register, the target language type to be converted as parameters, and the string text passed from the traversal judge, and pass them together to the translation interface to get the translated text; (2) Locate the position of the currently translated text in the object by traversing the keys, and replace the text at that position with the translated text.

[0037] Step 205: The file generator receives the input file data and retrieves the target translation language, file name, and format parameters from the register. It determines the name of the file to be generated based on the target translation language and the source file name, and determines the format of the generated file based on the source file format. It then generates the translated internationalized file.

[0038] The internationalization document translation method of this embodiment has at least the following beneficial technical effects: The internationalization source file is uploaded to the visual operation unit, relevant translation parameters are configured, file data information is read, internationalization objects within the file are deeply traversed, the terms requiring translation are identified, the translation result of the term is obtained through a web crawler accessing the translation interface, the original term is replaced, and after the traversal is complete, the translated data and configuration information are obtained to generate a completely new internationalization document. The entire device, through simple visual operation, completes the conversion of untranslated internationalization source files into internationalization documents in a specified language, greatly improving the efficiency of developers in processing internationalization documents, freeing them from repetitive and tedious translation work, accelerating product development progress, and optimizing the development experience.

[0039] In some embodiments, please refer to Figure 3 As shown, the present invention also provides an internationalization document translation device 300, the device comprising: The acquisition module 301 is configured to acquire the internationalization source file to be translated and to configure translation parameters for the internationalization source file to be translated. The conversion module 302 is configured to parse the internationalization source file to be translated and convert it into object data; The filtering module 303 is configured to perform a deep traversal operation on the converted object data to filter out the text of the term to be translated and the position of the text of the term to be translated in the object data; The translation and replacement module 304 is configured to call the translation interface through a crawler, pass in the text of the term to be translated and the translation parameters to generate the target text, and replace the target text in the corresponding position.

[0040] The aforementioned internationalization document translation device first configures translation-related parameters for the acquired internationalization source file, then performs a deep traversal of the internationalization objects within the file, identifies the terms that need to be translated, and then obtains the translation result of the term through a web crawler accessing the translation interface. The original term is then replaced, completing the conversion from an untranslated internationalized source file to an internationalized document in the specified language. This significantly improves the efficiency of developers in processing internationalized documents, freeing them from repetitive and tedious translation work, accelerating product development, and optimizing the development experience.

[0041] In some embodiments, the acquisition module 301 is further configured to: Use Electron to develop a user interface to upload or select the internationalization source file to be translated, and submit the internationalization source file to be translated to the file parser. Set the original language type and target language type for the source file to be translated for internationalization, and save the original language type and the target language type to a register.

[0042] In some embodiments, the conversion module 302 is further configured to: The file parser uses Node.js to read the source file to be translated and internationalized, parses the string data into a JS object to generate object data, and submits the object data to the traversal judge. The file parser obtains the file name and format information of the internationalization source file to be translated, and saves the file name and format information to a register.

[0043] In some embodiments, the filtering module 303 is further configured to: The traversal checker performs a depth-first traversal of each value in the object data according to the following rules: The position of the value is stored layer by layer in the keys array, and the current depth is recorded by deep to adjust the length of keys at any time; If value is a string, then the string is used as the text of the term to be translated, and the text of the term to be translated and its position in the object data are submitted to the translation and replacement. If value is an object, then continue iterating through the object.

[0044] In some embodiments, the translation replacement module 304 is further configured to: The translation replacement tool calls the translation interface via a web crawler; The original language type and the target language type retrieved from the register, along with the text to be translated passed from the traversal judge, are passed to the translation interface, and the translated text returned by the translation interface is used as the target text. By traversing the keys, the position of the text to be translated in the object data is located, and the text to be translated at that position is replaced with the target text. Once all translated terms have been replaced, the last replaced file data is submitted to the file generator.

[0045] In some embodiments, the apparatus further includes a file generation module, the file generation module being configured to: The file generator obtains file data from the translator and replacer, and retrieves the target language type, the file name, and the format information from the register; The name of the file to be generated is determined based on the target language type and the file name; The file data is reorganized according to the format information to obtain the file content to be generated.

[0046] In some embodiments, the source file to be translated for internationalization is a JS file or a JSON file.

[0047] It should be noted that specific limitations regarding the internationalization document translation device can be found in the limitations of the internationalization document translation method described above, and will not be repeated here. Each module in the aforementioned internationalization document translation device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each module.

[0048] According to another aspect of the present invention, a computer device is provided, which may be a server, and its internal structure diagram is shown below. Figure 4 As shown. The computer device includes a processor, memory, network interface, and database connected via a system bus. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The database stores data. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements the internationalized document translation method described above. Specifically, the method includes the following steps: Obtain the internationalization source file to be translated, and configure translation parameters for the internationalization source file to be translated; The source file to be translated for internationalization is parsed and converted into object data; A depth-first traversal operation is performed on the transformed object data to filter out the text entries to be translated and their positions within the object data; The target text is generated by calling the translation interface through a web crawler, passing in the text to be translated and the translation parameters, and then replacing the target text in the corresponding position.

[0049] According to another aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, wherein when the computer program is executed by a processor, it implements the internationalization document translation method described above, specifically including the following steps: Obtain the internationalization source file to be translated, and configure translation parameters for the internationalization source file to be translated; The source file to be translated for internationalization is parsed and converted into object data; A depth-first traversal operation is performed on the transformed object data to filter out the text entries to be translated and their positions within the object data; The target text is generated by calling the translation interface through a web crawler, passing in the text to be translated and the translation parameters, and then replacing the target text in the corresponding position.

[0050] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0051] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0052] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the invention patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. A method for translating internationalized documents, characterized in that, The method includes: Obtain the internationalization source file to be translated and configure translation parameters for the internationalization source file to be translated, including using Electron to develop a user interface to upload or select the internationalization source file to be translated, submitting the internationalization source file to be translated to the file parser; setting the original language type and the target language type for the internationalization source file to be translated, and saving the original language type and the target language type to a register; The process of parsing the source file to be translated into internationalized data and converting it into object data includes: the file parser using Node.js to read the source file to be translated into internationalized data, parsing the string data into a JavaScript object to generate object data, and submitting the object data to the traversal judge; the file parser obtaining the file name and format information of the source file to be translated into internationalized data, and saving the file name and format information into a register; The transformed object data undergoes a depth-first traversal to filter out the text entries to be translated and their positions within the object data. This includes a traversal judge performing a depth-first traversal on each value in the object data according to the following rules: the position of the value is stored layer by layer in the keys array, and the current depth is recorded using `deep` to adjust the length of keys as needed; if the value is a string, the string is used as the text entry to be translated, and the text entry to be translated and its position in the object data are submitted to the translation and replacement unit; if the value is an object, the object is traversed further. The target text is generated by calling the translation interface through a web crawler, passing in the text to be translated and the translation parameters, and then replacing the target text in the corresponding position.

2. The international document translation method according to claim 1, characterized in that, The process involves using a web crawler to call a translation interface, passing in the text of the term to be translated and the translation parameters to generate a target text, and then replacing the target text in the corresponding position. This includes: The translation replacement tool calls the translation interface via a web crawler; The original language type and the target language type retrieved from the register, along with the text to be translated passed from the traversal judge, are passed to the translation interface, and the translated text returned by the translation interface is used as the target text. By traversing the keys, the position of the text to be translated in the object data is located, and the text to be translated at that position is replaced with the target text. Once all translated terms have been replaced, the last replaced file data is submitted to the file generator.

3. The international document translation method according to claim 2, characterized in that, The method further includes: The file generator obtains file data from the translator and replacer, and retrieves the target language type, the file name, and the format information from the register; The name of the file to be generated is determined based on the target language type and the file name; The file data is reorganized according to the format information to obtain the file content to be generated.

4. The international document translation method according to any one of claims 1 to 3, characterized in that, The source file to be translated for internationalization is a JS file or a JSON file.

5. An international document translation device, characterized in that, The device includes: The acquisition module is configured to acquire the internationalization source file to be translated and configure translation parameters for the internationalization source file to be translated, including using Electron to develop a user interface to upload or select the internationalization source file to be translated, submitting the internationalization source file to be translated to the file parser; setting the original language type and the target language type for the internationalization source file to be translated, and saving the original language type and the target language type to a register; The conversion module is configured to parse the internationalization source file to be translated into object data. This includes having the file parser use Node.js to read the internationalization source file to be translated, parse the string data into a JavaScript object to generate object data, and submit the object data to the traversal judge. The file parser obtains the file name and format information of the internationalization source file to be translated, and saves the file name and format information to a register. The filtering module is configured to perform a depth-first traversal operation on the converted object data to filter out the text entries to be translated and their positions within the object data. This includes a traversal judge performing a depth-first traversal on each value in the object data according to the following rules: the position of the value is stored layer by layer in the `keys` array, and the current depth is recorded using `deep` to adjust the length of `keys` as needed; if the value is a string, the string is used as the text entry to be translated, and the text entry and its position within the object data are submitted to the translation and replacement unit; if the value is an object, the object is traversed further. The translation and replacement module is configured to call the translation interface via a web crawler, pass in the text to be translated and the translation parameters to generate the target text, and replace the target text in the corresponding position.

6. A computer device, characterized in that, include: At least one processor; as well as A memory storing a computer program executable in the processor, wherein the processor executes the program to perform the method according to any one of claims 1-4.

7. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it performs the method described in any one of claims 1-4.

Citation Information

Patent Citations

  • Application program development method and device, electronic equipment and storage medium

    CN112748914A

  • Language processing method and device, equipment and storage medium

    CN114398912A