TW201835747A - Input method and associated device using a fuzzy sound function for enhancing input correction - Google Patents

Input method and associated device using a fuzzy sound function for enhancing input correction Download PDF

Info

Publication number
TW201835747A
TW201835747A TW107103948A TW107103948A TW201835747A TW 201835747 A TW201835747 A TW 201835747A TW 107103948 A TW107103948 A TW 107103948A TW 107103948 A TW107103948 A TW 107103948A TW 201835747 A TW201835747 A TW 201835747A
Authority
TW
Taiwan
Prior art keywords
pinyin
unit
sequence
fuzzy
modified
Prior art date
Application number
TW107103948A
Other languages
Chinese (zh)
Other versions
TWI781139B (en
Inventor
解明陽
李金宏
李靖
Original Assignee
美商微軟技術授權有限責任公司
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 美商微軟技術授權有限責任公司 filed Critical 美商微軟技術授權有限責任公司
Publication of TW201835747A publication Critical patent/TW201835747A/en
Application granted granted Critical
Publication of TWI781139B publication Critical patent/TWI781139B/en

Links

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

An input method and an associated device are provided in the embodiments of the present invention. In the input method, a phonetic alphabet sequence is received from a user. In response to detecting that a first phonetic unit in the phonetic alphabet sequence is modified into a second phonetic unit, the input method updates the count of the first phonetic unit being modified into the second phonetic unit, wherein the first phonetic unit and the second phonetic unit form a fuzzy sound pairing. In response to the determined count exceeding a predefined threshold, the input method activates a fuzzy sound function for replacing the first phonetic unit with the second phonetic unit.

Description

輸入方法與相關設備Input method and related equipment

本案的實施例涉及輸入方法與相關設備,並且更具體地涉及拼音輸入法。Embodiments of the present case relate to an input method and related equipment, and more particularly to a pinyin input method.

中文拼音輸入法允許用戶通過輸入漢字的拼音來輸入漢字。拼音輸入法通常向使用者呈現具有與該拼音相對應的讀音的一系列漢字,也稱為候選詞。拼音是基於普通話的讀音而設計的。在中國甚至在全世界,存在各種地方口音。這意味著很多說中文或者普通話的使用者難以區分拼音的發音相似的拼音單元,例如,n和l。模糊音功能可以通過將這些發音相似的拼音單元不加區分而允許使用者輸入這些發音相似的拼音單元。Chinese Pinyin input method allows users to input Chinese characters by inputting Chinese pinyin. The pinyin input method usually presents a series of Chinese characters with a pronunciation corresponding to the pinyin to the user, also known as candidate words. Pinyin is designed based on the pronunciation of Mandarin. There are various local accents in China and even around the world. This means that many users who speak Chinese or Mandarin have difficulty distinguishing Pinyin units with similar pronunciations, for example, n and l. The fuzzy sound function can allow the user to input these similarly pronounced Pinyin units without distinguishing them.

根據本案的一些實施例,提供了一種輸入方法。在該輸入方法中,從使用者接收拼音字母序列。回應於檢測到所述拼音字母序列中的第一拼音單元被修改為第二拼音單元,該輸入方法更新所述第一拼音單元被修改為所述第二拼音單元的計數,其中所述第一拼音單元和所述第二拼音單元形成模糊音配對。回應於決定所述計數超過預定義閾值,該輸入方法啟用模糊音功能以用於將所述第一拼音單元替換為所述第二拼音單元。According to some embodiments of the present invention, an input method is provided. In this input method, a sequence of pinyin letters is received from a user. In response to detecting that the first pinyin unit in the sequence of pinyin letters is modified to a second pinyin unit, the input method updates the count of the first pinyin unit being modified to the second pinyin unit, wherein the first The pinyin unit and the second pinyin unit form a fuzzy sound pairing. In response to determining that the count exceeds a predefined threshold, the input method enables a fuzzy sound function for replacing the first pinyin unit with the second pinyin unit.

提供發明內容部分是為了簡化的形式來介紹對概念的標識,其在下文的具體實施方式中將被進一步描述。發明內容部分無意標識要求保護的主題的關鍵特徵或主要特徵,也無意限制要求保護的主題的範圍。The summary is provided to introduce the identification of concepts in a simplified form, which will be further described in the detailed description below. The summary is not intended to identify key features or main features of the claimed subject matter, nor is it intended to limit the scope of the claimed subject matter.

現在將參照若干示例實施例來論述本案。應當理解,論述了這些實施例僅是為了使得本領域普通技術人員能夠更好地理解且因此實現本案,而不是暗示對本案的範圍的任何限制。The case will now be discussed with reference to several example embodiments. It should be understood that these embodiments are discussed only to enable those of ordinary skill in the art to better understand and thus implement the present invention, rather than to imply any limitation on the scope of the present invention.

如本文所使用的,術語「包括」及其變體要被解讀為意味著「包括但不限於」的開放式術語。術語「基於」要被解讀為「至少部分地基於」。術語「一個實施例」和「一種實施例」要被解讀為「至少一個實施例」。術語「另一個實施例」要被解讀為「至少一個其他實施例」。術語「第一」、「第二」等等可以指代不同的或相同的對象。下文還可能包括其他明確的和隱含的定義。As used herein, the term "including" and variations thereof are to be interpreted as open-ended terms meaning "including but not limited to." The term "based on" is to be interpreted as "based at least in part on." The terms "one embodiment" and "an embodiment" are to be interpreted as "at least one embodiment." The term "another embodiment" is to be interpreted as "at least one other embodiment". The terms "first", "second", etc. may refer to different or the same objects. Other explicit and implicit definitions may be included below.

以下參考附圖來說明本案的基本原理和若干示例實施例。圖1圖示能夠實施本案的多個實施例的計算設備100的方塊圖。應當理解,圖1所示出的計算設備100僅僅是示例性的,而不應當構成對本案所描述的實施例的功能和範圍的任何限制。如圖1所示,計算設備100包括通用計算設備形式的計算設備100。計算設備100的元件可以包括但不限於一或多個處理器或處理單元110、記憶體120、存放裝置130、一或多個通訊單元140、一或多個輸入設備150以及一或多個輸出設備160。The following describes the basic principle and several example embodiments of this case with reference to the drawings. FIG. 1 illustrates a block diagram of a computing device 100 capable of implementing various embodiments of the present case. It should be understood that the computing device 100 shown in FIG. 1 is merely exemplary and should not constitute any limitation on the function and scope of the embodiments described in this case. As shown in FIG. 1, the computing device 100 includes a computing device 100 in the form of a general-purpose computing device. Elements of computing device 100 may include, but are not limited to, one or more processors or processing units 110, memory 120, storage device 130, one or more communication units 140, one or more input devices 150, and one or more outputs Equipment 160.

在一些實施例中,計算設備100可以被實現為各種使用者終端或 服務終端。服務終端可以是各種服務提供方提供的服務器、大型計算設備等。使用者終端諸如是任意類型的移動終端、固定終端或便攜式終端,包括行動手機、多媒體電腦、多媒體平板、網際網路節點、通訊器、桌上型電腦、膝上型電腦、筆記本計算機、上網本計算機、平板電腦、個人通訊系統(PCS)設備、個人導覽設備、個人數位助理(PDA)、音訊/視頻播放機、數碼相機/攝像機、定位設備、電視接收器、無線電廣播接收器、電子書設備、遊戲設備或者其任意組合,包括這些設備的配件和外設或者其任意組合。還可預見到的是,計算設備100能夠支援任意類型的針對使用者的介面(諸如「可 佩戴」電路等)。In some embodiments, the computing device 100 may be implemented as various user terminals or service terminals. The service terminal may be a server provided by various service providers, a large computing device, and the like. User terminals such as any type of mobile terminal, fixed terminal or portable terminal, including mobile phones, multimedia computers, multimedia tablets, Internet nodes, communicators, desktop computers, laptop computers, notebook computers, netbook computers , Tablet, personal communication system (PCS) equipment, personal navigation equipment, personal digital assistant (PDA), audio / video player, digital camera / video camera, pointing device, television receiver, radio broadcast receiver, e-book device , Gaming devices or any combination thereof, including accessories and peripherals of these devices or any combination thereof. It is also foreseen that the computing device 100 can support any type of user-oriented interface (such as "wearable" circuits, etc.).

處理單元110可以是實際或虛擬處理器並且能夠根據記憶體120中儲存的程式來執行各種處理。在多處理器系統中,多個處理單元並存執行電腦可執行指令,以提高計算設備 100的並行處理能力。處理單元110也可以被稱為中央處理單元(CPU)、微處理器、控制器、微控制器。The processing unit 110 may be an actual or virtual processor and is capable of performing various processes according to a program stored in the memory 120. In a multi-processor system, multiple processing units coexist and execute computer-executable instructions to improve the parallel processing capability of the computing device 100. The processing unit 110 may also be referred to as a central processing unit (CPU), a microprocessor, a controller, and a microcontroller.

計算設備100通常包括多個電腦儲存媒體。這樣的媒體可以是計算設備100可存取的任何可以獲得的媒體,包括但不限於揮發性性和非揮發性媒體、可拆卸和不可拆卸媒體。記憶體120可以是易失性記憶體(例如暫存器、快取記憶體、隨機存取記憶體(RAM))、非揮發性記憶體(例如,唯讀記憶體(ROM)、電子可抹除可程式設計只讀記憶體(EEPROM)、快閃記憶體)或其某種組合。記憶體120可以包括一或多個輸入法模組122,其被配置為執行本文所描述的各種實施例的功能。輸入法模組122可以由處理單元110存取和運行,以實現相應功能。存放裝置130可以是可拆卸或不可拆卸的媒體,並且可以包括機器可讀取媒體,其能夠用於儲存資訊及/或資料並且可以 在計算設備100內被存取。Computing device 100 typically includes multiple computer storage media. Such media may be any available media accessible by the computing device 100, including but not limited to volatile and non-volatile media, removable and non-removable media. The memory 120 may be a volatile memory (such as a register, a cache memory, a random access memory (RAM)), a non-volatile memory (such as a read-only memory (ROM), and an electronic erasable memory) (Except 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 can be accessed and operated by the processing unit 110 to implement corresponding functions. The storage device 130 may be a removable or non-removable medium, and may include a machine-readable medium, which can be used to store information and / or information and can be accessed within the computing device 100.

通訊單元140實現通過通訊媒體與另外的計算設備進行通訊。附加地,計算設備100的元件的功能可以以單個計算集群或多個計算機器來實現,這些電腦器能夠通過通訊連接進行通信。因此,計算設備100可以使用與一或多個其他伺服器、個人電腦(PC)或者另一個一般網路節點的邏輯連接來在聯網環境中進行操作。計算設備100還可以根據需要通過通訊單元140與一或多個外部設備(未示出)進行通訊,外部設備諸如儲存設備、顯示設備等,與一或多個使得使用者與計算設備100互動的設備進行通訊,或者與使得計算設備100與一或多個其他計算設備通訊的任何設備(例如,網卡、數據機等)進行通訊。這樣的通訊可以經由輸入/輸出(I/O)介面(未示出)來執行。The communication unit 140 implements communication with another computing device through a communication medium. Additionally, the functions of the elements of the computing device 100 may be implemented as a single computing cluster or multiple computing machines capable of communicating via a communication connection. Accordingly, the computing device 100 may operate in a networked environment using a logical connection with one or more other servers, a personal computer (PC), or another general network node. The computing device 100 may also communicate with one or more external devices (not shown) through the communication unit 140 as needed. External devices such as storage devices, display devices, and the like, interact with one or more users that enable the user to interact with the computing device 100 The device communicates, or communicates with any device (eg, a network card, modem, etc.) that enables the computing device 100 to communicate with one or more other computing devices. Such communication may be performed via an input / output (I / O) interface (not shown).

輸入裝置150可以是一或多個各種輸入裝置,例如滑鼠、鍵盤、觸控式螢幕、追蹤球、語音輸入裝置等。輸出設備160可以是一個 或多個輸出設備,例如顯示器、揚聲器、印表機等。The input device 150 may be one or more various input devices, such as a mouse, a keyboard, a touch screen, a trackball, a voice input device, and the like. The output device 160 may be one or more output devices, such as a display, a speaker, a printer, and the like.

下面以中文拼音輸入法為例來討論本案的實施例的原理。用戶可以借助於鍵盤等輸入裝置150輸入拼音字母或拼音字母序列。模組122中的輸入方法可以從輸入裝置150接收使用者輸入,並且將輸出(例如,候選詞等)提供給顯示器等輸出設備160,以供使用者選擇。圖2圖示根據本案的一個實施例的輸入方法的使用者介面200。在該實施例中,使用者期望輸入漢字「中華」。使用者首先輸入與「中華」相對應的拼音字母序列「zhonghua」210。然後,輸入法返回一些候選詞220。例如,這些候選詞 可以包括:「中華」、「種花」、「中化」等,如圖2所示。使用者可以選擇所需的候選詞「中華」,此時,輸入法決定該候選詞,並可以將該候選詞輸入到相應的輸入視窗,例如文件或網頁中。The following uses the Chinese pinyin input method as an example to discuss the principle of the embodiment of the present case. The user can input a pinyin letter or a sequence of pinyin letters by means of an input device 150 such as a keyboard. The input method in the module 122 may receive user input from the input device 150 and provide output (for example, candidate words, etc.) to an output device 160 such as a display for the user to select. FIG. 2 illustrates a user interface 200 of an input method according to an embodiment of the present invention. In this embodiment, the user desires to input the Chinese character "Chinese". The user first enters the "Zhonghua" 210 sequence of pinyin letters corresponding to "Zhonghua". The input method then returns some candidate words 220. For example, these candidate words can include: "Chinese", "Growing flowers", "Sinchem", etc., as shown in Figure 2. The user can select the desired candidate word "Chinese". At this time, the input method determines the candidate word and can input the candidate word into a corresponding input window, such as a file or a web page.

由於方言等原因,一些使用者可以具有模糊音問題。對於中文而言,常見的模糊音配對包括:zh和z、ch和c、sh和s、n和l、r和l、in和ing、en和eng、an和ang以及h和f等。Due to dialects and other reasons, some users may have problems with fuzzy sounds. For Chinese, common fuzzy sound pairs 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, and h and f.

為瞭解決這些問題,可以在拼音輸入法中提供一系列的選項,使使用者選擇是否啟用某些模糊音功能。然而這僅在使用者意識到他們具有模糊音問題的時候才奏效。同時,一些用戶知道他們具有模糊音問題,然而並不知道具體是哪一對或多對模糊音,因而無法進行精確設置。In order to solve these problems, a series of options can be provided in the pinyin input method, so that the user can choose whether to enable certain fuzzy sound functions. However, this only works if the user realizes that they have the problem of murmurs. At the same time, some users know that they have the problem of fuzzy sounds, but they don't know which one or more pairs of fuzzy sounds, so they can't make accurate settings.

此外,一些拼音輸入法根據具體情況自動返回少量的對應於與輸入的拼音字母序列形成 模糊音配對的候選詞。然而,這種方法可能會對不具有模糊音問題的使用者造成干擾,而對具有模糊音問題的使用者可能也無法提供足夠多的候選詞。In addition, some pinyin input methods automatically return a small number of candidate words corresponding to the fuzzy pronunciation pairing with the input pinyin letter sequence according to the specific situation. However, this method may cause interference to users who do not have the problem of fuzzy sound, and may not provide enough candidates for users who have the problem of fuzzy sound.

為了更清楚地描述本案的原理,圖3和圖4圖示根據本公開的一個實施例的示例輸入程序。在本實施例中,用戶期望輸入漢字「南京」。漢字「南京」的正確的拼音字母 序列為「nanjing」。然而,該使用者可能具有將「l」誤認為「n」的模糊音問題。因此,該使用者輸入拼音字母序列「lanjing」。在這種情況下,輸入法返回與「lanjing」相對應的候選詞320,如圖3中的介面300所示。這時,使用者發現候選詞320中沒有想要的輸入「南京」,因而意識到自己輸入的拼音字母序列是錯誤的,從而將 拼音字母序列從「lanjing」修改為「nanjing」。例如,將「lanjing」修改為「nanjing」實質上表示第一拼音單元「l」被修改為第二拼音單元「n」。拼音單元可以由一個或多個拼音字母組成。例如,拼音單元可以表示聲母或者韻母,例如模糊音配對中的聲母或韻母,例如「zh」或「ang」。To more clearly describe the principles of the present case, FIGS. 3 and 4 illustrate an example input program according to one embodiment of the present disclosure. In this embodiment, the user desires to input the Chinese character "Nanjing". The correct pinyin sequence for the Chinese character "Nanjing" is "nanjing". However, the user may have a problem of murmurs that mistake "l" for "n". Therefore, the user enters the pinyin letter sequence "lanjing". In this case, the input method returns a candidate word 320 corresponding to "lanjing", as shown in the interface 300 in FIG. 3. At this time, the user finds that there is no desired input "Nanjing" in the candidate word 320, and thus realizes that the Pinyin alphabet sequence that he entered is wrong, and thus changes the Pinyin alphabet 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 unit can be composed of one or more pinyin letters. For example, a pinyin unit may represent an initial or final, such as an initial or final in a fuzzy pair, such as "zh" or "ang".

在一個實施例中,從「lanjing」到「nanjing」的這一修改通過將遊標移動到「lanjing」的「l」處,將「l」刪除,並鍵入「n」完成。在另一實施例中,這一修改通過將「lanjing」刪除,並重新鍵入「nanjing」而完成。在其他實施例中,也可以僅通過額外的輸入來完成這種修改,例如,將「cifan」修改為「chifan」以輸入「吃飯」或者將「fanxue」修改為「fangxue」以輸入「放學」。In one embodiment, this modification from "lanjing" to "nanjing" is done by moving the cursor to "l" at "lanjing", deleting "l", and typing "n". In another embodiment, this modification is done by deleting "lanjing" and re-entering "nanjing". In other embodiments, this modification can also be done only by additional input, for example, modify "cifan" to "chifan" to enter "eat" or "fanxue" to "fangxue" to enter "after school" .

如圖4所示,在介面400中,輸入法返回與修改後的拼音字母 序列「nanjing」相對應的候選詞420。這時,使用者可以從候選詞420中選擇想要的輸入「南京」。As shown in FIG. 4, in the interface 400, the input method returns candidate words 420 corresponding to the modified pinyin letter sequence "nanjing". At this time, the user can select a desired input "Nanjing" from the candidate words 420.

從以上示例輸入程序可以看出,在存在模糊音問題時,使用者通常會進行冗餘的輸入。當使用者由於自己的模糊音問題而輸入錯的拼音字母序列時,使用者無法從候選詞中獲得其想要的中文文本。在這種情況下,使用者通常會意識到自己的輸入錯誤。然後,用戶會對拼音字母序列進行修改以更正拼音字母序列,直到使用者看到正確的候選詞。使用者可以選擇所需的候選詞以完成輸入。As can be seen from the input program of the above example, when there is a problem of fuzzy sound, the user usually makes redundant input. When the user enters the wrong Pinyin letter sequence due to his own fuzzy pronunciation problem, the user cannot obtain the Chinese text he wants from the candidate words. In this case, the user often becomes aware of his or her input errors. Then, the user will modify the phonetic alphabet sequence to correct the phonetic alphabet sequence until the user sees the correct candidate word. The user can select the desired candidate words to complete the input.

基於此,本公開的一些實施例通過統計用戶的修改而檢測用戶是否存在使用者特定類型的模糊音問題。圖5圖示根據本案的一個實施例的輸入方法500的流程圖。Based on this, some embodiments of the present disclosure detect whether there is a user-specific type of fuzzy sound problem by counting user modifications. FIG. 5 illustrates a flowchart of an input method 500 according to an embodiment of the present invention.

在502,接收拼音字母序列。拼音字母序列可以包括一或多個拼音字母,例如,圖3中所輸入的拼音序列「lanjing」。At 502, a sequence of pinyin letters is received. The sequence of pinyin letters may include one or more pinyin letters, for example, the pinyin sequence "lanjing" entered in FIG. 3.

在504,回應於檢測到拼音字母序列中的第一拼音單元被修改為第二拼音單元,更新第一拼音單元被修改為第二拼音單元的計數。第一拼音單元和第二拼音單元形成模糊音配對。拼音單元可以由一個或多個拼音字母組成。例如,在圖3和圖4所示的示例中,第一拼音單元為「l」,第二拼音單元為「n」,這兩者形成模糊音配對。At 504, in response to detecting that the first pinyin unit in the sequence of pinyin letters is modified to a second pinyin unit, the count of the first pinyin unit being modified to a second pinyin unit is updated. The first pinyin unit and the second pinyin unit form a fuzzy pairing. The pinyin unit can be composed of one or more pinyin letters. For example, in the examples shown in Figs. 3 and 4, the first pinyin unit is "l" and the second pinyin unit is "n", both of which form a fuzzy phonetic pairing.

在一些實施例中,模糊音配對選自預定義的模糊音配對集合。預定義的模糊音配對集合可以是如前述的模糊音配對zh和z、ch和c、sh和s、n和l、r和l、in和ing、en和eng、an和ang以及h和f等。In some embodiments, the fuzzy pair is selected from a predefined set of fuzzy pairs. The predefined set of fuzzy sound pairs can be the aforementioned fuzzy sound pairs 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 Wait.

可以使用各種方法來檢測拼音字母序列中的第一拼音單元和第二拼音單元。在一些實施例中,可以在顯示器上顯示與拼音字母序列相對應的至少一個候選詞。然後,輸入方法可能沒有接收到對候選詞的選擇,而是接收到對該拼音字母序列的修改。例如,在圖3-圖4的示例中,輸入方法沒有檢測到使用者對「lanjing」的候選詞的選擇,而是檢測到對該拼音字母序列的修改。基於此,可以確定該拼音字母序列為「lanjing」。在使用者修改該拼音字母序列之後,可以接收使用者對候選詞的選擇,並基於對候選詞的選擇來決定拼音字母序列是否被修改。例如,在圖3-圖4的示例中,使用者選擇了候選詞「南京」。在這種情況下,可以決定使用者修改後的拼音字母序列為當前的拼音字母序列「nanjing」。基於修改前後的拼音字母序列「lanjing」和「nanjing」,可以決定兩者之間的區別,進而確定第一拼音單元和第二拼音單元。Various methods can be used to detect the first and second pinyin units 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. Then, the input method may not receive a selection of candidate words, but may receive a modification to the Pinyin alphabet sequence. For example, in the examples of FIGS. 3-4, the input method does not detect the user's selection of a candidate word for "lanjing", but detects a modification to the pinyin alphabet sequence. Based on this, it can be determined that the pinyin letter sequence is "lanjing". After the user modifies the pinyin letter sequence, the user can receive the selection of the candidate word, and decide whether the pinyin letter sequence is modified based on the selection of the candidate word. For example, in the example of FIGS. 3-4, the user selects the candidate word "Nanjing". In this case, it can be determined that the modified pinyin letter sequence of the user is the current pinyin letter sequence "nanjing". Based on the Pinyin alphabet sequences "lanjing" and "nanjing" before and after modification, the difference between the two can be determined, and then the first and second pinyin units can be determined.

在兩個拼音單元均為單個拼音的情況下,修改前後的兩個拼音可以很容易被決定為第一拼音單元和第二拼音單元。在其他情況下,可以基於拼音的聲母和韻母的情況來決定第一拼音單元和第二拼音單元。在一些示例中,可以通過決定該區別是聲母還是韻母來界定拼音單元。例如,如果修改前後的拼音字母序列為「cifan」和「chifan」,則一對聲母模糊音「c」和「ch」可以通過與韻母(在該示例中為i)的分界來決定。以這種方式,可以決定第一拼音單元為「c」,第二拼音單元為「ch」。In the case where both the pinyin units are single pinyin, the two pinyin 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 initials and finals of the pinyin. In some examples, a pinyin unit may be defined by deciding whether the difference is an initial or final. For example, if the sequence of the pinyin letters before and after the modification is "cifan" and "chifan", a pair of initial consonants "c" and "ch" can be determined by dividing from the finals (i in this example). In this way, it can be determined that the first pinyin unit is "c" and the second pinyin unit is "ch".

應當理解,還可以使用任何其他合適的方法來檢測拼音字母序列中的修改。例如,輸入方法可以追蹤用戶的輸入,並對輸入過程中的修改進行分析。例如,使用者在輸入程序中,可以將拼音字母序列「lanjing」中的「l」修改為「n」。輸入法可以通過分析這一程序而不依賴於對候選詞的選擇,通過鄰近的拼音字母來確定拼音字母序列中的修改。It should be understood that any other suitable method may also be used to detect modifications in the sequence of pinyin letters. For example, input methods can track user input and analyze changes during the input process. For example, in the input process, the user can modify the "l" in the pinyin alphabet sequence "lanjing" to "n". The input method can analyze this program without relying on the selection of candidate words, and determine the modification in the sequence of the pinyin letters by the neighboring pinyin letters.

在一些情況下,如果檢測到拼音字母序列中的修改,但是該修改沒有形成 模糊音配對,則無需對此進行計數。由於打字錯誤等原因,使用者也可能對拼音字母序列進行修改。這樣的修改通常與模糊音不相關,而可能與鍵盤配置等相關。以這種方式,可以減少與模糊音無關的輸入錯誤的影響,並降低系統資源。In some cases, if a modification in a sequence of pinyin letters is detected but the modification does not form a fuzzy phonetic pairing, this need not be counted. Due to typos and other reasons, the user may also modify the alphabetic alphabet sequence. Such a modification is usually not related to the fuzzy sound, but may be related to the keyboard configuration and the like. In this way, it is possible to reduce the influence of input errors that are not related to fuzzy sounds and reduce system resources.

在506,決定該計數是否超過預定義閾值。例如,如果使用者想要輸入「南京的張奶奶用牛奶製作拿鐵」並通過輸入裝置150輸入相應的一個拼音字母序列「lanjingdezhanglailaiyongliulaizhizuolatie」。此時,在顯示器上所顯示的候選詞裡不包括使用者想要的候選詞「南京的張奶奶用牛奶製作拿鐵」。因此,使用者通過輸入裝置150將該拼音字母序列修改為「nanjingdezhangnainaiyongniunaizhizuonatie」。此時,輸入法所呈現的候選詞包括「南京的張奶奶用牛奶製作拿鐵」。由於對該拼音字母序列進行了六次從第一拼音單元「l」到第二拼音單元「n」的修改,因此可以統計出計數為6。如果預定義閾值為5,則該計數超過預定義閾值。At 506, it is determined whether the count exceeds a predefined threshold. For example, if the user wants to input "Nanjing Zhang's grandma makes milk with milk" and enters a corresponding pinyin letter sequence "lanjingdezhanglailaiyongliulaizhizuolatie" through the input device 150. At this time, the candidate word displayed on the display does not include the candidate word "Grandma Zhang of Nanjing uses milk to make latte" that the user wants. Therefore, the user modifies the pinyin letter sequence to "nanjingdezhangnainaiyongniunaizhizuonatie" through the input device 150. At this time, the candidate words presented by the input method include "Grandma Zhang from Nanjing makes latte with milk". Since the Pinyin alphabet sequence has been modified six times from the first Pinyin unit "l" to the second Pinyin unit "n", it can be counted as 6. If the predefined threshold is 5, the count exceeds the predefined threshold.

在另一示例中,使用者在多個拼音字母序列中分別輸入「南京」、「奶奶」、「牛奶」、「拿鐵」等,並且每次都將「l」修改為「n」。在這種情況下,在使用者輸入「拿鐵」之前,這種修改的計數為「5」。在步驟502,從使用者接收拼音字母序列「latie」及修改後的拼音字母序列「natie」。此時,將計數更新為6。這樣,這種修改的次數超過閾值5。In another example, the user enters "Nanjing", "Grandma", "Milk", "Latte", etc. in multiple pinyin alphabet sequences, and changes "l" to "n" each time. In this case, before the user enters "latte", the count of this modification is "5". In step 502, a Pinyin alphabet sequence "latie" and a modified Pinyin alphabet sequence "natie" are received from a user. At this point, the count is updated to 6. In this way, the number of such modifications exceeds the threshold value of 5.

在一些實施例中,如果在506處決定計數在預定義閾值以下,保持該模糊音功能被禁用。例如,這一輸入方法可以切換回502,繼續接收拼音字母序列。In some embodiments, if it is decided at 506 that the count is below a pre-defined threshold, the keep-murmur function is disabled. For example, this input method can be switched back to 502 to continue receiving the Pinyin alphabet sequence.

如果在506處決定該計數超過預定義閾值,則在508啟用模糊音功能。在一些情況下,可以考慮在一個預定義的輸入時間段內(例如,1星期)這種修改的計數是否超過預定義閾值(例如,5次)。如果在1星期內這種修改的計數在5次以下,則可以將這種修改的計數重置為零。If it is determined at 506 that the count exceeds a predefined threshold, then a murmur function is enabled at 508. In some cases, it may be considered whether the count of such modifications exceeds a predefined threshold (for example, 5 times) during a predefined input period (for example, 1 week). If the number of such modifications is less than 5 times in a week, the number of such modifications can be reset to zero.

在一些實施例中,在啟用這一模糊音功能時,可以保持與其相對應的另一模糊音功能的狀態。相對應的模糊音功能可以用於將第二拼音單元替換為第一拼音單元。例如,在啟用用於將「l」替換為「n」的模糊音功能的情況下,可以保持與之相對應的模糊音功能(其用於將「n」替換為「l」)的狀態。在該示例中,如果相對應的模糊音功能事先沒有啟用,則在啟用將「l」替換為「n」的模糊音功能時,可以保持相對應的模糊音功能沒有被 啟用的狀態。如果相對應的模 糊音功能已經被啟用,則在啟用將「l」替換為「n」的模糊音功能時,也可以保持相對應的模糊音功能已經被 啟用的狀態。在這些實施例中,輸入方法可以精確地追蹤使用者特定的模糊音問題,甚至可以精確到單向的模糊音問題。因此,這種輸入方法能夠盡可能少啟用與該使用者不相關的模糊音問題,從而在解決模糊音問題的程序中儘量少提供(甚至不提供)冗餘的資訊。In some embodiments, when this fuzzy sound function is enabled, the state of another fuzzy sound function corresponding to it can be maintained. The corresponding fuzzy sound function can be used to replace the second phonetic unit with the first phonetic unit. For example, when the fuzzy sound function for replacing "l" with "n" is enabled, the state of the corresponding fuzzy sound function (which is used to replace "n" with "l") can be maintained. In this example, if the corresponding fuzzy sound function is not enabled in advance, when the fuzzy sound function in which "l" is replaced with "n" is enabled, the corresponding fuzzy sound function may not be enabled. If the corresponding fuzzy sound function is already enabled, when the fuzzy sound function that replaces "l" with "n" is enabled, the corresponding fuzzy sound function can be maintained. In these embodiments, the input method can accurately track user-specific fuzzy sound problems, and can even be accurate to one-way fuzzy sound problems. Therefore, this input method can enable as few fuzzy sound issues as possible that are not relevant to the user, so as to provide as little (or even no) redundant information as possible in the process of solving fuzzy sound issues.

在一些實施例中,啟用模糊音功能可以是輸入方法或者輸入法模組122自動啟用模糊音功能。例如,決定後續拼音字母序列是否包括第一拼音單元。如果後續拼音字母序列包括第一拼音單元,則顯示與經修改的後續拼音字母序列相關聯的候選詞。經修改的後續拼音字母序列通過將後續拼音字母序列中的第一拼音單元替換為第二拼音單元而獲得。圖6圖示根據本案的一個實施例的輸入方法在開啟模糊音功能之後的使用者介面600。如圖所示,使用者輸入了拼音字母序列610(「lanjing」),則可以顯示與「nanjing」相關聯的候選詞,例如「南京」、「南靖」等,如候選詞620所示。另外,還可以顯示與原始未修改的拼音字母序列相對應的候選詞。例如,在使用者介面600中,還顯示了「藍鯨」、「藍鏡」等與拼音字母序列「lanjing」相對應的候選詞。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 a subsequent sequence of Pinyin letters includes a first Pinyin unit. If the subsequent Pinyin alphabet sequence includes the first Pinyin unit, the candidate words associated with the modified subsequent Pinyin alphabet sequence are displayed. The modified subsequent phonetic alphabet sequence is obtained by replacing the first phonetic unit with the second phonetic unit in the subsequent phonetic alphabet sequence. FIG. 6 illustrates a user interface 600 of the input method according to an embodiment of the present invention after the fuzzy sound function is turned on. As shown in the figure, the user has input a Pinyin letter sequence 610 ("lanjing"), and can display candidate words related to "nanjing", such as "Nanjing", "Nanjing", etc., as shown in candidate word 620. In addition, candidate words corresponding to the original unmodified pinyin alphabet sequence can be displayed. For example, in the user interface 600, candidate words corresponding to the pinyin letter sequence "lanjing" such as "blue whale" and "blue mirror" are also displayed.

在一些實施例中,輸入方法還可以提示使用者啟用模糊音功能。例如,通過在顯示器上顯示提示視窗,詢問用戶是否啟用這一模糊音功能。在一些示例中,可以將使用者逐步引導到啟用相關模糊音功能的選項。如果接收到使用者的確認,則啟用這一模糊音功能。In some embodiments, the input method may also prompt the user to enable the fuzzy sound function. For example, by displaying a prompt window on the display, the user is asked whether to enable this blurring function. In some examples, the user may be guided step by step to the option to enable the related fuzzing feature. If a confirmation from the user is received, this mute function is enabled.

在一些實施例中,輸入方法可以將指示模糊音功能的資訊發送至伺服器處,以與使用者的其他設備同步。例如,可以將模糊音問題和/或相關設置存儲在雲端,用於與使用者的其他設備同步。當使用者在其他設備上登陸帳戶時,可以自動地獲取相關資訊及/或設置,以便於使用者輸入。In some embodiments, the input method may send information indicating the fuzzy sound function to the server to synchronize with other devices of the user. For example, fuzzing issues and / or related settings can be stored in the cloud for synchronization with other users' devices. When the user logs in to the account on other devices, the relevant information and / or settings can be automatically obtained for the user to input.

以下列出了本案的一些示例實施例。Some example embodiments of this case are listed below.

根據一些實施例,提供了一種輸入方法。該輸入方法包括:從使用者接收拼音字母序列;回應於檢測到拼音字母序列中的第一拼音單元被修改為第二拼音單元,更新第一拼音單元被修改為第二拼音單元的計數,第一拼音單元和第二拼音單元形成模糊音配對;及回應於決定計數超過預定義閾值,啟用模糊音功能以用於將第一拼音單元替換為第二拼音單元。According to some embodiments, an input method is provided. The input method includes: receiving a sequence of pinyin letters from a user; and in response to detecting that a first pinyin unit in the sequence of pinyin letters is modified to a second pinyin unit, updating the count of the first pinyin unit modified to a second pinyin unit, A phonetic unit and a second phonetic unit form a fuzzy phonetic pairing; and in response to a decision count exceeding a predefined threshold, the phonetic phonetic function is enabled for replacing the first phonetic phonetic unit with a second phonetic phonetic unit.

在一些實施例中,輸入方法還包括:響應於確定次數在預定義閾值以下,保持模糊音功能被禁用。In some embodiments, the input method further includes: in response to the number of determinations being below a predefined threshold, the keep-murmur function is disabled.

在一些實施例中,在啟用模糊音功能時保持另一模糊音功能的狀態,另一模糊音功能用於將第二拼音單元替換為第一拼音單元。In some embodiments, the state of another fuzzy sound function is maintained when the fuzzy sound function is enabled, and the other fuzzy sound function is used to replace the second phonetic unit with the first phonetic unit.

在一些實施例中,啟用模糊音功能包括:接收後續拼音字母序列;及回應於決定後續拼音字母序列包括第一拼音單元,顯示與經修改的後續拼音字母序列相關聯的候選詞,其中經修改的後續拼音字母序列通過將後續拼音字母序列中的第一拼音單元替換為第二拼音單元而獲得。In some embodiments, enabling the fuzzy phonetic function includes: receiving a subsequent pinyin letter sequence; and in response to determining that the subsequent pinyin letter sequence includes a first pinyin unit, displaying candidate words associated with the modified subsequent pinyin letter sequence, wherein the modified word The subsequent phonetic alphabet sequence of is obtained by replacing the first phonetic unit in the subsequent phonetic alphabet sequence with the second phonetic unit.

在一些實施例中,啟用模糊音功能包括:提示用戶啟用模糊音功能;及回應於接收到使用者的確認,啟用模糊音功能。In some embodiments, enabling the mute function includes: prompting the user to enable the mute function; and in response to receiving confirmation from the user, enabling the mute function.

在一些實施例中,輸入方法還包括:將指示模糊音功能的信息發送至伺服器處,以與使用者的其他設備同步。In some embodiments, the input method further includes: sending the information indicating the fuzzy sound function to the server to synchronize with other devices of the user.

在一些實施例中,模糊音配對選自預定義的模糊音配對集合。In some embodiments, the fuzzy pair is selected from a predefined set of fuzzy pairs.

在一些實施例中,更新第一拼音單元被修改為第二拼音單元的計數包括:回應於接收到對拼音字母序列的修改,顯示與經修改的拼音字母序列對應的至少一個候選詞;接收對至少一個候選詞中的一個候選詞的選擇,確定經修改的拼音字母序列;以及比較拼音字母序列和經修改的拼音字母序列,決定第一拼音單元和第二拼音單元。In some embodiments, updating the count of the first pinyin unit being modified to the second pinyin unit includes: in response to receiving a modification of the pinyin letter sequence, displaying at least one candidate word corresponding to the modified pinyin letter sequence; receiving the pair The selection of one candidate word among the at least one candidate word determines a modified pinyin letter sequence; and comparing the pinyin letter sequence and the modified pinyin letter sequence to determine a first pinyin unit and a second pinyin unit.

根據一些實施例,提供了一種設備,包括:處理單元;及記憶體,耦合至處理單元並且存儲有指令,指令在由處理單元執行時執行以下動作:從使用者接收拼音字母序列;響應於檢測到拼音字母序列中的第一拼音單元被修改為第二拼音單元,更新第一拼音單元被修改為第二拼音單元的計數,第一拼音單元和第二拼音單元形成模糊音配對;及回應於決定計數超過預定義閾值,啟用模糊音功能以用於將第一拼音單元替換為第二拼音單元。According to some embodiments, a device is provided, comprising: a processing unit; and a memory coupled to the processing unit and storing instructions that, when executed by the processing unit, perform the following actions: receiving a sequence of pinyin letters from a user; and responding to detection The first pinyin unit in the sequence of pinyin letters is modified to the second pinyin unit, the count of the first pinyin unit is modified to the second pinyin unit, and the first pinyin unit and the second pinyin unit form a fuzzy phonetic pair; It is determined that the count exceeds a predefined threshold, and the fuzzy sound function is enabled for replacing the first phonetic unit with the second phonetic unit.

在一些實施例中,動作還包括:回應於決定次數在預定義閾值以下,保持模糊音功能被禁用。In some embodiments, the action further comprises: in response to the number of decisions being below a predefined threshold, the keep-murmur function is disabled.

在一些實施例中,在啟用模糊音功能時保持另一模糊音功能的狀態,另一模糊音功能用於將第二拼音單元替換為第一拼音單元。In some embodiments, the state of another fuzzy sound function is maintained when the fuzzy sound function is enabled, and the other fuzzy sound function is used to replace the second phonetic unit with the first phonetic unit.

在一些實施例中,設備還包括顯示器,並且其中啟用模糊音功能包括:接收後續拼音字母序列;及回應於確定後續拼音字母序列包括第一拼音單元,在顯示器上顯示與經修改的後續拼音字母序列相關聯的候選詞,其中經修改的後續拼音字母序列通過將後續拼音字母序列中的第一拼音單元替換為第二拼音單元而獲得。In some embodiments, the device further includes a display, and enabling the fuzzy pronunciation function includes: receiving a subsequent Pinyin letter sequence; and in response to determining that the subsequent Pinyin letter sequence includes a first Pinyin unit, displaying the modified subsequent Pinyin letter on the display Sequence-associated candidate words, wherein the modified subsequent Pinyin letter sequence is obtained by replacing the first Pinyin unit with the second Pinyin unit in the subsequent Pinyin letter sequence.

在一些實施例中,啟用模糊音功能包括:提示使用者啟用模糊音功能;及回應於接收到使用者的確認,啟用模糊音功能。In some embodiments, enabling the mute function includes: prompting the user to enable the mute function; and in response to receiving confirmation from the user, enabling the mute function.

在一些實施例中,動作還包括:將指示模糊音功能的資訊發送至伺服器處,以與使用者的其他設備同步。In some embodiments, the action further includes: sending information indicating the fuzzy sound function to the server to synchronize with other devices of the user.

在一些實施例中,模糊音配對選自預定義的模糊音配對集合。In some embodiments, the fuzzy pair is selected from a predefined set of fuzzy pairs.

在一些實施例中,設備還包括顯示器,並且其中更新第一拼音單元被修改為第二拼音單元的計數包括:響應於接收到對拼音字母序列的修改,在顯示器上顯示與經修改的拼音字母序列對應的至少一個候選詞;接收對至少一個候選詞中的一個候選詞的選擇,確定經修改的拼音字母序列;及比較拼音字母序列和經修改的拼音字母序列,決定第一拼音單元和第二拼音單元。In some embodiments, the device further includes a display, and wherein updating the count of the first pinyin unit being modified to the second pinyin unit includes: in response to receiving a modification to the sequence of the pinyin letter, displaying the modified pinyin letter on the display Receiving at least one candidate word corresponding to the sequence; receiving a selection of at least one candidate word from the at least one candidate word, determining a modified pinyin letter sequence; and comparing the pinyin letter sequence and the modified pinyin letter sequence to determine a first pinyin unit and Two pinyin units.

根據一些實施例,提供了一種電腦程式產品,電腦程式產品被有形地儲存在非瞬態電腦儲存媒體中 並且包括機器可執行指令,機器可執行指令在由設備執行時使設備:從使用者接收拼音字母序列;回應於檢測到拼音字母序列中的第一拼音單元被修改為第二拼音單元,更新第一拼音單元被修改為第二拼音單元的計數,第一拼音單元和第二拼音單元形成模糊音配對;及回應於決定計數超過預定義閾值,啟用模糊音功能以用於將第一拼音單元替 換為第二拼音單元。在一些實施例中,機器可執行指令在由設備執行時使設備:響應於決定次數在預定義閾值以下,保持模糊音功能被禁用。在一些實施例中,在啟用模糊音功能時保持另一模糊音功能的狀態,另一模糊音功能用於將第二拼音單元替換為第一拼音單元。According to some embodiments, a computer program product is provided that is tangibly stored in a non-transitory computer storage medium and includes machine-executable instructions that, when executed by a device, cause the device to: receive from a user Pinyin alphabet sequence; in response to detecting that the first pinyin unit is modified to the second pinyin unit, updating the count of the first pinyin unit being modified to the second pinyin unit, and the first and second pinyin units are formed Fuzzy sound pairing; and in response to the decision count exceeding a predefined threshold, enabling the fuzzy sound function for replacing the first phonetic unit with the second phonetic unit. In some embodiments, the machine-executable instructions, when executed by the device, cause the device: in response to the number of decisions being below a predefined threshold, the keep-murmur function is disabled. In some embodiments, the state of another fuzzy sound function is maintained when the fuzzy sound function is enabled, and the other fuzzy sound function is used to replace the second phonetic unit with the first phonetic unit.

在一些實施例中,啟用模糊音功能包括:接收後續拼音字母序列;及回應於決定後續拼音字母序列包括第一拼音單元,顯示與經修改的後續拼音字母序列相關聯的候選詞,其中經修改的後續拼音字母序列通過將後續拼音字母序列中的第一拼音單元替換為第二拼音單元而獲得。In some embodiments, enabling the fuzzy phonetic function includes: receiving a subsequent pinyin letter sequence; and in response to determining that the subsequent pinyin letter sequence includes a first pinyin unit, displaying candidate words associated with the modified subsequent pinyin letter sequence, wherein the modified word The subsequent phonetic alphabet sequence of is obtained by replacing the first phonetic unit in the subsequent phonetic alphabet sequence with the second phonetic unit.

在一些實施例中,啟用模糊音功能包括:提示用戶啟用模糊音功能;及回應於接收到使用者的確認,啟用模糊音功能。In some embodiments, enabling the mute function includes: prompting the user to enable the mute function; and in response to receiving confirmation from the user, enabling the mute function.

在一些實施例中,機器可執行指令在由設備執行時使設備:將指示模糊音功能的資訊發送至伺服器處,以與使用者的其他設備同步。In some embodiments, the machine-executable instructions, when executed by the device, cause the device to: send information indicating a mute function to a server to synchronize with other devices of the user.

在一些實施例中,模糊音配對選自預定義的模糊音配對集合。In some embodiments, the fuzzy pair is selected from a predefined set of fuzzy pairs.

在一些實施例中,更 新 第一拼音單元被修改為第二拼音單元的計數包括:回應於接收到對拼音字母序列的修改,顯示與經修改的拼音字母序列對應的至少一個候選詞;接收對至少一個候選詞中的一個候選詞的選擇,決定經修改的拼音字母序列;以及比較拼音字母序列和經修改的拼音字母序列,決定第一拼音單元和第二拼音單元。In some embodiments, updating the count of the first pinyin unit being modified to the second pinyin unit includes: in response to receiving a modification of the pinyin letter sequence, displaying at least one candidate word corresponding to the modified pinyin letter sequence; receiving the pair The selection of one candidate word among the at least one candidate word determines the modified pinyin letter sequence; and comparing the pinyin letter sequence and the modified pinyin letter sequence to determine a first pinyin unit and a second pinyin unit.

本文中以上描述的功能可以至少部分地由一個或多個硬件邏輯部件來執行。例如,非限制性地,可以使用的示範類型的硬件邏輯部件包括:現場可程式設計閘陣列(FPGA)、專用積體電路(ASIC)、專用標準產品(ASSP)、片上系統(SOC)、複雜可程式設計邏輯裝置(CPLD)等等。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 can be used include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Product (ASSP), System on Chip (SOC), Complex Programmable logic device (CPLD), etc.

用於實施本案的方法的程序代碼可以采用一個或多個編程語言的任何組合來編寫。這些程式碼可以提供給通用計算機、專用電腦或其他可程式設計資料處理裝置的處理器或控制器,使得程序代碼當由處理器或控制器執行時使流程圖和/或方塊圖中所規定的功能/操作被實施。程式碼可以完全在機器上執行、部分地在機器上執行,作為獨立套裝軟體部分地在機器上執行且部分地在遠程機器上執行或完全在遠端機器或伺服器上執行。The program code for implementing the method of the present case may be written in any combination of one or more programming languages. These codes may be provided to a processor or controller of a general-purpose computer, special purpose computer, or other programmable data processing device, so that the program codes, when executed by the processor or controller, cause the flow chart and / or block diagram to specify The function / operation is implemented. The code can be executed entirely on the machine, partly on the machine, partly as a stand-alone software package on the machine and partly on the remote machine or entirely on the remote machine or server.

在本案的上下文中,機器可讀介質可以是有形的介質,其可以包含或儲存以供指令執行系統、裝置或設備使用或與指令執行系統、裝置或設備結合地使用的程式。機器可讀介質可以是機器可讀信號媒體或機器可讀儲存媒體。機器可讀介質可以包括但不限於電子的、磁性的、光學的、電磁的、紅外的、或半導體系統、裝置或設備,或者上述內容的任何合適組合。機器可讀存儲介質的更具體示例會包括基於一或多個線的電氣連接、可攜式電腦盤、硬碟、隨機存取記憶體(RAM)、唯讀記憶體(ROM)、可抹除可程式設計只讀記憶體(EPROM或快閃記憶體)、光纖、便捷式緊湊盤唯讀儲存器(CD-ROM)、光學儲存設備、磁儲存設備、或上述內容的任何合適組合。In the context of this case, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, device, or device. A 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 machine-readable storage media would include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.

此外,雖然採用特定次序描繪了各操作,但是這不應當理解為要求這些操作以所示出的特定次序或以順序次序執行來執行。在一定環境下,多工和並行處理可能是有利的。同樣地,雖然在上面論述中包含了若干具體實現細節,但是這些不應當被解釋為對本公開的範圍的限制。在單獨的實施例的上下文中描述的某些特征還可以組合地實現在單個實施例中。相反地,在單個實施例的上下文中描述的各種特征也可以單獨地或以任何合適的子組合的方式實現在多個實施例中。Further, although the operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or performed in a sequential order. Under certain circumstances, multiplexing and parallel processing may be advantageous. As such, although several specific implementation details are included in the discussion above, these should not be construed as limiting 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 individually 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 scope of the appended patent application is not necessarily limited to the specific features or acts described above. Rather, the specific features and actions described above are merely example forms of implementing the scope of a patent application.

100‧‧‧計算設備100‧‧‧ Computing Equipment

110‧‧‧處理單元110‧‧‧processing unit

120‧‧‧存放裝置120‧‧‧Storage device

122‧‧‧輸入法模組輸122‧‧‧Input method module input

130‧‧‧存放裝置130‧‧‧Storage device

140‧‧‧通訊單元140‧‧‧ communication unit

150‧‧‧輸入裝置150‧‧‧ input device

160‧‧‧輸出設備160‧‧‧output device

200‧‧‧使用者介面200‧‧‧ user interface

210‧‧‧拼音字母序列「zhonghua」210‧‧‧ Pinyin alphabet sequence "zhonghua"

220‧‧‧候選詞220‧‧‧candidates

300‧‧‧介面300‧‧‧ interface

320‧‧‧候選詞320‧‧‧ Candidates

400‧‧‧介面400‧‧‧ interface

420‧‧‧候選詞420‧‧‧candidates

500‧‧‧輸入方法500‧‧‧ input method

502‧‧‧步驟502‧‧‧step

504‧‧‧步驟504‧‧‧step

506‧‧‧步驟506‧‧‧step

508‧‧‧步驟508‧‧‧step

600‧‧‧使用者介面600‧‧‧user interface

610‧‧‧拼音字母序列610‧‧‧ Phonetic Alphabet Sequence

620‧‧‧候選詞620‧‧‧candidates

圖1是示出根據本案的實施例的電腦系統圖;FIG. 1 is a computer system diagram showing an embodiment of the present invention;

圖2圖示根據本案的一個實施例的輸入方法的使用者介面;2 illustrates a user interface of an input method according to an embodiment of the present invention;

圖3圖示根據本案的一個實施例的輸入方法的示例輸入;3 illustrates an example input of an input method according to an embodiment of the present case;

圖4圖示根據本案的一個實施例的輸入方法的示例輸入;4 illustrates an example input of an input method according to an embodiment of the present case;

圖5圖示根據本案的一個實施例的輸入方法的流程圖;以及5 illustrates a flowchart of an input method according to an embodiment of the present invention; and

圖6圖示根據本案的一個實施例的輸入方法的示例介面。FIG. 6 illustrates an example interface of an input method according to an embodiment of the present invention.

這些附圖中,相同或相似參考符號用於表示相同或相似元素。In the drawings, the same or similar reference signs are used to indicate the same or similar elements.

國內寄存資訊 (請依寄存機構、日期、號碼順序註記) 無Domestic hosting information (please note in order of hosting institution, date, and number) None

國外寄存資訊 (請依寄存國家、機構、日期、號碼順序註記) 無Information on foreign deposits (please note in order of deposit country, institution, date, and number) None

Claims (16)

一種輸入方法,包括: 從用戶接收拼音字母序列; 回應於檢測到所述拼音字母序列中的第一拼音單元被修改為第二拼音單元,更新所述第一拼音單元被修改為所述第二拼音單元的計數,所述第一拼音單元和所述第二拼音單元形成模糊音配對;以及 回應於確定所述計數超過預定義閾值,啟用模糊音功能以用於將所述第一拼音單元替換為所述第二拼音單元。An input method includes: receiving a Pinyin alphabet sequence from a user; and in response to detecting that a first Pinyin unit in the Pinyin alphabet sequence is modified to a second Pinyin unit, updating the first Pinyin unit to be modified to the second A count of a pinyin unit, the first pinyin unit and the second pinyin unit forming a fuzzy phonetic pairing; and in response to determining that the count exceeds a predefined threshold, enabling a fuzzy phonetic function for replacing the first phonetic phonetic unit Is the second pinyin unit. 根據權利要求1所述的輸入方法,還包括: 回應於確定所述次數在所述預定義閾值以下,保持所述模糊音功能被禁用。The input method according to claim 1, further comprising: in response to determining that the number of times is below the predefined threshold, keeping the fuzzy sound function disabled. 根據權利要求1所述的輸入方法,其中在啟用所述模糊音功能時保持另一模糊音功能的狀態,所述另一模糊音功能用於將所述第二拼音單元替換為所述第一拼音單元。The input method according to claim 1, wherein a state of another fuzzy sound function is maintained when the fuzzy sound function is enabled, the another fuzzy sound function is used to replace the second pinyin unit with the first Pinyin unit. 根據權利要求1所述的輸入方法,其中啟用模糊音功能包括: 接收後續拼音字母序列;以及 回應於確定所述後續拼音字母序列包括所述第一拼音單元,顯示與經修改的後續拼音字母序列相關聯的候選詞,其中所述經修改的後續拼音字母序列通過將所述後續拼音字母序列中的所述第一拼音單元替換為所述第二拼音單元而獲得。The input method according to claim 1, wherein enabling the fuzzy phonetic function comprises: receiving a subsequent phonetic alphabet sequence; and in response to determining that the subsequent phonetic alphabet sequence includes the first phonetic unit, displaying and modifying the modified subsequent phonetic alphabet sequence An associated candidate word, wherein the modified subsequent Pinyin letter sequence is obtained by replacing the first Pinyin unit in the subsequent Pinyin letter sequence with the second Pinyin unit. 根據權利要求1所述的輸入方法,其中啟用模糊音功能包括: 提示所述用戶啟用所述模糊音功能;以及 回應於接收到所述用戶的確認,啟用所述模糊音功能。The input method according to claim 1, wherein enabling the fuzzy sound function comprises: prompting the user to enable the fuzzy sound function; and in response to receiving a confirmation from the user, enabling the fuzzy sound function. 根據權利要求1所述的輸入方法,還包括: 將指示所述模糊音功能的資訊發送至伺服器處,以與所述使用者的其他設備同步。The input method according to claim 1, further comprising: sending information indicating the fuzzy sound function to a server to synchronize with other devices of the user. 根據權利要求1所述的輸入方法,其中所述模糊音配對選自預定義的模糊音配對集合。The input method according to claim 1, wherein the fuzzy pair is selected from a predefined set of fuzzy pairs. 根據權利要求1所述的輸入方法,其中更新所述第一拼音單元被修改為所述第二拼音單元的計數包括: 回應於接收到對所述拼音字母序列的修改,顯示與經修改的所述拼音字母序列對應的至少一個候選詞; 接收對所述至少一個候選詞中的一個候選詞的選擇,確定經修改的所述拼音字母序列;以及 比較所述拼音字母序列和經修改的所述拼音字母序列,確定所述第一拼音單元和所述第二拼音單元。The input method according to claim 1, wherein updating the count of the first pinyin unit being modified to the second pinyin unit comprises: in response to receiving a modification to the sequence of the pinyin letter, displaying the modified At least one candidate word corresponding to the pinyin letter sequence; receiving a selection of one candidate word among the at least one candidate word, determining the modified pinyin letter sequence; and comparing the pinyin letter sequence with the modified one A sequence of Pinyin letters to determine the first Pinyin unit and the second Pinyin unit. 一種設備,包括: 處理單元;以及 記憶體,耦合至所述處理單元並且存儲有指令,所述指令在由所述處理單元執行時執行以下動作: 從用戶接收拼音字母序列; 回應於檢測到所述拼音字母序列中的第一拼音單元被修改為第二拼音單元,更新所述第一拼音單元被修改為所述第二拼音單元的計數,所述第一拼音單元和所述第二拼音單元形成模糊音配對;以及 回應於確定所述計數超過預定義閾值,啟用模糊音功能以用於將所述第一拼音單元替換為所述第二拼音單元。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 following actions: receive a sequence of pinyin letters from a user; and respond to detecting all The first pinyin unit in the pinyin alphabet sequence is modified to a second pinyin unit, and the first pinyin unit is updated to a count of the second pinyin unit, and the first pinyin unit and the second pinyin unit are updated. Forming a fuzzy sound pairing; and in response to determining that the count exceeds a predefined threshold, enabling a fuzzy sound function for replacing the first pinyin unit with the second pinyin unit. 根據權利要求9所述的設備,其中所述動作還包括: 回應於確定所述次數在所述預定義閾值以下,保持所述模糊音功能被禁用。The device of claim 9, wherein the action further comprises: in response to determining that the number of times is below the predefined threshold, keeping the fuzzy sound function disabled. 根據權利要求9所述的設備,其中在啟用所述模糊音功能時保持另一模糊音功能的狀態,所述另一模糊音功能用於將所述第二拼音單元替換為所述第一拼音單元。The device according to claim 9, wherein the state of another fuzzy sound function is maintained when the fuzzy sound function is enabled, the another fuzzy sound function for replacing the second pinyin unit with the first pinyin unit. 根據權利要求9所述的設備,其中所述設備還包括顯示器,並且其中啟用模糊音功能包括: 接收後續拼音字母序列;以及 回應於確定所述後續拼音字母序列包括所述第一拼音單元,在所述顯示器上顯示與經修改的後續拼音字母序列相關聯的候選詞,其中所述經修改的後續拼音字母序列通過將所述後續拼音字母序列中的所述第一拼音單元替換為所述第二拼音單元而獲得。The device according to claim 9, wherein the device further comprises a display, and wherein enabling the fuzzy sound function comprises: receiving a subsequent phonetic alphabet sequence; and in response to determining that the subsequent phonetic alphabet sequence includes the first phonetic unit, in Candidate words associated with the modified subsequent Pinyin letter sequence are displayed on the display, wherein the modified subsequent Pinyin letter sequence is replaced by the first Pinyin unit in the subsequent Pinyin letter sequence with the first 2 pinyin units. 根據權利要求9所述的設備,其中啟用模糊音功能包括: 提示所述用戶啟用所述模糊音功能;以及 回應於接收到所述用戶的確認,啟用所述模糊音功能。The device according to claim 9, wherein enabling the fuzzy sound function comprises: prompting the user to enable the fuzzy sound function; and enabling the fuzzy sound function in response to receiving a confirmation from the user. 根據權利要求9所述的設備,其中所述動作還包括: 將指示所述模糊音功能的資訊發送至伺服器處,以與所述使用者的其他設備同步。The device according to claim 9, wherein the action further comprises: sending information indicating the fuzzy sound function to a server to synchronize with other devices of the user. 根據權利要求9所述的設備,其中所述模糊音配對選自預定義的模糊音配對集合。The device of claim 9, wherein the fuzzy pair is selected from a predefined set of fuzzy pairs. 根據權利要求9所述的設備,其中所述設備還包括顯示器,並且其中更新所述第一拼音單元被修改為所述第二拼音單元的計數包括: 回應於接收到對所述拼音字母序列的修改,在所述顯示器上顯示與經修改的所述拼音字母序列對應的至少一個候選詞; 接收對所述至少一個候選詞中的一個候選詞的選擇,確定經修改的所述拼音字母序列;以及 比較所述拼音字母序列和經修改的所述拼音字母序列,確定所述第一拼音單元和所述第二拼音單元。The device according to claim 9, wherein the device further comprises a display, and wherein updating the count of the first pinyin unit modified to the second pinyin unit comprises: in response to receiving a sequence of the pinyin letters Modify, display on the display at least one candidate word corresponding to the modified pinyin letter sequence; receive a selection of one candidate word among the at least one candidate word, and determine the modified pinyin letter sequence; And comparing the Pinyin alphabet sequence with the modified Pinyin alphabet sequence to determine the first Pinyin unit and the second Pinyin unit.
TW107103948A 2017-02-24 2018-02-05 Input method and associated device TWI781139B (en)

Applications Claiming Priority (3)

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

Publications (2)

Publication Number Publication Date
TW201835747A true TW201835747A (en) 2018-10-01
TWI781139B TWI781139B (en) 2022-10-21

Family

ID=63372827

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107103948A TWI781139B (en) 2017-02-24 2018-02-05 Input method and associated device

Country Status (2)

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

Cited By (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

Cited By (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

Also Published As

Publication number Publication date
CN108509057B (en) 2022-07-12
TWI781139B (en) 2022-10-21
CN108509057A (en) 2018-09-07

Similar Documents

Publication Publication Date Title
US11182554B2 (en) Apparatus and method for executing application
US9047268B2 (en) Character and word level language models for out-of-vocabulary text input
US9081482B1 (en) Text input suggestion ranking
CN105009064B (en) Use the touch keyboard of language and spatial model
US8812302B2 (en) Techniques for inserting diacritical marks to text input via a user device
CN107798052B (en) Dictionary updating device and dictionary updating method
US10122839B1 (en) Techniques for enhancing content on a mobile device
WO2018149292A1 (en) Object clustering method and apparatus
US9984215B2 (en) Obtaining password data
US11263399B2 (en) Correcting input based on user context
TW200900967A (en) Multi-mode input method editor
CN109192212B (en) Voice control method and device
US9977766B2 (en) Keyboard input corresponding to multiple languages
EP3107012A1 (en) Modifying search results based on context characteristics
US20170031897A1 (en) Modification of input based on language content background
US10896287B2 (en) Identifying and modifying specific user input
EP2909702A1 (en) Contextually-specific automatic separators
TWI781139B (en) Input method and associated device
US20150229591A1 (en) Messaging translation systems and methods
US9298692B2 (en) Real time data tagging in text-based documents
US20150370345A1 (en) Identifying one or more words for alteration of user input of one or more characters
US9418325B1 (en) Document box synchronization on an imaging system
WO2018054127A1 (en) Handwriting input method and device
WO2014032560A1 (en) Method and device for optimizing handwriting input method
US20120109636A1 (en) Substitution, insertion, and deletion (sid) distance and voice impressions detector (vid) distance

Legal Events

Date Code Title Description
GD4A Issue of patent certificate for granted invention patent