JPH0283775A - Character input device and method - Google Patents
Character input device and methodInfo
- Publication number
- JPH0283775A JPH0283775A JP63236925A JP23692588A JPH0283775A JP H0283775 A JPH0283775 A JP H0283775A JP 63236925 A JP63236925 A JP 63236925A JP 23692588 A JP23692588 A JP 23692588A JP H0283775 A JPH0283775 A JP H0283775A
- Authority
- JP
- Japan
- Prior art keywords
- word
- temporary storage
- conversion
- conversion candidate
- storage unit
- 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.)
- Granted
Links
Landscapes
- Document Processing Apparatus (AREA)
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
産業上の利用分野
本発明はワードプロセッサや計算機などにおいて、読み
で指定した日本語文章を漢字かな交じりの日本語文字表
記列に変換して入力する文字入力装置および方法に関す
るものである。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention relates to a character input device and method for converting a Japanese sentence specified by reading into a Japanese character string including kanji and kana and inputting it in a word processor, calculator, etc. It is something.
従来の技術
従来の文字入力装置および方法としては、かな漢字変換
装置および方法として多くのものが考案されており、近
年は特に「関連語」を利用するものが発表されている。BACKGROUND OF THE INVENTION Many conventional character input devices and methods have been devised as kana-kanji conversion devices and methods, and in recent years, devices that utilize "related words" have been announced in particular.
「関連語」とは文章中で共起する単語対のことを云うも
ので、 「温かい」と「料理」が関連語であることを利
用して「料理」が文脈に存在する時は「温かい」を「暖
かい」よりも優先して変換出力するかな漢字変換が実現
できる。"Related words" are word pairs that co-occur in a sentence.Using the fact that "warm" and "cooking" are related words, when "cooking" is present in the context, "warm"'' can be converted and output with priority over ``warm'' in kana-kanji conversion.
このような従来の文字入力装置および方法の例としては
、 「連語解析を用いたべた書きかな漢字変換」 (情
報処理学会 日本語文書処理研究会21−2 1985
5/8)などが発表されている。このような従来の文
字入力装置および方法について以下簡単に説明する。An example of such a conventional character input device and method is "Solid kana-kanji conversion using collocation analysis" (Information Processing Society of Japan Japanese Document Processing Study Group 21-2 1985
5/8) etc. have been announced. Such conventional character input devices and methods will be briefly described below.
第5図は従来のかな漢字変換装置の構成を示すブロック
図である。FIG. 5 is a block diagram showing the configuration of a conventional kana-kanji conversion device.
1ばかな入力部であり、日本語の読みをコードとして入
力する五十音のかな鍵を備えたキーボード装置である。It is a keyboard device equipped with kana keys of 50 syllables for inputting Japanese pronunciations as codes.
2は入力文字列一時記憶部であり、かな入力部1を介し
て入力される文字コードを逐次記録し読みコード列とし
て一時記憶する。Reference numeral 2 denotes an input character string temporary storage section, which sequentially records character codes input through the kana input section 1 and temporarily stores them as a reading code string.
3はかな漢字変換部であり、内部に保持している単語辞
書との照合に基づき入力文字列一時記憶部2内の読み列
を対応する漢字かな交じりの変換候補に変換し出力する
。この際、出力する変換候補には単語読みの一致長さ、
また単語の辞書内格納順に基づき出力優先番号をイ」け
て出力する。−致長さが長い程小さい番号を、また等し
い場合には辞書内格納順が早い程小さい番号をふる。3 is a kana-kanji conversion unit, which converts the pronunciation in the input character string temporary storage unit 2 into a corresponding conversion candidate of kanji and kana based on a comparison with an internally held word dictionary and outputs it. At this time, the output conversion candidates include the matching length of the word reading,
Also, the output priority number is incremented and output based on the order in which words are stored in the dictionary. - The longer the matching length, the smaller the number, and if they are equal, the earlier the storage order in the dictionary, the smaller the number.
4は変換指示入力部であり、変換キーを装備するキーボ
ード装置で実現される。オペレータが変換指示入力部4
の変換キーを押下すると変換起動を指示するための「変
換指示信号」をかな漢字変換部3に出力する。4 is a conversion instruction input unit, which is realized by a keyboard device equipped with conversion keys. The operator inputs the conversion instruction input section 4.
When the conversion key is pressed, a "conversion instruction signal" for instructing conversion start is output to the kana-kanji conversion unit 3.
5は変換候補一時記憶部で、かな漢字変換部3が出力し
た漢字かな交じり列の変換候補単語列を出力優先番号順
に記憶する。Reference numeral 5 denotes a conversion candidate temporary storage section which stores conversion candidate word strings of Kanji-kana mixed strings outputted by the kana-kanji conversion section 3 in the order of output priority numbers.
6は変換候補表示部で、変換候補一時記憶部S内の変換
候補単語列を表示番号と対応づけて日本語表示デイスプ
レィ装置上に表示する。Reference numeral 6 denotes a conversion candidate display unit that displays the conversion candidate word strings in the conversion candidate temporary storage unit S in association with display numbers on the Japanese language display device.
7は変換候補選択部で、変換候補一時記憶部5に格納さ
れている変換候補単語列を変換候補表示部6に表示番号
と対応イ」けて出力する。変換候補選択部7は「次候補
出力信号」と「選択番号指示信号」を入力として受は付
け、前者の場合は変換候補一時記憶部5から次順の変換
候補単語列を変換候補表示部6に出力し、後者の場合は
変換候補表示部6に表示されている該当表示番号と対応
づけられた変換候補単語列を確定する。Reference numeral 7 denotes a conversion candidate selection section, which outputs the conversion candidate word string stored in the conversion candidate temporary storage section 5 to the conversion candidate display section 6 in correspondence with the display number. The conversion candidate selection unit 7 accepts the “next candidate output signal” and the “selection number instruction signal” as input, and in the case of the former, the conversion candidate display unit 6 displays the next conversion candidate word string from the conversion candidate temporary storage unit 5. In the latter case, the conversion candidate word string associated with the corresponding display number displayed on the conversion candidate display section 6 is determined.
8は選択指示入力部であり、 「次候補キー」と候補選
択用の「番号キー」を持つキーボード装置である。選択
指示入力部8は変換候補選択部7に対してこれらのキー
押下に対応して各々「次候補出力信号」と「選択番号指
示信号」を出力する。Reference numeral 8 denotes a selection instruction input section, which is a keyboard device having a "next candidate key" and a "number key" for selecting candidates. The selection instruction input section 8 outputs a "next candidate output signal" and a "selection number instruction signal" to the conversion candidate selection section 7 in response to these key presses, respectively.
9は関連語辞書であり、文章中で共起することの多い単
語対を対応付けて記憶している。記憶項目は両単語の表
記であり、活用語は語幹部分のみを持つ。また、関連語
辞書9内のレコードは片方の単語(見出し語)の表記で
ソートされている。9 is a related word dictionary, which stores word pairs that often co-occur in sentences in association with each other. The memory item is the notation of both words, and the conjugated word has only the stem part. Furthermore, the records in the related word dictionary 9 are sorted by the notation of one of the words (headword).
10は関連語検索部であり、関連語辞書9上において変
換候補一時記憶部5上の変換候補単語を見出しとして持
つレコードを検索し、変換候補単語間で関連のあるもの
を抽出する。Reference numeral 10 denotes a related word search section, which searches the related word dictionary 9 for records having the conversion candidate words in the conversion candidate temporary storage section 5 as headings, and extracts related conversion candidate words.
11は関連語優先順変更部で、変換候補一時記憶部5内
の変換候補単語の出力優先順を関連語検索部10の処理
結果に応じて変更する。すなわち、変換候補単語群中で
互いに関連語の関係にあるものの出力優先順位を上げる
。Reference numeral 11 denotes a related word priority order change unit that changes the output priority order of conversion candidate words in the conversion candidate temporary storage unit 5 in accordance with the processing result of the related word search unit 10. That is, the output priority of words that are related to each other among the conversion candidate words is increased.
12は文章記憶部で、変換候補選択部11が選択した変
換候補単語列を確定した文章テキストとして記憶する。Reference numeral 12 denotes a text storage unit that stores the conversion candidate word string selected by the conversion candidate selection unit 11 as a confirmed text.
13は文章表示部で文章記憶部12内の文章文字表記列
を表示するデイスプレィ装置である。Reference numeral 13 denotes a text display unit, which is a display device that displays text character notation strings in the text storage unit 12.
14は入力位置変更部で4方向のカーソル移動キーを具
備しており、キー押下の指示により文章記憶部12内の
文章における文字入力位置および変換候補表示部6にお
ける変換候補表示位置を変更する。Reference numeral 14 denotes an input position changing unit, which is equipped with four-direction cursor movement keys, and changes the character input position in the text in the text storage unit 12 and the conversion candidate display position in the conversion candidate display unit 6 in response to a key press instruction.
第6図は従来の文字入力方法における文字入力処理の手
順を説明するフローチャートである。以下、その動作を
[読み入力]、[入力位置変更コ、[変換候補作成]、
[変換候補選択]に分けて説明する。FIG. 6 is a flowchart illustrating the procedure of character input processing in a conventional character input method. Below, the operations are [Reading input], [Change input position], [Create conversion candidate],
This will be explained separately in [Conversion candidate selection].
[読み人カコ
601:読み入力段階
オペレータは入力を意図する文字の読みをかな入力部1
上の対応する五十音キーの押下により順に指示する。1
つのキーが押下される毎に各キーに対応した読みコード
が入力文字列一時記憶部2に順に追加格納される。文字
が格納されるとすぐにまた入力待ち状態になり再び読み
が入力されると以前に入力した読みに今回入力した読み
が連結されて−続きの入力読み列が入力文字列一時記憶
部2上に形成される。[Reader Kako 601: Reading input stage The operator inputs the reading of the character intended to be input into the kana input section 1.
Instructions are given in order by pressing the corresponding Japanese syllabary keys above. 1
Each time a key is pressed, the reading code corresponding to each key is added and stored in the input character string temporary storage section 2 in order. As soon as the characters are stored, the system waits for input again, and when the reading is input again, the reading input this time is concatenated with the reading input previously, and the continuation of the input reading string is stored in the input character string temporary storage section 2. is formed.
[入力位置変更]
602:入力位置変更段階
オペレータが文章中での入力位置の変更を意図して、入
力位置変更部14上のカーソルキーを押下すると、変換
候補選択部7は入力位置変更部14からの指示により、
現在表示している候補ての確定処理を行なう。その後文
章記憶部12」二での文字入力位置を変更したあと、変
換候補表示部16上にその様子を表示させる。[Input position change] 602: Input position change stage When the operator presses the cursor key on the input position change unit 14 with the intention of changing the input position in the sentence, the conversion candidate selection unit 7 changes the input position change unit 14. According to instructions from
Confirms the currently displayed candidates. After that, the character input position in the text storage section 12''2 is changed, and the change is displayed on the conversion candidate display section 16.
[変換候補作成]
603:変換指示段階
オペレータが変換指示入力部4」−の「変換キー」を押
下してその処理の開始を指示すると、変換指示入力部4
は対応する「変換指示信号」をかな漢字変換部3へ出力
する。かな漢字変換部3はその時点の入力文字列一時記
憶部2内の入力読みを対象として変換処理を開始する。[Conversion candidate creation] 603: Conversion instruction step When the operator presses the "conversion key" of the conversion instruction input section 4 to instruct the start of the process, the conversion instruction input section 4
outputs the corresponding "conversion instruction signal" to the kana-kanji converter 3. The kana-kanji conversion unit 3 starts conversion processing for the input reading in the input character string temporary storage unit 2 at that time.
604:変換候補生成段階
かな漢字変換部3は入力文字列一時記憶部2のかな読み
列の先頭部分と一致する単語をかな漢字変換部3の内部
に保持している単語辞書内で検索し解釈可能な変換候補
単語列を変換候補一時記憶部5に格納する。解釈可能と
は入力読みを単語にあてはめ自立語と付属語よりなる「
文節」の繰り返しとしてマツチする場合を言う。この際
、複数の文節区切りが可能な場合、先頭から2文節づつ
解釈し最も読みが長く解釈できるものを優先する。604: Conversion candidate generation stage The kana-kanji conversion unit 3 searches for a word that matches the beginning of the kana reading string in the input character string temporary storage unit 2 in the word dictionary held within the kana-kanji conversion unit 3 and can interpret it. The conversion candidate word string is stored in the conversion candidate temporary storage section 5. Interpretable means that the input pronunciation is applied to the word and it is composed of an independent word and an attached word.
This refers to cases in which a phrase matches as a repetition of a phrase. At this time, if multiple clause breaks are possible, interpret the first two clauses at a time and give priority to the one that can be interpreted with the longest reading.
同音語同志の中ての優先順は単語辞書内での格納順と同
じとする。The priority order among homophones is the same as the order in which they are stored in the word dictionary.
605:関連語検索段階
変換候補単語列が変換候補一時記憶部5に蓄えられると
関連語検索部10は変換候補一時記憶部5に格納された
単語を関連語辞書9内で検索する。605: Related word search stage When the conversion candidate word string is stored in the conversion candidate temporary storage section 5, the related word search section 10 searches the related word dictionary 9 for the words stored in the conversion candidate temporary storage section 5.
該当する単語か存在しなければ607へ制御を移す。存
在する場合、さらに検索された関連語辞書レコードの対
の91−語が同じく変換候補一時記憶部5に存在するか
どうかを調へる。存在する場合606の出力優先順位変
更段階に進み、そうでない場合には607の変換候補表
示段階に制御を移す。If the corresponding word does not exist, control is transferred to 607. If it exists, it is further checked whether the 91-word of the searched related word dictionary record pair also exists in the conversion candidate temporary storage section 5. If it exists, the process proceeds to the output priority change step 606, and if not, the control moves to the conversion candidate display step 607.
606:出力優先順位変更段階
変換候補一時記憶部5に関連語対が格納されている場合
、変換候補一時記憶部5内の該当単語の同音語中での出
力順位を1にする。関連語対が複数ある場合には関連語
対をなす単語間の距離が短い程優先し、同じ場合には入
力の順に処理を適用する。606: Output priority order change stage If a related word pair is stored in the conversion candidate temporary storage section 5, the output order of the corresponding word in the conversion candidate temporary storage section 5 among homophones is set to 1. When there are multiple related word pairs, the shorter the distance between the words forming the related word pair, the higher the priority is given, and if the words are the same, processing is applied in the order of input.
+1
607:変換候補表示段階
変換候補選択部7は変換候補一時記憶部5に格納されて
いる変換候補単語の出力優先順が小さい単語同士を組み
合わせて変換候補を作成し変換候補表示部θ上に表示番
号と対応づけて一定数毎に出力表示する。本実施例では
その数を5にしている。+1 607: Conversion candidate display stage The conversion candidate selection unit 7 creates conversion candidates by combining words with lower output priority among the conversion candidate words stored in the conversion candidate temporary storage unit 5, and displays them on the conversion candidate display unit θ. Output and display every fixed number in association with the display number. In this embodiment, the number is five.
[変換候補選択コ
ロ08:選択指示段階
変換候補が変換候補表示部6に出力表示されている状態
で、オペレータがその中から特定の候補を選択するとき
には、選択指示入力部8から候補と対応付けて表示され
ている表示番号を番号キーの押下で指示する。[Conversion candidate selection column 08: Selection instruction stage When the operator selects a specific candidate from among the conversion candidates output and displayed on the conversion candidate display section 6, the selection instruction input section 8 associates the conversion candidates with the candidates. Instruct the displayed number by pressing the number key.
609:確定文字列記録段階
変換候補選択部7は選択指示入力部8から入力された数
字コードに対応する変換候補単語列を知り、それを構成
する単語を変換候補一時記憶部5」二で認知する。その
後、変換候補の表記を文章記憶部12に格納する。格納
された表記はそれ以前の入力文字列とともに文章表示部
13に表示される。609: Confirmed character string recording stage The conversion candidate selection unit 7 learns the conversion candidate word string corresponding to the numerical code input from the selection instruction input unit 8, and recognizes the words constituting it in the conversion candidate temporary storage unit 5. do. Thereafter, the notation of the conversion candidate is stored in the text storage section 12. The stored notation is displayed on the text display section 13 together with the previously input character string.
以」二のように構成された従来の文字入力装置、および
以」二のような段階からなる文字入力方法においては、
−度に入力される文章の単位中に関連語がある限りにお
いてはそれを正しく変換できていた。例えば、 「便宜
」と「図る」は関連語の関係として関連語辞書に登録さ
れている。第7図(d)を参照。このとき1べんぎをは
かる」という読みが入力され変換される場合を劣える。In the conventional character input device configured as described above and the character input method consisting of the steps described below,
− As long as there were related words in the units of text input, it was possible to convert them correctly. For example, "convenience" and "planning" are registered in the related word dictionary as related words. See Figure 7(d). At this time, the case where the reading ``Measure 1 Bengi'' is input and converted is inferior.
第4図(a)を参照。するとかな漢字変換部3は「べん
ぎ」という読みの単語と、 「はかる」という読みの単
語を候補として変換候補一時記憶部5−にに作成する。See Figure 4(a). Then, the kana-kanji conversion unit 3 creates a word with the pronunciation of ``bengi'' and a word with the pronunciation of ``hakaru'' as candidates in the conversion candidate temporary storage unit 5-.
第7図(1))を参照。次に関連語検索部10は、この
ときの変換候補一時記憶部5上の単語を関連語辞書9」
二で検索すると「便宜」と「図る」の対が存在するので
、 「はかる」の同音語口図る、計る、測る、謀る」の
中から「図る」の出力優先順位か」二かり、 「便宜を
図る」という変換結果か第一・候補として得られていた
。第7図(C)を参照。See Figure 7 (1)). Next, the related word search unit 10 searches the word on the conversion candidate temporary storage unit 5 at this time in the related word dictionary 9.
If you search for 2, there is a pair of ``convenience'' and ``planning'', so is it the output priority of ``planning'' from among the homophones of ``measurement'', ``to measure'', ``measure'', and ``plan''? The first candidate was the conversion result "to aim for." See Figure 7(C).
発明が解決しようとする課題
しかしながら、以上に説明したよ・うな従来の文字入力
装置および方法においては、読みがオペレータの意志に
従って任意に区切られて入力されるため、区切りと区切
りの間の一つの変換単位中に関連語対が存在しない場合
が発生ずる。このような場合、関連語情報を利用した変
換がてきないという問題があった。例えば、 「へんぎ
を」と「はかる」を別々の入力単位として入力するよう
な場合、 「便宜を」確定入力した後に「はかる」の部
分を単独で変換することになり、 「諮る、測る、■る
、謀る、図る、はかる、計る」などの同音語の中から正
しい「図る」を選択することが出来ない。Problems to be Solved by the Invention However, in the conventional character input device and method as explained above, since the reading is inputted by dividing it arbitrarily according to the operator's will, one of the characters between the divisions is input. A case may occur in which a related word pair does not exist in a conversion unit. In such a case, there is a problem that conversion using related word information cannot be performed. For example, if you enter "hengiwo" and "measure" as separate input units, after confirming "convenience", you will convert the "measure" part independently, ■I am unable to select the correct ``plan'' from homophones such as ``ru, plan, plan, measure, measure.''
また、確定したテキスト中へ文字を挿入するよ・うな場
合、確定テキスト中の単語との関連性を利用した変換が
出来ない、という問題点を有していた。Furthermore, when inserting characters into a fixed text, there is a problem in that conversion cannot be performed using the relationship with words in the fixed text.
例えば、「−層の便宜をお願いする」という確定した文
章の「便宜を」の直後に「図ってくださるよう」を挿入
したい場合、読み「はかって」に対する同音語「計って
」、「諮って」、「図って」、「測って」、「量って」
、「謀って」から正しい単語を第一候補として提示でき
なかった。For example, if you want to insert ``Please help me'' immediately after ``I would like to ask for your convenience'' in a sentence that has already been determined, ``I would like to ask for your convenience,'' the homophone for ``Measure'' (pronounced ``Measure''), ``Measure'', ”, “Plan”, “Measure”, “Weigh”
, could not suggest the correct word as the first choice from ``mote''.
本発明は、前記従来の文字入力装置の問題に鑑み、任意
の局面において、関連語情報を有効に利用し効率的な文
字入力のできる文字入力装置を提供することを目的とす
る。SUMMARY OF THE INVENTION In view of the problems of the conventional character input devices, it is an object of the present invention to provide a character input device that can effectively utilize related word information and input characters efficiently in any situation.
課題を解決するための手段
第1の発明は、日本語の読み列に対応する漢字かな交じ
り列の変換候補を優先付けて出力するかな漢字変換部と
、前記かな漢字変換部が出力する変換候補を一時記憶す
る変換候補一時記憶部と、文章中で共起する単語対を格
納する関連語辞書と、前記変換候補一時記憶部中から候
補を選択する変換候補選択部と、前記変換候補選択部が
選択した候補の単語を一時記憶する確定単語一時記憶部
と、前記確定単語一時記憶部内の単語および前記変換候
補一時記憶部内の単語が関連語対の関係にあるか否かを
前記関連語辞書を検索して判定する関連語検索部と、関
連するときに変換候補一時記憶部内の該当する変換候補
の出力優先順位を高める関連語優先順変更部を備えた文
字入力装置である。Means for Solving the Problems The first invention provides a kana-kanji conversion unit that prioritizes and outputs conversion candidates for a kanji-kana mixed sequence corresponding to a Japanese pronunciation sequence, and a kana-kanji conversion unit that temporarily outputs conversion candidates output by the kana-kanji conversion unit. a conversion candidate temporary storage section for storing, a related word dictionary for storing word pairs that co-occur in sentences, a conversion candidate selection section for selecting candidates from the conversion candidate temporary storage section, and a conversion candidate selection section for selecting candidates from the conversion candidate temporary storage section; searching the related word dictionary to determine whether or not the word in the confirmed word temporary memory and the word in the conversion candidate temporary memory are in a related word pair relationship; This character input device is provided with a related word search section that determines the related word, and a related word priority change section that increases the output priority of the corresponding conversion candidate in the conversion candidate temporary storage section when the related word is related.
第2の発明は、文章中で共起する単語対を格納する関連
語辞書と確定単語一時記憶部を有する情報処理装置にお
いて、読みに対応する漢字かな交じり列の解釈を生成す
る変換候補生成段階と、変換候補の単語および前記確定
単語一時記憶部内の単語の間の関連性を判定する関連語
検索段階と、変換候補および前記確定単語一時記憶部の
単語のうち関連があると判定された単語の出力優先順位
を上げる出力優先順位変更段階と、最終的に選択された
候補の単語を前記確定単語一時記憶部に格納する確定単
語記録段階を有する文字入力方法である。A second invention provides a conversion candidate generation step for generating an interpretation of a kanji-kana-mixed string corresponding to a reading in an information processing device having a related word dictionary that stores word pairs that co-occur in a sentence and a fixed word temporary storage unit. a related word search step of determining the relationship between the conversion candidate word and the word in the confirmed word temporary storage unit; and a word determined to be related among the conversion candidate word and the word in the confirmed word temporary storage unit. This character input method includes an output priority changing step of increasing the output priority of the word, and a confirmed word recording step of storing the finally selected candidate word in the confirmed word temporary storage unit.
第3の発明は、文章中の入力位置を変更する入力位置変
更部と、入力位置が前記入力位置変更部により変更され
ると確定単語一時記憶部を初期化する初期化部を持つ特
許請求の範囲第1項記載の■6
文字入力装置である。A third invention is a patent claim that includes an input position changing section that changes an input position in a sentence, and an initializing section that initializes a fixed word temporary storage section when the input position is changed by the input position changing section. ■6 described in scope 1: Character input device.
第4の発明は、入力位置変更段階と、入力位置が変更さ
れるに伴い、確定単語一時記憶部を初期化する初期化段
階を有する特許請求の範囲第2項記載の文字入力方法で
ある。A fourth invention is a character input method according to claim 2, which includes an input position changing step and an initializing step of initializing a fixed word temporary storage unit as the input position is changed.
第5の発明は、日本語の読み列に対応する漢字かな交じ
り列の変換候補を優先付けて出力するかな漢字変換部と
、前記かな漢字変換部が出力する変換候補を一時記憶す
る変換候補一時記憶部と、文章中で共起する単語対を格
納する関連語辞書と、前記変換候補一時記憶部中から候
補を選択する変換候補選択部と、少なくとも文章表記を
格納する文章記憶部と、前記文章記憶部中における文字
の入力位置を変更する入力位置変更部と、入力位置前後
の単語を前記文章記憶部から抽出する近傍単語抽出部と
、前記近傍単語抽出部が抽出した単語を一時記憶する確
定単語一時記憶部と、前記確定単語一時記憶部内の単語
および前記変換候補一時記憶部内の単語が関連語対の関
係にあるか否かを前記関連語辞和を検索して判定する関
連語検索部と、関連するときに変換候補一時記憶部内の
該当する変換候補の出力優先順位を高める関連語優先順
変更部を備えた文字入力装置である。A fifth invention provides a kana-kanji conversion unit that prioritizes and outputs conversion candidates for a kanji-kana mixed sequence corresponding to a Japanese pronunciation sequence, and a conversion candidate temporary storage unit that temporarily stores conversion candidates output by the kana-kanji conversion unit. a related word dictionary that stores pairs of words co-occurring in sentences; a conversion candidate selection section that selects candidates from the conversion candidate temporary storage section; a sentence storage section that stores at least sentence notation; and the sentence storage. an input position changing unit that changes the input position of a character in the text; a nearby word extraction unit that extracts words before and after the input position from the text storage unit; and a confirmed word that temporarily stores the words extracted by the nearby word extraction unit. a temporary storage unit, and a related word search unit that searches the related word dictionary to determine whether or not the word in the confirmed word temporary storage unit and the word in the conversion candidate temporary storage unit are in a related word pair relationship. , is a character input device including a related word priority order change unit that increases the output priority of a corresponding conversion candidate in a conversion candidate temporary storage unit when the word is related.
第6の発明は、文章中で共起する単語対を格納する関連
語辞書と確定単語一時記憶部および文章を格納する文章
記憶部を有する情報処理装置において、読みに対応する
漢字かな交じり列の解釈を生成する変換候補生成段階と
、変換候補の単語および前記確定単語一時記憶部内の単
語の間の関連性を判定する関連語検索段階と、変換候補
および前記確定単語一時記憶部の単語のうち関連がある
と判定された単語の出力優先順位を上げる出力優先順位
変更段階と、文章記憶部における文字入力位置の前後の
単語を抽出し前記確定単語一時記憶部に格納する近傍単
語登録段階を有する文字入力方法である。A sixth invention provides an information processing apparatus having a related word dictionary for storing pairs of words co-occurring in a sentence, a fixed word temporary storage section, and a sentence storage section for storing sentences, in which a combination of kanji and kana characters corresponding to a reading is arranged. a conversion candidate generation step of generating an interpretation; a related word search step of determining a relationship between a conversion candidate word and a word in the confirmed word temporary storage; and a conversion candidate and a word in the confirmed word temporary storage section. The method includes an output priority change step of raising the output priority of words determined to be related, and a nearby word registration step of extracting words before and after the character input position in the text storage section and storing them in the confirmed word temporary storage section. This is a character input method.
作用
本発明は前記した構成により、既に確定入力された数語
の単語を格納する確定単語一時記憶部を持ち、その中の
単語および変換候補一時記憶部の中の単語の関連性の有
無を関連語検索部を用いて判定する。関連性かあれば関
連性のある候補の単語の出力優先順位を上げる。According to the above-described configuration, the present invention has a fixed word temporary storage section that stores several words that have already been entered into a fixed word, and it is possible to check whether or not the words therein are related to the words in the conversion candidate temporary storage section. Determination is made using the word search section. If relevant, increase the output priority of relevant candidate words.
また、文字入力途中て入力位置が意図的に変更されると
入力される単語系列の連続性がなくなったものとみなし
、確定単語一時記憶部を初期化する。Furthermore, if the input position is intentionally changed during character input, it is assumed that the input word series has lost its continuity, and the fixed word temporary storage section is initialized.
さらに、文字入力途中で入力位置が意図的に変更される
と文章記憶部中における新しい文字入力位置の前後の1
11語を確定単語一時記憶部に複写し、その中の単語お
よび変換候補一時記憶部中の単語との関連性の有無を関
連語検索部を判定する。関連性があれば関連性のある候
補の単語の出力優先順位を」−ける。Furthermore, if the input position is intentionally changed during character input, the characters before and after the new character input position in the text storage section
The 11 words are copied to the confirmed word temporary storage section, and the related word search section determines whether there is a relationship between the words therein and the words in the conversion candidate temporary storage section. If they are related, the output priority of the related candidate words is set.
実施例1
第1図は本発明の一実施例における文字入力装置の構成
をあられずブロック図である。本構成図のうち1.2.
3.4.5.6.7.8.9.11.12.13および
14は第5図の従来例の同一番号の構成要素と同一であ
る。Embodiment 1 FIG. 1 is a block diagram showing the structure of a character input device according to an embodiment of the present invention. 1.2 of this configuration diagram.
3.4.5.6.7.8.9.11.12.13 and 14 are the same as the components with the same numbers in the conventional example shown in FIG.
15は確定単語一時記憶部であり、変換候補選択部7て
明示的に選択された候補単語を最大5個まで記憶する。Reference numeral 15 denotes a confirmed word temporary storage section, which stores up to five candidate words explicitly selected by the conversion candidate selection section 7.
確定単語一時記憶部15はFIFO記憶方式の記憶装置
てあり、6個目の単語が登録されるときには最も古い単
語が自動的に排出される。The confirmed word temporary storage unit 15 is a FIFO storage type storage device, and when the sixth word is registered, the oldest word is automatically discharged.
16は関連語検索部であり、変換候補一時記憶部5」二
の変換候補単語に加え、確定単語一時記憶部15上の確
定単語を関連語辞書9」二で検索し、変換候補単語およ
び確定単語一時記憶部15」−の確定単語の間で関連の
あるものを抽出する。Reference numeral 16 denotes a related word search unit, in addition to the conversion candidate words in the conversion candidate temporary storage unit 5''2, the confirmed words in the confirmed word temporary storage unit 15 are searched in the related word dictionary 9''2, and the conversion candidate words and confirmed words are searched. Related words are extracted from the confirmed words in the temporary word storage unit 15.
17は初期化部であり、入力位置変更部14が入力位置
を変更すると確定単語−・時記憶部15を初期化する。Reference numeral 17 denotes an initialization section, which initializes the confirmed word-time storage section 15 when the input position change section 14 changes the input position.
以」二のように構成された本実施例の文字入力装置につ
いて、以下その動作を[読み人力]、[入力位置変更コ
、[変換候補作成コ、[変換候補選択]に分けて第2図
のフローチャートを用いて説明する。Regarding the character input device of this embodiment configured as shown in 2 below, its operations are divided into [reading ability], [input position change], [conversion candidate creation], and [conversion candidate selection] as shown in Figure 2. This will be explained using a flowchart.
[読み入カコ
101:読み入力段階
オペレータは入力を意図する文字の読みをかな入力部1
」二の対応する五十音キーの押下により順に指示する。[Reading box 101: Reading input stage The operator reads the reading of the character that he or she intends to input in the kana input section 1.
'' by pressing the corresponding Japanese syllabary keys.
1つのキーが押下される毎に各キーに対応した読みコー
ドが入力文字列一時記憶部2に順に追加格納される。文
字が格納されるとすぐにまた入力待ち状態になり再び読
みが入力されると以前に入力した読めに今回入力した読
みが連結されて−続きの入力読み列が入力文字列一時記
憶部上に形成される。Each time one key is pressed, the reading code corresponding to each key is sequentially additionally stored in the input character string temporary storage section 2. As soon as the characters are stored, the system waits for input again, and when a reading is input again, the reading input this time is concatenated with the reading input previously, and the continuation of the input reading string is stored in the input character string temporary storage unit. It is formed.
[入力位置変更コ
102:入力位置変更段階
オペレータが文章中での入力位置の変更を意図して入力
位置変更部14上のカーソルキーを押下すると変換候補
選択部7は入力位置変更部14からの指示に対して、現
在表示している候補での確定処理を行なう。その後、文
章記憶部12」二での文字入力位置を変更した後、変換
候補表示部6上にその様子を表示する。[Input position change unit 102: Input position change stage When the operator presses the cursor key on the input position change unit 14 with the intention of changing the input position in the text, the conversion candidate selection unit 7 selects the input position change unit 14. Confirmation processing is performed in response to the instruction using the currently displayed candidates. Thereafter, after changing the character input position in the text storage section 12''2, the change is displayed on the conversion candidate display section 6.
103:初期化段階
入力位置変更部14に対するオペレータからの指示によ
り入力位置変更が指示されると、その信号が初期化部1
7に対して出力される。初期化部17はそのタイミング
で確定単語一時記憶部15を初期化し内容をクリアする
。103: Initialization stage When the operator instructs the input position change unit 14 to change the input position, the signal is sent to the initialization unit 1.
7 is output. The initialization unit 17 initializes the confirmed word temporary storage unit 15 at that timing and clears the contents.
[変換候補作成コ
104:変換指示段階
オペレータが変換指示入力部4上の「変換キー」を押下
してその処理の開始を指示すると、変換指示入力部4は
対応する「変換指示信号」をがな漢字変換部3へ出力す
る。かな漢字変換部3はその時点の入力文字列一時記憶
部2内の入力読みを対象として変換処理を開始する。[Conversion candidate creation step 104: Conversion instruction stage When the operator presses the "conversion key" on the conversion instruction input section 4 to instruct the start of the process, the conversion instruction input section 4 receives the corresponding "conversion instruction signal." output to the kanji conversion unit 3. The kana-kanji conversion unit 3 starts conversion processing for the input reading in the input character string temporary storage unit 2 at that time.
105:変換候補生成段階
かな漢字変換部3は入力文字列一時記憶部2のかな読み
列の先頭部分と一致する単語をがな漢字変換部3の内部
に保持している単語辞書内で検索し解釈可能な変換候補
単語列を変換候補一時記憶部5に格納する。解釈可能と
は入力読みを単語にあてはめ自立語と付属語よりなる「
文節」の繰り返しとしてマツチする場合を言う。105: Conversion candidate generation stage The Kana-Kanji converter 3 searches for a word that matches the beginning of the kana reading sequence in the input character string temporary storage unit 2 in the word dictionary held within the Kana-Kanji converter 3 and interprets it. Possible conversion candidate word strings are stored in the conversion candidate temporary storage section 5. Interpretable means that the input pronunciation is applied to the word and it is composed of an independent word and an attached word.
This refers to cases in which a phrase matches as a repetition of a phrase.
この際、複数の文節区切りが可能な場合、先頭から2文
節づつ解釈し最も読みが長く解釈てきるものを優先する
。同音語同志の中での優先順は単語辞書の格納順と同じ
とする。At this time, if multiple clauses are possible, interpret the first two clauses at a time and give priority to the one with the longest reading. The order of priority among homophones is the same as the order of storage in the word dictionary.
106:関連語検索段階
変換候補w語列が変換候補一時記憶部5に蓄えられると
関連語検索部16は変換候補一時記憶部5および確定単
語一時記憶部15に格納された単語を関連語辞四9内で
検索する。106: Related word search stage When the conversion candidate w word string is stored in the conversion candidate temporary storage unit 5, the related word search unit 16 converts the words stored in the conversion candidate temporary storage unit 5 and the confirmed word temporary storage unit 15 into a related word dictionary. Search within 49.
該当する単語が存在しなければ108へ制御を移す。存
在する場合、さらに検索された関連語辞書レコードの対
の単語が同じく変換候補一時記憶部5および確定単語一
時記憶部15に存在するかどうか調べる。存在する場合
107の出力優先順位変更段階に進み、そうでない場合
には108の変換候補表示段階に制御を移す。If the corresponding word does not exist, control is transferred to 108. If it exists, it is further checked whether the paired word of the searched related word dictionary record also exists in the conversion candidate temporary storage section 5 and the confirmed word temporary storage section 15. If it exists, the process proceeds to the output priority change step 107, and if not, the control moves to the conversion candidate display step 108.
107:出力優先順位変更段階
変換候補−・時記憶部5および確定単語一時記憶部15
に関連語列が格納されている場合、確定単語一時記憶部
」5内の該当単語の同音語中での出力順位を1にする。107: Output priority change stage conversion candidate--time storage unit 5 and confirmed word temporary storage unit 15
If a related word string is stored in , the output rank of the corresponding word in the fixed word temporary storage unit 5 is set to 1 among homophones.
関連語対が複数ある場合には関連語対をなす単語間の距
離が短い程優先し、同じ場合には入力の順に処理を適用
する。When there are multiple related word pairs, the shorter the distance between the words forming the related word pair, the higher the priority is given, and if the words are the same, processing is applied in the order of input.
108:変換候補表示段階
変換候補選択部7は変換候補一時記憶部5に格納されて
いる変換候補単語の出力優先順が小さい単語同士を組み
合わせて変換候補を作成し変換候補表示部6−4二に表
示番号と対応づけて一定数毎に出力表示する。本実施例
ではその数を5にしている。108: Conversion candidate display stage The conversion candidate selection unit 7 creates conversion candidates by combining words with lower output priority of the conversion candidate words stored in the conversion candidate temporary storage unit 5, and displays the conversion candidate display unit 6-42. Output and display every fixed number in association with the display number. In this embodiment, the number is five.
[変換候補選択]
109:選択指示段階
変換候補が変換候補表示部6に出力表示されている状態
で、オペレータがその中から特定の候補を選択するとき
には、選択指示入力部8から候補と対応付けて表示され
ている表示番号を番号キーの押下で指示する。[Conversion candidate selection] 109: Selection instruction step When the operator selects a specific candidate from among the conversion candidates output and displayed on the conversion candidate display section 6, the selection instruction input section 8 selects a candidate and a correspondence. Instruct the displayed number by pressing the number key.
110:確定文字列記録段階
変換候補選択部7は選択指示入力部8から入力された数
字コードに対応する変換候補単語列を知り、それを(7
4成する単語を変換候補一時記憶部5」二で認知する。110: Confirmed character string recording stage The conversion candidate selection unit 7 learns the conversion candidate word string corresponding to the numerical code input from the selection instruction input unit 8, and converts it into (7
4 are recognized in the conversion candidate temporary storage section 5''2.
その後、変換候補の表記を文章記憶部12に格納する。Thereafter, the notation of the conversion candidate is stored in the text storage section 12.
格納された表記はそれ以前の入力文字列とともに文章表
示部13に表示される。The stored notation is displayed on the text display section 13 together with the previously input character string.
111:確定!11語記録段階
変換候補選択部7は選択された変換候補一時記憶部5」
二の変換候補単語を確定単語一時記憶部15に格納する
。なお確定単語一時記憶部15は格納語数として最大5
個に制限されているので6個目を登録する場合、その直
前に最も古い登録単語を取り除く。111: Confirmed! The 11-word recording stage conversion candidate selection section 7 stores the selected conversion candidate temporary storage section 5.
The second conversion candidate word is stored in the confirmed word temporary storage section 15. The confirmed word temporary storage unit 15 can store up to 5 words.
Since the number of registered words is limited to six, when registering the sixth word, the oldest registered word is removed immediately before that.
以」二のように本実施例によれば、確定単語一時記憶部
をFIFOの記憶構造とし、関連性が少なくなる古い単
語を自動的に確定単語一時記憶部から取り除くことによ
り、変換精度を向」ニさせている。As described in 2 below, according to this embodiment, the fixed word temporary storage section has a FIFO storage structure, and old words that have become less relevant are automatically removed from the fixed word temporary storage section, thereby improving conversion accuracy. ”
実施例2
第3図は本発明の一実施例における文字入力装置の構成
をあられすブロック図である。本構成図のうち1.2.
3.4.5.6.7.8.9.11.12.13および
14は第5図の従来例の同一番号の構成要素と同一であ
る。Embodiment 2 FIG. 3 is a block diagram showing the configuration of a character input device in an embodiment of the present invention. 1.2 of this configuration diagram.
3.4.5.6.7.8.9.11.12.13 and 14 are the same as the components with the same numbers in the conventional example shown in FIG.
15は確定単語一時記憶部であり、後述する近傍単語抽
出部18が抽出した単語を最大5個まで記憶する。確定
単語一時記憶部15はFIFO記憶方式の記憶装置であ
り、6個目の単語が登録されるときには最も古い単語か
自動的に排出される。Reference numeral 15 denotes a fixed word temporary storage section, which stores up to five words extracted by a nearby word extraction section 18, which will be described later. The confirmed word temporary storage unit 15 is a FIFO storage type storage device, and when the sixth word is registered, the oldest word is automatically discharged.
16は関連語検索部であり、変換候補一時記憶部5」−
の変換候補単語に加え、確定単語一時記憶部15上の確
定fllL語を関連語辞書9上で検索し、変換候補単語
および確定単語一時記憶部15」二の単語の間で関連の
あるものを抽出する。16 is a related word search section, and a conversion candidate temporary storage section 5''-
In addition to the conversion candidate words, the determined fllL words in the determined word temporary storage section 15 are searched on the related word dictionary 9, and the words that are related between the conversion candidate words and the determined word temporary storage section 15 are searched. Extract.
17は初期化部であり、入力位置変更部14が入力位置
を変更すると確定単語一時記憶部15を初期化する。17 is an initialization section, which initializes the fixed word temporary storage section 15 when the input position change section 14 changes the input position.
18は近傍単語抽出部であり、文章記憶部12内におい
て現在の入力位置の前後の単語を抽出する。Reference numeral 18 denotes a neighboring word extraction section, which extracts words before and after the current input position in the text storage section 12.
以」二のように構成された本実施例の文字入力装置につ
いて、以下その動作を[読み人力]、[入力位置変更]
、 [変換候補作成]、 [変換候補選択]に分けて第
4図のフローチャートを用いて説明する。Regarding the character input device of this embodiment configured as shown in 2 below, its operation will be described below with [reading power] and [input position change].
, [Conversion candidate creation], and [Conversion candidate selection] will be explained using the flowchart of FIG.
[読み入カコ
301:読み入力段階
オペレータは入力を意図する文字の読みをかな入力部1
」−の対応する五十音キーの押下により順に指示する。[Reading box 301: Reading input stage The operator reads the reading of the character intended to be input into the kana input section 1.
” - are given in order by pressing the corresponding Japanese syllabary keys.
1つのキーが押下される毎に各キーに対応した読みコー
ドが入力文字列一時記憶部2に順に追加格納される。文
字が格納されるとすぐにまた入力待ち状態になり再び読
みが入力されると以前に入力した読みに今回入力した読
みが連結されて−続きの入力読み列が入力文字列一時記
憶部2」二に形成される。Each time one key is pressed, the reading code corresponding to each key is sequentially additionally stored in the input character string temporary storage section 2. As soon as a character is stored, it enters the input waiting state again, and when a reading is input again, the reading input this time is concatenated with the reading input previously, and the continuation of the input string is stored in the input character string temporary storage section 2. formed into two.
[入力位置変更コ
302:入力位置変更段階
オペレータが文章中ての入力位置の変更を意図して入力
位置変更部14」二のカーソルキーを押下すると変換候
補選択部7は入力位置変更部14からの指示に対して、
現在表示している候補での確定処理を行なう。その後、
文章記憶部12」二での文字入力位置を変更した後、変
換候補表示部6」二にその様子を表示する。[Input position change part 302: Input position change stage When the operator presses the second cursor key of the input position change part 14 with the intention of changing the input position in the text, the conversion candidate selection part 7 changes the input position change part 14. In response to the instructions of
Performs confirmation processing on the currently displayed candidate. after that,
After changing the character input position in the text storage section 12''2, the change is displayed on the conversion candidate display section 6''2.
303:初期化段階
入力位置変更部14に対するオペレータからの指示によ
り文字入力位置変更が指示されると、その信号が初期化
部17に対して出力される。初期化部17はそのタイミ
ングで確定単語一時記憶部15を初期化し内容をクリア
する。303: Initialization stage When the operator instructs the input position changing unit 14 to change the character input position, the signal is output to the initialization unit 17. The initialization unit 17 initializes the confirmed word temporary storage unit 15 at that timing and clears the contents.
[変換候補作成コ
304:変換指示段階
オペレータが変換指示入力部4上の「変換キー」を押下
してその処理の開始を指示すると、変換指示入力部4は
対応する「変換指示信号」をかな漢字変換部3へ出力す
る。かな漢字変換部3はその時点の入力文字列一時記憶
部2内の入力読みを対象として変換処理を開始する。[Conversion candidate creation step 304: Conversion instruction stage When the operator presses the "conversion key" on the conversion instruction input section 4 to instruct the start of the process, the conversion instruction input section 4 converts the corresponding "conversion instruction signal" into kana-kanji. Output to the converter 3. The kana-kanji conversion unit 3 starts conversion processing for the input reading in the input character string temporary storage unit 2 at that time.
305:変換候補生成段階
かな漢字変換部3は入力文字列一時記憶部2のかな読み
列の先頭部分と一致する単語をかな漢字変換部3の内部
に保持している単語辞書内で検索し解釈可能な変換候補
単語列を変換候補一時記憶部5に格納する。解釈可能と
は入力読みを単語にあてはめ自立語と付属語よりなる「
文節」の繰り返しとしてマツチする場合を言う。305: Conversion candidate generation stage The kana-kanji conversion unit 3 searches for a word that matches the beginning of the kana reading string in the input character string temporary storage unit 2 in the word dictionary held within the kana-kanji conversion unit 3 and can interpret it. The conversion candidate word string is stored in the conversion candidate temporary storage section 5. Interpretable means that the input pronunciation is applied to the word and it is composed of an independent word and an attached word.
This refers to cases in which a phrase matches as a repetition of a phrase.
この際、複数の文節区切りが可能な場合、先頭から2文
節づつ解釈し最も読みが長く解釈できるものを優先する
。同音語同志の中での優先順は単語辞書の格納順と同じ
とする。At this time, if multiple clause breaks are possible, interpret the first two clauses at a time and give priority to the one that can be interpreted with the longest reading. The order of priority among homophones is the same as the order of storage in the word dictionary.
306:関連語検索段階
変換候補単語列が変換蚊補一時記憶部5に蓄えられると
関連語検索部16は変換候補一時記憶部5および確定単
語一時記憶部15に格納された単語を関連語辞書9内で
検索する。306: Related word search stage When the conversion candidate word string is stored in the conversion candidate temporary storage unit 5, the related word search unit 16 stores the words stored in the conversion candidate temporary storage unit 5 and the confirmed word temporary storage unit 15 in a related word dictionary. Search within 9.
該当する単語が存在しなければ308へ制御を移す。存
在する場合、さらに検索された関連語辞書レコードの対
の単語が、同じく変換候補一時記憶部5および確定単語
一時記憶部15に存在するかどうか調べる。存在する場
合307の出力優先順位変更段階に進み、そうでない場
合には308の変換候補表示段階に制御を移す。If the corresponding word does not exist, control is transferred to 308. If it exists, it is further checked whether the paired word of the searched related word dictionary record also exists in the conversion candidate temporary storage section 5 and the confirmed word temporary storage section 15. If it exists, the process proceeds to the output priority change step 307, and if not, the control moves to the conversion candidate display step 308.
307:出力優先順位変更段階
変換候補一時記憶部5および確定単語一時記憶部15に
関連語対が格納されている場合、確定単語一時記憶部1
5内の該当単語の同音語中での出力順位を1にする。関
連語対が複数ある場合には関連語対をなす単語間の距離
が短い程優先し、同じ場合には入力の順に処理を適用す
る。307: Output priority change stage When related word pairs are stored in the conversion candidate temporary storage unit 5 and the confirmed word temporary storage unit 15, the confirmed word temporary storage unit 1
Set the output rank of the corresponding word in 5 to 1 among homophones. When there are multiple related word pairs, the shorter the distance between the words forming the related word pair, the higher the priority is given, and if the words are the same, processing is applied in the order of input.
308:変換候補表示段階
変換候補選択部7は変換候補一時記憶部5に格納されて
いる変換候補単語の出力優先順が小さい単語同士を組み
合わせて変換候補を作成し変換候補表示部6」二に表示
番号と対応づけて一定数毎に出力表示する。本実施例で
はその数を5にしている。308: Conversion candidate display stage The conversion candidate selection unit 7 creates conversion candidates by combining words with lower output priority of the conversion candidate words stored in the conversion candidate temporary storage unit 5, and displays them in the conversion candidate display unit 6. Output and display every fixed number in association with the display number. In this embodiment, the number is five.
[変換候補選択コ
309:選択指示段階
変換候補が変換候補表示部6に出力表示されている状態
で、オペレータがその中から特定の候補を選択するとき
には、選択指示入力部8から候補と対応イ」けて表示さ
れている表示番号を番号キーの押■で指示する。[Conversion candidate selection section 309: Selection instruction stage When the operator selects a specific candidate from among the conversion candidates output and displayed on the conversion candidate display section 6, the selection instruction input section 8 selects the candidate and the corresponding image. ” and the displayed number by pressing the number key.
310:確定文字列記録段階
変換候補選択部7は選択指示入力部8から入力された数
字コードに対応する変換候補単語列を知り、それを構成
する単語を変換候補一時記憶部5上で認知する。その後
、変換候補の表記を文章記憶部に格納する。格納された
表記はそれ以前の入力文字列とともに文章表示部13に
表示される。310: Confirmed character string recording stage The conversion candidate selection section 7 learns the conversion candidate word string corresponding to the numerical code input from the selection instruction input section 8, and recognizes the words forming it on the conversion candidate temporary storage section 5. . Thereafter, the notation of the conversion candidate is stored in the text storage section. The stored notation is displayed on the text display section 13 together with the previously input character string.
311:確定単語記録段階
変換候補選択部7は選択された変換候補一時記憶部5上
の変換候補単語を確定単語一時記憶部15に格納する。311: Confirmed word recording stage The conversion candidate selection unit 7 stores the selected conversion candidate word on the conversion candidate temporary storage unit 5 in the confirmed word temporary storage unit 15.
なお確定単語一時記憶部15は格納語数として最大5個
に制限されているので6個目を登録する場合、その直前
に最も古い登録単語を取り除く。Note that the number of stored words in the fixed word temporary storage section 15 is limited to a maximum of five, so when registering the sixth word, the oldest registered word is removed immediately before that.
以」−のように本実施例によれば、人力位置が移動した
後の最初のかなキー人力時点て近傍単語抽I
山部18を起動するので、キーを移動するたびの処理に
比べて負荷が小さいので高い応答性を実現することがで
きる。According to this embodiment, the neighboring word extraction I mountain part 18 is activated at the first kana key after the manual position has been moved, so the processing load is lower than the processing required each time the key is moved. Since it is small, high responsiveness can be achieved.
なお、第1の実施例の動作の説明として同音語の優先順
位を更新するように説明しているが、候補単語として異
なる単語区切りのものが対象になる場合もある。Note that although the operation of the first embodiment has been described as updating the priority order of homophones, candidate words that have different word divisions may be targeted.
なお、本実施例では関連語辞碧に一つの関連語対につい
て2つのレコードを格納していたが、つのレコードを双
方向から検索するようにしてもよい。In this embodiment, two records are stored for one related word pair in the related word dictionary, but two records may be searched in both directions.
発明の詳細
な説明したように、本発明によれば任意の局面において
関連語情報を有効に利用して効率的な文字入力が行える
。As described in detail, according to the present invention, related word information can be effectively used in any situation to perform efficient character input.
具体的には、文節単位に区切ってかな漢字変換する場合
にも関連語を適用して高い変換率の文字入力装置を提供
することができる。また、入力位置か意図的に変更され
た場合に確定単語を関連語検索の対象外とすることで変
換1’i’f度を高くすることがてきる。さらに、変更
された入力位置で再度文字入力を行なう際にも確定され
たテキストから油田された単語との関連性を考慮した精
度の高い文字入力がj」」来る。Specifically, it is possible to provide a character input device with a high conversion rate by applying related words even when converting kana-kanji into phrases. Further, when the input position is intentionally changed, the degree of conversion 1'i'f can be increased by excluding the confirmed word from the related word search. Furthermore, even when characters are input again at the changed input position, highly accurate character input takes into account the relationship with the word extracted from the confirmed text.
第1図は本発明における第1の実施例の文字入力装置の
ブロック図、第2図は本発明における第1の実施例の文
字入力方法の手順を示すフローチャート、第3図は本発
明における第2の実施例の文字入力装置のブロック図、
第4図は本発明における第2の実施例の文字入力方法の
手順を示すフローチャー1−1第5図は従来の文字人力
装置のブロック図、第6図は従来の文字入力方法の手順
を説明するだめのフローチャート、第7図は従来例の文
字入力装置および方法における動作を説明するための説
明図である。
3φ・・かな漢字変換部、5Φ−・変換候補一時記憶部
、7・Φφ変換候補選択部、9・争・関連語辞書、1.
1−・・関連語優先順変更部、14・I!拳人力位置変
更部、15−−・確定単語−口、イ記憶部、16・・・
関連語検索部、17@1111初期化部、18・・・近
傍単語抽山部。
代理人の氏名 弁理士 栗野重孝 はか1名第
図
変換候補表示部
関連額辞書FIG. 1 is a block diagram of a character input device according to a first embodiment of the present invention, FIG. 2 is a flow chart showing the procedure of a character input method according to a first embodiment of the present invention, and FIG. A block diagram of a character input device according to the second embodiment,
FIG. 4 is a flowchart 1-1 showing the steps of a character input method according to the second embodiment of the present invention. FIG. 5 is a block diagram of a conventional character input device, and FIG. FIG. 7 is an explanatory diagram for explaining the operation of a conventional character input device and method. 3φ...Kana-Kanji conversion unit, 5φ-・Conversion candidate temporary storage unit, 7.φφ conversion candidate selection unit, 9. Conflict/related word dictionary, 1.
1-...Related word priority order change section, 14.I! Kenjin power position change section, 15--・determined word-mouth, i memory section, 16...
Related word search section, 17@1111 initialization section, 18... Neighborhood word extraction section. Name of agent: Patent attorney Shigetaka Kurino Haka 1 name Diagram conversion candidate display area Related amount dictionary
Claims (6)
換候補を優先付けて出力するかな漢字変換部と、前記か
な漢字変換部が出力する変換候補を一時記憶する変換候
補一時記憶部と、文章中で共起する単語対を格納する関
連語辞書と、前記変換候補一時記憶部中から変換候補を
選択する変換候補選択部と、前記変換候補選択部が選択
した変換候補の単語を一時記憶する確定単語一時記憶部
と、前記確定単語一時記憶部内の単語および前記変換候
補一時記憶部内の単語が関連語対の関係にあるか否かを
前記関連語辞書を検索して判定する関連語検索部と、関
連するときに変換候補一時記憶部内の該当する変換候補
の出力優先順位を高める関連語優先順変更部を持つこと
を特徴とする文字入力装置。(1) A kana-kanji conversion unit that prioritizes and outputs conversion candidates for a kanji-kana mixed sequence corresponding to a Japanese pronunciation sequence, a conversion candidate temporary storage unit that temporarily stores conversion candidates output by the kana-kanji conversion unit, and a sentence a related word dictionary that stores pairs of words that co-occur in the conversion candidate temporary storage unit; a conversion candidate selection unit that selects conversion candidates from the conversion candidate temporary storage unit; and a conversion candidate selection unit that temporarily stores conversion candidate words selected by the conversion candidate selection unit. a confirmed word temporary storage unit; and a related word search unit that searches the related word dictionary to determine whether or not the words in the confirmed word temporary storage unit and the words in the conversion candidate temporary storage unit are in a related word pair relationship. 1. A character input device comprising: a related word priority order change unit that increases the output priority of a corresponding conversion candidate in a conversion candidate temporary storage unit when the words are related.
確定単語一時記憶部を有する情報処理装置において、読
みに対応する漢字かな交じり列の解釈を生成する変換候
補生成段階と、変換候補の単語および前記確定単語一時
記憶部内の単語の間の関連性を判定する関連語検索段階
と、変換候補および前記確定単語一時記憶部の単語のう
ち関連があると判定された単語の出力優先順位を上げる
出力優先順位変更段階と、最終的に選択された候補の単
語を前記確定単語一時記憶部に格納する確定単語記録段
階を有することを特徴とする文字入力方法。(2) In an information processing device that has a related word dictionary that stores word pairs that co-occur in a sentence and a fixed word temporary storage unit, a conversion candidate generation step that generates an interpretation of a kanji-kana mixed string corresponding to the reading; a related word search step of determining the relationship between the candidate word and the word in the confirmed word temporary storage unit; and a step of outputting priority for words that are determined to be related among the conversion candidates and the words in the confirmed word temporary storage unit. A character input method characterized by comprising an output priority change step of increasing the ranking, and a confirmed word recording step of storing finally selected candidate words in the confirmed word temporary storage section.
入力位置が前記入力位置変更部により変更されると確定
単語一時記憶部を初期化する初期化部を持つことを特徴
とする特許請求の範囲第1項記載の文字入力装置。(3) an input position changing unit that changes the input position in a sentence;
2. The character input device according to claim 1, further comprising an initializing section that initializes a fixed word temporary storage section when the input position is changed by the input position changing section.
い、確定単語一時記憶部を初期化する初期化段階を有す
ることを特徴とする特許請求の範囲第2項記載の文字入
力方法。4. The character input method according to claim 2, further comprising an input position changing step and an initialization step of initializing a fixed word temporary storage unit as the input position is changed.
換候補を優先付けて出力するかな漢字変換部と、前記か
な漢字変換部が出力する変換候補を一時記憶する変換候
補一時記憶部と、文章中で共起する単語対を格納する関
連語辞書と、前記変換候補一時記憶部中から候補を選択
する変換候補選択部と、少なくとも文章表記を格納する
文章記憶部と、前記文章記憶部中における文字の入力位
置を変更する入力位置変更部と、入力位置前後の単語を
前記文章記憶部から抽出する近傍単語抽出部と、前記近
傍単語抽出部が抽出した単語を一時記憶する確定単語一
時記憶部と、前記確定単語一時記憶部内の単語および前
記変換候補一時記憶部内の単語が関連語対の関係にある
か否かを前記関連語辞書を検索して判定する関連語検索
部と、関連するときに変換候補一時記憶部内の該当する
変換候補の出力優先順位を高める関連語優先順変更部を
持つことを特徴とする文字入力装置。(5) a kana-kanji conversion unit that prioritizes and outputs conversion candidates for a kanji-kana mixed sequence corresponding to a Japanese pronunciation sequence; a conversion candidate temporary storage unit that temporarily stores conversion candidates output by the kana-kanji conversion unit; and a sentence a related word dictionary that stores word pairs co-occurring in the text; a conversion candidate selection unit that selects candidates from the conversion candidate temporary storage unit; a text storage unit that stores at least sentence notation; an input position changing unit that changes the input position of characters; a nearby word extraction unit that extracts words before and after the input position from the text storage unit; and a fixed word temporary storage unit that temporarily stores the words extracted by the nearby word extraction unit. and a related word search unit that searches the related word dictionary to determine whether or not the word in the confirmed word temporary storage unit and the word in the conversion candidate temporary storage unit are in a related word pair relationship, What is claimed is: 1. A character input device comprising: a related word priority order changing unit that increases the output priority of a corresponding conversion candidate in a conversion candidate temporary storage unit.
確定単語一時記憶部および文章を格納する文章記憶部を
有する情報処理装置において、読みに対応する漢字かな
交じり列の解釈を生成する変換候補生成段階と、変換候
補の単語および前記確定単語一時記憶部内の単語の間の
関連性を判定する関連語検索段階と、変換候補および前
記確定単語一時記憶部の単語のうち関連があると判定さ
れた単語の出力優先順位を上げる出力優先順位変更段階
と、文章記憶部における文字入力位置の前後の単語を抽
出し前記確定単語一時記憶部に格納する近傍単語登録段
階を有することを特徴とする文字入力方法。(6) An information processing device that has a related word dictionary that stores word pairs that co-occur in a sentence, a fixed word temporary storage unit, and a sentence storage unit that stores sentences, generates an interpretation of a kanji-kana mixed string that corresponds to the reading. a related word search step that determines the relationship between the conversion candidate word and the word in the confirmed word temporary storage unit, and a related word search step that determines the relationship between the conversion candidate word and the word in the confirmed word temporary storage unit and an output priority change step of raising the output priority of the word determined to be, and a nearby word registration step of extracting words before and after the character input position in the text storage section and storing them in the confirmed word temporary storage section. Character input method.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63236925A JP2537991B2 (en) | 1988-09-21 | 1988-09-21 | Character input device and method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP63236925A JP2537991B2 (en) | 1988-09-21 | 1988-09-21 | Character input device and method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH0283775A true JPH0283775A (en) | 1990-03-23 |
| JP2537991B2 JP2537991B2 (en) | 1996-09-25 |
Family
ID=17007785
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP63236925A Expired - Lifetime JP2537991B2 (en) | 1988-09-21 | 1988-09-21 | Character input device and method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP2537991B2 (en) |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5660937A (en) * | 1979-10-24 | 1981-05-26 | Toshiba Corp | "kana" (japanese syllabary)-to-"kanji" (chinese character) converting documentation device |
| JPS57134775A (en) * | 1981-02-12 | 1982-08-20 | Canon Inc | Character processor |
| JPS58115525A (en) * | 1981-12-29 | 1983-07-09 | Sharp Corp | Kana-kanji conversion device |
| JPS592125A (en) * | 1982-06-29 | 1984-01-07 | Comput Basic Mach Technol Res Assoc | "kana" (japanese syllabary) "kanji" (chinese character) converting system |
| JPS595336A (en) * | 1982-06-30 | 1984-01-12 | Comput Basic Mach Technol Res Assoc | "kana" (japanese syllabary) and chinese character converting system |
| JPS60124774A (en) * | 1983-12-09 | 1985-07-03 | Ricoh Co Ltd | Homonym discriminating device |
| JPS61156466A (en) * | 1984-12-28 | 1986-07-16 | Ricoh Co Ltd | Word extracting system |
| JPS61184674A (en) * | 1985-02-12 | 1986-08-18 | Ricoh Co Ltd | Kana-kanji conversion method |
-
1988
- 1988-09-21 JP JP63236925A patent/JP2537991B2/en not_active Expired - Lifetime
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5660937A (en) * | 1979-10-24 | 1981-05-26 | Toshiba Corp | "kana" (japanese syllabary)-to-"kanji" (chinese character) converting documentation device |
| JPS57134775A (en) * | 1981-02-12 | 1982-08-20 | Canon Inc | Character processor |
| JPS58115525A (en) * | 1981-12-29 | 1983-07-09 | Sharp Corp | Kana-kanji conversion device |
| JPS592125A (en) * | 1982-06-29 | 1984-01-07 | Comput Basic Mach Technol Res Assoc | "kana" (japanese syllabary) "kanji" (chinese character) converting system |
| JPS595336A (en) * | 1982-06-30 | 1984-01-12 | Comput Basic Mach Technol Res Assoc | "kana" (japanese syllabary) and chinese character converting system |
| JPS60124774A (en) * | 1983-12-09 | 1985-07-03 | Ricoh Co Ltd | Homonym discriminating device |
| JPS61156466A (en) * | 1984-12-28 | 1986-07-16 | Ricoh Co Ltd | Word extracting system |
| JPS61184674A (en) * | 1985-02-12 | 1986-08-18 | Ricoh Co Ltd | Kana-kanji conversion method |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2537991B2 (en) | 1996-09-25 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5890182A (en) | Sentence processing method and apparatus | |
| JP2595934B2 (en) | Kana-Kanji conversion processor | |
| JPH0283775A (en) | Character input device and method | |
| JPH08339376A (en) | Foreign language search device and information search system | |
| JPH0630052B2 (en) | Voice recognition display | |
| JPH0380363A (en) | Document processor | |
| JPS58129534A (en) | Chinese character input device | |
| JPH09153044A (en) | Character processor and device for kana and english letter conversion | |
| JPS63214872A (en) | Kana-kanji conversion method | |
| JPS60112175A (en) | Abbreviation conversion system of kana (japanese syllabary)/kanji (chinese character) convertor | |
| JPS62282364A (en) | Character string retrieval system | |
| JPS6198475A (en) | Japanese text input device | |
| JPH03160555A (en) | Japanese word input device | |
| JPH032960A (en) | Kana/kanji converting device | |
| JPS5840650A (en) | Japanese input system | |
| JPS62226371A (en) | Kana/kanji converter | |
| JPS60140460A (en) | Abbreviated converting system in kana (japanese syllabary) kanji (chinese character) converter | |
| JPH09282316A (en) | Kanji / Kana conversion device | |
| JPH0695330B2 (en) | Document creation device | |
| JPH0877160A (en) | Kana-Kanji conversion method and device | |
| JPH0392957A (en) | Kana/kanji converting device | |
| JPH0474262A (en) | Word processor | |
| JPS61198361A (en) | Kana-Kanji conversion device | |
| JPH0341551A (en) | Character input device | |
| JPS63116269A (en) | Kana-kanji conversion device for Japanese processing |