CN108509057B - Input method and related equipment - Google Patents

Input method and related equipment Download PDF

Info

Publication number
CN108509057B
CN108509057B CN201710103115.7A CN201710103115A CN108509057B CN 108509057 B CN108509057 B CN 108509057B CN 201710103115 A CN201710103115 A CN 201710103115A CN 108509057 B CN108509057 B CN 108509057B
Authority
CN
China
Prior art keywords
pinyin
unit
fuzzy
sequence
modified
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
Application number
CN201710103115.7A
Other languages
Chinese (zh)
Other versions
CN108509057A (en
Inventor
解明阳
李金宏
李靖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Microsoft Technology Licensing LLC
Original Assignee
Microsoft Technology Licensing LLC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Microsoft Technology Licensing LLC filed Critical Microsoft Technology Licensing LLC
Priority to CN201710103115.7A priority Critical patent/CN108509057B/en
Priority to TW107103948A priority patent/TWI781139B/en
Publication of CN108509057A publication Critical patent/CN108509057A/en
Application granted granted Critical
Publication of CN108509057B publication Critical patent/CN108509057B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0237Character input methods using prediction or retrieval techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Document Processing Apparatus (AREA)
  • Input Circuits Of Receivers And Coupling Of Receivers And Audio Equipment (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

Some embodiments of the present disclosure provide an input method and related device. In the input method, a sequence of pinyin letters is received from a user. In response to detecting that a first pinyin unit in the sequence of pinyin letters is modified to a second pinyin unit, the input method updates a count that the first pinyin unit is modified to the second pinyin unit, wherein the first pinyin unit and the second pinyin unit form a fuzzy-tone pairing. In response to determining that the count exceeds the predefined threshold, the input method enables a fuzzy tone function for replacing the first pinyin unit with the second pinyin unit.

Description

Input method and related equipment
Technical Field
Embodiments of the present disclosure relate to input methods and related devices, and more particularly, to pinyin input methods.
Background
The chinese pinyin input method allows a user to input a chinese character by inputting the pinyin for the chinese character. Pinyin input methods typically present a user with a series of chinese characters, also referred to as candidate words, having pronunciations corresponding to the pinyin. Pinyin is designed based on the pronunciation of mandarin chinese. In china, and even throughout the world, there are various local accents. This means that many users speaking chinese or mandarin chinese have difficulty distinguishing phonetic units of similar pronunciation, e.g., n and l, of pinyin. The fuzzy sound function may allow a user to input the similarly-pronounced pinyin elements by not distinguishing the similarly-pronounced pinyin elements.
Disclosure of Invention
According to some embodiments of the present disclosure, an input method is provided. In the input method, a sequence of pinyin letters is received from a user. In response to detecting that a first pinyin unit in the sequence of pinyin letters is modified to a second pinyin unit, the input method updates a count that the first pinyin unit is modified to the second pinyin unit, wherein the first pinyin unit and the second pinyin unit form a fuzzy-tone pair. In response to determining that the count exceeds a predefined threshold, the input method enables a fuzzy tone function for replacing the first pinyin unit with the second pinyin unit.
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary 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.
Drawings
FIG. 1 is a diagram illustrating a computer system according to an embodiment of the present disclosure;
FIG. 2 illustrates a user interface of an input method according to one embodiment of the present disclosure;
FIG. 3 illustrates an example input of an input method according to one embodiment of the present disclosure;
FIG. 4 illustrates an example input of an input method according to one embodiment of the present disclosure;
FIG. 5 shows a flow diagram of an input method according to one embodiment of the present disclosure; and
FIG. 6 illustrates an example interface of an input method according to one embodiment of this disclosure.
In the drawings, the same or similar reference characters are used to designate the same or similar elements.
Detailed Description
The present disclosure will now be discussed with reference to several example embodiments. It is understood that these embodiments are discussed only to enable those of ordinary skill in the art to better understand and thus implement the present disclosure, and are not intended to imply any limitation on the scope of the present disclosure.
As used herein, the term "include" and its variants are to be read as open-ended terms meaning "including, but not limited to. The term "based on" is to be read as "based, at least in part, on". The terms "one embodiment" and "an embodiment" are to be read as "at least one embodiment". The term "another embodiment" is to be read as "at least one other embodiment". The terms "first," "second," and the like may refer to different or the same object. Other explicit and implicit definitions are also possible below.
The basic principles and several exemplary embodiments of the present disclosure are explained below with reference to the drawings. FIG. 1 illustrates a block diagram of a computing device 100 capable of implementing multiple embodiments of the present disclosure. It should be understood that the computing device 100 shown in FIG. 1 is merely exemplary and should not be construed as limiting in any way the functionality and scope of the embodiments described in this disclosure. As shown in fig. 1, computing device 100 comprises computing device 100 in the form of a general purpose computing device. Components of computing device 100 may include, but are not limited to, one or more processors or processing units 110, memory 120, storage 130, one or more communication units 140, one or more input devices 150, and one or more output devices 160.
In some embodiments, the computing device 100 may be implemented as various user terminals or service terminals. The service terminals may be servers, mainframe computing devices, etc. provided by various service providers. A user terminal such as any type of mobile terminal, fixed terminal, or portable terminal, including a mobile handset, multimedia computer, multimedia tablet, internet node, communicator, desktop computer, laptop computer, notebook computer, netbook computer, tablet computer, Personal Communication System (PCS) device, personal navigation device, Personal Digital Assistant (PDA), audio/video player, digital camera/camcorder, positioning device, television receiver, radio broadcast receiver, electronic book device, game device, or any combination thereof, including accessories and peripherals of these devices, or any combination thereof. It is also contemplated that the computing device 100 can support any type of interface to the user (such as "wearable" circuitry, etc.).
The processing unit 110 may be a real or virtual processor and can perform various processes according to programs stored in the memory 120. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to increase the parallel processing capability of computing device 100. The processing unit 110 may also be referred to as a Central Processing Unit (CPU), microprocessor, controller, microcontroller.
Computing device 100 typically includes a number of computer storage media. Such media may be any available media that is accessible by computing device 100 and includes, but is not limited to, volatile and non-volatile media, removable and non-removable media. Memory 120 may be volatile memory (e.g., registers, cache, Random Access Memory (RAM)), non-volatile memory (e.g., Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory), or some combination thereof. The memory 120 may include one or more input method modules 122 configured to perform the functions of the various embodiments described herein. The input method module 122 may be accessed and executed by the processing unit 110 to implement the corresponding functionality. Storage device 130 may be a removable or non-removable medium and may include a machine-readable medium that can be used to store information and/or data and that can be accessed within computing device 100.
The communication unit 140 enables communication with another computing device over a communication medium. Additionally, the functionality of the components of computing device 100 may be implemented in a single computing cluster or multiple computing machines, which are capable of communicating over a communications connection. Thus, the computing device 100 may operate in a networked environment using logical connections to one or more other servers, Personal Computers (PCs), or another general network node. Computing device 100 may also communicate with one or more external devices (not shown), such as storage devices, display devices, etc., communicating with one or more devices that enable a user to interact with computing device 100, or communicating with any devices (e.g., network cards, modems, etc.) that enable computing device 100 to communicate with one or more other computing devices, as desired, via communication unit 140. Such communication may be performed via input/output (I/O) interfaces (not shown).
The input device 150 may be one or more of a variety of input devices such as a mouse, keyboard, touch screen, trackball, voice input device, and the like. Output device 160 may be one or more output devices such as a display, speakers, printer, or the like.
The principles of embodiments of the present disclosure are discussed below using a Chinese pinyin input method as an example. The user may enter the pinyin characters or sequences of pinyin characters via an input device 150 such as a keyboard. The input method in module 122 may receive user input from input device 150 and provide output (e.g., candidate words, etc.) to output device 160, such as a display, for selection by the user. FIG. 2 illustrates a user interface 200 of an input method according to one embodiment of the present disclosure. In this embodiment, the user desires to input the Chinese character "China". The user first inputs the pinyin-character sequence "zhonghua" 210 corresponding to "china". The input method then returns some candidate words 220. For example, the candidate words may include: "China", "flower planting", "neutralization", etc., as shown in FIG. 2. The user may select the desired candidate word "china" at which point the input method determines the candidate word and may enter the candidate word into a corresponding input window, such as a document or web page.
Some users may have a problem with blurry sounds for reasons such as dialects. For chinese, common fuzzy-tone pairings include: zh and z, ch and c, sh and s, n and l, r and l, in and ing, en and eng, an and ang, h and f, and the like.
To address these problems, a series of options may be provided in the pinyin input method for the user to select whether certain fuzzy-tone functions are enabled. However this only works if the user realizes that they have a problem with fuzzy tones. Meanwhile, some users know that they have a problem of a blur sound, but do not know which pair or pairs of blur sounds are specific, and thus cannot perform accurate setting.
In addition, some pinyin input methods automatically return a small number of candidate words corresponding to fuzzy pairs formed with the input sequence of pinyin letters, as the case may be. However, this approach may interfere with users who do not have the ambiguity problem, and may not provide enough candidate words for users who do have the ambiguity problem.
To more clearly describe the principles of the present disclosure, fig. 3 and 4 illustrate an example input process according to one embodiment of the present disclosure. In the present embodiment, the user desires to input the chinese character "Nanjing". The correct phonetic alphabet sequence of the Chinese character "Nanjing" is "nanjing". However, the user may have a problem of a fuzzy sound that mistakes "l" as "n". Thus, the user enters the pinyin-character sequence "lanking". In this case, the input method returns a candidate word 320 corresponding to "lanking," as shown by interface 300 in FIG. 3. At this time, the user finds that "Nanjing" is not input in the candidate word 320 as intended, and recognizes that the pinyin-character sequence input by himself is erroneous, thereby modifying the pinyin-character sequence from "lanjing" to "nanjing". For example, modifying "lanjing" to "nanjing" essentially means that the first pinyin unit "l" is modified to the second pinyin unit "n". The pinyin element may be composed of one or more pinyin letters. For example, a pinyin element may represent an initial or a final, such as the initial or final in a fuzzy-tone pair, e.g., "zh" or "ang".
In one embodiment, this modification from "lanking" to "nanking" is accomplished by moving the cursor to "l" of "lanking," deleting "l", and typing "n". In another embodiment, this modification is accomplished by deleting "lanking" and re-typing "nanking". In other embodiments, this modification may also be done with only additional inputs, for example, modifying "cifan" to "chifan" to enter "eat" or "fanxue" to enter "school".
As shown in FIG. 4, in interface 400, the input method returns a candidate word 420 corresponding to the modified Pinyin alphabet sequence "nanjing". At this time, the user may select a desired input "Nanjing" from the candidate words 420.
As can be seen from the above example input process, a user typically makes redundant inputs when there is a ambiguity problem. When the user inputs the wrong pinyin character sequence due to his own fuzzy sound problem, the user cannot obtain the desired chinese text from the candidate words. In this case, the user is usually aware of his own input error. The user may then modify the pinyin-character sequence to correct the pinyin-character sequence until the user sees the correct candidate word. The user may select the desired candidate word to complete the input.
Based on this, some embodiments of the present disclosure detect whether a user has a user-specific type of ambiguity problem by counting the user's modifications. Fig. 5 shows a flow diagram of an input method 500 according to one embodiment of the present disclosure.
At 502, a sequence of pinyin letters is received. The sequence of pinyin letters may include one or more pinyin letters, such as the pinyin sequence "lanking" entered in fig. 3.
At 504, in response to detecting that a first pinyin element in the sequence of pinyin letters is modified to a second pinyin element, a count is updated that the first pinyin element is modified to the second pinyin element. The first pinyin unit and the second pinyin unit form a fuzzy-tone pair. The pinyin element may be composed of one or more pinyin letters. For example, in the example shown in FIGS. 3 and 4, the first pinyin element is "l" and the second pinyin element is "n", which form the fuzzy pairs.
In some embodiments, the fuzzy tone pairs are selected from a predefined set of fuzzy tone pairs. The set of predefined pairs of blurs may be the pairs of blurs zh and z, ch and c, sh and s, n and l, r and l, in and ing, en and eng, an and ang, and h and f, etc. as described above.
Various methods may be used to detect the first pinyin element and the second pinyin element in a sequence of pinyin letters. In some embodiments, at least one candidate word corresponding to a sequence of pinyin letters may be displayed on the display. The input method may then receive no selection of a candidate word, but a modification to the sequence of pinyin letters. For example, in the examples of fig. 3-4, the input method does not detect a user selection of a candidate word for "lanking," but detects a modification to the pinyin-character sequence. Based on this, it can be determined that the pinyin-character sequence is "lanking". After the user modifies the pinyin-character sequence, a selection of a candidate word by the user may be received, and a determination may be made as to whether the pinyin-character sequence is modified based on the selection of the candidate word. For example, in the examples of fig. 3-4, the user selected the candidate word "Nanjing". In this case, the pinyin-character sequence modified by the user may be determined to be the current pinyin-character sequence "nanjing". Based on the pinyin letter sequences 'lanjing' and 'nanjing' before and after modification, the difference between the pinyin letter sequences 'lanjing' and 'nanjing' can be determined, and then the first pinyin unit and the second pinyin unit are determined.
In the case where both pinyin units are a single pinyin, the two pinyins before and after modification can be easily determined as the first pinyin unit and the second pinyin unit. In other cases, the first pinyin unit and the second pinyin unit may be determined based on the initial and final of the pinyin. In some examples, a pinyin cell may be defined by determining whether the distinction is an initial or a final. For example, if the pinyin-character sequences before and after modification are "cifan" and "chifan", a pair of initial fuzzy sounds "c" and "ch" may be determined by the division from the final (i in this example). In this way, the first pinyin element may be determined to be "c" and the second pinyin element may be "ch".
It should be appreciated that any other suitable method may be used to detect modifications in the pinyin-character sequence. For example, the input method may track the user's input and analyze the modifications in the input process. For example, the user may modify "l" in the Pinyin alphabet sequence "lanjing" to "n" during the input process. The input method may determine modifications in a sequence of pinyin letters by analyzing this process without relying on selection of a candidate word, by adjacent pinyin letters.
In some cases, if a modification in the sequence of pinyin letters is detected, but the modification does not form a fuzzy-tone pair, then this need not be counted. The user may also modify the sequence of pinyin letters due to typographical errors, etc. Such modifications are typically not related to the blur sound, but may be related to the keyboard layout or the like. In this way, the impact of input errors unrelated to fuzzy tones can be reduced and system resources reduced.
At 506, it is determined whether the count exceeds a predefined threshold. For example, if the user wants to input "latte for milk of Nanjing" and input a corresponding one of the pinyin letter sequences "langingdezhanglangailai iyingliulizouzhizuolitite" through the input device 150. At this time, the candidate word "Nanjing milk latte" which is a candidate word desired by the user is not included in the candidate words displayed on the display. Accordingly, the user modifies the pinyin-character sequence to "nanjingzhanainianyingniuniuzhizunation" through the input device 150. At this time, the candidate words presented by the input method include "latte is made from milk for milk in Zhangniu of Nanjing". Since the pinyin letter sequence is modified six times from the first pinyin element "l" to the second pinyin element "n", a count of 6 may be counted. If the predefined threshold is 5, the count exceeds the predefined threshold.
In another example, the user enters "Nanjing", "milk", "latte", etc. in multiple Pinyin alphabet sequences, respectively, and modifies "l" to "n" each time. In this case, the count of such modification is "5" before the user inputs "latte". At step 502, the pinyin-character sequence "late" and the modified pinyin-character sequence "nateiy" are received from the user. At this time, the count is updated to 6. Thus, the number of such modifications exceeds the threshold 5.
In some embodiments, if the count is determined to be below the predefined threshold at 506, the mute function is kept disabled. For example, the input method may switch back to 502 to continue receiving the sequence of pinyin letters.
If it is determined at 506 that the count exceeds a predefined threshold, then the fuzzy tone function is enabled at 508. In some cases, it may be considered whether the count of such modifications exceeds a predefined threshold (e.g., 5 times) over a predefined input period (e.g., 1 week). If the modified count is below 5 times in 1 week, the modified count may be reset to zero.
In some embodiments, when this mute function is enabled, the state of another mute function corresponding thereto may be maintained. The corresponding fuzzy sound function may be used to replace the second pinyin element with the first pinyin element. For example, in the case where a fuzzy tone function for replacing "l" with "n" is enabled, the state of the fuzzy tone function corresponding thereto (which is used for replacing "n" with "l") may be maintained. In this example, if the corresponding blur sound function is not previously enabled, a state in which the corresponding blur sound function is not enabled may be maintained when the blur sound function in which "l" is replaced with "n" is enabled. If the corresponding fuzzy tone function has been enabled, the state in which the corresponding fuzzy tone function has been enabled may also be maintained when the fuzzy tone function in which "l" is replaced with "n" is enabled. In these embodiments, the input method may accurately track user-specific fuzzy-tone problems, and may even be accurate to one-way fuzzy-tone problems. Thus, this input method enables as few fuzzy tones as possible that are not relevant to the user, thereby providing as little (or even no) redundant information as possible in solving the fuzzy tone problem.
In some embodiments, enabling the fuzzy sound function may be an input method or the input method module 122 automatically enables the fuzzy sound function. For example, it is determined whether the subsequent sequence of pinyin letters includes the first pinyin element. If the subsequent pinyin-character sequence includes the first pinyin element, a candidate word associated with the modified subsequent pinyin-character sequence is displayed. The modified subsequent pinyin-character sequence is obtained by replacing a first pinyin element in the subsequent pinyin-character sequence with a second pinyin element. FIG. 6 illustrates a user interface 600 of an input method after turning on the blur sound function according to one embodiment of the present disclosure. As shown, the user enters a pinyin-character sequence 610 ("lanjing"), and candidate words associated with "nanjing," such as "nanjing," "south jing," etc., may be displayed, as shown by candidate word 620. In addition, candidate words corresponding to the original unmodified sequence of pinyin letters may also be displayed. For example, in the user interface 600, candidate words such as "blue whale", "blue mirror" and the like corresponding to the pinyin-character sequence "lanjing" are also displayed.
In some embodiments, the input method may also prompt the user to enable the fuzzy sound function. The user is asked whether this mute function is enabled, for example, by displaying a prompt window on the display. In some examples, the user may be gradually guided to an option to enable the relevant fuzzy tone function. This mute function is enabled if a confirmation of the user is received.
In some embodiments, the input method may send information indicative of the fuzzy tone function to the server for synchronization with other devices of the user. For example, the ambiguity questions and/or related settings may be stored in the cloud for synchronization with other devices of the user. When a user logs into an account on another device, relevant information and/or settings may be automatically obtained to facilitate user input.
Some example embodiments of the present disclosure are listed below.
According to some embodiments, an input method is provided. The input method comprises the following steps: receiving a sequence of pinyin letters from a user; in response to detecting that a first pinyin unit in the pinyin character sequence is modified to a second pinyin unit, updating the count of the first pinyin unit modified to the second pinyin unit, and forming a fuzzy tone pair by the first pinyin unit and the second pinyin unit; and in response to determining that the count exceeds a predefined threshold, enabling a fuzzy-tone function for replacing the first pinyin unit with the second pinyin unit.
In some embodiments, the input method further comprises: in response to the number of determinations being below a predefined threshold, the hold blur sound function is disabled.
In some embodiments, the state of another fuzzy-tone function is maintained while the fuzzy-tone function is enabled, the other fuzzy-tone function being used to replace the second pinyin unit with the first pinyin unit.
In some embodiments, enabling the fuzzy tone function includes: receiving a subsequent pinyin letter sequence; and in response to determining that the subsequent pinyin-character sequence includes the first pinyin unit, displaying a candidate word associated with the modified subsequent pinyin-character sequence, wherein the modified subsequent pinyin-character sequence is obtained by replacing the first pinyin unit in the subsequent pinyin-character sequence with the second pinyin unit.
In some embodiments, enabling the fuzzy tone function includes: prompting a user to start a fuzzy sound function; and enabling the fuzzy tone function in response to receiving the user confirmation.
In some embodiments, the input method further comprises: information indicative of the fuzzy tone function is sent to the server for synchronization with other devices of the user.
In some embodiments, the fuzzy tone pairs are selected from a predefined set of fuzzy tone pairs.
In some embodiments, updating the count that the first pinyin unit is modified to the second pinyin unit includes: in response to receiving a modification to the pinyin-character sequence, displaying at least one candidate word corresponding to the modified pinyin-character sequence; receiving a selection of one of the at least one candidate word, determining a modified pinyin-character sequence; and comparing the pinyin letter sequence with the modified pinyin letter sequence to determine a first pinyin unit and a second pinyin unit.
According to some embodiments, there is provided an apparatus comprising: a processing unit; and
a memory coupled to the processing unit and storing instructions that, when executed by the processing unit, perform the acts of: receiving a sequence of pinyin letters from a user; in response to detecting that a first pinyin unit in the pinyin character sequence is modified to a second pinyin unit, updating the count of the first pinyin unit modified to the second pinyin unit, and forming a fuzzy tone pair by the first pinyin unit and the second pinyin unit; and in response to determining that the count exceeds a predefined threshold, enabling a fuzzy-tone function for replacing the first pinyin unit with the second pinyin unit.
In some embodiments, the actions further comprise: in response to the number of determinations being below a predefined threshold, the hold blur sound function is disabled.
In some embodiments, the state of another fuzzy-tone function is maintained while the fuzzy-tone function is enabled, the other fuzzy-tone function being used to replace the second pinyin unit with the first pinyin unit.
In some embodiments, the device further comprises a display, and wherein enabling the mute function comprises: receiving a subsequent pinyin letter sequence; and in response to determining that the subsequent pinyin-character sequence includes the first pinyin unit, displaying a candidate word associated with the modified subsequent pinyin-character sequence on the display, wherein the modified subsequent pinyin-character sequence is obtained by replacing the first pinyin unit in the subsequent pinyin-character sequence with a second pinyin unit.
In some embodiments, enabling the fuzzy tone function includes: prompting a user to start a fuzzy sound function; and enabling the fuzzy tone function in response to receiving the user confirmation.
In some embodiments, the actions further comprise: information indicative of the fuzzy tone function is sent to the server for synchronization with other devices of the user.
In some embodiments, the fuzzy tone pairs are selected from a predefined set of fuzzy tone pairs.
In some embodiments, the device further comprises a display, and wherein updating the count that the first pinyin element is modified to the second pinyin element includes: in response to receiving a modification to the pinyin-character sequence, displaying at least one candidate word corresponding to the modified pinyin-character sequence on the display; receiving a selection of one of the at least one candidate word, determining a modified pinyin-character sequence; and comparing the pinyin letter sequence with the modified pinyin letter sequence to determine a first pinyin unit and a second pinyin unit.
According to some embodiments, there is provided a computer program product, tangibly stored in a non-transitory computer storage medium and comprising machine executable instructions that, when executed by a device, cause the device to: receiving a sequence of pinyin letters from a user; in response to detecting that a first pinyin unit in the pinyin character sequence is modified to a second pinyin unit, updating the count of the first pinyin unit modified to the second pinyin unit, and forming a fuzzy tone pair by the first pinyin unit and the second pinyin unit; and in response to determining that the count exceeds a predefined threshold, enabling a fuzzy-tone function for replacing the first pinyin unit with the second pinyin unit.
In some embodiments, the machine executable instructions, when executed by the apparatus, cause the apparatus to: in response to the number of determinations being below a predefined threshold, the hold blur sound function is disabled.
In some embodiments, the state of another fuzzy-tone function is maintained while the fuzzy-tone function is enabled, the other fuzzy-tone function being used to replace the second pinyin unit with the first pinyin unit.
In some embodiments, enabling the fuzzy tone function includes: receiving a subsequent pinyin letter sequence; and in response to determining that the subsequent pinyin-character sequence includes the first pinyin unit, displaying a candidate word associated with the modified subsequent pinyin-character sequence obtained by replacing the first pinyin unit in the subsequent pinyin-character sequence with a second pinyin unit.
In some embodiments, enabling the fuzzy tone function includes: prompting a user to start a fuzzy sound function; and enabling the fuzzy tone function in response to receiving the user confirmation.
In some embodiments, the machine executable instructions, when executed by the apparatus, cause the apparatus to: information indicative of the fuzzy tone function is sent to the server for synchronization with other devices of the user.
In some embodiments, the fuzzy tone pairs are selected from a predefined set of fuzzy tone pairs.
In some embodiments, updating the count that the first pinyin unit is modified to the second pinyin unit includes: in response to receiving a modification to the pinyin-character sequence, displaying at least one candidate word corresponding to the modified pinyin-character sequence; receiving a selection of one of the at least one candidate word, determining a modified pinyin-character sequence; and comparing the pinyin letter sequence with the modified pinyin letter sequence to determine a first pinyin unit and a second pinyin unit.
The functions described herein above 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: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
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. A 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.
Further, while 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. Under 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 limitations on the scope of the 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 disclosed as example forms of implementing the claims.

Claims (16)

1. An input method, comprising:
receiving a sequence of pinyin letters from a user;
in response to detecting that a first pinyin unit in the sequence of pinyin letters is modified to a second pinyin unit, updating a count that the first pinyin unit is modified to the second pinyin unit, the first pinyin unit and the second pinyin unit forming a fuzzy-tone pairing; and
in response to determining that the count within a predefined input time period exceeds a predefined threshold, a fuzzy-tone function for replacing the first pinyin unit with the second pinyin unit is enabled.
2. The input method of claim 1, further comprising:
in response to determining that the count is below the predefined threshold, keeping the mute function disabled.
3. The input method of claim 1, wherein a state of another fuzzy-tone function is maintained while the fuzzy-tone function is enabled, the another fuzzy-tone function being used to replace the second pinyin unit with the first pinyin unit.
4. The input method of claim 1, wherein enabling a fuzzy-tone function comprises:
receiving a subsequent pinyin letter sequence; and
in response to determining that the subsequent pinyin-character sequence includes the first pinyin unit, displaying one or more candidate words associated with a modified subsequent pinyin-character sequence obtained by replacing the first pinyin unit in the subsequent pinyin-character sequence with the second pinyin unit.
5. The input method of claim 1, wherein enabling a blur sound function comprises:
prompting the user to enable the fuzzy sound function; and
in response to receiving the user's confirmation, enabling the fuzzy tone function.
6. The input method of claim 1, further comprising:
sending information indicative of the fuzzy tone function to a server for synchronization with other devices of the user.
7. The input method of claim 1, wherein the blur-sound pairs are selected from a predefined set of blur-sound pairs.
8. The input method of claim 1, wherein updating the count of the first pinyin unit that is modified to the second pinyin unit includes:
In response to receiving a modification to the pinyin-character sequence, displaying at least one candidate word corresponding to the pinyin-character sequence that is modified;
in response to receiving a selection of one of the at least one candidate word, determining the modified sequence of pinyin letters; and
and comparing the pinyin letter sequence with the modified pinyin letter sequence to determine the first pinyin unit and the second pinyin unit.
9. An input device, comprising:
a processing unit; and
a memory coupled to the processing unit and storing instructions that, when executed by the processing unit, cause the apparatus to perform the following acts:
receiving a sequence of pinyin letters from a user;
in response to detecting that a first pinyin unit in the sequence of pinyin letters is modified to a second pinyin unit, updating a count that the first pinyin unit is modified to the second pinyin unit, the first pinyin unit and the second pinyin unit forming a fuzzy-tone pairing; and
in response to determining that the count within a predefined input time period exceeds a predefined threshold, a fuzzy-tone function for replacing the first pinyin unit with the second pinyin unit is enabled.
10. The apparatus of claim 9, wherein the actions further comprise:
in response to determining that the count is below the predefined threshold, keeping the mute function disabled.
11. The apparatus of claim 9, wherein a state of another fuzzy-tone function is maintained while the fuzzy-tone function is enabled, the another fuzzy-tone function to replace the second pinyin unit with the first pinyin unit.
12. The device of claim 9, wherein the device further comprises a display, and wherein enabling the blur sound function comprises:
receiving a subsequent pinyin letter sequence; and
in response to determining that the subsequent pinyin-character sequence includes the first pinyin unit, displaying one or more candidate words associated with a modified subsequent pinyin-character sequence on the display, wherein the modified subsequent pinyin-character sequence is obtained by replacing the first pinyin unit in the subsequent pinyin-character sequence with the second pinyin unit.
13. The apparatus of claim 9, wherein enabling a blur sound function comprises:
prompting the user to enable the fuzzy sound function; and
In response to receiving the user's confirmation, enabling the fuzzy tone function.
14. The apparatus of claim 9, wherein the actions further comprise:
sending information indicative of the fuzzy tone function to a server for synchronization with other devices of the user.
15. The apparatus of claim 9, wherein the pair of blurrier pairs is selected from a predefined set of blurrier pairs.
16. The device of claim 9, wherein the device further comprises a display, and wherein updating the count that the first pinyin unit is modified to the second pinyin unit comprises:
in response to receiving a modification to the pinyin-character sequence, displaying at least one candidate word corresponding to the pinyin-character sequence that has been modified on the display;
in response to receiving a selection of one of the at least one candidate word, determining the modified sequence of pinyin letters; and
and comparing the pinyin letter sequence with the modified pinyin letter sequence to determine the first pinyin unit and the second pinyin unit.
CN201710103115.7A 2017-02-24 2017-02-24 Input method and related equipment Active CN108509057B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710103115.7A CN108509057B (en) 2017-02-24 2017-02-24 Input method and related equipment
TW107103948A TWI781139B (en) 2017-02-24 2018-02-05 Input method and associated device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710103115.7A CN108509057B (en) 2017-02-24 2017-02-24 Input method and related equipment

Publications (2)

Publication Number Publication Date
CN108509057A CN108509057A (en) 2018-09-07
CN108509057B true CN108509057B (en) 2022-07-12

Family

ID=63372827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710103115.7A Active CN108509057B (en) 2017-02-24 2017-02-24 Input method and related equipment

Country Status (2)

Country Link
CN (1) CN108509057B (en)
TW (1) TWI781139B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI771828B (en) * 2020-12-16 2022-07-21 英業達股份有限公司 Reset method, reset device and smart network interface card

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419506A (en) * 2008-10-14 2009-04-29 无敌科技(西安)有限公司 Fuzzy phoneme input method and device
CN101876853B (en) * 2009-04-29 2012-11-14 北京搜狗科技发展有限公司 Pinyin input method and device
US8976118B2 (en) * 2012-01-20 2015-03-10 International Business Machines Corporation Method for character correction
CN102929401A (en) * 2012-09-27 2013-02-13 百度国际科技(深圳)有限公司 Method and device for processing input method application resource or function based on input behavior

Also Published As

Publication number Publication date
TW201835747A (en) 2018-10-01
CN108509057A (en) 2018-09-07
TWI781139B (en) 2022-10-21

Similar Documents

Publication Publication Date Title
US10698604B2 (en) Typing assistance for editing
US9047268B2 (en) Character and word level language models for out-of-vocabulary text input
US8812302B2 (en) Techniques for inserting diacritical marks to text input via a user device
CN110969012B (en) Text error correction method and device, storage medium and electronic equipment
US9043300B2 (en) Input method editor integration
CN107798052B (en) Dictionary updating device and dictionary updating method
TW200900967A (en) Multi-mode input method editor
US10402474B2 (en) Keyboard input corresponding to multiple languages
CN108776587B (en) Data acquisition method and device, computer equipment and storage medium
CN107025393A (en) A kind of method and device of resource transfer
US10896287B2 (en) Identifying and modifying specific user input
US9141867B1 (en) Determining word segment boundaries
CN112233669A (en) Speech content prompting method and system
WO2020052060A1 (en) Method and apparatus for generating correction statement
CN108509057B (en) Input method and related equipment
US20170116174A1 (en) Electronic word identification techniques based on input context
US10726197B2 (en) Text correction using a second input
KR102158544B1 (en) Method and system for supporting spell checking within input interface of mobile device
US8548800B2 (en) Substitution, insertion, and deletion (SID) distance and voice impressions detector (VID) distance
CN112307748A (en) Method and device for processing text
CN112309385A (en) Voice recognition method, device, electronic equipment and medium
WO2018054127A1 (en) Handwriting input method and device
US9933994B2 (en) Receiving at a device audible input that is spelled
US10175770B2 (en) Proactive input method editor switching
US20200066176A1 (en) Method of education and electronic device

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