JP2009301167A - Apparatus for predicting and converting character string - Google Patents
Apparatus for predicting and converting character string Download PDFInfo
- Publication number
- JP2009301167A JP2009301167A JP2008152606A JP2008152606A JP2009301167A JP 2009301167 A JP2009301167 A JP 2009301167A JP 2008152606 A JP2008152606 A JP 2008152606A JP 2008152606 A JP2008152606 A JP 2008152606A JP 2009301167 A JP2009301167 A JP 2009301167A
- Authority
- JP
- Japan
- Prior art keywords
- character string
- unit
- conversion
- input
- prediction
- 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.)
- Pending
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
Abstract
Description
本発明は、入力に応じて出力したい文字列を予測する文字列予測変換装置に関するものである。 The present invention relates to a character string prediction conversion apparatus that predicts a character string to be output in response to an input.
従来、日本語の文字列入力においては、仮名漢字変換が必要なために、多くの入力操作を行わなければならないという問題があった。そのため、ユーザが入力操作を行ってから文字列の入力や、仮名漢字変換を行う方法としてより少ない打鍵により多くの文字列の入力、仮名漢字変換を実現するために、予測変換機能が広く知られている。 Conventionally, Japanese character string input has had a problem that many input operations have to be performed because kana-kanji conversion is required. Therefore, the predictive conversion function is widely known in order to realize the input of many character strings and kana-kanji conversion with fewer keystrokes as a method of performing character input or kana-kanji conversion after the user performs an input operation. ing.
下記特許文献1に記載の文章作成装置は、予測変換ユーザ辞書への文字列の自動登録を行うものである。この特許文献1では、編集された文字列を抽出し、その文字列を変換後文字列とする辞書情報を記憶する入力予測暫定辞書を用いており、予測変換処理により決定された入力予測暫定辞書の文字列候補が変換後文字列として選択されたことに応じて、その選択された文字列を変換後文字列とするとともに、その選択された文字列を文字列候補として決定するもととなった入力文字列を読みとする辞書情報が入力予測用辞書に記憶する。これにより、編集がなされた文字列が自動的に入力予測処理のために辞書登録するものである。
しかしながら、前記従来の構成では、編集がなされた文字列が自動的に入力予測処理のために辞書登録できるものの、仮名漢字変換した文字列に関する修正を行っていることを確認しないと、文字列の編集を登録できないため、修正の対象文字列が空白であると文字列の編集を登録できない。従って、入力された文字列を全部消去したとき、全消去された文字列に対する変換文字列を登録できないという問題がある。 However, in the conventional configuration, the edited character string can be automatically registered in the dictionary for input prediction processing, but if it is not confirmed that the character string converted to Kana / Kanji has been corrected, Since editing cannot be registered, editing of the character string cannot be registered if the character string to be corrected is blank. Therefore, there is a problem that when the inputted character string is completely erased, a converted character string for the completely erased character string cannot be registered.
前記従来の課題を解決するために、本発明の文字列予測変換装置は、入力された文字列を基に、前記文字列に対する変換候補を予測する文字列予測変換装置であって、全消去された直近の入力文字列を検出する文字列消去検出部と、前記文字列消去検出部で直近の入力文字列が全消去されたことを検出した後に確定された文字列を前記全消去された文字列の変換候補として予測変換ユーザ辞書部に登録する機能を有し、文字列予測変換を行う。 In order to solve the conventional problem, the character string prediction conversion device according to the present invention is a character string prediction conversion device that predicts conversion candidates for the character string based on the input character string, and is entirely erased. A character string erasure detection unit that detects the most recent input character string, and a character string that is confirmed after the character string erasure detection unit detects that the most recent input character string is completely erased. It has a function of registering as a column conversion candidate in the prediction conversion user dictionary unit, and performs character string prediction conversion.
本発明の文字列予測変換装置は、入力された文字列を基に、前記文字列に対する変換候補を予測する文字列予測変換装置であって、全消去された文字列を検出する文字列消去検出部と、前記文字列消去検出部で文字列が全消去されたことを検出した後に入力が確定された文字列を前記全消去された文字列の変換候補として予測変換ユーザ辞書部に登録する手段とを備えたものであり、この構成により、通常では変換できない未知語でも自動的に予測変換ユーザ辞書部に登録することができる。また、直近の入力文字列が、変換したい文字列と一文字も一致していなくても予測変換ユーザ辞書部に自動登録できるため、予測変換の辞書登録が容易に行え、ユーザがより少ない動作で文字入力を行うことが出来る。 A character string prediction conversion device according to the present invention is a character string prediction conversion device that predicts conversion candidates for the character string based on an input character string, and detects a character string erasure detection that detects a completely erased character string. And a means for registering in the predictive conversion user dictionary unit as a conversion candidate for the all-erased character string, a character string whose input has been confirmed after detecting that the character string has been completely erased by the character string erasure detection unit With this configuration, unknown words that cannot be converted normally can be automatically registered in the predictive conversion user dictionary unit. Moreover, since the most recent input character string can be automatically registered in the predictive conversion user dictionary even if no character matches the character string to be converted, predictive conversion dictionary registration can be performed easily, and characters can be operated with fewer operations. Input can be made.
以下、本発明を実施するための最良の形態について図面を参照しながら説明する。
(実施の形態1)
図1は、本発明の実施の形態1における通信端末装置の概略構成図、図2は、文字列予測変換装置の動作を説明するフローチャート、図3は実施例1における一時データ格納部の一例を示す図、図4は実施例1における文字入力時に表示部に表示される画面の一例を示す図、図5は実施例2における一時データ格納部の一例を示す図、図6は実施例2における文字入力時に表示部に表示される画面の一例を示す図である。
The best mode for carrying out the present invention will be described below with reference to the drawings.
(Embodiment 1)
FIG. 1 is a schematic configuration diagram of a communication terminal apparatus according to Embodiment 1 of the present invention, FIG. 2 is a flowchart for explaining the operation of a character string prediction conversion apparatus, and FIG. FIG. 4 is a diagram illustrating an example of a screen displayed on the display unit when characters are input in the first embodiment, FIG. 5 is a diagram illustrating an example of a temporary data storage unit in the second embodiment, and FIG. It is a figure which shows an example of the screen displayed on a display part at the time of a character input.
図1に示すように、通信端末装置は、文字列消去検出部1と、テキストバッファ部2と、一時データ格納部3と、品詞検出部4と、入力部5と、制御部6と、表示部7と、仮名漢字変換処理部8と、予測変換処理部9と、仮名漢字変換辞書部10と、予測変換辞書部11と、予測変換ユーザ辞書部12と、通信部13と、メール機能部14から構成される。
As shown in FIG. 1, the communication terminal device includes a character string erasure detection unit 1, a text buffer unit 2, a temporary
文字列消去検出部1は、直近に入力された文字列が全て消去されたことを検出する。テキストバッファ部2は入力された文字列及び入力が確定された文字列を一時保存する。一時データ格納部3は、上記、テキストバッファ部2から全消去された入力文字列と、文字列消去検出部1により直近の入力文字列が全部消去されたことが検出された直後の確定文字列を保存する。品詞検出部4は、確定文字列から助詞・接続詞・句読点を検出する。入力部5は仮名文字など入力を行うキー力装置である。制御部6は文字列消去検出部1により直近の入力された文字列が全部消去されたことが検出された直後に入力が確定された確定文字列を保存する。品詞検出部4は、確定文字列から助詞・接続詞・句読点を検出する。入力部5は仮名文字など入力を行う入力装置であり、キーボード、テンキーなどのキーや、タッチパネルなどの装置などで構成される。
The character string erasure detection unit 1 detects that all the character strings input most recently have been erased. The text buffer unit 2 temporarily stores the input character string and the input character string that has been confirmed. The temporary
制御部6は、文字列消去検出部1で検出された直近の全部消去された入力文字列をテキストバッファ部2から抽出し、一時データ格納部3に保存する。品詞検出部4が助詞・接続詞・句読点を検出した場合、制御部6は、直近の入力文字列が全部消去されたことが検出された直後から入力が確定された文字列のうち、の品詞検出部4が検出した助詞・接続詞・句読点以外の確定文字列をテキストバッファ部2から抽出し、一時データ格納部3に保存する。また、制御部6は入力部5より入力された文字列を表示部7に表示する。
The control unit 6 extracts the most recently erased input character string detected by the character string erasure detection unit 1 from the text buffer unit 2 and stores it in the temporary
表示部7は、画面表示装置であり液晶ディスプレイや、タッチパネルの表示装置、有機ディスプレイなどで構成される。利用者はこの画面表示装置を視認することによって対話的に文字入力処理を進めることができる。
The
仮名漢字変換処理部8は入力された文字列に基づいて、それに対する変換文字列を仮名漢字変換辞書部10から検索し、予測変換処理部9は入力された文字列に基づいて、それに対する変換文字列を予測変換辞書部11と予測変換ユーザ辞書部12から検索する。一時データ格納部3に保存されているデータは、品詞検出部4が助詞・接続詞・句読点を検出したことを契機に全消去された文字列と確定した文字列とを関連付けて予測変換ユーザ辞書部12に保存される。
The kana-kanji conversion processing unit 8 searches the kana-kanji
通信部13は、例えば、送受信回路、変復調回路などで構成され、通信ネットワークと接続してデータ通信を行う。
The
メール機能部14は、メール作成およびメールの送受信を行う。
The
次に、本実施の形態1について、その動作を、図2を用いて説明する。 Next, the operation of the first embodiment will be described with reference to FIG.
メール機能部14はメールの作成のサブジェクトまたはメール本文を編集するとき、制御部6を起動し、文字入力の文字列予測変換機能を起動する。
The
図2に示すように、ユーザが入力部4などで入力文字列を全て消去した場合など、文字列消去検出部1が直近の入力文字列が全部消去されたことを検出すると(ステップS101)、制御部6は直近の全部消去された入力文字列をテキストバッファ部2から抽出し、一時データ格納部3に保存する(ステップS102)。続いて制御部6は入力部5で入力された入力文字列表読み込み(ステップS103)、入力文字列をテキストバッファ部2に保存する(ステップS104)。また、入力された文字列を表示部7に表示する。次にユーザが入力部5を操作することなどにより、表示している文字列を確定すれば(ステップS105)、制御部6は確定された文字列をテキストバッファ部2に保存する(ステップS106)。品詞検出部4が確定された文字列の中から助詞・接続詞・句読点を検出すれば(ステップS107のYES)、制御部6はテキストバッファ部2から助詞・接続詞・句読点以外の確定文字列を一時データ格納部3に保存する(ステップS109)。次に、制御部6は一時データ格納部3のデータを予測変換ユーザ辞書部12に登録する(ステップS110)。また、制御部6はテキストバッファ部2、一時データ格納部3をクリアして終了する(ステップS111)。品詞検出部4が確定文字列から助詞・接続詞・句読点を検出しない場合は(ステップS107のNO)、制御部6はテキストバッファ部2から確定文字列を抽出して一時データ格納部3に保存し(ステップS108)、再度、入力部5で入力された入力文字列の読み込みを行う(ステップS103)。
As shown in FIG. 2, when the user erases all the input character strings using the input unit 4 or the like, when the character string erase detection unit 1 detects that all the latest input character strings are erased (step S101), The control unit 6 extracts the most recently erased input character string from the text buffer unit 2 and stores it in the temporary data storage unit 3 (step S102). Subsequently, the control unit 6 reads the input character string table input by the input unit 5 (step S103), and stores the input character string in the text buffer unit 2 (step S104). The input character string is displayed on the
このように、本実施の形態1によれば、通常では変換できない未知語でも自動的に予測変換ユーザ辞書部12に登録することができる。また、直近に表示した文字列が、変換したい文字列と一文字も一致していなくても予測変換ユーザ辞書部12に自動登録することにより、文字入力の効率を高めることができる
(実施例1)
次に、本発明の実施の形態1における実施例1について、その動作を、図3と図4を用いて説明する。図3は入力文字、変換文字、品詞の3つの項目からなる一時データ格納部に保存される文字列を示す。また、図4は文字入力時に表示部7に表示される画面の例を示す。
As described above, according to the first embodiment, an unknown word that cannot be converted normally can be automatically registered in the predictive conversion
Next, the operation of Example 1 in Embodiment 1 of the present invention will be described with reference to FIGS. FIG. 3 shows a character string stored in a temporary data storage unit composed of three items of input characters, converted characters, and parts of speech. FIG. 4 shows an example of a screen displayed on the
一時データ格納部3は、入力文字、変換文字、品詞の3つの項目からなる。例えば、「こすも」なる文字列が入力されると(図4 (a))、「こすも」がテキストバッファ部2に保存される。「こすも」なる文字列が入力された直後に、「こすも」なる文字列が全て消去されたことを文字列消去検出部1が検出した場合(図4 (b))、テキストバッファ部2に保存されている「こすも」が一時データ格納部3の入力文字の項目に保存される(図3 (a))。次に「宇宙」なる文字列が入力されて確定されると(図4 (c))、テキストバッファ部2に保存されている確定文字列「宇宙」を一時データ格納部3の変換文字の項目に保存する(図3 (b))。また、確定文字列「宇宙」は名詞であるので、一時データ格納部3の品詞の項目に「宇宙」に対応する品詞として「名詞1」を保存する。次に、「君」なる文字が入力されて確定されると(図4 (d))、テキストバッファ部2に保存されている確定文字列「君」を一時データ格納部3の変換文字の項目に既に保存されていた「宇宙」に確定文字列「君」を追加した「宇宙君」を追加保存する(図3 (c))。また、確定文字列「君」は名詞であるので、一時データ格納部3の品詞の項目に「君」に対応する品詞として「名詞2」を保存する。次に、「は」なる文字が入力されて確定されると(図4 (e))、品詞検出部4は助詞である文字が確定されたことを検出する。次に、制御部6は一時データ格納部3に保存されているデータを予測変換ユーザ辞書部12に登録する。ここで、一時データ格納部3の品詞の区分が名詞1/名詞2であるため、予測変換ユーザ辞書部12に登録する変換文字列は「宇宙君」、「宇宙」である。最後に、テキストバッファ部2、一時データ格納部3をクリアする。
The temporary
(実施例2)
次に、本発明の第二の実施例について、その動作を、図5と図6を用いて説明する。図5は入力文字、変換文字、品詞の3つの項目からなる一時データ格納部3に保存される文字列を示す。また、図6は文字入力時に表示部7に表示される画面の例を示す。
(Example 2)
Next, the operation of the second embodiment of the present invention will be described with reference to FIGS. FIG. 5 shows a character string stored in the temporary
例えば、「どっけん」なる文字列が入力されると(図6 (a))、「どっけん」がテキストバッファ部2に保存される。「どっけん」なる文字列が入力された直後に、「どっけん」なる文字列が全て消去された場合(図6 (b))、テキストバッファ部2に保存されている「どっけん」が一時データ格納部3の入力文字の項目に保存される(図5 (a))。次に「独り」なる文字列が入力されて確定されて(図6 (c))、「り」を消去して、「独」が確定されると(図6 (d))、テキストバッファ部2に保存されている確定文字列「独」を一時データ格納部3の変換文字の項目に保存する(図5 (b))。ここで、「り」が消去されているが直近の文字列は全て消去されていないため、文字列消去検出部1は直近の文字列が全て消去されたことを検出せず、「ひとり」は一時データ格納部3に保存されない。また、確定された文字「独」は名詞であるので、一時データ格納部3の品詞の項目に「独」に対応する品詞として「名詞1」を保存する。次に、「検、」なる文字列が入力されて確定されると(図6 (e))、品詞検出部4は句読点である文字が確定されたことを検出する。続いてテキストバッファ部2に保存されている助詞・接続詞・句読点以外の確定文字列「検」を一時データ格納部3の変換文字の項目に既に保存されていた「独」に確定文字列「検」を追加した「独検」を追加保存し、「検」は名詞であるので、一時データ格納部3の品詞の項目に「検」に対応する品詞として「名詞2」を保存する。(図4(c))、品詞検出部4は句読点である文字が確定されたことを検出したので、制御部6は一時データ格納部3に保存されているデータを予測変換ユーザ辞書部12に登録する。ここで、一時データ格納部3の品詞の区分が名詞1/名詞2であるため、予測変換ユーザ辞書部12に登録する変換文字列は「独検」、「独」である。最後に、テキストバッファ部2、一時データ格納部3をクリアする。
For example, when a character string “Docken” is input (FIG. 6A), “Docken” is stored in the text buffer unit 2. Immediately after the character string “Docken” is entered, when all the character strings “Docken” are deleted (FIG. 6B), “Docken” stored in the text buffer unit 2 is temporarily stored. The data is stored in the input character field of the data storage unit 3 (FIG. 5A). Next, the character string “single” is inputted and confirmed (FIG. 6 (c)). When “RI” is deleted and “Germany” is confirmed (FIG. 6 (d)), the text buffer section 2 is stored in the converted character item of the temporary data storage unit 3 (FIG. 5B). Here, since “ri” is erased but the most recent character string is not erased, the character string erase detection unit 1 does not detect that all the latest character strings are erased, and “one person” It is not stored in the temporary
本発明は、入力された文字列を基に、それに対する変換候補を予測する文字列予測変換装置であって、全消去された直近の入力文字列を検出する文字列消去検出部と、前記文字列消去検出部で直近の入力文字列が全消去されたことを検出した後に確定された文字列を前記全消去された文字列の変換候補として予測変換ユーザ辞書部に登録する機能を有した文字列予測変換装置であり、従って、通常では変換できない未知語でも自動的に予測変換ユーザ辞書部に登録することができる。また、直近の入力文字列が、変換したい文字列と一文字も一致していなくても予測変換ユーザ辞書部に自動登録でき、文字列予測変換装置として有用である。 The present invention is a character string prediction conversion device that predicts conversion candidates for an input character string based on the input character string, the character string erasure detection unit for detecting the most recently erased input character string, and the character A character having a function of registering a character string determined after detecting that the most recent input character string has been completely erased by the sequence erasure detection unit as a conversion candidate for the all erased character string in the predictive conversion user dictionary unit Therefore, even unknown words that cannot be converted normally can be automatically registered in the prediction conversion user dictionary unit. Moreover, even if the most recent input character string does not match the character string to be converted, it can be automatically registered in the predictive conversion user dictionary unit, which is useful as a character string predictive conversion device.
1 文字列消去検出部
2 テキストバッファ部
3 一時データ格納部
4 品詞検出部
5 入力部
6 制御部
7 表示部
8 仮名漢字変換処理部
9 予測変換処理部
10 仮名漢字変換辞書部
11 予測変換辞書部
12 予測変換ユーザ辞書部
13 通信部
14 メール機能部
DESCRIPTION OF SYMBOLS 1 Character string deletion | elimination detection part 2
Claims (12)
全消去された文字列を検出する文字列消去検出部と、
前記文字列消去検出部で文字列が全消去されたことを検出した後に、入力が確定された文字列を前記全消去された文字列の変換候補として予測変換ユーザ辞書部に登録する辞書登録手段と、
を有する文字列予測変換装置。 A character string prediction conversion device that predicts conversion candidates for the character string based on the input character string,
A character string erasure detection unit for detecting a completely erased character string;
A dictionary registration means for registering a character string whose input has been confirmed in the predictive conversion user dictionary unit as a conversion candidate for the all-erased character string after detecting that the character string erasure detection unit has completely erased the character string When,
A character string predictive conversion device having:
前記文字列予測変換装置は、前記メール作成時に前記文字列予測変換装置の文字列予測変換機能を用いることを特徴とする通信端末装置。 The character string prediction conversion device according to any one of claims 1 to 9, a communication unit, and a mail function unit that performs mail creation and mail transmission / reception,
The said character string prediction conversion apparatus uses the character string prediction conversion function of the said character string prediction conversion apparatus at the time of the said mail preparation, The communication terminal device characterized by the above-mentioned.
文字列が全消去されたことを検出した後に、入力が確定された文字列を前記全消去された文字列の変換候補として予測変換ユーザ辞書部に登録する辞書登録ステップと、
を有する文字列予測変換方法。 A character string erasure detection step for detecting a completely erased character string;
After detecting that the character string has been completely erased, a dictionary registration step of registering the character string whose input has been confirmed in the predictive conversion user dictionary unit as a conversion candidate for the completely erased character string;
A character string predictive conversion method comprising:
文字列が全消去されたことを検出した後に、入力が確定された文字列を前記全消去された文字列の変換候補として予測変換ユーザ辞書部に登録する辞書登録ステップと、
を有する文字列予測変換プログラム。 A character string erasure detection step for detecting a completely erased character string;
After detecting that the character string has been completely erased, a dictionary registration step of registering the character string whose input has been confirmed in the predictive conversion user dictionary unit as a conversion candidate for the completely erased character string;
A character string prediction conversion program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008152606A JP2009301167A (en) | 2008-06-11 | 2008-06-11 | Apparatus for predicting and converting character string |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008152606A JP2009301167A (en) | 2008-06-11 | 2008-06-11 | Apparatus for predicting and converting character string |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2009301167A true JP2009301167A (en) | 2009-12-24 |
Family
ID=41548018
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008152606A Pending JP2009301167A (en) | 2008-06-11 | 2008-06-11 | Apparatus for predicting and converting character string |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2009301167A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014037976A1 (en) * | 2012-09-05 | 2014-03-13 | Necカシオモバイルコミュニケーションズ株式会社 | Character input device, character input method for character input device, and non-temporary computer-readable medium |
-
2008
- 2008-06-11 JP JP2008152606A patent/JP2009301167A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014037976A1 (en) * | 2012-09-05 | 2014-03-13 | Necカシオモバイルコミュニケーションズ株式会社 | Character input device, character input method for character input device, and non-temporary computer-readable medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7956844B2 (en) | Handheld electronic device providing a learning function to facilitate correction of erroneous text entry in environment of text requiring multiple sequential actuations of the same key, and associated method | |
JP2003162687A (en) | Handwritten character-inputting apparatus and handwritten character-recognizing program | |
US20100134419A1 (en) | Handheld Electronic Device Providing Proposed Corrected Input In Response to Erroneous Text Entry In Environment of Text Requiring Multiple Sequential Actuations of the Same Key, and Associated Method | |
US7966574B2 (en) | Method of learning character segments during text input, and associated handheld electronic device | |
US20130144820A1 (en) | Method of learning a context of a segment of text, and associated handheld electronic device | |
US20130073572A1 (en) | Method of learning character segments from received text, and associated handheld electronic device | |
JP2006331066A (en) | Character input device and method | |
JP2009301167A (en) | Apparatus for predicting and converting character string | |
EP2894547B1 (en) | Character input device, character input method of character input device, and non-transitory computer-readable medium | |
JP6221275B2 (en) | Character input program and character input device | |
JP4535186B2 (en) | Electronic device and program with dictionary function | |
JP4404436B2 (en) | Character input device | |
JP2022074154A (en) | Character input apparatus, character input method, and character input program | |
US20080189327A1 (en) | Handheld Electronic Device and Associated Method for Obtaining New Language Objects for Use by a Disambiguation Routine on the Device | |
JPH0380363A (en) | Document processor | |
JP2005267468A (en) | Information search apparatus | |
JP4661653B2 (en) | Character input device, character input method, and character input program | |
JP5261133B2 (en) | Character string converter with dictionary search function | |
CA2619423C (en) | Handheld electronic device and associated method for obtaining new language objects for use by a disambiguation routine on the device | |
JP2001290813A (en) | Method and device for japanese syllabary-to-chinese character conversion and recording medium | |
WO2008000057A1 (en) | Learning character segments from received text | |
JP2010079324A (en) | Character input conversion method and character input conversion device | |
JP2007219896A (en) | Electronic dictionary and control method for electronic dictionary | |
JPH08194701A (en) | Character processor | |
JPH04160668A (en) | Character processor |