JP6640893B2 - Method and apparatus for inputting characters - Google Patents

Method and apparatus for inputting characters Download PDF

Info

Publication number
JP6640893B2
JP6640893B2 JP2018019709A JP2018019709A JP6640893B2 JP 6640893 B2 JP6640893 B2 JP 6640893B2 JP 2018019709 A JP2018019709 A JP 2018019709A JP 2018019709 A JP2018019709 A JP 2018019709A JP 6640893 B2 JP6640893 B2 JP 6640893B2
Authority
JP
Japan
Prior art keywords
character pinyin
character
pinyin
candidate
input
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
JP2018019709A
Other languages
Japanese (ja)
Other versions
JP2019008772A (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Publication of JP2019008772A publication Critical patent/JP2019008772A/en
Application granted granted Critical
Publication of JP6640893B2 publication Critical patent/JP6640893B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/018Input/output arrangements for oriental characters
    • 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/0236Character input methods using selection techniques to select from displayed items
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/274Converting codes to words; Guess-ahead of partial word inputs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/24Character recognition characterised by the processing or recognition method
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/10Character recognition
    • G06V30/28Character recognition specially adapted to the type of the alphabet, e.g. Latin alphabet
    • G06V30/293Character recognition specially adapted to the type of the alphabet, e.g. Latin alphabet of characters other than Kanji, Hiragana or Katakana

Description

本願はコンピュータ技術分野に関し、具体的にインターネット技術分野、特に文字を入力する方法及び装置に関する。   The present application relates to the field of computer technology, and more particularly to the field of Internet technology, and more particularly, to a method and apparatus for inputting characters.

入力方法は、各符号をコンピュータ又は他のデバイス(例えば携帯電話)に入力するために採用されるコーディング方法である。従来の入力方法において、ピンイン入力方法は、簡単で且つ把握が容易な特徴によってユーザに良く使われている。ところが、現在のピンイン入力方法は、一般的にユーザにより文字に対応するピンイン符号を逐一に入力し、その後にユーザに入力されたピンイン符号に応じてユーザに複数の候補単語を推薦し、ユーザが複数の候補単語から目標単語を探して最終的に入力される文字を確定する。このような方法は、文字入力の柔軟性を大幅に制限してしまう。   An input method is a coding method employed to enter each code into a computer or other device (eg, a mobile phone). In the conventional input method, the Pinyin input method is often used by users because of its simple and easy-to-understand characteristics. However, the current Pinyin input method generally inputs a Pinyin code corresponding to a character one by one by a user, and then recommends a plurality of candidate words to the user according to the Pinyin code input to the user. A target word is searched for from a plurality of candidate words, and a character to be finally input is determined. Such a method greatly limits the flexibility of character input.

本願の目的は、改善された文字を入力する方法及び装置を提供して、前記の背景技術の部分に言及された技術課題を解決することにある。   It is an object of the present application to provide an improved method and apparatus for inputting characters to solve the technical problems mentioned in the background section.

第一の局面として、本願の実施例は文字を入力する方法を提供した。当該方法は、ユーザにより入力された文字ピンインを検出し、当該文字ピンインに適する予測文字ピンインを取得し、当該文字ピンインと当該予測文字ピンインを関連付けて表示し、ユーザの前記予測文字ピンインに対する確認操作を検出し、確認操作が検出されたことに応じて、前記文字ピンインと前記予測文字ピンインに対応する少なくとも一つの候補入力単語を表示することを含む。   As a first aspect, embodiments of the present application provided a method for inputting characters. The method detects a character pinyin input by a user, obtains a predicted character pinyin suitable for the character pinyin, displays the character pinyin and the predicted character pinyin in association with each other, and performs a user's confirmation operation on the predicted character pinyin. And displaying at least one candidate input word corresponding to the character pinyin and the predicted character pinyin in response to the detection operation being detected.

幾つかの実施例において、文字ピンインに適する予測文字ピンインを取得することは、文字ピンインを入力するための入力方法に関連する入力方法ディフォルトシソーラスと、入力方法を使用する各ユーザの入力記録の統計に基づいて生成される統計シソーラスと、ユーザの入力履歴の統計に基づいて生成されるユーザプライベートシソーラスとのうちの少なくとも一つを含む目標シソーラスにおいて文字ピンインに適する各候補文字ピンインの出現回数を統計し、各候補文字ピンインの出現回数に応じて候補文字ピンインを予測文字ピンインとして選択することを含む。   In some embodiments, obtaining a predicted character pinyin suitable for the character pinyin includes an input method default thesaurus associated with an input method for inputting the character pinyin, and statistics of each user's input record using the input method. Statistical thesaurus generated based on the user and the user private thesaurus generated based on the statistics of the user's input history statistically counts the number of occurrences of each candidate character pinyin suitable for character pinyin in a target thesaurus including at least one of And selecting the candidate character pinyin as the predicted character pinyin according to the number of appearances of each candidate character pinyin.

幾つかの実施例において、各候補文字ピンインの出現回数に応じて候補文字ピンインを予測文字ピンインとして選択することは、出現回数の最も多い候補文字ピンインを予測文字ピンインとして選択することを含む。   In some embodiments, selecting the candidate character pinyin as the predicted character pinyin according to the number of occurrences of each candidate character pinyin includes selecting the candidate character pinyin with the highest number of occurrences as the predicted character pinyin.

幾つかの実施例において、各候補文字ピンインの出現回数に応じて候補文字ピンインを予測文字ピンインとして選択することは、各候補文字ピンインの出現回数、各候補文字ピンインの所在するシソーラスの重みに応じて、候補文字ピンインを予測文字ピンインとして選択することを含む。   In some embodiments, selecting the candidate character pinyin as the predicted character pinyin according to the number of occurrences of each candidate character pinyin may be based on the number of occurrences of each candidate character pinyin, the weight of the thesaurus where each candidate character pinyin is located. And selecting the candidate character pinyin as the predicted character pinyin.

幾つかの実施例において、当該方法は更に、ユーザの少なくとも一つの候補入力単語に対する選択操作を検出し、選択された候補入力単語を出力することを含む。   In some embodiments, the method further includes detecting a user's selection operation on the at least one candidate input word and outputting the selected candidate input word.

幾つかの実施例において、ユーザの入力履歴は、ユーザの入力方法における入力記録と、ユーザの各種のオンライン操作に関連する文字記録とのうちの少なくとも一つを含む。   In some embodiments, the user's input history includes at least one of an input record of the user's input method and a character record related to various online operations of the user.

幾つかの実施例において、文字ピンインと予測文字ピンインに対応する少なくとも一つの候補入力単語を表示することは、目標シソーラスから文字ピンインと予測文字ピンインに対応する少なくとも一つの候補入力単語を選択し、各候補入力単語の前記目標シソーラスにおける出現回数を統計し、各候補入力単語の出現回数に応じて前記少なくとも一つの候補入力単語から候補入力単語を選択して強調表示することを含む。   In some embodiments, displaying at least one candidate input word corresponding to the character pinyin and the predicted character pinyin includes selecting at least one candidate input word corresponding to the character pinyin and the predicted character pinyin from the target thesaurus; Counting the number of appearances of each candidate input word in the target thesaurus and selecting and highlighting a candidate input word from the at least one candidate input word according to the number of appearances of each candidate input word.

第二の局面として、本願は文字を入力する装置を提供した。当該装置は、ユーザにより入力された文字ピンインを検出するように配置される第一の検出ユニットと、文字ピンインに適する予測文字ピンインを取得し、当該文字ピンインと当該予測文字ピンインを関連付けて表示するように配置される第一の表示ユニットと、ユーザの予測文字ピンインに対する確認操作を検出するように配置される第二の検出ユニットと、確認操作が検出されたことに応じて、文字ピンインと予測文字ピンインに対する少なくとも一つの候補入力単語を表示するように配置される第二の表示ユニットと、を備える。   In a second aspect, the present application has provided a device for inputting characters. The device acquires a first detection unit arranged to detect a character pinyin input by a user and a predicted character pinyin suitable for the character pinyin, and displays the character pinyin and the predicted character pinyin in association with each other. A first display unit arranged as described above, a second detection unit arranged to detect a user's confirmation operation for the predicted character pinyin, and a character pinyin prediction in response to the confirmation operation being detected. A second display unit arranged to display at least one candidate input word for the character Pinyin.

幾つかの実施例において、第一の表示ユニットは、前記文字ピンインを入力するための入力方法に関連する入力方法ディフォルトシソーラスと、入力方法を使用する各ユーザの入力記録の統計に基づいて生成される統計シソーラスと、ユーザの入力履歴の統計に基づいて生成されるユーザプライベートシソーラスとのうちの少なくとも一つを含む目標シソーラスにおいて文字ピンインに適する各候補文字ピンインの出現回数を統計するように配置される第一の統計モジュールと、各候補文字ピンインの出現回数に応じて、候補文字ピンインを予測文字ピンインとして選択するように配置される第一の確定モジュールと、を備える。   In some embodiments, the first display unit is generated based on an input method default thesaurus associated with an input method for inputting the character pinyin and statistics of an input record of each user who uses the input method. A target thesaurus including at least one of a statistical thesaurus and a user private thesaurus generated based on the statistics of the input history of the user. A first statistical module, and a first determination module arranged to select the candidate character pinyin as the predicted character pinyin according to the number of appearances of each candidate character pinyin.

幾つかの実施例において、第二の表示ユニットは、目標シソーラスから文字ピンインと予測文字ピンインに対応する少なくとも一つの候補入力単語を選択するように配置される第二の確定モジュールと、各候補入力単語の目標シソーラスにおける出現回数を統計するように配置される第二の統計モジュールと、各候補入力単語の出現回数に応じて、少なくとも一つの候補入力単語から候補入力単語を選択して強調表示するように配置される表示モジュールと、を備える。   In some embodiments, the second display unit includes: a second confirmation module arranged to select at least one candidate input word corresponding to the character pinyin and the predicted character pinyin from the target thesaurus; A second statistical module arranged to statistically count the number of occurrences of the word in the target thesaurus, and selecting and highlighting candidate input words from at least one candidate input word according to the number of occurrences of each candidate input word And a display module arranged as described above.

第三の局面として、本願は、一つ又は複数のプロセッサと、一つ又は複数のプログラムを記憶する記憶装置とを備え、前記一つ又は複数のプログラムが前記一つ又は複数のプロセッサにより実行される場合に、前記一つ又は複数のプロセッサに前記の文字を入力する方法における任意の実施例の方法を実行させる、文字を入力する端末を提供した。   As a third aspect, the present application includes one or more processors and a storage device that stores one or more programs, and the one or more programs are executed by the one or more processors. A terminal for inputting a character is provided, which causes the one or more processors to execute the method of any embodiment in the method of inputting the character.

第四の局面として、本願は、コンピュータプログラムが記憶されており当該プログラムがプロセッサにより実行される場合に前記の文字を入力する方法における任意の実施例の方法を実行することを特徴とする文字を入力するコンピュータ読取可能な記憶媒体を提供した。   As a fourth aspect, the present invention relates to a character storing a computer program and executing the method of any embodiment in the method of inputting the character when the program is executed by a processor. A computer readable storage medium for input was provided.

本願の実施例により提供された文字を入力する方法及び装置は、ユーザにより入力された文字ピンインを検出し、文字ピンインに適する予測文字ピンインを取得し、文字ピンインと予測文字ピンインを関連付けて表示し、ユーザの予測文字ピンインに対する確認操作を検出し、前記確認操作が検出されたことに応じて、文字ピンインと予測文字ピンインに対応する少なくとも一つの候補入力単語を表示することにより、ユーザの操作回数が減少され、文字入力の柔軟性が効率的に向上した。   A method and apparatus for inputting a character provided by an embodiment of the present application detects a character pinyin input by a user, obtains a predicted character pinyin suitable for the character pinyin, and displays the character pinyin and the predicted character pinyin in association with each other. Detecting the user's confirmation operation for the predicted character pinyin, and displaying at least one candidate input word corresponding to the character pinyin and the predicted character pinyin in response to the detection operation being detected, whereby the number of user operations Has been reduced, and the flexibility of character input has been efficiently improved.

下記の図面に参照してなされた制限的でない実施例に対する詳しい説明を閲覧することにより、本願の他の特徴、目的及び利点は更に明らかになる。
本願が適用される例示的なシステム構造図である。 本願による文字を入力する方法の一実施例のフローチャートである。 本願による文字を入力する方法の応用シーンの模式図である。 本願による文字を入力する方法の他の応用シーンの模式図である。 本願による文字を入力する方法の他の実施例のフローチャートである。 本願による文字を入力する装置の一実施例の構造模式図である。 本願の実施例の端末デバイスの実現に適するコンピュータシステムの構造模式図である。
BRIEF DESCRIPTION OF THE DRAWINGS Other features, objects and advantages of the present application will become more apparent from a reading of the following detailed description of a non-restrictive embodiment, made with reference to the drawings, in which: FIG.
1 is an exemplary system structure diagram to which the present application is applied. 4 is a flowchart of an embodiment of a method for inputting characters according to the present application. FIG. 9 is a schematic diagram of an application scene of a method for inputting characters according to the present application. FIG. 10 is a schematic diagram of another application scene of the method for inputting characters according to the present application. 9 is a flowchart of another embodiment of a method for inputting characters according to the present application. 1 is a schematic structural diagram of an embodiment of a device for inputting characters according to the present application. 1 is a schematic structural diagram of a computer system suitable for realizing a terminal device according to an embodiment of the present application.

以下に図面と実施例を組合わせて本願を更に詳しく説明する。理解すべきなのは、ここで説明される具体的な実施例は、ただ関連発明を解釈するものであって、当該発明に限定することがない。また、説明すべきなのは、説明を簡単にするために、図面において関連の発明に関する部分のみ示された。   Hereinafter, the present application will be described in more detail with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the related invention and are not intended to be limiting. It should be noted that only parts related to the related invention are shown in the drawings for the sake of simplicity.

説明すべきなのは、矛盾がない場合に、本願における実施例及び実施例における特徴が互いに組合わせても良い。以下に図面を参照しながら実施例を組み合わせて本願を詳しく説明する。   It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other when there is no inconsistency. The present application will be described in detail below by combining embodiments with reference to the drawings.

図1は、本願を適用できる文字を入力する方法又は文字を入力する装置の実施例の例示的なシステム構造100を示した。   FIG. 1 illustrates an exemplary system structure 100 of an embodiment of a method or apparatus for inputting characters to which the present application is applicable.

図1に示されるように、システム構造100は、端末デバイス101、102、103、ネットワーク104及びサーバ105を備えても良い。ネットワーク104は、端末デバイス101、102、103とサーバ105との間に通信リンクを提供する媒体である。ネットワーク104は、各種の接続タイプ、例えば有線、無線通信リンク又は光ファイバなどを含むことができる。   As shown in FIG. 1, the system structure 100 may include terminal devices 101, 102, and 103, a network 104, and a server 105. The network 104 is a medium that provides a communication link between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various types of connections, such as wired, wireless communication links, or fiber optics.

ユーザは、端末デバイス101、102、103を使用してネットワーク104を介してサーバ105とインタラクションを行ってメッセージなどを受信し又は送信することができる。端末デバイス101、102、103には、各種の通信クライアントアプリ、例えばブラウザアプリ、買物型アプリ、検索型アプリ、即時通信ツール、メールボックスクライアント、ソーシャルプラットフォームアプリ、オフィスアプリなどがインストールされても良い。   The user can use the terminal devices 101, 102, and 103 to interact with the server 105 via the network 104 to receive or transmit a message or the like. Various communication client applications such as a browser application, a shopping application, a search application, an instant communication tool, a mailbox client, a social platform application, and an office application may be installed in the terminal devices 101, 102, and 103.

端末デバイス101、102、103は、表示パネルを備え且つ文字入力をサポートする各種の電子デバイスであっても良い。スマートフォン、タブレット、電子書籍ビューア、MP3プレーヤ(Moving Picture Experts Group Audio Layer III)、MP4(Moving Picture Experts Group Audio Layer IV)プレーヤ、ノートパソコンとデスクトップコンピュータなどを含むが、それらに限定されない。   The terminal devices 101, 102, and 103 may be various electronic devices that include a display panel and support character input. Smartphones, tablets, e-book viewers, MP3 players (Moving Picture Experts Group Audio Layer III), MP4 (Moving Picture Experts Group Audio Player IV) players that are not limited to computers, notebook computers, desktop computers, etc., which are not limited to computers, notebook computers, etc.

サーバ105は、各種のサービスを提供するサーバ、例えば端末デバイス101、102、103における入力方法にサポートを提供するデータ処理サーバであっても良い。データ処理サーバは、ユーザに入力される文字ピンインに対して処理して、当該文字ピンインに適する予測文字ピンインを取得し、予測された文字ピンインを端末デバイスにフィードバックして端末デバイスに参照させることができる。   The server 105 may be a server that provides various services, for example, a data processing server that provides support for input methods in the terminal devices 101, 102, and 103. The data processing server processes the character pinyin input to the user, obtains a predicted character pinyin suitable for the character pinyin, feeds back the predicted character pinyin to the terminal device, and refers the terminal device to the terminal device. it can.

説明すべきなのは、本願の実施例に提供される文字を入力する方法は、一般的に端末デバイス101、102、103により実行される。相応的に、文字を入力する装置は一般的に端末デバイス101、102、103に設置される。   It should be noted that the method of inputting characters provided in the embodiments of the present invention is generally performed by the terminal devices 101, 102, and 103. Accordingly, a device for inputting characters is generally installed in the terminal devices 101, 102, 103.

理解すべきなのは、図1における端末デバイス、ネットワーク及びサーバの数はただ例示的である。必要に応じて、任意の数の端末デバイス、ネットワーク及びサーバを具備しても良い。説明すべきなのは、端末デバイスとサーバはデータ伝送が必要ない場合に、当該システム構造はサーバを備えなくても良い。例示的に、ネットワークが切断された状態においてユーザにより文字が入力された時に、端末デバイス(例えばスマートフォン)はローカルデータに基づいて当該ユーザのプライベートシソーラスを生成してユーザに文字ピンインを予測することができる。なお、ローカルデータは、現在のユーザの入力履歴により端末デバイスに予め記憶されても良い。   It should be understood that the numbers of terminal devices, networks and servers in FIG. 1 are merely exemplary. Any number of terminal devices, networks and servers may be provided as needed. It should be explained that if the terminal device and the server do not require data transmission, the system structure may not include the server. Exemplarily, when a character is input by the user in a state where the network is disconnected, the terminal device (for example, a smartphone) may generate a private thesaurus for the user based on local data and predict the character pinyin to the user. it can. The local data may be stored in the terminal device in advance based on the current input history of the user.

図2を継続して参考し、図2には本願の文字を入力する方法による一実施例のプロセス200が示された。当該文字を入力する方法は以下のステップを含む。   Continuing with FIG. 2, FIG. 2 illustrates an example process 200 according to the method of entering characters of the present application. The method of inputting the character includes the following steps.

ステップ201において、ユーザに入力された文字ピンインを検出する。   In step 201, a character pinyin input by a user is detected.

本実施例において、文字を入力する方法が運行される電子デバイス(例えば図1に示された端末デバイス)は、ユーザにより当該電子デバイスの入力部を介して入力された文字ピンインを検出することができる。なお、前記の入力部は、コンピュータ、IPC、速記機、ダムフォン、キー型電子辞書などのデバイスに入力するための物理キーボードであっても良く、コンピュータ、スマートフォン、タブレット、電子書籍ビューアなどのデバイスに入力するための仮想キーボードであっても良く、他のデバイス、例えばVR(Virtual Reality、バーチャルリアリティ)デバイスにより模擬され、従来のキーボードと同じ機能を具備する入力デバイス、及び文字入力のしようとする他の入力デバイスであっても良い。ユーザにより入力操作が行われた時に、前記の電子デバイスはユーザに入力された文字ピンインを検出することができる。   In the present embodiment, an electronic device (e.g., the terminal device shown in FIG. 1) in which the method of inputting characters is operated can detect a character pinyin input by the user via the input unit of the electronic device. it can. Note that the input unit may be a physical keyboard for inputting to a device such as a computer, an IPC, a stenographic machine, a dumb phone, and a key-type electronic dictionary, and may be a device such as a computer, a smartphone, a tablet, and an electronic book viewer. The input device may be a virtual keyboard for inputting. The input device may be simulated by another device, for example, a VR (Virtual Reality) device, and may have the same function as a conventional keyboard. Input device. When an input operation is performed by the user, the electronic device can detect a character pinyin input to the user.

ステップ202において、文字ピンインに適する予測文字ピンインを取得し、当該文字ピンインと当該予測文字ピンインを関連づけて表示する。   In step 202, a predicted character pinyin suitable for the character pinyin is acquired, and the character pinyin and the predicted character pinyin are displayed in association with each other.

本実施例において、ステップ201に得られた文字ピンインに基づいて、前記電子デバイス(例えば図1に示された端末デバイス)は、前記文字ピンインに適する予測文字ピンインを取得することができる。例えば、前記電子デバイスは、単語の組合わせにより当該ユーザが入力した文字ピンインに適する予測文字ピンインをランダムに生成することができる。例示的に、ユーザにより文字ピンイン「ren」が入力された後、前記電子デバイスは当該ユーザに「min」を推薦しても良く、「men」などのピンインを推薦しても良い。最終的に推薦されるピンインは前記電子デバイスによりランダムに生成される。前記電子デバイスは更に前記文字ピンインと予測文字ピンインを関連付けて表示することができる。例として、前記文字ピンインと予測文字ピンインを関連付けて表示することは、前記文字ピンインの後に前記予測文字ピンインを表示しても良く、前記文字ピンインの後に矢印で前記予測文字ピンインに指示しても良く、同一の文字属性、例えば色、フォント、サイズなどにより前記文字ピンインと前記予測文字ピンインとを表示することもできる。   In this embodiment, based on the character pinyin obtained in step 201, the electronic device (for example, the terminal device shown in FIG. 1) can obtain a predicted character pinyin suitable for the character pinyin. For example, the electronic device can randomly generate a predicted character pinyin suitable for the character pinyin input by the user based on a combination of words. For example, after the character pinyin “ren” is input by the user, the electronic device may recommend “min” to the user or recommend a pinyin such as “men”. The finally recommended pinyin is randomly generated by the electronic device. The electronic device may further display the character pinyin in association with the predicted character pinyin. For example, displaying the character pinyin and the predicted character pinyin in association with each other may include displaying the predicted character pinyin after the character pinyin, or instructing the predicted character pinyin with an arrow after the character pinyin. It is also possible to display the character pinyin and the predicted character pinyin with the same character attribute, for example, color, font, size and the like.

本実施例の幾つかの選択的な実現手段において、前記予測文字ピンインはリモートサーバにより取得されても良い。例えば、ネットワークユーザにより入力された文字に基づいて、リモートサーバで統計シソーラスを生成し、その後に統計シソーラスから前記文字ピンインを検索し、ネットワークユーザにより当該文字ピンインと組合わせて使用される文字ピンインの頻度に基づいて、前記文字ピンインに適する予測文字ピンインを確定し、電子デバイスによりサーバにおける予測文字ピンイン情報が得られる。例として、前記取得手段において、電子デバイスとサーバの情報インタラクション方法は、3G/4G接続、WiFi接続、ブルートゥース(登録商標)接続、WiMAX接続、Zigbee(登録商標)接続、UWB(ultra wideband)接続、及び他の既存又は未来に開発される無線接続手段を含むが、それらに限定されない。   In some optional implementations of this embodiment, the predicted character pinyin may be obtained by a remote server. For example, based on the characters entered by the network user, a statistical thesaurus is generated at the remote server, and then the character pinyin is searched from the statistical thesaurus, and the character pinyin used by the network user in combination with the character pinyin is generated. Based on the frequency, a predicted character pinyin suitable for the character pinyin is determined, and the electronic device obtains predicted character pinyin information in the server. As an example, in the acquisition unit, the information interaction method between the electronic device and the server may be a 3G / 4G connection, a WiFi connection, a Bluetooth (registered trademark) connection, a WiMAX connection, a Zigbee (registered trademark) connection, a UWB (ultra wideband) connection, And other existing or future developed wireless connection means.

本実施例の幾つかの選択的な実現手段において、前記予測文字ピンインはローカルにより取得されても良い。例として、現在のユーザによる入力文字の履歴に基づいて、当該ユーザのプライベートシソーラスを生成し、プライベートシソーラスから前記文字ピンインを検索し、現在のユーザにより当該文字ピンインと組合わせて使用される文字ピンインの頻度に基づいて、プロセッサにより前記文字ピンインに適する予測文字ピンインを処理して確定した後、電子デバイスにより前記プロセッサから出力される前記予測文字ピンインを取得する。好ましくは、前記プロセッサは、本方法が運行される電子デバイスと集積して一つの端末デバイスとすることができる。   In some optional implementations of this embodiment, the predicted character pinyin may be obtained locally. As an example, based on the history of the characters input by the current user, a private thesaurus for the user is generated, the character pinyin is searched from the private thesaurus, and the character pinyin used by the current user in combination with the character pinyin After the processor processes and determines the predicted character pinyin suitable for the character pinyin based on the frequency, the electronic device acquires the predicted character pinyin output from the processor. Preferably, the processor may be integrated with an electronic device on which the method is operated into one terminal device.

本実施例の幾つかの選択的な実現手段において、前記の前記文字ピンインに適する予測文字ピンインを取得することは、目標シソーラスでの前記文字ピンインに適する各候補文字ピンインの出現回数を統計することを更に含んでも良い。なお、前記目標シソーラスは、前記文字ピンインを入力するための入力方法に関連する入力方法ディフォルトシソーラス、前記入力方法を使用する各ユーザの入力履歴に基づいて統計された統計シソーラス、前記ユーザの入力履歴に基づいて統計されたユーザプライベートシソーラスのうちの少なくとも一つを含む。そして、各候補文字ピンインの出現回数に応じて候補文字ピンインを予測文字ピンインとして選択する。なお、前記入力方法ディフォルトシソーラスは、現在の入力方法の黙認シソーラスのディフォルトのシソーラスを指す。例として、前記入力方法ディフォルトシソーラスは、現在の入力方法の黙認シソーラス以外の入力方法のシソーラスを取得することにより得られても良く、ネットワークの流行語を取得する手段で得られても良い。前記目標シソーラスは、前記入力方法のディフォルトシソーラス、前記統計シソーラス、前記ユーザプライベートシソーラスのうちの少なくとも一つのシソーラスの完全なシソーラスを含んでも良く、前記三つのシソーラスの重みを付けで算出された新しいシソーラスを含んでも良い。   In some optional realization means of the present embodiment, obtaining the predicted character pinyin suitable for the character pinyin includes statistically counting the number of occurrences of each candidate character pinyin suitable for the character pinyin in a target thesaurus. May be further included. The target thesaurus is an input method default thesaurus relating to the input method for inputting the character pinyin, a statistical thesaurus statistic based on the input history of each user who uses the input method, the input history of the user. At least one of the user private thesaurus statistic based on Then, the candidate character pinyin is selected as the predicted character pinyin according to the number of appearances of each candidate character pinyin. In addition, the input method default thesaurus refers to a default thesaurus of the implicit thesaurus of the current input method. As an example, the input method default thesaurus may be obtained by acquiring a thesaurus of an input method other than the implicit thesaurus of the current input method, or may be obtained by means of acquiring a buzzword of the network. The target thesaurus may include a complete thesaurus of at least one of the default thesaurus of the input method, the statistical thesaurus, and the user private thesaurus, and a new thesaurus calculated by weighting the three thesauri. May be included.

本実施例の幾つかの選択的な実現手段において、前記方法は、ユーザの少なくとも一つの候補入力単語に対する選択操作を検出し、選択された候補入力単語を出力することを更に含むことができる。   In some optional implementations of this embodiment, the method may further include detecting a user's selection operation on at least one candidate input word and outputting the selected candidate input word.

例示的に、前記選択操作は、少なくとも一つの候補入力単語における入力しようとする入力単語をクリックすることでも良く、入力しようとする入力単語の順番に対応するコーディングを入力することでも良い。   Exemplarily, the selection operation may be to click an input word to be input in at least one candidate input word, or to input a coding corresponding to an order of the input word to be input.

説明すべきなのは、前記ユーザに選択された入力単語を出力することについて、前記入力単語が出力される位置は、ブラウザの検索ボックスであっても良く、テキスト編集ツール、例えばメモ帳、Word(Microsoft Office Word、マイクロソフト文字処理ソフトウェア)テキスト編集ツールなどであっても良い。   It should be explained that, with respect to outputting the input word selected by the user, the position where the input word is output may be a search box of a browser, and may be a text editing tool such as Notepad, Word (Microsoft). (Office Word, Microsoft character processing software) A text editing tool or the like may be used.

本実施例の幾つかの選択的な実現手段において、前記ユーザの入力履歴は、前記ユーザの当該入力方法における入力記録、前記ユーザの各種のオンライン操作に関する文字記録のうちの少なくとも一つを含む。   In some optional implementations of the present embodiment, the user's input history includes at least one of an input record of the user in the input method and a character record of various online operations of the user.

例として、前記オンライン操作は、買物操作、検索操作、流行語に対応するリンクをクリックする操作などを含む。例示的に、前記の前記ユーザの各種のオンライン操作に関連する文字記録は、ユーザが買物サイトにおいて買物を行う際にクリックされた画像に対応する文字情報であっても良い。例えば、ユーザが買物サイトにおいて『西遊記』という書籍を検索し、サイトに展示されている書籍の画像をクリックする場合に、「西遊記」が文字記録として現在のユーザの入力履歴に保存されることになる。   For example, the online operation includes a shopping operation, a search operation, an operation of clicking a link corresponding to a buzzword, and the like. Exemplarily, the character record related to the user's various online operations may be character information corresponding to an image clicked when the user performs shopping at a shopping site. For example, when a user searches for a book called “Saiyuki” at a shopping site and clicks on an image of a book displayed on the site, “Saiyuki” is stored as a character record in the current user's input history. Will be.

本実施例の幾つかの選択的な実現手段において、前記の前記文字ピンインと前記予測文字ピンインに対応する少なくとも一つの候補入力単語を表示することは、目標シソーラスから前記文字ピンインと前記予測文字ピンインに対応する少なくとも一つの候補入力単語を選択し、各候補入力単語の前記目標シソーラスにおける出現回数を統計し、各候補入力単語の出現回数に応じて前記少なくとも一つの候補入力単語から候補入力単語を選択して強調表示を行うことを含む。   In some optional implementations of the present embodiment, displaying at least one candidate input word corresponding to the character pinyin and the predicted character pinyin may include displaying the character pinyin and the predicted character pinyin from a target thesaurus. At least one candidate input word is selected, the number of appearances of each candidate input word in the target thesaurus is statistic, and a candidate input word is selected from the at least one candidate input word according to the number of appearances of each candidate input word. Including selecting and highlighting.

例示的に、前記の各候補入力単語の出現回数に応じて前記少なくとも一つの候補入力単語から候補入力単語を選択して強調表示を行うことは、出現回数の最も多い候補入力単語を選択して強調表示を行っても良く、出現回数と当該候補入力単語の所定の重みとの積が最も大きい候補入力単語を選択して強調表示を行っても良い。なお、前記強調表示は、未選択の候補入力単語と異なる文字属性を有する表示方式であっても良い。なお、文字属性はフォント、サイズ、色などを含んでも良い。   Exemplarily, selecting and highlighting a candidate input word from the at least one candidate input word according to the number of appearances of each of the candidate input words includes selecting the candidate input word having the largest number of appearances. Highlighting may be performed, or a candidate input word having the largest product of the number of appearances and a predetermined weight of the candidate input word may be selected and highlighted. The highlighting may be a display method having a character attribute different from that of an unselected candidate input word. The character attributes may include font, size, color, and the like.

ステップ203において、ユーザの予測文字ピンインに対する確認操作を検出する。   In step 203, a user's confirmation operation for the predicted character pinyin is detected.

本実施例において、ステップ202に得られた予測文字ピンインに基づいて、ユーザは、前記予測文字ピンインから入力要望の文字ピンインを確定し、それに相応する確認操作を実行し、電子デバイスは前記確認操作を検出する。なお、前記確認操作は、入力しようとする文字ピンインをクリックすることであっても良く、入力しようとする文字ピンインの順番に対応するコーディングを入力することであっても良い。   In the present embodiment, based on the predicted character pinyin obtained in step 202, the user determines the character pinyin of the input request from the predicted character pinyin, executes a corresponding confirmation operation, and the electronic device executes the confirmation operation. Is detected. Note that the confirmation operation may be to click a character pinyin to be input or to input a coding corresponding to the order of the character pinyin to be input.

本実施例の幾つかの選択的な実現手段において、前記確認操作は、ユーザにより電子デバイスの仮想キーボードの所定の領域又は物理キーボードにおける所定のキー又はキーの組合わせをクリックすることであっても良く、所定のジェスチャー又は所定の体の動きであっても良い。なお、前記所定のジェスチャー又は所定の体の動きは電子デバイスのカメラにより相応の情報が得られることができる。   In some optional implementations of this embodiment, the confirmation operation may be that the user clicks on a predetermined area of the virtual keyboard of the electronic device or a predetermined key or key combination on the physical keyboard. It may be a predetermined gesture or a predetermined body movement. The predetermined gesture or the predetermined body movement can be obtained by a camera of the electronic device.

ステップ204において、確認操作が検出されたことに応じて、当該文字ピンインと当該予測文字ピンインに対応する少なくとも一つの候補入力単語を表示する。   In step 204, at least one candidate input word corresponding to the character pinyin and the predicted character pinyin is displayed in response to the detection operation being detected.

本実施例において、前記電子デバイスは、確認操作が検出された後に、当該文字ピンインと当該予測文字ピンインに対応する少なくとも一つの候補入力単語をユーザに表示することにより、文字の柔軟的な入力を実現する。   In this embodiment, after the confirmation operation is detected, the electronic device displays the character pinyin and at least one candidate input word corresponding to the predicted character pinyin to the user, thereby enabling flexible input of characters. Realize.

図3Aを継続して参照する。図3Aは本実施例による文字を入力する方法の応用シーンの模式図である。図3Aの応用シーンにおいて、入力方法インターフェース301は、ユーザによりブラウザの検索ボックスをクリックすることにより、スマートフォンのスクリーンに表示することができる。ユーザは、まずスマートフォンの仮想キーボードに対応する「R」、「E」、「N」の三つのキーをクリックして「ren」を入力する。その後に、スマートフォンにおいて「ren」に適する予測文字ピンイン「min」が得られる。そしてスクリーンに「ren」と「min」の二つのピンインを関連付けて表示し、ユーザにより「確認」キーがクリックされたか否かを検出する。ユーザにより「確認」キーがクリックされたと検出すると、例示的に、スクリーンに
が表示される。
With continued reference to FIG. 3A. FIG. 3A is a schematic diagram of an application scene of the method for inputting characters according to the present embodiment. In the application scene of FIG. 3A, the input method interface 301 can be displayed on the screen of the smartphone by clicking the search box of the browser by the user. First, the user clicks three keys “R”, “E”, and “N” corresponding to the virtual keyboard of the smartphone and inputs “ren”. After that, a predicted character pinyin “min” suitable for “ren” is obtained in the smartphone. Then, two pinyes “ren” and “min” are displayed on the screen in association with each other, and it is detected whether or not the user has clicked the “confirmation” key. When the user detects that the "confirm" key has been clicked, for example, the screen
Is displayed.

図3Bを継続して表示する。図3Bは本実施例による文字を入力する方法の応用シーンの他の模式図である。図3Bの応用シーンにおいて、入力方法インターフェース301は、ユーザによりブラウザの検索ボックスをクリックすることによりスマートフォンスクリーンに表示することができる。ユーザは既にスマートフォンの入力方法インターフェースに「ren」を入力し、「確認」キーにより「min」を入力した。その後に、スマートフォンにおいて「ren’min」に適する予測文字ピンイン「de」が得られた後に、スクリーンに「ren’min」と「de」が関連付けて表示される。そしてユーザにより「確認」キーがクリックされたか否かを検出する。ユーザにより「確認」キーがクリックされたと検出されると、例示的に、スクリーンに「人民的」、「仁民的」などの単語が表示される。   FIG. 3B is continuously displayed. FIG. 3B is another schematic diagram of an application scene of the method of inputting characters according to the present embodiment. In the application scene of FIG. 3B, the input method interface 301 can be displayed on a smartphone screen by a user clicking a search box of a browser. The user has already input "ren" to the input method interface of the smartphone and input "min" with the "confirm" key. Then, after a predicted character pinyin “de” suitable for “ren′min” is obtained on the smartphone, “ren′min” and “de” are displayed in association with each other on the screen. Then, it is detected whether the "confirmation" key is clicked by the user. When it is detected that the "confirmation" key is clicked by the user, for example, words such as "People's" and "Nin's" are displayed on the screen.

本願の前記実施例に提供された方法は、文字ピンインに適する予測文字ピンインを取得し、ピンイン入力の代わりにユーザの確認操作を行う手段で、柔軟性に優れた文字入力を実現した。   The method provided in the embodiment of the present application realizes highly flexible character input by means of obtaining a predicted character pinyin suitable for the character pinyin and performing a user's confirmation operation instead of the pinyin input.

更に図4を参照する。図4は、文字を入力する方法のもう一つの実施例のフロー400を示した。当該文字を入力する方法のフロー400は以下のステップを含む。   Still referring to FIG. FIG. 4 shows a flow 400 of another embodiment of a method for inputting characters. The flow 400 of the method for inputting the character includes the following steps.

ステップ401において、ユーザにより入力された文字ピンインを検出する。   In step 401, the character pinyin input by the user is detected.

本実施例において、文字を入力する方法が運行される電子デバイス(例えば図1に示された端末デバイス)は、ユーザが当該電子デバイスの入力部を介して入力した文字ピンインを検出することができる。   In the present embodiment, an electronic device (e.g., the terminal device shown in FIG. 1) on which a method for inputting characters is operated can detect a character pinyin input by a user via an input unit of the electronic device. .

ステップ402において、目標シソーラスにおいて文字ピンインに適する各候補文字ピンインの出現回数を統計することができる。なお、当該目標シソーラスは、文字を入力するピンインの入力方法に関連する入力方法ディフォルトシソーラス、当該入力方法を使用する各ユーザの入力記録の統計に基づいて生成される統計シソーラス、ユーザの入力履歴の統計に基づいて生成されるユーザプライベートシソーラスのうちの少なくとも一つを含む。   In step 402, the number of appearances of each candidate character pinyin suitable for the character pinyin in the target thesaurus can be statistic. Note that the target thesaurus is an input method default thesaurus related to the Pinyin input method of inputting characters, a statistical thesaurus generated based on statistics of input records of each user using the input method, and a user input history. At least one of a user private thesaurus generated based on statistics is included.

本実施例において、前記目標シソーラスは、文字を入力するピンインの入力方法に関連する入力方法ディフォルトシソーラス、当該入力方法を使用する各ユーザの入力記録の統計に基づいて生成される統計シソーラス、ユーザの入力履歴の統計に基づいて生成されるユーザプライベートシソーラスのうちの少なくとも一つを含んでも良く、前記の三つのシソーラスの重みに基づいて重み付けて得られる新しいシソーラスであっても良い。   In the present embodiment, the target thesaurus is an input method default thesaurus related to a Pinyin input method of inputting characters, a statistical thesaurus generated based on statistics of input records of each user who uses the input method, It may include at least one of a user private thesaurus generated based on the statistics of the input history, and may be a new thesaurus obtained by weighting based on the weights of the three thesauruses.

ステップ403において、各候補文字ピンインの出現回数に応じて候補文字ピンインを予測文字ピンインとして選択する。   In step 403, the candidate character pinyin is selected as the predicted character pinyin according to the number of appearances of each candidate character pinyin.

本実施例において、前記各候補文字ピンインの出現回数に応じて候補文字ピンインを予測文字ピンインとして選択することは、出現回数の最も多い候補文字ピンインを予測文字ピンインとして選択することを含んでも良く、各候補文字ピンインの出現回数と各候補文字ピンインの所在するシソーラスの重みに応じて、候補文字ピンインを予測文字ピンインとして選択することを含んでも良い。   In the present embodiment, selecting the candidate character pinyin as the predicted character pinyin according to the number of appearances of each candidate character pinyin may include selecting the candidate character pinyin with the highest number of appearances as the predicted character pinyin, It may include selecting the candidate character pinyin as the predicted character pinyin according to the number of appearances of each candidate character pinyin and the weight of the thesaurus where each candidate character pinyin is located.

本実施例の幾つかの選択的な実現手段において、前記の各候補文字ピンインの出現回数に応じて、候補文字ピンインを予測文字ピンインとして選択することは、出現回数の最も高い候補文字ピンインを予測文字ピンインとして選択することを含んでも良い。   In some optional realization means of this embodiment, selecting a candidate character pinyin as a predicted character pinyin according to the number of occurrences of each candidate character pinyin predicts the candidate character pinyin with the highest number of appearances. It may include selecting as character pinyin.

本実施例の幾つかの選択的な実現手段において、前記の各候補文字ピンインの出現回数に応じて候補文字ピンインを予測文字ピンインとして選択することは、各候補文字ピンインの出現回数と各候補文字ピンインの所在するシソーラスの重みに応じて、候補文字ピンインを予測文字ピンインとして選択することを更に含んでも良い。   In some selective realization means of the present embodiment, selecting the candidate character pinyin as the predicted character pinyin according to the number of occurrences of each candidate character pinyin is based on the number of occurrences of each candidate character pinyin and each candidate character pinyin. The method may further include selecting the candidate character pinyin as the predicted character pinyin according to the weight of the thesaurus where the pinyin is located.

例示的に、現在「ren」と「min」という二つの候補文字ピンインが表示されるとする。なお、「ren」の出現の回数が100、所定の重みが10、「min」の出現の回数が200、所定の重みが1である。演算によりわかるように、「ren」の重み付けの回数が100と10の積、即ち1000である。同様に「min」の重み付けの回数が200である。1000が200よりも大きいため、即ち「ren」の重み付けの回数が「min」の重み付けの回数よりも大きいため、予測文字ピンインを「ren」と確定することができる。   For example, it is assumed that two candidate character pinyins “ren” and “min” are currently displayed. The number of occurrences of “ren” is 100, the predetermined weight is 10, the number of occurrences of “min” is 200, and the predetermined weight is 1. As can be seen from the calculation, the number of times of weighting of “ren” is the product of 100 and 10, that is, 1000. Similarly, the number of times “min” is weighted is 200. Since 1000 is larger than 200, that is, the number of times of weighting of “ren” is larger than the number of times of weighting of “min”, the predicted character pinyin can be determined as “ren”.

ステップ404において、文字ピンインと予測文字ピンインを関連付けて表示する。   In step 404, the character pinyin and the predicted character pinyin are displayed in association with each other.

本実施例において、例示的に、前記文字ピンインと予測文字ピンインを関連付けて表示することは、前記文字ピンインの後に前記予測文字ピンインを表示しても良く、前記文字ピンインの後に矢印で前記予測文字ピンインに指示しても良く、同一の文字属性で前記文字ピンインと前記予測文字ピンインを表示しても良い。   In the present embodiment, illustratively, displaying the character pinyin and the predicted character pinyin in association with each other means that the predicted character pinyin may be displayed after the character pinyin, and the predicted character pinyin is indicated by an arrow after the character pinyin. Pinyin may be instructed, and the character pinyin and the predicted character pinyin may be displayed with the same character attribute.

ステップ405において、ユーザの予測文字ピンインに対する確認操作を検出する。   In step 405, a confirmation operation for the predicted character pinyin by the user is detected.

本実施例において、ステップ404において得られた予測文字ピンインに基づいて、ユーザは前記予測文字ピンインから入力しようとする文字ピンインを確定して相応の確認操作を実行し、電子デバイスは前記確認操作を検出する。   In this embodiment, based on the predicted character pinyin obtained in step 404, the user determines the character pinyin to be input from the predicted character pinyin and executes a corresponding confirmation operation, and the electronic device performs the confirmation operation. To detect.

ステップ406において、確認操作が検出されたことに応じて、当該文字ピンインと当該予測文字ピンインとに対応する少なくとも一つの候補入力単語を表示する。   In step 406, at least one candidate input word corresponding to the character pinyin and the predicted character pinyin is displayed in response to the detection operation being detected.

本実施例において、前記電子デバイスは確認操作を検出した後に、当該文字ピンインと当該予測文字ピンインとに対応する少なくとも一つの候補入力単語をユーザに表示することにより、文字の柔軟的な入力を実現する。   In this embodiment, after detecting the confirmation operation, the electronic device displays at least one candidate input word corresponding to the character pinyin and the predicted character pinyin to the user, thereby realizing flexible input of characters. I do.

図4からわかるように、図2に対応する実施例と比べて、本実施例における文字を入力する方法のフロー400は、目標シソーラスを拡張するステップを強調した。よって、本実施例にかかる技術案は、より多い目標シソーラスの関連データを導入することができるため、より全面的な予測文字ピンインの選択及びより柔軟的な文字入力を実現することができる。   As can be seen from FIG. 4, compared to the embodiment corresponding to FIG. 2, the flow 400 of the method for inputting characters in the present embodiment emphasizes the step of expanding the target thesaurus. Therefore, since the technical solution according to the present embodiment can introduce more relevant data of the target thesaurus, it is possible to realize more comprehensive selection of the predicted character pinyin and more flexible character input.

更に図5を参照する。前記各図に示された方法の実現として、本願は文字を入力する装置の一実施例を提供する。当該装置の実施例は図2に示された方法の実施例に対応する。当該装置は具体的に各種の電子デバイスに適用することができる。   Still referring to FIG. As an implementation of the method shown in the figures, the present application provides an embodiment of a device for inputting characters. The embodiment of the device corresponds to the embodiment of the method shown in FIG. The device can be specifically applied to various electronic devices.

図5に示されたように、本実施例のウェブ生成装置500は、第一の検出ユニット501と、第一の表示ユニット502と、第二の検出ユニット503と、第二の表示ユニット504とを備える。なお、第一の検出ユニット501は、ユーザに入力された文字ピンインを検出するように配置される。第一の表示ユニット502は、前記文字ピンインに適する予測文字ピンインを取得し、前記文字ピンインと前記予測文字ピンインとを関連付けて表示するように配置される。第二の検出ユニット503は、前記ユーザの前記予測文字ピンインに対する確認操作を検出するように配置される。第二の表示ユニット504は、前記確認操作が検出されたことに応じて、前記文字ピンインと前記予測文字ピンインに対応する少なくとも一つの候補入力単語を表示するように配置される。   As shown in FIG. 5, the web generation device 500 according to the present embodiment includes a first detection unit 501, a first display unit 502, a second detection unit 503, and a second display unit 504. Is provided. Note that the first detection unit 501 is arranged to detect a character pinyin input by a user. The first display unit 502 is arranged to acquire a predicted character pinyin suitable for the character pinyin and display the character pinyin and the predicted character pinyin in association with each other. The second detection unit 503 is arranged to detect a confirmation operation for the predicted character pinyin by the user. The second display unit 504 is arranged to display at least one candidate input word corresponding to the character pinyin and the predicted character pinyin in response to the detection operation being detected.

本実施例において、文字を入力する装置500の第一の検出ユニット501は、入力部を介してユーザにより入力された文字ピンインを検出することができる。なお、前記入力部は、コンピュータ、IPC、速記機、ダムフォン、キー型電子辞書などのデバイスに入力するための物理キーボードであっても良く、コンピュータ、スマートフォン、タブレット、電子書籍ビューアなどのデバイスに入力するための仮想キーボードであっても良く、他のデバイスにより模擬され、従来のキーボードと同じ機能を具備する入力デバイス、及び他の文字入力要求のある入力デバイスであっても良い。ユーザによりキーが押下されると、前記第一の検出ユニット501はユーザにより入力された文字ピンインを検出することができる。   In the present embodiment, the first detection unit 501 of the character input device 500 can detect a character pinyin input by a user via the input unit. The input unit may be a physical keyboard for inputting to a device such as a computer, an IPC, a stenographic machine, a dumb phone, and a key-type electronic dictionary, and may be input to a device such as a computer, a smartphone, a tablet, and an electronic book viewer. For example, the input device may be a virtual keyboard for performing input, an input device simulated by another device and having the same functions as a conventional keyboard, and an input device having another character input request. When the key is pressed by the user, the first detection unit 501 can detect the character pinyin input by the user.

本実施例において、文字を入力する的装置500の第一の表示ユニット502は、前記第一の検出ユニット501により得られた文字ピンインに基づいて、前記文字ピンインに適する予測文字ピンインを取得した後に、前記文字ピンインと予測文字ピンインとを関連付けて表示することができる。   In the present embodiment, the first display unit 502 of the target device 500 for inputting a character acquires a predicted character pinyin suitable for the character pinyin based on the character pinyin obtained by the first detection unit 501. The character pinyin and the predicted character pinyin can be displayed in association with each other.

本実施例の幾つかの選択的な実現手段において、前記第一の表示ユニット502は、更に第一の統計モジュール(未図示)と第一の確定モジュール(未図示)を備えても良い。なお、前記第一の統計モジュールは、目標シソーラスにおいて前記文字ピンインに適する各候補文字ピンインの出現回数を統計するように配置されても良い。なお、前記目標シソーラスは、前記文字ピンインを入力するための入力方法に関連する入力方法ディフォルトシソーラス、前記入力方法を使用する各ユーザの入力記録の統計に基づいて生成された統計シソーラス、前記ユーザの入力履歴の統計に基づいて生成されたユーザプライベートシソーラスのうちの少なくとも一つを含む。前記第一の確定モジュールは、各候補文字ピンインの出現回数に応じて候補文字ピンインを予測文字ピンインとして選択するように配置されても良い。   In some optional implementations of this embodiment, the first display unit 502 may further include a first statistics module (not shown) and a first confirmation module (not shown). The first statistics module may be arranged to count the number of appearances of each candidate character pinyin suitable for the character pinyin in the target thesaurus. Note that the target thesaurus is an input method default thesaurus related to the input method for inputting the character pinyin, a statistical thesaurus generated based on the statistics of input records of each user who uses the input method, At least one of a user private thesaurus generated based on the statistics of the input history is included. The first determination module may be arranged to select a candidate character pinyin as a predicted character pinyin according to the number of appearances of each candidate character pinyin.

本実施例の幾つかの選択的な実現手段において、前記第二の表示ユニットは、第二の確定モジュール(未図示)と、第二の統計モジュール(未図示)と、表示モジュール(未図示)とを更に備えることができる。なお、前記第二の確定モジュールは、前記目標シソーラスから前記文字ピンインと前記予測文字ピンインとに対応する少なくとも一つの候補入力単語を選択するように配置されても良い。前記第二の統計モジュールは、各候補入力単語の前記目標シソーラスにおける出現回数を統計するように配置されても良い。前記表示モジュールは、各候補入力単語の出現回数に応じて前記少なくとも一つの候補入力単語から候補入力単語を選択して強調表示するように配置されても良い。   In some optional implementations of this embodiment, the second display unit comprises a second confirmation module (not shown), a second statistics module (not shown), and a display module (not shown) May be further provided. The second determination module may be arranged to select at least one candidate input word corresponding to the character pinyin and the predicted character pinyin from the target thesaurus. The second statistics module may be arranged to count the number of occurrences of each candidate input word in the target thesaurus. The display module may be arranged to select a candidate input word from the at least one candidate input word according to the number of appearances of each candidate input word and highlight the selected candidate input word.

本実施例において、文字を入力する装置500の第二の検出ユニット503は、前記第一の表示ユニット502により得られた予測文字ピンインに基づいて確認操作を検出することができる。なお、前記確認操作は、ユーザにより前記予測文字ピンインから入力しようとする文字ピンインを確定する時に実行される。前記確認操作は、入力しようとする文字ピンインをクリックすることであっても良く、入力しようとする文字ピンインの順番のコーディングを入力することであっても良い。   In the present embodiment, the second detection unit 503 of the character input device 500 can detect a confirmation operation based on the predicted character pinyin obtained by the first display unit 502. The confirmation operation is executed when the user determines a character pinyin to be input from the predicted character pinyin. The confirmation operation may be to click a character pinyin to be input or to input a coding in an order of the character pinyin to be input.

本実施例において、文字を入力する装置500の第二の表示ユニット504は、前記第二の検出ユニット503により確認操作が検出されたことに応じて、当該文字ピンインと当該予測文字ピンインに対応する少なくとも一つの候補入力単語をユーザに表示することができる。   In this embodiment, the second display unit 504 of the character input device 500 corresponds to the character pinyin and the predicted character pinyin in response to the confirmation operation being detected by the second detection unit 503. At least one candidate input word can be displayed to the user.

本実施例の幾つかの選択的な実現手段において、前記第一の確定モジュールは、出現回数の最も高い候補文字ピンインを予測文字ピンインとして選択するように配置されても良い。   In some optional implementations of this embodiment, the first confirmation module may be arranged to select a candidate character pinyin having the highest occurrence frequency as a predicted character pinyin.

本実施例の幾つかの選択的な実現手段において、前記第一の確定モジュールは、各候補文字ピンインの出現回数、各候補文字ピンインの所在するシソーラスの重みに応じて、候補文字ピンインを予測文字ピンインとして選択するように配置されても良い。   In some optional realization means of the present embodiment, the first determination module determines the candidate character pinyin according to the number of appearances of each candidate character pinyin and the weight of the thesaurus where each candidate character pinyin is located. You may arrange so that it may be selected as pinyin.

本実施例の幾つかの選択的な実現手段において、前記装置は、前記ユーザの前記少なくとも一つの候補入力単語に対する選択操作を検出し、選択された候補入力単語を出力するように配置される出力ユニットを更に備えても良い。   In some optional implementations of this embodiment, the apparatus detects an output of the user on the at least one candidate input word and outputs the selected candidate input word. A unit may be further provided.

本実施例の幾つかの選択的な実現手段において、前記ユーザの入力履歴は、前記ユーザの前記入力方法における入力記録、前記ユーザの各種のオンライン操作に関連する文字記録のうちの少なくとも一つを含んでも良い。   In some optional realization means of this embodiment, the input history of the user includes at least one of an input record of the user in the input method, and a character record related to various online operations of the user. May be included.

本願の前記実施例に提供される装置は、文字ピンインに適する予測文字ピンインを取得し、ピンイン入力の代わりにユーザの確認操作を行う手段により、柔軟性に優れた文字入力を実現した。   The device provided in the embodiment of the present application obtains a predicted character pinyin suitable for the character pinyin, and realizes highly flexible character input by means for performing a user's confirmation operation instead of the pinyin input.

以下に図6を参照する。図6は本願実施例の端末デバイスの実現に適用するコンピュータシステム600の構造模式図を示した。図6に示された電子デバイスはただ例示であり、本願実施例の機能と使用範囲に限定されない。   Refer to FIG. 6 below. FIG. 6 is a schematic structural diagram of a computer system 600 applied to the realization of the terminal device according to the embodiment of the present application. The electronic device shown in FIG. 6 is merely an example, and is not limited to the function and use range of the embodiment of the present application.

図6に示されたように、コンピュータシステム600は、読取専用記憶媒体(ROM)602に記憶されているプログラム又は記憶部608からランダムアクセスメモリ(RAM)603にロードするプログラムに応じて各種の適当な動作及び処理を実行する中央処理ユニット(CPU)601を備える。RAM 603には、更にシステム600の操作に必要の各種のプログラムとデータを記憶している。CPU 601、ROM 602及びRAM 603はバス604により互いに接続される。入力/出力(I/O)インターフェース605もバス604に接続される。   As shown in FIG. 6, the computer system 600 executes various appropriate programs according to a program stored in a read-only storage medium (ROM) 602 or a program loaded from a storage unit 608 to a random access memory (RAM) 603. A central processing unit (CPU) 601 for executing various operations and processes. The RAM 603 further stores various programs and data necessary for operating the system 600. The CPU 601, the ROM 602, and the RAM 603 are connected to each other by a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

センサ、キーボード、マウスなどを含む入力部606、陰極線管(CRT)、液晶ディスプレイ(LCD)など、及びスピーカーなどを含む出力部607、ハードディスクなどを含む記憶部608、及びLANカード、モデムなどのネットワークインターフェースカードを含む通信部609もI/Oインターフェース605に接続される。通信部分609は、例えばインターネットなどのネットワークを介して通信処理を実行する。ドライバー610も必要に応じてI/Oインターフェース605に接続される。リムーバブルメディア611、例えば磁気ディスク、光ディスク、光磁気ディスク、半導体メモリなどは、必要に応じてドライバー610にインストールされ、こちらからリードされたコンピュータプログラムは必要に応じて記憶部608にインストールされる。   An input unit 606 including a sensor, a keyboard, a mouse, and the like, an output unit 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker, a storage unit 608 including a hard disk, and a network such as a LAN card and a modem. A communication unit 609 including an interface card is also connected to the I / O interface 605. The communication unit 609 executes a communication process via a network such as the Internet. The driver 610 is also connected to the I / O interface 605 as necessary. The removable medium 611, for example, a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like are installed in the driver 610 as necessary, and the computer program read therefrom is installed in the storage unit 608 as necessary.

特に、本開示の実施例によれば、上記のフローチャートに参照して説明された過程はコンピュータソフトウェアプログラムに実現されても良い。例えば、本開示の実施例はコンピュータ読取可能な媒体にロードされるコンピュータプログラムを含むコンピュータプログラム製品を備える。当該コンピュータプログラムは、フローチャートに示される方法を実行するためのプログラムコードを含む。このような実施例において、当該コンピュータプログラムは、通信部609を介してネットワークからダウンロードしてインストールされ、及び/又はリムーバブルメディア611からインストールされても良い。当該コンピュータプログラムは、中央処理ユニット(CPU)601により実行される場合に、本願の方法に限定される前記機能を実行する。   In particular, according to an embodiment of the present disclosure, the processes described with reference to the above flowchart may be implemented in a computer software program. For example, embodiments of the present disclosure comprise a computer program product that includes a computer program loaded on a computer-readable medium. The computer program includes program code for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication unit 609, and / or may be installed from the removable medium 611. The computer program, when executed by a central processing unit (CPU) 601, performs the functions limited to the method of the present application.

説明すべきなのは、本願のコンピュータ読取可能な媒体は、コンピュータ読取可能な信号媒体、コンピュータ読取可能な記憶媒体、或いは前記両者の任意の組合わせであっても良い。コンピュータ読取可能な記憶媒体は、例えば電気、磁気、光、電磁気、赤外線、半導体のシステム、装置又は部品、或いはこれらの任意の組み合わせであっても良いが、それらに限定されない。コンピュータ読取可能な記憶媒体についてのより具体的な例は、一つ又は複数の導線を含む電気的な接続、携帯可能なコンピュータ磁気ディスク、ハードディスク、ランダムアクセスメモリ(RAM)、読取専用メモリ(ROM)、消去可能なプログラミング読取専用メモリ(EPROM又はフラッシュ)、光ファイバ、携帯可能なコンパクト磁気ディスク読取専用メモリ(CD−ROM)、光学記憶素子、磁気記憶素子、或いは前記の任意の適当の組み合わせを含むが、それらに限定されない。本願において、コンピュータ読取可能な記憶媒体は、プログラムを含むか記憶する任意の有形の媒体であっても良い。当該プログラムは、コマンドによりシステム、装置又は部品の使用を実行し、或いはそれらに組合わせて使用されても良い。本願において、コンピュータ読取可能な信号媒体は、ベースバンドに伝送され或いはキャリアの一部として伝送され、コンピュータ読取可能なプログラムコードがロードされるデータ信号を含んでも良い。このような伝送されるデータ信号は、各種の形式を採用しても良く、電磁気信号、光信号又は前記の任意の適当の組合わせを含むが、それらに限定されない。コンピュータ読取可能な信号媒体は、コンピュータ読取可能な記憶媒体以外の任意のコンピュータ読取可能な媒体であっても良い。当該コンピュータ読取可能な媒体は、コマンドによりシステム、装置又は部品の使用を実行し又はそれらと組合わせて使用されるプログラムを送信し、伝播し又は伝送することができる。コンピュータ読取可能な媒体に含まれるプログラムコードは、任意の適当の媒体で伝送されても良く、無線、電線、光ケーブル、RFなど、或いは前記の任意の適当の組み合わせを含むが、それらに限定されない。   It should be noted that the computer readable medium of the present application may be a computer readable signal medium, a computer readable storage medium, or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, semiconductor system, device or component, or any combination thereof. More specific examples of computer readable storage media are electrical connections including one or more wires, portable computer magnetic disks, hard disks, random access memory (RAM), read only memory (ROM). Erasable programming including read only memory (EPROM or flash), optical fiber, portable compact magnetic disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing. But not limited to them. In the present application, the computer-readable storage medium may be any tangible medium that contains or stores a program. The program may execute the use of the system, device, or component by a command, or may be used in combination therewith. In this application, a computer-readable signal medium may include a data signal transmitted to baseband or transmitted as part of a carrier and loaded with computer-readable program code. Such transmitted data signals may take various forms, including but not limited to electromagnetic signals, optical signals or any suitable combinations of the above. The computer-readable signal medium may be any computer-readable medium other than the computer-readable storage medium. The computer-readable medium is capable of transmitting, propagating, or transmitting a program for performing or using the system, apparatus, or component with commands. The program code contained on the computer readable medium may be transmitted on any suitable medium, including but not limited to wireless, electric wire, optical cable, RF, etc., or any suitable combination of the above.

図面におけるフローチャート及びブロック図は、本願の各実施例によるシステム、方法及びコンピュータプログラム製品により実現可能なシステム構造、機能及び操作を示した。この点において、フローチャート又はブロック図における各ブロックは、一つのモジュール、プログラムセグメント、又はコードの一部を表すことができる。当該モジュール、プログラムセグメント、コードの一部には、一つ又は複数の所定のロジック機能を実現するための実行可能なコマンドが含まれる。注意すべきなのは、幾つかの置換としての実現において、ブロックに示される機能は図面に示される順序と異なって発生されても良い。例えば、二つの接続的に表示されるブロックは実際に基本的に併行に実行されても良く、場合によっては逆な順序で実行されても良く、関連の機能に従って決定される。注意すべきなのは、ブロック図及び/又はフローチャートにおける各ブロック、及びブロック図及び/又はフローチャートにおけるブロックの組合わせは、所定の機能又は操作を実行する専用のハードウェアによるシステムで実現されても良く、或いは専用のハードウェアとコンピュータコードの組合わせで実現されても良い。   The flowcharts and block diagrams in the drawings show system structures, functions, and operations achievable by the systems, methods, and computer program products according to the embodiments of the present application. In this regard, each block in the flowcharts or block diagrams may represent one module, program segment, or portion of code. Some of the modules, program segments, and codes include executable commands for implementing one or more predetermined logic functions. It should be noted that in some permutations, the functions shown in the blocks may occur out of the order noted in the figures. For example, two connectedly displayed blocks may actually be performed essentially concurrently, and in some cases may be performed in the reverse order, and are determined according to the function involved. Note that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented in a system with dedicated hardware that performs predetermined functions or operations, Alternatively, it may be realized by a combination of dedicated hardware and computer code.

本願の実施例に説明されたユニットはソフトウェアの手段で実現されても良く、ハードウェアの手段で実現されても良い。説明されたユニットは、プロセッサに設置されても良い。例えば、第一の検出ユニット、第一の表示ユニット、第二の検出ユニットと第二の表示ユニットを備えるプロセッサとして記載されても良い。これらユニットの名称は、ある場合に当該ユニットの自身に対する限定とされない。例えば、第一の検出ユニットは更に「ユーザにより入力された文字ピンインを検出するユニット」と記載されても良い。   The units described in the embodiments of the present application may be realized by software means or may be realized by hardware means. The described unit may be located in a processor. For example, it may be described as a processor including a first detection unit, a first display unit, a second detection unit, and a second display unit. The names of these units are in no case limited to the units themselves. For example, the first detection unit may be further described as “a unit that detects a character pinyin input by a user”.

他の局面として、本願は更にコンピュータ読取可能な媒体を提供した。当該コンピュータ読取可能な媒体は、前記実施例に記載された電子デバイスに含まれるものであっても良く、単独に存在し、当該電子デバイスに実装されていないものであっても良い。前記コンピュータ読取可能な媒体には、一つ又は複数のプログラムがロードされる。前記一つ又は複数のプログラムが当該電子デバイスにより実行される場合に、当該電子デバイスに、ユーザにより入力された文字ピンインを検出し、当該文字ピンインに適する予測文字ピンインを取得し、当該文字ピンインと当該予測文字ピンインを関連付けて表示し、当該ユーザの当該予測文字ピンインに対する確認操作を検出し、当該確認操作が検出されたことに応じて、当該文字ピンインと当該予測文字ピンインに対応する少なくとも一つの候補入力単語を表示することを実行させる。   In another aspect, the present application further provides a computer-readable medium. The computer-readable medium may be included in the electronic device described in the above embodiment, or may exist independently and may not be mounted on the electronic device. One or more programs are loaded on the computer-readable medium. When the one or more programs are executed by the electronic device, the electronic device detects a character pinyin input by a user, acquires a predicted character pinyin suitable for the character pinyin, and acquires the character pinyin. The predictive character pinyin is displayed in association with the user, a confirmation operation of the user for the predictive character pinyin is detected, and in response to the detection operation being detected, at least one of the character pinyin and the predictive character pinyin Displaying candidate input words is performed.

以上の記載は、ただ本願の好適な実施例及び運用される技術原理に対する説明である。当業者であればわかるように、本願にかかる発明範囲は、前記技術特徴の特定の組み合わせからなる技術案に限定されず、前記の発明構想から逸脱されない場合に前記技術特徴又は均等の特徴による任意の組み合わせで形成される他の技術案も同時に含まれるべきである。例えば前記特徴と本願に開示された(それらに限定されない)類似の機能を具備する技術特徴が互いに置換されて得られる技術案は該当する。   The foregoing is merely illustrative of the preferred embodiment of the present application and the technical principles employed. As will be understood by those skilled in the art, the scope of the invention according to the present application is not limited to a technical solution composed of a specific combination of the technical features, and any technical feature or equivalent feature may be adopted without departing from the above-described inventive concept. Other technical proposals formed by the combination should be included at the same time. For example, a technical solution obtained by replacing the above-described features with technical features having similar functions disclosed in (but not limited to) the present application is obtained.

Claims (12)

文字を入力する方法であって、
ユーザにより入力された現在文字の文字ピンインを検出し、
前記現在文字の文字ピンインに適する、次の文字として予測される予測文字の文字ピンインである予測文字ピンインを取得し、前記文字ピンインと前記予測文字ピンインとを関連付けて表示し、
前記ユーザの前記予測文字ピンインに対する確認操作を検出し、
前記確認操作が検出されたことに応じて、前記文字ピンインと前記予測文字ピンインとからなる文字ピンイン組み合わせに対応する少なくとも一つの候補入力単語を表示する、ことを含むことを特徴とする文字を入力する方法。
A method of entering characters,
Detecting the character pinyin of the current character entered by the user,
Suitable for the character Pinyin of the current character, obtain a predicted character Pinyin which is a character Pinyin of the predicted character predicted as the next character, and display the character Pinyin and the predicted character Pinyin in association with each other,
Detecting a confirmation operation of the user for the predicted character pinyin,
Displaying at least one candidate input word corresponding to a character pinyin combination consisting of the character pinyin and the predicted character pinyin, in response to the detection of the confirmation operation being detected. how to.
前記の前記文字ピンインに適する予測文字ピンインを取得することは、
前記文字ピンインを入力するための入力方法に関連する入力方法ディフォルトシソーラスと、前記入力方法を使用する各ユーザの入力記録の統計に基づいて生成される統計シソーラスと、前記ユーザの入力履歴の統計に基づいて生成されるユーザプライベートシソーラスとのうちの少なくとも一つを含む目標シソーラスにおいて、前記文字ピンインに適する各候補文字ピンインの出現回数を統計することと、
各候補文字ピンインの出現回数に応じて、候補文字ピンインを予測文字ピンインとして選択することと、を含む、
ことを特徴とする請求項1に記載の文字を入力する方法。
Obtaining a predicted character pinyin suitable for the character pinyin,
An input method default thesaurus related to the input method for inputting the character pinyin, a statistical thesaurus generated based on the statistics of input records of each user who uses the input method, and statistics of the input history of the user. In a target thesaurus including at least one of a user private thesaurus generated based on the statistic, the number of appearances of each candidate character pinyin suitable for the character pinyin is statistically obtained.
Selecting the candidate character pinyin as the predicted character pinyin according to the number of appearances of each candidate character pinyin,
The method for inputting characters according to claim 1, wherein:
前記の各候補文字ピンインの出現回数に応じて、候補文字ピンインを予測文字ピンインとして選択することは、
出現回数の最も多い候補文字ピンインを予測文字ピンインとして選択することを含む、
ことを特徴とする請求項2に記載の文字を入力する方法。
According to the number of appearances of each of the candidate character pinyin, selecting the candidate character pinyin as the predicted character pinyin,
Selecting the candidate character pinyin with the highest occurrence count as the predicted character pinyin,
3. The method according to claim 2, further comprising the steps of:
前記の各候補文字ピンインの出現回数に応じて、候補文字ピンインを予測文字ピンインとして選択することは、
各候補文字ピンインの出現回数と、各候補文字ピンインの所在するシソーラスの重みとに応じて、候補文字ピンインを予測文字ピンインとして選択することを含む、
ことを特徴とする請求項2に記載の文字を入力する方法。
According to the number of appearances of each of the candidate character pinyin, selecting the candidate character pinyin as the predicted character pinyin,
Including selecting the candidate character pinyin as the predicted character pinyin according to the number of appearances of each candidate character pinyin and the weight of the thesaurus where each candidate character pinyin is located,
3. The method according to claim 2, further comprising the steps of:
前記文字を入力する方法は、
前記ユーザの前記少なくとも一つの候補入力単語に対する選択操作を検出し、選択された候補入力単語を出力することを更に含む、
ことを特徴とする請求項1に記載の文字を入力する方法。
The method of inputting the characters is as follows:
The method further includes detecting a selection operation on the at least one candidate input word of the user, and outputting the selected candidate input word,
The method for inputting characters according to claim 1, wherein:
前記ユーザの入力履歴は、
少なくとも、前記ユーザの各種の、文字入力ではないオンライン操作に関連する文字記録含む、
ことを特徴とする請求項2に記載の文字を入力する方法。
The input history of the user,
At least, including the character records associated with various, no online operation to a character input of the user,
3. The method according to claim 2, further comprising the steps of:
前記の前記文字ピンインと前記予測文字ピンインとに対応する少なくとも一つの候補入力単語を表示することは、
前記目標シソーラスから前記文字ピンインと前記予測文字ピンインとに対応する少なくとも一つの候補入力単語を選択し、
各候補入力単語の前記目標シソーラスにおける出現回数を統計し、
各候補入力単語の出現回数に応じて、前記少なくとも一つの候補入力単語から候補入力単語を選択して強調表示することを含む、
ことを特徴とする請求項2に記載の文字を入力する方法。
Displaying at least one candidate input word corresponding to the character pinyin and the predicted character pinyin,
Selecting at least one candidate input word corresponding to the character pinyin and the predicted character pinyin from the target thesaurus,
The number of appearances of each candidate input word in the target thesaurus is statistically calculated,
According to the number of appearances of each candidate input word, including selecting and highlighting a candidate input word from the at least one candidate input word,
3. The method according to claim 2, further comprising the steps of:
文字を入力する装置であって、
ユーザにより入力された現在文字の文字ピンインを検出するように配置される第一の検出ユニットと、
前記現在文字の文字ピンインに適する、次の文字として予測される予測文字の文字ピンインである予測文字ピンインを取得し、前記文字ピンインと前記予測文字ピンインとを関連付けて表示するように配置される第一の表示ユニットと、
前記ユーザの前記予測文字ピンインに対する確認操作を検出するように配置される第二の検出ユニットと、
前記確認操作が検出されたことに応じて、前記文字ピンインと前記予測文字ピンインとからなる文字ピンイン組み合わせに対応する少なくとも一つの候補入力単語を表示するように配置される第二の表示ユニットと、
を備えることを特徴とする文字を入力する装置。
A device for inputting characters,
A first detection unit arranged to detect a character pinyin of a current character input by a user;
A predicted character pinyin which is suitable for the character pinyin of the current character and which is a character pinyin of a predicted character predicted as the next character is arranged, and the character pinyin is arranged to be displayed in association with the predicted character pinyin. One display unit,
A second detection unit arranged to detect a confirmation operation of the user for the predicted character pinyin,
A second display unit arranged to display at least one candidate input word corresponding to a character pinyin combination consisting of the character pinyin and the predicted character pinyin, in response to the confirmation operation being detected,
An apparatus for inputting characters, comprising:
前記第一の表示ユニットは、
前記文字ピンインを入力するための入力方法に関連する入力方法ディフォルトシソーラスと、前記入力方法を使用する各ユーザの入力記録の統計に基づいて生成される統計シソーラスと、前記ユーザの入力履歴の統計に基づいて生成されるユーザプライベートシソーラスとのうちの少なくとも一つを含む目標シソーラスにおいて、前記文字ピンインに適する各候補文字ピンインの出現回数を統計するように配置される第一の統計モジュールと、
各候補文字ピンインの出現回数に応じて、候補文字ピンインを予測文字ピンインとして選択するように配置される第一の確定モジュールと、
を備えることを特徴とする請求項8に記載の文字を入力する装置。
The first display unit,
An input method default thesaurus related to the input method for inputting the character pinyin, a statistical thesaurus generated based on the statistics of input records of each user who uses the input method, and statistics of the input history of the user. A first statistic module arranged to statistically count the number of occurrences of each candidate character pinyin suitable for the character pinyin in a target thesaurus including at least one of a user private thesaurus generated based on
A first confirmation module arranged to select the candidate character pinyin as the predicted character pinyin according to the number of appearances of each candidate character pinyin,
The apparatus for inputting characters according to claim 8, comprising:
前記第二の表示ユニットは、
前記目標シソーラスから前記文字ピンインと前記予測文字ピンインとに対応する少なくとも一つの候補入力単語を選択するように配置される第二の確定モジュールと、
各候補入力単語の前記目標シソーラスにおける出現回数を統計するように配置される第二の統計モジュールと、
各候補入力単語の出現回数に応じて、前記少なくとも一つの候補入力単語から候補入力単語を選択して強調表示するように配置される表示モジュールと、
を備えることを特徴とする請求項9に記載の文字を入力する装置。
The second display unit,
A second confirmation module arranged to select at least one candidate input word corresponding to the character pinyin and the predicted character pinyin from the target thesaurus,
A second statistical module arranged to statistically count the number of occurrences of each candidate input word in the target thesaurus,
A display module arranged to select and highlight a candidate input word from the at least one candidate input word according to the number of appearances of each candidate input word;
The character input device according to claim 9, further comprising:
一つ又は複数のプロセッサと、
一つ又は複数のプログラムを記憶する記憶装置と、を備え、
前記一つ又は複数のプログラムが前記一つ又は複数のプロセッサにより実行される場合に、前記一つ又は複数のプロセッサに請求項1〜7の何れか一つに記載の文字を入力する方法を実行させる端末。
One or more processors,
A storage device for storing one or more programs,
The method according to claim 1, wherein the one or more programs are executed by the one or more processors when the one or more programs are executed by the one or more processors. Terminal to let.
コンピュータプログラムが記憶されており、当該プログラムがプロセッサにより実行される場合に請求項1〜7の何れか一つに記載の文字を入力する方法を実行することを特徴とするコンピュータ読取可能な記憶媒体。   A computer-readable storage medium storing a computer program, wherein the computer-readable storage medium executes the method according to any one of claims 1 to 7 when the program is executed by a processor. .
JP2018019709A 2017-06-28 2018-02-07 Method and apparatus for inputting characters Active JP6640893B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710508068.4A CN107329585A (en) 2017-06-28 2017-06-28 Method and apparatus for inputting word
CN201710508068.4 2017-06-28

Publications (2)

Publication Number Publication Date
JP2019008772A JP2019008772A (en) 2019-01-17
JP6640893B2 true JP6640893B2 (en) 2020-02-05

Family

ID=60198123

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018019709A Active JP6640893B2 (en) 2017-06-28 2018-02-07 Method and apparatus for inputting characters

Country Status (3)

Country Link
JP (1) JP6640893B2 (en)
KR (1) KR102087807B1 (en)
CN (1) CN107329585A (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110413133A (en) * 2018-04-27 2019-11-05 北京搜狗科技发展有限公司 A kind of input method and device
CN110780750A (en) * 2018-07-31 2020-02-11 北京搜狗科技发展有限公司 Input method and device
CN110286778B (en) * 2019-06-27 2023-08-15 北京金山安全软件有限公司 Chinese deep learning input method, device and electronic equipment
CN111782060A (en) * 2020-06-18 2020-10-16 维沃移动通信有限公司 Object display method and device and electronic equipment
CN112148135A (en) * 2020-09-30 2020-12-29 维沃移动通信有限公司 Input method processing method and device and electronic equipment
CN113238664B (en) * 2021-05-14 2023-07-25 北京百度网讯科技有限公司 Character determining method and device and electronic equipment

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3470975B2 (en) * 1992-08-31 2003-11-25 オムロン株式会社 Kana-kanji conversion method and device for document input device
JPH08235318A (en) * 1995-02-27 1996-09-13 Toshiba Corp Method and device for input prediction
JP2002014954A (en) 2000-06-28 2002-01-18 Toshiba Corp Chinese language inputting and converting processing device and method, and recording medium
KR20050007859A (en) 2003-07-11 2005-01-21 타임스페이스시스템(주) Apparatus and method for inputting chinese language by phonetic symbol
US20050027534A1 (en) * 2003-07-30 2005-02-03 Meurs Pim Van Phonetic and stroke input methods of Chinese characters and phrases
KR100641838B1 (en) * 2004-11-10 2007-02-28 이병환 Method and system for inputing multi-language using symbol mixing text
CN100530171C (en) * 2005-01-31 2009-08-19 日电(中国)有限公司 Dictionary learning method and devcie
US20070016862A1 (en) * 2005-07-15 2007-01-18 Microth, Inc. Input guessing systems, methods, and computer program products
JP2008102657A (en) * 2006-10-18 2008-05-01 Matsushita Electric Ind Co Ltd Character input device and method
JP4890289B2 (en) * 2007-02-14 2012-03-07 ヤフー株式会社 Remote control character input control method, server, and remote control character input control program
JP5284724B2 (en) * 2008-08-27 2013-09-11 インターナショナル・ビジネス・マシーンズ・コーポレーション Computer system for outputting second language term which is translation pair of first language term to be translated, method and computer program therefor
CN101853085A (en) * 2010-05-05 2010-10-06 孙强国 Method for improving Chinese pinyin input mode
US9465798B2 (en) * 2010-10-08 2016-10-11 Iq Technology Inc. Single word and multi-word term integrating system and a method thereof
CN102226881A (en) * 2011-05-23 2011-10-26 深圳市五巨科技有限公司 Method and device for realizing prompt of Pinyin input method
CN102508829A (en) * 2011-11-24 2012-06-20 百度在线网络技术(北京)有限公司 Pinyin-input cloud result prediction methods, system and device
US20150100537A1 (en) * 2013-10-03 2015-04-09 Microsoft Corporation Emoji for Text Predictions

Also Published As

Publication number Publication date
JP2019008772A (en) 2019-01-17
KR102087807B1 (en) 2020-03-11
CN107329585A (en) 2017-11-07
KR20190001895A (en) 2019-01-07

Similar Documents

Publication Publication Date Title
JP6640893B2 (en) Method and apparatus for inputting characters
EP3175336B1 (en) Electronic device and method for displaying user interface thereof
US9632618B2 (en) Expanding touch zones of graphical user interface widgets displayed on a screen of a device without programming changes
US9305542B2 (en) Mobile communication device including text-to-speech module, a touch sensitive screen, and customizable tiles displayed thereon
US20140089824A1 (en) Systems And Methods For Dynamically Altering A User Interface Based On User Interface Actions
CN105122185A (en) Text suggestion output using past interaction data
CN102253802A (en) Ink lag compensation technique
CN107734373A (en) Barrage sending method and device, storage medium, electronic equipment
US20170351872A1 (en) Method, device, and system for sending and receiving information
US11216526B2 (en) Systems and methods of online interfaces for hierarchically arranged user-generated content
CN113191726B (en) Task detail interface display method, device, equipment and computer readable medium
US20150378599A1 (en) Method and electronic device for displaying virtual keyboard
CN109408754B (en) Webpage operation data processing method and device, electronic equipment and storage medium
US10547711B2 (en) Using off-screen user interface data during remote sessions
WO2019218688A1 (en) Method and device for displaying information and searching information
JPWO2010067618A1 (en) Operation support method, operation support system, operation support apparatus, and operation support program
US20180095612A1 (en) Intelligent support recommendations for snap-ins
WO2015078257A1 (en) Search information display device and method
US11243679B2 (en) Remote data input framework
CN113821288A (en) Information display method and device, electronic equipment and storage medium
US20230276079A1 (en) Live streaming room page jump method and apparatus, live streaming room page return method and apparatus, and electronic device
CN109951380B (en) Method, electronic device, and computer-readable medium for finding conversation messages
CN112291412B (en) Application program control method and device and electronic equipment
CN113807831A (en) Payment method and device
JP2013239207A (en) Electronic apparatus, method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180207

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190409

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190412

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190710

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20191224

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191226

R150 Certificate of patent or registration of utility model

Ref document number: 6640893

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250