CN112395844B - Pinyin generation method and device and electronic equipment - Google Patents
Pinyin generation method and device and electronic equipment Download PDFInfo
- Publication number
- CN112395844B CN112395844B CN202011281811.5A CN202011281811A CN112395844B CN 112395844 B CN112395844 B CN 112395844B CN 202011281811 A CN202011281811 A CN 202011281811A CN 112395844 B CN112395844 B CN 112395844B
- Authority
- CN
- China
- Prior art keywords
- pinyin
- word
- target
- pinyins
- candidate
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 230000011218 segmentation Effects 0.000 claims abstract description 129
- 230000004044 response Effects 0.000 claims description 11
- 238000004590 computer program Methods 0.000 claims description 9
- 238000007667 floating Methods 0.000 claims description 8
- 230000008569 process Effects 0.000 abstract description 9
- 238000002372 labelling Methods 0.000 abstract description 6
- 238000004891 communication Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 5
- 241000287127 Passeridae Species 0.000 description 3
- 230000005484 gravity Effects 0.000 description 3
- 230000036651 mood Effects 0.000 description 3
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/169—Annotation, e.g. comment data or footnotes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
- G06F40/284—Lexical analysis, e.g. tokenisation or collocates
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
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)
- Document Processing Apparatus (AREA)
Abstract
The embodiment of the disclosure discloses a pinyin generation method, a pinyin generation device and electronic equipment. One embodiment of the method comprises the following steps: word segmentation is carried out on the target Chinese information, and a word segmentation result is obtained; searching pinyin corresponding to the word segmentation result in a preset pinyin library; responding to at least two pinyins corresponding to at least one target word in the word segmentation result, taking the at least two pinyins as candidate pinyins, and displaying the target word and at least two first candidate pinyins corresponding to the target word; and determining the first target pinyin corresponding to the target word according to the selection operation of the user on the at least two first candidate pinyin. The pinyin of the target Chinese information can be matched through the preset pinyin library, and when the pinyin is matched with the target word corresponding to the plurality of pinyins, the user can independently determine the first target pinyin corresponding to the target word, so that the process of labeling the pinyin for the Chinese information is simplified, convenience and rapidness are realized, and the user experience is improved.
Description
Technical Field
The disclosure relates to the technical field of internet, and in particular relates to a pinyin generation method, device and electronic equipment.
Background
In the field of natural language processing of chinese, pinyin is sometimes required for each chinese character of chinese. For example, in the process of converting the Chinese text into phonemes, the speech synthesis technology needs to convert the Chinese text into pinyin, and when the children's reading is made, the corresponding pinyin is marked at the preset position of each Chinese character.
Disclosure of Invention
This disclosure is provided in part to introduce concepts in a simplified form that are further described below in the detailed description. This disclosure is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
The embodiment of the disclosure provides a pinyin generation method, a pinyin generation device and electronic equipment.
In a first aspect, an embodiment of the present disclosure provides a pinyin generation method, including: word segmentation is carried out on the target Chinese information, and a word segmentation result is obtained; searching pinyin corresponding to the word segmentation result in a preset pinyin library; responding to at least two pinyins corresponding to at least one target word in the word segmentation result, taking the at least two pinyins as candidate pinyins, and displaying the target word and at least two first candidate pinyins corresponding to the target word; and determining the first target pinyin corresponding to the target word according to the selection operation of the user on the at least two first candidate pinyin.
In a second aspect, embodiments of the present disclosure provide a pinyin-generating apparatus, the apparatus including: the word segmentation module is used for segmenting the target Chinese information to obtain a word segmentation result; the searching module is used for searching pinyin corresponding to the word segmentation result in a preset pinyin library; the candidate module is used for responding to the fact that at least one target word in the word segmentation result corresponds to at least two pinyins, taking the at least two pinyins as candidate pinyins, and displaying the target word and at least two first candidate pinyins corresponding to the target word; and the selection module is used for determining the first target pinyin corresponding to the target word according to the selection operation of the user on the at least two first candidate pinyin.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; and a storage device having one or more programs stored thereon, which when executed by the one or more processors, cause the one or more processors to implement the pinyin generation method of the first aspect.
In a fourth aspect, an embodiment of the present disclosure provides a computer readable medium having stored thereon a computer program which, when executed by a processor, implements the steps of the pinyin generation method as described in the first aspect.
According to the pinyin generation method, the pinyin generation device and the electronic equipment, the target Chinese information is subjected to word segmentation to obtain word segmentation results; searching pinyin corresponding to the word segmentation result in a preset pinyin library; responding to at least two pinyins corresponding to at least one target word in the word segmentation result, taking the at least two pinyins as candidate pinyins, and displaying the target word and at least two first candidate pinyins corresponding to the target word; and determining the first target pinyin corresponding to the target word according to the selection operation of the user on the at least two first candidate pinyin. The pinyin of the target Chinese information can be matched through the preset pinyin library, and when the pinyin is matched with the target word corresponding to the plurality of pinyins, the user can independently determine the first target pinyin corresponding to the target word, so that the process of labeling the pinyin for the Chinese information is simplified, convenience and rapidness are realized, and the user experience is improved.
Drawings
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
FIG. 1 is a flow chart of one embodiment of a pinyin generation method in accordance with the present disclosure;
FIG. 2 is a flow chart illustrating another embodiment of a pinyin generation method according to the present disclosure;
FIG. 3 is a schematic diagram illustrating the construction of one embodiment of a pinyin-generating device according to the present disclosure;
FIG. 4 is an exemplary system architecture in which the pinyin generation method of one embodiment of the present disclosure may be applied;
fig. 5 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
It should be noted that, without conflict, the embodiments of the present disclosure and features of the embodiments may be combined with each other.
Referring to FIG. 1, a flowchart of one embodiment of a pinyin generation method in accordance with the present disclosure is shown, as shown in FIG. 1, including the following steps 101-104.
And step 101, word segmentation is carried out on the target Chinese information, and a word segmentation result is obtained.
The target chinese information may include chinese text entered by a user. For example, text information of "today's very good mood" input by the user is received in a preset receiving window, and the text information may be regarded as the above-mentioned target chinese information. The target Chinese information can also be obtained from the local or other electronic equipment which is in communication connection with the electronic equipment for executing the pinyin generation method according to the user instruction.
The target Chinese information can be subjected to word segmentation according to various existing word segmentation methods to obtain word segmentation results after word segmentation, wherein the word segmentation methods are known to those skilled in the art and are not repeated. The word segmentation result may include at least one word and/or at least one individual word. For example, after word segmentation is performed on the target Chinese information "today's mood is good", the word segmentation result obtained may include: "today", "mood", "fine"; after word segmentation processing is carried out on the weather clear and clear of the target Chinese information, word segmentation results of the weather and clear can be obtained; and performing word segmentation processing on the good Chinese information of the target, so that a good word segmentation result and the like can be obtained.
Step 102, searching pinyin corresponding to the word segmentation result in a preset pinyin library.
The preset pinyin library may be a pinyin library created in advance. It may include individual pinyins corresponding to some common words, and may also include combined pinyins corresponding to common words, which may have corresponding tone symbols. The combined pinyin can be formed by respectively corresponding pinyin of a plurality of Chinese characters in the same word. For example, for the word "sparrow", it may be formed by combining the pinyin "ma" corresponding to the chinese character "sparrow" and the pinyin "que" corresponding to the chinese character "sparrow". It should be noted that the labeling using the combined pinyin may be regarded as labeling of the corresponding chinese character by the pinyin that should have the unique pronunciation in the word when the fixed combination is performed with the single pinyin corresponding to each chinese character in the word. For example, for Chinese characters "still", the preset pinyin library may include pinyin "huan" or pinyin "hai". When combined with the pinyin 'you', the pinyin 'hai' can be used for forming a combined pinyin 'haiyou', and the combined pinyin can be used as a search result of word segmentation results 'still'; when combined with pinyin "gui", the pinyin "huan" may be used to compose a combined pinyin "guihuan" that may be used as a search result for the word segmentation result "return". For the Chinese character "hand", the preset pinyin library may include pinyin "shou", which may have corresponding combination pinyin "shouxin", "shouzhi", and the like.
After the word segmentation results are obtained, the pinyin corresponding to each word segmentation result can be searched one by one in the preset pinyin library, and the corresponding pinyin can be marked for the word segmentation result according to the search result.
For example, when the word segmentation result is "me" or "good", the word segmentation result may be searched in a preset pinyin library to determine whether the pinyin of "wo" or "hen hao" can be searched.
And step 103, responding to the fact that at least one target word in the word segmentation result corresponds to at least two pinyins, taking the at least two pinyins as candidate pinyins, and displaying the target word and at least two first candidate pinyins corresponding to the target word.
The corresponding pinyin of the same Chinese character in different contexts can be different. The preset pinyin library can comprise a plurality of pronunciations corresponding to each polyphone. Thus, when searching in the preset pinyin library, at least two pinyins corresponding to at least one target word in a word segmentation result can be searched. For example, for the corresponding target word "heavy" in the word segmentation result "gravity", the pinyin "zhong" and the pinyin "chong" may be found.
When at least one target word in the word segmentation result corresponds to at least two pinyins, the pinyins can be used as candidate pinyins and can be displayed to a user. For example, for the target word "heavy", the pinyin "zhong" and the pinyin "chong" may be used as the first candidate pinyin for the target word, and the target word may be presented to the user together with the two candidate pinyins, so that the user may autonomously determine the target pinyin corresponding to the target word. In some application scenarios, the corresponding word segmentation result 'gravity' and the two first candidate pinyin are displayed to the user together, so that the user can determine the target pronunciation of the target word 'heavy' in the word segmentation result based on the word segmentation result 'gravity'.
Step 104, determining the first target pinyin corresponding to the target word according to the selection operation of the user on at least two first candidate pinyin.
The selection operation may include, for example, a clicking operation on the first candidate pinyin or a triggering operation on a preset control that triggers a selection function.
The user can select a plurality of displayed first candidate pinyin according to the word segmentation result corresponding to the displayed target word so as to determine the first target pinyin corresponding to the target word in the word segmentation result. The first target pinyin herein may be considered the correct pinyin that is autonomously determined by the user to match the target word in the word segmentation result, which may be used to label the target word. For example, when the displayed word segmentation result is "good learning", and the first candidate pinyin "hao" corresponding to the target word "good" and the first candidate pinyin "hao", the user may perform a selection operation on the first candidate pinyin "hao", and then may determine the first target pinyin "hao" corresponding to the target word "good" in "good learning".
In the embodiment, the word segmentation result is obtained by firstly segmenting the target Chinese information; then searching pinyin corresponding to the word segmentation result in a preset pinyin library; secondly, responding to the fact that at least one target word in the word segmentation result corresponds to at least two pinyins, taking the at least two pinyins as candidate pinyins, and displaying the target word and at least two first candidate pinyins corresponding to the target word; and finally, determining the first target pinyin corresponding to the target word according to the selection operation of the user on at least two first candidate pinyin. The pinyin of the target Chinese information can be matched through the preset pinyin library, and when the pinyin is matched with the target word corresponding to the plurality of pinyins, the user can independently determine the first target pinyin corresponding to the target word, so that the process of labeling the pinyin for the Chinese information is simplified, convenience and rapidness are realized, and the user experience is improved.
In practice, not every chinese character is a polyphone. Therefore, the target word in the word segmentation result can correspond to a unique pinyin, and the unique pinyin can be determined as the target pinyin corresponding to the target word in the word segmentation result, and then the pinyin can be extracted to be marked for the target word. For example, the word segmentation result "go home" has the corresponding target word "go home" or the pinyin of the target word "home" and only "hui" or "jia". At this time, the unique pinyin may be determined as the target pinyin corresponding to the target word, and the word segmentation result "home" may be labeled using "hui jia".
Therefore, when the only pinyin corresponding to a word segmentation result is found, the only pinyin can be directly determined to be the target pinyin for marking the word segmentation result, so that the marking process is simpler and quicker.
In some alternative implementations, the preset pinyin library includes pinyin with tone marks, and the step 102 may include: and searching the pinyin with the tone marks corresponding to the word segmentation result in a preset pinyin library.
The preset pinyin library can comprise pinyin with tone marks. Here, the pinyin with tone marks may include, for example "w ǒ", "t ā", etc.
In the related art, after the pinyin of a section of text is obtained, the pinyin with the tone can be marked for the Chinese information by receiving the tone manually input by the user. However, this method is cumbersome, time-consuming and laborious, and the user experience is poor.
In this embodiment, a preset pinyin library corresponding to a plurality of words may be established, where the preset pinyin library includes a plurality of pinyins with tones corresponding to a plurality of characters and words, respectively. When the pinyin corresponding to the word segmentation result is searched in the preset pinyin library, the corresponding pinyin with the tone mark can be searched. On the one hand, the tone marks corresponding to the pinyin marks corresponding to the target Chinese information can be automatically marked, and the user does not need to manually add the tone marks, so that the user experience is improved; on the other hand, it is possible to distinguish polyphones that differ only in tone marks and result in different readings. For example, for the multi-tone word "good", the corresponding pinyin "hao", after adding the tone mark, can distinguish the corresponding pronunciation in the word "hello" asThe corresponding pronunciation in the word "good learning" is +.>In some alternative implementations, after the step 104, the pinyin generation method further includes: and displaying the pinyin corresponding to each word segmentation result.
After determining the pinyin corresponding to each word segmentation result, the pinyin can be displayed to the user so that the user can perform related work by using the pinyin. In some application scenarios, each pinyin can be respectively marked above the corresponding word segmentation result and can be displayed in the same display window; in other application scenarios, the display may be performed in two display windows respectively. For example, the pinyin corresponding to each word segmentation result may be displayed in a first display window, and each word segmentation result may be displayed in a second display window.
In the application scenes, each word segmentation result respectively determines a unique pinyin, and each word segmentation result respectively corresponds to a unique position in the target Chinese information. Word segmentation results corresponding to the positions are combined according to the sequence of the word segmentation results in the target Chinese information, and then a pinyin sequence corresponding to the target Chinese information can be obtained. Therefore, when the pinyin (the pinyin sequence) corresponding to each word segmentation result is displayed, the user can read the Chinese information against the target conveniently.
For example, for the target chinese information "moonlight very beautiful tonight", the corresponding word segmentation result may be "tonight", "moonlight", "very beautiful". When the pinyin corresponding to each word segmentation result is When ' de ', ' yu ' and ' h ě nm ě i ', the pinyin can be combined according to the word segmentation results corresponding to the de ', ' yu ' and ' h ě nm ě i ' to obtain a pinyin sequence ' corresponding to the target Chinese information ' tonight moon very beautiful>de yu/s/h ě nm ě i "can then be presented to the user for the user to read against the target Chinese information" tonight moonlight very beautiful ".
In some alternative implementations, at least two first candidate pinyins are presented in a popup or floating window format.
When the at least two first candidate pinyin are found in the preset pinyin library, the at least two first candidate pinyin can be displayed to a user in a popup window or floating window mode. The first candidate pinyin displayed in the popup window or the floating window is convenient for a user to select a first target pinyin corresponding to the target word of the displayed word segmentation result from the at least two first candidate pinyins. In some application scenarios, prompt information such as "please confirm the pronunciation of the lower polyphone", "please select the pinyin of the lower polyphone" may be marked in the popup window or floating window to prompt the user to make a selection.
Referring to FIG. 2, which illustrates a flowchart of another embodiment of a pinyin generation method in accordance with the present disclosure, as shown in FIG. 2, the pinyin generation method may include the following steps 201-206.
Step 201, word segmentation is performed on the target Chinese information, and a word segmentation result is obtained.
Step 202, searching pinyin corresponding to the word segmentation result in a preset pinyin library.
In this embodiment, the steps 201 and 202 may be the same as or similar to the steps 101 and 102 in the embodiment shown in fig. 1, and are not repeated here.
In this embodiment, the word segmentation result may include at least one word. For example, word segmentation results obtained after word segmentation processing is performed on the target Chinese information "storm warning" can include "storm", "warning".
In step 203, in response to not finding pinyin corresponding to a word, the word is split into a plurality of split words.
The pinyin in the preset pinyin library may not necessarily be able to sort all the combined pinyin. There may then be situations where a word cannot match the corresponding combined pinyin. At this time, the word can be split to obtain a plurality of split words. For example, if the pinyin corresponding to the word "mask" is not found in the preset pinyin library, the word may be split into two split words, namely "mask" and "mask".
Step 204, searching the pinyin corresponding to the split single word in the preset pinyin library, and determining a second target pinyin corresponding to the split single word according to the searching result.
After splitting the words, the pinyin corresponding to the split single word after splitting can be searched in a preset pinyin library, and a second target pinyin corresponding to the split single word can be determined according to the search result. For example, when the search result is that the pinyin corresponding to the split single word is found in the preset pinyin library, the pinyin can be determined as the second target pinyin corresponding to the split single word. For example, the pinyin "zhe" and the pinyin "mo" that are uniquely corresponding to the split word "hide" and the split word "mo" are found in the preset pinyin library, and the found pinyin may be regarded as the second target pinyin that corresponds to the split word.
In some alternative implementations, step 204 described above may include sub-step 2041: in response to finding at least two pinyins corresponding to the same split word, displaying the word and at least two second candidate pinyins corresponding to the same split word; and determining the second target pinyin corresponding to the same split single word according to the selection operation of the user on at least two second candidate pinyin.
When the split single word is a polyphone, the word where the split single word is located and the second candidate pinyin corresponding to the split single word can be displayed to the user. The user can execute a selection operation according to the display content to select a second target pinyin corresponding to the split single word in the word. For example, for the split single word "girl" and the split single word "red" corresponding to the word "girl", if the second candidate pinyin "hong" and the second candidate pinyin "gong" corresponding to the split single word "red" are found in the preset pinyin library. A selection operation such as clicking on the pinyin "gong" may be performed, the pinyin "gong" being determined as the second target pinyin of the split single word "red" in the word "gird" and may then be annotated with the pinyin "gong" as the split single word "red".
Through the process of independently selecting and splitting the second target pinyin corresponding to the single word by the user, man-machine interaction can be increased, matching to the target pinyin required by the user is facilitated, and user experience is improved.
Step 205, based on the second target pinyin, a combined pinyin corresponding to the word is determined.
After determining the second target pinyin corresponding to the split single word, the combined pinyin corresponding to the word may be determined based on each second target pinyin. Thus, when the word is encountered again, the corresponding combined pinyin can be directly used for marking.
In some alternative implementations, step 205 described above may include sub-step 2051: and combining the plurality of second target pinyins according to the sequence of the split single words in the words corresponding to each second target pinyins to obtain combined pinyins.
That is, the second target pinyin may be combined to obtain a combined pinyin corresponding to the word, and then the unique pronunciation of each chinese character in the combined pinyin may be determined. For example, the second target pinyin "zhe" and the second target pinyin "mo" corresponding to the split word "mask" and the split word "mo" may be combined according to the order of the split word "mask" and the split word "mo" in the word "mask", so as to obtain the combined pinyin "zhemo" corresponding to the word "mask".
Step 206, storing the combined pinyin to a preset pinyin library, and updating the preset pinyin library.
After determining the combined pinyin, the combined pinyin may be stored in a preset pinyin library for updating the preset pinyin library. For example, when the pinyin corresponding to the word "lanyin" is not found in the initial preset pinyin library currently used, after determining that the combined pinyin corresponding to the word is "lanyin", the combined pinyin may be stored in the initial preset pinyin library, and the initial preset pinyin library may be updated. After that, when the word 'lanyin' is searched again in the updated preset pinyin library, the pinyin 'lanyin' can be quickly searched and marked.
The preset pinyin library can be expanded and enlarged after different combined pinyin is stored once. Therefore, when the combined pinyin of the same words is required to be searched next time, the pinyin of the target word can be matched quickly, and the labeling speed is increased.
Compared with the embodiment shown in fig. 1, the pinyin generation method disclosed in the embodiment highlights the step of generating a combined pinyin corresponding to a word when the pinyin corresponding to the word is not found in the preset pinyin library currently used, and storing the combined pinyin in the preset pinyin library currently. When the initial preset pinyin library is constructed, only a small amount of combined pinyin can be arranged, and then the preset pinyin library is updated and expanded step by step through the interaction process with a user, so that the construction efficiency of the preset pinyin library is improved.
Referring to FIG. 3, a schematic diagram of an embodiment of a pinyin generating apparatus according to the present disclosure is shown, and as shown in FIG. 3, the pinyin generating apparatus includes a word segmentation module 301, a search module 302, a candidate module 303, and a selection module 304. The word segmentation module 301 is configured to segment the target chinese information to obtain a word segmentation result; the searching module 302 is configured to search pinyin corresponding to the word segmentation result in a preset pinyin library; a candidate module 303, configured to respond to finding that at least one target word in the word segmentation result corresponds to at least two pinyin, take at least two pinyin as candidate pinyin, and display the target word and at least two first candidate pinyin corresponding to the target word; the selection module 304 is configured to determine a first target pinyin corresponding to the target word according to a selection operation of the user on at least two first candidate pinyins.
It should be noted that, the specific processing of the word segmentation module 301, the search module 302, the candidate module 303, and the selection module 304 of the pinyin generation device and the technical effects thereof may refer to the related descriptions of the steps 101 to 104 in the corresponding embodiment of fig. 1, and are not repeated herein.
In some optional implementations of this embodiment, the word segmentation result includes at least one word, and the pinyin generation device further includes: the splitting module is used for splitting the word into a plurality of split single words in response to not finding pinyin corresponding to the word; the first determining module is used for searching the pinyin corresponding to the split single word in the preset pinyin library and determining a second target pinyin corresponding to the split single word according to the searching result; the second determining module is used for determining combined pinyin corresponding to the words based on the second target pinyin; and the updating module is used for storing the combined pinyin into a preset pinyin library and updating the preset pinyin library.
In some optional implementations of this embodiment, the first determining module is further configured to: in response to finding at least two pinyins corresponding to the same split word, displaying the word and at least two second candidate pinyins corresponding to the same split word; and determining the second target pinyin corresponding to the same split single word according to the selection operation of the user on at least two second candidate pinyin.
In some optional implementations of this embodiment, the second determining module is further configured to: and combining the plurality of second target pinyins according to the sequence of the split single words in the words corresponding to each second target pinyins to obtain combined pinyins.
In some optional implementations of this embodiment, the preset pinyin library includes pinyin with tone marks, and the search module 302 is further configured to: and searching the pinyin with the tone marks corresponding to the word segmentation result in a preset pinyin library.
In some optional implementations of this embodiment, the pinyin generating apparatus further includes a display module, where the display module is configured to: after determining the first target pinyin corresponding to the target character according to the selection operation of the user on at least two first candidate pinyin, displaying pinyin corresponding to each word segmentation result.
In some alternative implementations of the present embodiment, at least two first candidate pinyins are presented in a popup or floating window format.
Referring to FIG. 4, an exemplary system architecture is shown in which the pinyin generation method of one embodiment of the present disclosure may be applied.
As shown in fig. 4, the system architecture may include terminal devices 401, 402, 403, a network 404, and a server 405. The network 404 is used as a medium to provide communication links between the terminal devices 401, 402, 403 and the server 405. The network 404 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others. The terminal devices and servers described above may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The terminal devices 401, 402, 403 may interact with the server 405 through the network 404 to receive or send messages or the like. Various client applications, such as a video distribution application, a search class application, a news information class application, may be installed on the terminal devices 401, 402, 403.
The terminal devices 401, 402, 403 may be hardware or software. When the terminal devices 401, 402, 403 are hardware, they may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablet computers, electronic book readers, MP3 players (Moving Picture Experts Group Audio Layer III, dynamic video expert compression standard audio plane 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic video expert compression standard audio plane 4) players, laptop and desktop computers, and the like. When the terminal devices 401, 402, 403 are software, they can be installed in the above-listed electronic devices. Which may be implemented as multiple software or software modules (e.g., software or software modules for providing distributed services) or as a single software or software module. The present invention is not particularly limited herein.
The server 405 may be a server that can provide various services, for example, receives the word segmentation processing requests transmitted by the terminal devices 401, 402, 403, analyzes the word segmentation processing requests, and transmits analysis processing results (for example, word segmentation results corresponding to the above-described word segmentation processing requests) to the terminal devices 401, 402, 403.
It should be noted that, the pinyin generation method provided by the embodiment of the present disclosure may be executed by a server or may be executed by a terminal device, and accordingly, the pinyin generation device may be provided in the server or may be provided in the terminal device.
It should be understood that the number of terminal devices, networks and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to fig. 5, a schematic diagram of an electronic device (e.g., the server or terminal device of fig. 4) suitable for use in implementing embodiments of the present disclosure is shown. The electronic device shown in fig. 5 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 5, the electronic device may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 501, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 502 or a program loaded from a storage means 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
In general, the following devices may be connected to the I/O interface 505: input devices 506 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 507 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 508 including, for example, magnetic tape, hard disk, etc.; and communication means 509. The communication means 509 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 shows an electronic device having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 509, or from the storage means 508, or from the ROM 502. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 501.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: word segmentation is carried out on the target Chinese information, and a word segmentation result is obtained; searching pinyin corresponding to the word segmentation result in a preset pinyin library; responding to the finding of at least two pinyin corresponding to at least one target word in the word segmentation result, taking the at least two pinyin as candidate pinyin, and displaying the target word and at least two first candidate pinyin corresponding to the target word; and determining the first target pinyin corresponding to the target word according to the selection operation of the user on at least two first candidate pinyin. Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The name of the module is not limited to the unit itself in some cases, for example, the word segmentation module 301 may also be described as "a module for performing word segmentation on the target chinese information to obtain a word segmentation result".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
Pinyin generation methods provided in accordance with one or more embodiments of the present disclosure include: word segmentation is carried out on the target Chinese information, and a word segmentation result is obtained; searching pinyin corresponding to the word segmentation result in a preset pinyin library; responding to the finding of at least two pinyin corresponding to at least one target word in the word segmentation result, taking the at least two pinyin as candidate pinyin, and displaying the target word and at least two first candidate pinyin corresponding to the target word; and determining the first target pinyin corresponding to the target word according to the selection operation of the user on at least two first candidate pinyin.
According to one or more embodiments of the present disclosure, the word segmentation result includes at least one word, and the method further includes: splitting the word into a plurality of split words in response to not finding pinyin corresponding to the word; searching pinyin corresponding to the split single word in a preset pinyin library, and determining a second target pinyin corresponding to the split single word according to a searching result; determining a combined pinyin corresponding to the word based on the second target pinyin; storing the combined pinyin to a preset pinyin library, and updating the preset pinyin library.
According to one or more embodiments of the present disclosure, searching for pinyin corresponding to a split single word in a preset pinyin library, and determining a second target pinyin corresponding to the split single word according to a result of the searching, including: in response to finding at least two pinyins corresponding to the same split word, displaying the word and at least two second candidate pinyins corresponding to the same split word; and determining the second target pinyin corresponding to the same split single word according to the selection operation of the user on at least two second candidate pinyin.
According to one or more embodiments of the present disclosure, determining a combined pinyin corresponding to a word based on a second target pinyin includes: and combining the plurality of second target pinyins according to the sequence of the split single words in the words corresponding to each second target pinyins to obtain combined pinyins.
According to one or more embodiments of the present disclosure, a preset pinyin library includes pinyin with tone marks, and a pinyin corresponding to a word segmentation result is searched in the preset pinyin library, including: and searching the pinyin with the tone marks corresponding to the word segmentation result in a preset pinyin library.
According to one or more embodiments of the present disclosure, after determining the first target pinyin corresponding to the target word according to a user selection operation of at least two first candidate pinyins, the method further includes: and displaying the pinyin corresponding to each word segmentation result.
According to one or more embodiments of the present disclosure, at least two first candidate pinyins are presented in a popup or floating window format.
Pinyin generation apparatus provided according to one or more embodiments of the present disclosure, comprising: the word segmentation module is used for segmenting the target Chinese information to obtain a word segmentation result; the searching module is used for searching pinyin corresponding to the word segmentation result in a preset pinyin library; the candidate module is used for responding to the fact that at least one target word in the word segmentation result is searched to correspond to at least two pinyins, taking the at least two pinyins as candidate pinyins, and displaying the target word and at least two first candidate pinyins corresponding to the target word; and the selection module is used for determining the first target pinyin corresponding to the target word according to the selection operation of the user on at least two first candidate pinyin.
According to one or more embodiments of the present disclosure, the word segmentation result includes at least one word, and the pinyin generation device further includes: the splitting module is used for splitting the word into a plurality of split single words in response to not finding pinyin corresponding to the word; the first determining module is used for searching the pinyin corresponding to the split single word in the preset pinyin library and determining a second target pinyin corresponding to the split single word according to the searching result; the second determining module is used for determining combined pinyin corresponding to the words based on the second target pinyin; and the updating module is used for storing the combined pinyin into a preset pinyin library and updating the preset pinyin library.
According to one or more embodiments of the present disclosure, the first determination module is further to: in response to finding at least two pinyins corresponding to the same split word, displaying the word and at least two second candidate pinyins corresponding to the same split word; and determining the second target pinyin corresponding to the same split single word according to the selection operation of the user on at least two second candidate pinyin.
According to one or more embodiments of the present disclosure, the second determination module is further to: and combining the plurality of second target pinyins according to the sequence of the split single words in the words corresponding to each second target pinyins to obtain combined pinyins.
According to one or more embodiments of the present disclosure, the preset pinyin library includes pinyin with tone marks, and the search module is further configured to: and searching the pinyin with the tone marks corresponding to the word segmentation result in a preset pinyin library.
According to one or more embodiments of the present disclosure, the pinyin-generating apparatus further includes a display module for: after determining the first target pinyin corresponding to the target character according to the selection operation of the user on at least two first candidate pinyin, displaying pinyin corresponding to each word segmentation result.
According to one or more embodiments of the present disclosure, at least two first candidate pinyins are presented in a popup or floating window format.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.
Claims (10)
1. A pinyin generation method, comprising:
performing word segmentation on the target Chinese information to obtain word segmentation results, wherein the word segmentation results comprise at least one word;
Searching pinyin corresponding to the word segmentation result in a preset pinyin library;
responding to at least two pinyins corresponding to at least one target word in the word segmentation result, taking the at least two pinyins as candidate pinyins, and displaying the target word and at least two first candidate pinyins corresponding to the target word;
determining first target pinyin corresponding to the target word according to the selection operation of the user on the at least two first candidate pinyin;
splitting the word into a plurality of split words in response to not finding pinyin corresponding to the word;
and searching the pinyin corresponding to the split single word in the preset pinyin library, and determining a second target pinyin corresponding to the split single word according to a searching result.
2. The method according to claim 1, wherein the method further comprises:
determining a combined pinyin corresponding to the word based on the second target pinyin;
storing the combined pinyin to the preset pinyin library, and updating the preset pinyin library.
3. The method of claim 2, wherein searching the preset pinyin library for the pinyin corresponding to the split word and determining the second target pinyin corresponding to the split word according to the search result comprises:
In response to finding at least two pinyins corresponding to the same split single word, displaying the word and at least two second candidate pinyins corresponding to the same split single word;
and determining a second target pinyin corresponding to the same split single word according to the selection operation of the user on the at least two second candidate pinyin.
4. The method of claim 2, wherein the determining, based on the second target pinyin, a combined pinyin corresponding to the word comprises:
and combining the plurality of second target pinyins according to the sequence of the split single words in the words corresponding to each second target pinyins to obtain the combined pinyins.
5. The method of claim 1, wherein the pre-set pinyin library includes pinyin with tone marks, and
the searching the pinyin corresponding to the word segmentation result in a preset pinyin library comprises the following steps:
and searching the pinyin with the tone marks corresponding to the word segmentation result in the preset pinyin library.
6. The method of claim 1, wherein after determining the first target pinyin corresponding to the target word according to the user selection operation of the at least two first candidate pinyins, the method further comprises:
And displaying the pinyin corresponding to each word segmentation result.
7. The method of claim 1, wherein the at least two first candidate pinyins are presented in a popup or floating window format.
8. A pinyin-generating apparatus, comprising:
the word segmentation module is used for carrying out word segmentation on the target Chinese information to obtain word segmentation results, wherein the word segmentation results comprise at least one word;
the searching module is used for searching pinyin corresponding to the word segmentation result in a preset pinyin library;
the candidate module is used for responding to the fact that at least one target word in the word segmentation result corresponds to at least two pinyins, taking the at least two pinyins as candidate pinyins, and displaying the target word and at least two first candidate pinyins corresponding to the target word;
the selection module is used for determining first target pinyin corresponding to the target word according to the selection operation of the user on the at least two first candidate pinyin;
the splitting module is used for splitting the word into a plurality of split single words in response to not finding pinyin corresponding to the word;
the first determining module is used for searching the pinyin corresponding to the split single word in the preset pinyin library and determining a second target pinyin corresponding to the split single word according to the searching result.
9. An electronic device, comprising:
one or more processors;
storage means having stored thereon one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-7.
10. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011281811.5A CN112395844B (en) | 2020-11-16 | 2020-11-16 | Pinyin generation method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011281811.5A CN112395844B (en) | 2020-11-16 | 2020-11-16 | Pinyin generation method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112395844A CN112395844A (en) | 2021-02-23 |
CN112395844B true CN112395844B (en) | 2024-01-30 |
Family
ID=74599588
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011281811.5A Active CN112395844B (en) | 2020-11-16 | 2020-11-16 | Pinyin generation method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112395844B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113377996A (en) * | 2021-06-22 | 2021-09-10 | 读书郎教育科技有限公司 | System and method capable of realizing searching and learning pinyin spelling |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103365925A (en) * | 2012-04-09 | 2013-10-23 | 高德软件有限公司 | Method for acquiring polyphone spelling, method for retrieving based on spelling, and corresponding devices |
CN104765725A (en) * | 2015-04-27 | 2015-07-08 | 邱行中 | Automatic pinyin annotating system and method for Chinese characters |
CN107193789A (en) * | 2017-05-22 | 2017-09-22 | 上海携程金融信息服务有限公司 | Chinese converted Chinese phonetic transcription and system containing polyphone |
CN108416055A (en) * | 2018-03-20 | 2018-08-17 | 北京三快在线科技有限公司 | Establish method, apparatus, electronic equipment and the storage medium of phonetic database |
CN109117463A (en) * | 2018-07-26 | 2019-01-01 | 掌阅科技股份有限公司 | Text pinyin marking method, electronic equipment, storage medium |
-
2020
- 2020-11-16 CN CN202011281811.5A patent/CN112395844B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103365925A (en) * | 2012-04-09 | 2013-10-23 | 高德软件有限公司 | Method for acquiring polyphone spelling, method for retrieving based on spelling, and corresponding devices |
CN104765725A (en) * | 2015-04-27 | 2015-07-08 | 邱行中 | Automatic pinyin annotating system and method for Chinese characters |
CN107193789A (en) * | 2017-05-22 | 2017-09-22 | 上海携程金融信息服务有限公司 | Chinese converted Chinese phonetic transcription and system containing polyphone |
CN108416055A (en) * | 2018-03-20 | 2018-08-17 | 北京三快在线科技有限公司 | Establish method, apparatus, electronic equipment and the storage medium of phonetic database |
CN109117463A (en) * | 2018-07-26 | 2019-01-01 | 掌阅科技股份有限公司 | Text pinyin marking method, electronic equipment, storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112395844A (en) | 2021-02-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112489620B (en) | Speech synthesis method, device, readable medium and electronic equipment | |
US20210192288A1 (en) | Method and apparatus for processing data | |
CN108989882B (en) | Method and apparatus for outputting music pieces in video | |
CN113470619B (en) | Speech recognition method, device, medium and equipment | |
KR20210092147A (en) | Method and apparatus for mining entity focus in text | |
CN111767740B (en) | Sound effect adding method and device, storage medium and electronic equipment | |
WO2020182123A1 (en) | Method and device for pushing statement | |
CN112906380B (en) | Character recognition method and device in text, readable medium and electronic equipment | |
CN112509562B (en) | Method, apparatus, electronic device and medium for text post-processing | |
WO2021057740A1 (en) | Video generation method and apparatus, electronic device, and computer readable medium | |
CN109815448B (en) | Slide generation method and device | |
CN112364653A (en) | Text analysis method, apparatus, server and medium for speech synthesis | |
CN111916050A (en) | Speech synthesis method, speech synthesis device, storage medium and electronic equipment | |
CN111815274A (en) | Information processing method and device and electronic equipment | |
CN112395844B (en) | Pinyin generation method and device and electronic equipment | |
CN112954453B (en) | Video dubbing method and device, storage medium and electronic equipment | |
CN117319705A (en) | Video generation method, device, medium and electronic equipment | |
CN117312845A (en) | Sample labeling method, medium and electronic equipment | |
CN108664610B (en) | Method and apparatus for processing data | |
CN112307723B (en) | Method and device for generating code document and electronic equipment | |
CN112651231B (en) | Spoken language information processing method and device and electronic equipment | |
CN115344718A (en) | Cross-region document content identification method, device, equipment, medium and program product | |
CN114239501A (en) | Contract generation method, apparatus, device and medium | |
CN114495080A (en) | Font identification method and device, readable medium and electronic equipment | |
CN114429629A (en) | Image processing method and device, readable storage medium and electronic equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |