JP6627679B2 - Kana-kanji conversion device and kana-kanji conversion program - Google Patents

Kana-kanji conversion device and kana-kanji conversion program Download PDF

Info

Publication number
JP6627679B2
JP6627679B2 JP2016146736A JP2016146736A JP6627679B2 JP 6627679 B2 JP6627679 B2 JP 6627679B2 JP 2016146736 A JP2016146736 A JP 2016146736A JP 2016146736 A JP2016146736 A JP 2016146736A JP 6627679 B2 JP6627679 B2 JP 6627679B2
Authority
JP
Japan
Prior art keywords
kana
character string
phrases
unit
kanji
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.)
Expired - Fee Related
Application number
JP2016146736A
Other languages
Japanese (ja)
Other versions
JP2018018222A (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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions Inc
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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2016146736A priority Critical patent/JP6627679B2/en
Publication of JP2018018222A publication Critical patent/JP2018018222A/en
Application granted granted Critical
Publication of JP6627679B2 publication Critical patent/JP6627679B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、入力された文字列を複数の文節に区分して、文節毎に、文節をかな漢字変換するかな漢字変換装置及びかな漢字変換プログラムに関し、特に文節の区分を表示するための技術に関する。   The present invention relates to a kana-kanji conversion device and a kana-kanji conversion program that divide an input character string into a plurality of phrases and convert the phrases into kana-kanji characters for each phrase, and particularly to a technique for displaying a phrase segment.

周知のようにかな漢字変換装置においては、キーボード等の操作により文字列が入力されると、文字列が複数の文節に区分され、文節毎に、文節がかな漢字変換される。このかな漢字変換は、名詞、動詞、慣用句などが登録されているデータベースに基づき行われる(特許文献1、特許文献2を参照)。   As is well known, in a kana-kanji conversion device, when a character string is input by operating a keyboard or the like, the character string is divided into a plurality of phrases, and the phrases are converted into kana-kanji characters for each phrase. This kana-kanji conversion is performed based on a database in which nouns, verbs, idioms, and the like are registered (see Patent Documents 1 and 2).

特開平05−181839号公報JP 05-181839 A 特開平08−314917号公報JP-A-08-314917

ところで、文字列の文節を区分する箇所が適確でないことがあり、この場合は、文節のかな漢字変換が誤って行われる。しかしながら、従来は、文節をかな漢字変換する前に、文節を区分する箇所を表示してはいなかった。このため、ユーザーは、文節のかな漢字変換が誤って行われた後で、このかな漢字変換の結果に基づき文節を区分する箇所が適確であったかどうかを判断し、適確でないと判断した場合に、文節を区分する箇所を変更するなどの作業を行っていた。   By the way, there are cases where the segmentation of a phrase in a character string is not accurate. In this case, the kana-kanji conversion of the phrase is erroneously performed. However, conventionally, before converting a phrase into Kana-Kanji characters, a portion where the phrase is divided is not displayed. Therefore, after the kana-kanji conversion of the phrase has been performed erroneously, the user determines whether or not the section for segmenting the phrase is correct based on the result of the kana-kanji conversion, and if it is determined that the phrase is not correct, The work such as changing the section where the clause is divided was performed.

本発明は、上記の事情に鑑みなされたものであり、文節をかな漢字変換する前に、文字列が如何なる文節に区分されているかを表示して、文節を認識できるようにすることを目的とする。   SUMMARY OF THE INVENTION The present invention has been made in view of the above circumstances, and has as its object to display a phrase into which a character string is divided before converting a phrase into Kana-Kanji characters so that the phrase can be recognized. .

本発明の一局面にかかるかな漢字変換装置は、表示部と、ユーザーの操作に基づいて、かな文字によって構成されている文字列が入力される操作部と、前記操作部を介して入力された文字列を複数の文節に区分して、区分された前記文節毎に、前記入力された文字列をかな漢字変換する変換部と、前記変換部によって、区分されている位置が互いに異なっている前記複数の文節をそれぞれ含んでいる第1の文節群と第2の文節群とが検出されている場合に、前記入力された文字列をかな漢字変換する前に、前記第1の文節群に含まれている前記複数の文節のそれぞれに含まれている文字列が表示されている領域の背景色を、互いに隣り合っている文節の間で異ならせ、かつ、前記第2の文節群に含まれている前記複数の文節のそれぞれに含まれている文字列が表示されている領域に付されている下線の色を、互いに隣り合っている文節の間で異ならせて、前記入力された文字列を前記表示部に表示させる制御部と、を備え、前記変換部は、前記操作部を介して、前記第1の文節群及び第2の文節群のうちのいずれかが指定されると、前記入力された文字列を、指定された前記第1の文節群又は前記第2の文節群に含まれている前記複数の文節に区分して、区分された前記文節毎に、前記入力された文字列をかな漢字変換するものである。 A kana-kanji conversion device according to an aspect of the present invention includes a display unit, an operation unit configured to input a character string composed of kana characters based on a user operation, and a character input via the operation unit. by dividing the column into a plurality of clauses, each segmented the phrase, a conversion unit for kana-kanji converting a character string the input, by the conversion unit, the plurality of positions are divided are different from each other When a first clause group and a second clause group each containing a clause are detected, the input string is included in the first clause group before the kana-kanji conversion . The background color of the area where the character string included in each of the plurality of phrases is displayed is different between the phrases adjacent to each other, and the background color included in the second phrase group is Included in each of multiple clauses The color of the underlining which is character string is attached to a region displayed, varied between clauses are adjacent to each other, and a control unit for displaying the character string the input to the display unit, The conversion unit, when any one of the first clause group and the second clause group is specified via the operation unit, the conversion unit, the input character string, the specified by dividing said plurality of clauses contained in the first paragraph group or the second clause groups, each segmented said clauses, a character string the input is shall be kana-kanji conversion.

また、本発明の一局面にかかるかな漢字変換プログラムは、ユーザーの操作に基づいて、操作部を介して入力された、かな文字によって構成されている文字列を複数の文節に区分して、区分された前記文節毎に、前記入力された文字列をかな漢字変換する変換部と、前記変換部によって、区分されている位置が互いに異なっている前記複数の文節をそれぞれ含んでいる第1の文節群と第2の文節群とが検出されている場合に、前記入力された文字列をかな漢字変換する前に、前記第1の文節群に含まれている前記複数の文節のそれぞれに含まれている文字列が表示されている領域の背景色を、互いに隣り合っている文節の間で異ならせ、かつ、前記第2の文節群に含まれている前記複数の文節のそれぞれに含まれている文字列が表示されている領域に付されている下線の色を、互いに隣り合っている文節の間で異ならせて、前記入力された文字列を表示部に表示させる制御部と、してコンピューターを機能させ、前記変換部は、前記操作部を介して、前記第1の文節群及び第2の文節群のうちのいずれかが指定されると、前記入力された文字列を、指定された前記第1の文節群又は前記第2の文節群に含まれている前記複数の文節に区分して、区分された前記文節毎に、前記入力された文字列をかな漢字変換するものである。 Moreover, kana-kanji conversion program according to an aspect of the present invention, based on the user operation, input via the operation unit, by dividing a character string is constituted by kana characters into a plurality of clause, classification for each of the clauses which are, a conversion unit for kana-kanji converting a character string the input, by the conversion unit, first phrase group position is divided contains each of the plurality of clauses which differ from each other And when the second phrase group is detected, the input character string is included in each of the plurality of phrases included in the first phrase group before the kana-kanji conversion . The background color of the region where the character string is displayed is different between the phrases adjacent to each other, and the characters included in each of the plurality of phrases included in the second phrase group Column is visible The color of the underline that is attached to the region, at different among the clauses which are adjacent to each other, and a control unit for displaying the character string the input to the display unit, and to function the computer, the converting unit When one of the first clause group and the second clause group is specified via the operation unit, the input character string is converted to the designated first clause group or said second and divided into a plurality of clauses contained in the clauses groups, each segmented said clauses, a character string the input is shall be kana-kanji conversion.

本発明によれば、文節をかな漢字変換する前に、文字列が如何なる文節に区分されるかを表示して、文節を認識できるようにすることが可能となる。   ADVANTAGE OF THE INVENTION According to this invention, before converting a phrase into a Kana-Kanji character, it is possible to display what phrase the character string is divided into so that the phrase can be recognized.

本発明の一実施形態に係る、かな漢字変換装置の内部構成を示すブロック図である。1 is a block diagram illustrating an internal configuration of a kana-kanji conversion device according to an embodiment of the present invention. (a)は表示部の画面に表示された文字列の一例を示す図であり、(b)は文字列を区分してなる複数の文節の表示態様として背景色を設定した状態を示す図であり、(c)は各文節をかな漢字変換した結果を示す図である。FIG. 7A is a diagram illustrating an example of a character string displayed on a screen of a display unit, and FIG. 7B is a diagram illustrating a state in which a background color is set as a display mode of a plurality of segments obtained by dividing the character string. Yes, (c) is a diagram showing the result of Kana-Kanji conversion of each phrase. (a)は表示部の画面に表示された文字列の一例を示す図であり、(b)は文字列を区分してなる複数の文節の表示態様として背景色を設定した状態を示す図であり、(c)は文字列を区分してなる他の複数の文節の表示態様として下線の色を設定した状態を示す図である。FIG. 7A is a diagram illustrating an example of a character string displayed on a screen of a display unit, and FIG. 7B is a diagram illustrating a state in which a background color is set as a display mode of a plurality of segments obtained by dividing the character string. FIG. 8C is a diagram showing a state in which an underlined color is set as a display mode of another plurality of segments obtained by dividing a character string. 図3(c)の他の複数の文節をかな漢字変換した結果を示す図である。It is a figure which shows the result of having performed the kana-kanji conversion of the some other sentences of FIG.3 (c). 本実施形態のかな漢字変換装置による処理手順を示すフローチャートである。It is a flowchart which shows the processing procedure by the kana-kanji conversion apparatus of this embodiment. 文字列を区分してなる複数の文節の表示態様として背景濃度を設定した状態を示す図である。FIG. 11 is a diagram showing a state in which background density is set as a display mode of a plurality of segments obtained by dividing a character string.

以下、本発明の実施形態に係る、かな漢字変換装置及びかな漢字変換プログラムついて図面を参照して説明する。   Hereinafter, a kana-kanji conversion device and a kana-kanji conversion program according to an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の一実施形態に係る、かな漢字変換装置の内部構成を示すブロック図である。   FIG. 1 is a block diagram showing an internal configuration of a kana-kanji conversion device according to an embodiment of the present invention.

本実施形態のかな漢字変換装置1は、表示部10と、操作部20と、タッチパネル30と、記憶部40と、制御ユニット100とを備えている。これらの構成要素は、互いにバスを通じてデータ又は信号の送受信が可能とされている。   The kana-kanji conversion device 1 of the present embodiment includes a display unit 10, an operation unit 20, a touch panel 30, a storage unit 40, and a control unit 100. These components can transmit and receive data or signals to each other via a bus.

表示部10は、液晶ディスプレイ(LCD:Liquid Crystal Display)や有機EL(OLED:Organic Light-Emitting Diode)などから構成される。   The display unit 10 includes a liquid crystal display (LCD: Liquid Crystal Display), an organic EL (OLED: Organic Light-Emitting Diode), and the like.

操作部20は、キーボード等であって、複数の文字や数字などに対応するそれぞれの物理キーを備えている。   The operation unit 20 is a keyboard or the like, and includes respective physical keys corresponding to a plurality of characters, numbers, and the like.

また、表示部10の画面には、タッチパネル30が配置されている。タッチパネル30は、所謂抵抗膜方式や静電容量方式などのタッチパネルであって、操作部として機能し、タッチパネル30に対するユーザーの指などの接触(タッチ)をその接触位置とともに検知する。   Further, a touch panel 30 is arranged on the screen of the display unit 10. The touch panel 30 is a touch panel of a so-called resistive type or a capacitive type, functions as an operation unit, and detects a touch (touch) of a user's finger or the like on the touch panel 30 together with the touch position.

記憶部40は、SSD(Solid State Drive)、HDD(Hard Disk Drive)などの大容量の記憶装置である。   The storage unit 40 is a large-capacity storage device such as a solid state drive (SSD) and a hard disk drive (HDD).

制御ユニット100は、CPU(Central Processing Unit)、RAM(Random Access Memory)、及びROM(Read Only Memory)等から構成される。制御ユニット100は、上記のROM又は記憶部40に記憶された、かな漢字変換プログラムが上記のCPUに実行されることにより、制御部101、操作受付部102、及びかな漢字変換部104として機能する。なお、制御ユニット100の上記各構成要素は、前述のかな漢字変換プログラムに基づく動作によらず、それぞれハード回路により構成されてもよい。   The control unit 100 includes a CPU (Central Processing Unit), a RAM (Random Access Memory), a ROM (Read Only Memory), and the like. The control unit 100 functions as the control unit 101, the operation receiving unit 102, and the kana-kanji conversion unit 104 when the kana-kanji conversion program stored in the ROM or the storage unit 40 is executed by the CPU. In addition, each of the above components of the control unit 100 may be configured by a hardware circuit without depending on the operation based on the above-described kana-kanji conversion program.

制御部101は、かな漢字変換装置1の全体的な動作制御を司る。制御部101は、表示部10、操作部20、タッチパネル30、及び記憶部40などと接続されており、接続されている該各構成要素の動作を制御する。   The control unit 101 controls the overall operation of the kana-kanji conversion device 1. The control unit 101 is connected to the display unit 10, the operation unit 20, the touch panel 30, the storage unit 40, and the like, and controls the operation of each connected component.

操作受付部102は、操作部20の操作に基づき、ユーザーにより入力されたユーザー操作を特定する。また、操作受付部102は、タッチパネル30から出力される検知信号に基づき、タッチパネル30に対するユーザー操作を特定する。そして、操作受付部102は、特定したユーザー操作を受け付け、当該ユーザー操作に対応する制御信号を制御部101、かな漢字変換部104などに出力する。   The operation receiving unit 102 specifies a user operation input by the user based on the operation of the operation unit 20. Further, the operation receiving unit 102 specifies a user operation on the touch panel 30 based on a detection signal output from the touch panel 30. Then, the operation receiving unit 102 receives the specified user operation, and outputs a control signal corresponding to the user operation to the control unit 101, the kana-kanji conversion unit 104, and the like.

例えば、ユーザーにより操作部20が操作されて、文字列が入力され、操作受付部102が該文字列を受け付けた場合に、かな漢字変換部104は、文字列を示す制御信号を操作受付部102から受け取って、当該文字列を複数の文節に区分して、文節毎に、文節をかな漢字変換する。記憶部40には、名詞、動詞、慣用句などが登録されたデータベース(例えば、上記かな漢字変換プログラムの一部)が予め記憶されている。かな漢字変換部104は、このデータベースに基づき文字列を解析して複数の文節に区分し、各文節をかな漢字変換する。   For example, if the user operates the operation unit 20 to input a character string and the operation receiving unit 102 receives the character string, the kana-kanji conversion unit 104 sends a control signal indicating the character string from the operation receiving unit 102 Upon receipt, the character string is divided into a plurality of phrases, and the phrases are subjected to kana-kanji conversion for each phrase. The storage unit 40 stores in advance a database in which nouns, verbs, idioms, and the like are registered (for example, a part of the kana-kanji conversion program). The kana-kanji conversion unit 104 analyzes the character string based on this database, divides it into a plurality of phrases, and converts each phrase into kana-kanji characters.

制御部101は、更に、表示部10の表示動作を制御する機能を有している。制御部101は、例えば操作受付部102で受け付けられた文字列を表示部10の画面に表示し、かな漢字変換部104により文字列の各文節がかな漢字変換されると、文字列をかな漢字変換された各文節に置き換える。   The control unit 101 further has a function of controlling the display operation of the display unit 10. The control unit 101 displays, for example, the character string received by the operation receiving unit 102 on the screen of the display unit 10, and when the kana-kanji conversion unit 104 converts each phrase of the character string into kana-kanji characters, the character string is converted into kana-kanji characters. Replace with each clause.

ここで、本実施形態では、ユーザーにより操作部20が操作されて、文字列が入力されると、制御部101が文字列を表示部10の画面に表示させる。そして、制御部101は、各文節をかな漢字変換する前に、かな漢字変換部104により区分される各文節を、互いに隣り合う各文節の間で表示態様を異ならせた上で、上記入力された文字列を表示部10に表示させる。これにより、かな漢字変換前に、ユーザーがそれらの文節を認識できるようにしている。   Here, in the present embodiment, when the user operates the operation unit 20 to input a character string, the control unit 101 displays the character string on the screen of the display unit 10. Then, before converting each of the phrases into kana-kanji characters, the control unit 101 changes the display mode of each of the phrases divided by the kana-kanji conversion unit 104 between each of the adjacent phrases, and The columns are displayed on the display unit 10. This allows the user to recognize those phrases before kana-kanji conversion.

例えば、文字列M1が操作部20に順次入力されると、図2(a)に示すように、制御部101は、表示部10の画面に、文字列M1を表示させる。このとき、かな漢字変換部104により、文字列M1が複数の文節B1、B2、B3に区分されて、制御部101は、図2(b)に示すように、表示部10の画面上で、文節毎に、文節の表示態様として該文節の領域の背景色を設定すると共に、各文節の領域の背景色が互いに隣り合う各文節の間で異なるように設定する。ここでは、制御部101により、文節B1の領域の背景色が「黄色」に、文節B2の領域の背景色が「青色」に、文節B3の領域の背景色が「赤色」に設定されている。このため、ユーザーは、それらの文節を容易かつ速やかに認識できる。   For example, when the character string M1 is sequentially input to the operation unit 20, the control unit 101 displays the character string M1 on the screen of the display unit 10 as shown in FIG. At this time, the character string M1 is divided into a plurality of phrases B1, B2, and B3 by the kana-kanji conversion unit 104, and the control unit 101 displays the phrase on the screen of the display unit 10 as shown in FIG. Each time, the background color of the phrase area is set as the display mode of the phrase, and the background color of the phrase region is set to be different between the adjacent phrases. Here, the control unit 101 sets the background color of the region of the phrase B1 to “yellow”, the background color of the region of the phrase B2 to “blue”, and the background color of the region of the phrase B3 to “red”. . Thus, the user can easily and quickly recognize those phrases.

この状態で、ユーザーは、操作部20を操作して、かな漢字変換を指示する。この指示が操作受付部102で受け付けられると、かな漢字変換部104は、当該表示されている文節毎に、文節をかな漢字変換する。制御部101は、図2(c)に示すように、かな漢字変換された各文節を表示部10の画面に表示させると共に、各文節の表示態様の設定を解除する。例えば、制御部101は、かな漢字変換された各文節を、各文節の領域の背景色を消去して、表示部10の画面に表示させる。   In this state, the user operates the operation unit 20 to instruct Kana-Kanji conversion. When this instruction is received by the operation receiving unit 102, the kana-kanji conversion unit 104 converts the phrase into kana-kanji for each of the displayed phrases. As shown in FIG. 2C, the control unit 101 displays the kana-kanji converted phrases on the screen of the display unit 10 and cancels the setting of the display mode of each phrase. For example, the control unit 101 causes the kana-kanji converted phrases to be displayed on the screen of the display unit 10 by deleting the background color of the region of each phrase.

また、かな漢字変換部104は、上記のように文字列を複数の文節に区分したときに、文字列を他の複数の文節にも区分できるか否かを判定する。すなわち、かな漢字変換部104は、上記のように文字列を複数の文節に区分したときに、区分できる他の文節の候補があるか否かを判定する。   When the character string is divided into a plurality of phrases as described above, the kana-kanji conversion unit 104 determines whether the character string can be divided into other plural phrases. That is, when the character string is divided into a plurality of phrases as described above, the kana-kanji conversion unit 104 determines whether or not there is another phrase candidate that can be classified.

そして、かな漢字変換部104は、文字列を他の複数の文節に区分できると判定した場合に、文字列を他の複数の文節にも区分する。従って、文字列から互いに異なる2組の文節群が生成される。この2組の文節群の間には、互いに重複するが区分される箇所が異なる文節が生じる。   If the kana-kanji conversion unit 104 determines that the character string can be divided into a plurality of other phrases, the kana-kanji conversion unit 104 also divides the character string into another plurality of phrases. Therefore, two different clause groups are generated from the character string. Between these two sets of clause groups, there are clauses that overlap with each other but are different from each other.

この場合、制御部101は、2組の文節群に対して互いに異なる種類の表示態様を設定する。これに伴い、互いに重複しかつ区分される箇所が異なるそれぞれの文節に対して、互いに異なる種類の表示態様が設定される。すなわち、制御部101は、上記入力された文字列についてかな漢字変換部104により区分される箇所が複数重複して検出された場合、当該重複する各文節のそれぞれの表示態様の種類を互いに異ならせて、上記入力された文字列を表示部10に表示させる。   In this case, the control unit 101 sets different types of display modes for the two clause groups. Along with this, different types of display modes are set for each of the segments that are different from each other and that are different from each other. That is, when the kana-kanji conversion unit 104 detects a plurality of overlapping portions of the input character string, the control unit 101 changes the display mode type of each of the overlapping phrases to each other. Then, the input character string is displayed on the display unit 10.

例えば、文字列M1が順次入力されると、制御部101は、図3(a)に示すように、表示部10の画面に、文字列M1を表示させる。そして、制御部101は、かな漢字変換部104により文字列M1が複数の文節B1、B2、B3に区分されているため、図3(b)に示すように、表示部10への表示用に、文節毎に、文節の表示態様として該文節の領域の背景色を設定すると共に、各文節の領域の背景色を、互いに隣り合う各文節の間で異なるように設定する。   For example, when the character strings M1 are sequentially input, the control unit 101 displays the character strings M1 on the screen of the display unit 10 as shown in FIG. Then, since the character string M1 is divided into a plurality of phrases B1, B2, and B3 by the kana-kanji conversion unit 104, the control unit 101 uses the kana-kanji conversion unit 104 for displaying on the display unit 10 as shown in FIG. For each phrase, the background color of the region of the phrase is set as the display mode of the phrase, and the background color of the region of each phrase is set to be different between each adjacent phrase.

また、かな漢字変換部104により文字列M1が他の複数の文節C1、C2、C3に区分できると判定されて、文字列M1が他の複数の文節C1、C2、C3に区分されると、制御部101は、図3(c)に示すように、表示部10への表示用に、文節毎に、文節の表示態様として該文節の領域の下線の色が設定されると共に、各文節の領域の下線の色が互いに隣り合う各文節の間で異なるように設定する。ここでは、制御部101により、文節B1の領域の背景色が「黄色」に、文節B2の領域の背景色が「青色」に、文節B3の領域の背景色が「赤色」に設定されている。また、制御部101により、文節C1領域の下線が「赤色」に、文節C2の領域の下線が「黄色」に、文節B3の領域の下線が「黒色」に設定されている。従って、各文節B1、B2、B3からなる文節群と他の各文節C1、C2、C3からなる文節群に対して互いに異なる種類の表示態様が設定されている。また、これらの文節群の間には、互いに重複しかつ区分される箇所が異なるそれぞれの文節、例えば文節B1と文節C1、文節B2と文節C2、文節B3と文節C3が生じている。   If the kana-kanji conversion unit 104 determines that the character string M1 can be divided into other plural phrases C1, C2, and C3, and the character string M1 is divided into other plural phrases C1, C2, and C3, the control is performed. As shown in FIG. 3C, the unit 101 sets, for each phrase, an underline color of the phrase region as a display mode of the phrase for display on the display unit 10, and sets an area of each phrase in the phrase. The color of the underline is set to be different between each adjacent clause. Here, the control unit 101 sets the background color of the region of the phrase B1 to “yellow”, the background color of the region of the phrase B2 to “blue”, and the background color of the region of the phrase B3 to “red”. . Further, the underline of the phrase C1 region is set to “red”, the underline of the phrase C2 is set to “yellow”, and the underline of the phrase B3 is set to “black” by the control unit 101. Therefore, different types of display modes are set for the clause group consisting of each clause B1, B2, and B3 and the clause group consisting of the other clauses C1, C2, and C3. In addition, between these clause groups, there are respective clauses which overlap and are different from each other and are different from each other, for example, clause B1 and clause C1, clause B2 and clause C2, clause B3 and clause C3.

このため、ユーザーは、2組の文節群別に、それぞれの文節を容易かつ速やかに認識することができる。また、互いに重複しかつ区分される箇所が異なるそれぞれの文節を比較することができる。   For this reason, the user can easily and quickly recognize each phrase for each of the two phrase groups. In addition, it is possible to compare the respective phrases that are different from each other and that are different from each other.

そして、ユーザーは、操作部20を操作して、変換を希望する文節群を指定する。この指定が操作受付部102で受け付けられると、かな漢字変換部104は、指定された方の文節をかな漢字変換する。例えば、文節B1,B2,B3の組と、文節C1,C2,C3の組のいずれかが、ユーザーによる操作部20の操作により指定されて、当該指定に従って、かな漢字変換部104は、指示された方の文節で、かな漢字変換を実行する。制御部101は、かな漢字変換された各文節を、各文節の表示態様の設定を解除した上で、表示部10の画面に表示させる。   Then, the user operates the operation unit 20 to specify a clause group desired to be converted. When this designation is received by the operation receiving unit 102, the kana-kanji conversion unit 104 converts the designated phrase into kana-kanji characters. For example, one of the set of clauses B1, B2, and B3 and the set of clauses C1, C2, and C3 are designated by the user operating the operation unit 20, and the kana-kanji conversion unit 104 is instructed according to the designation. Performs Kana-Kanji conversion in one of the clauses. The control unit 101 causes the kana-kanji converted phrases to be displayed on the screen of the display unit 10 after releasing the setting of the display mode of each phrase.

例えば、文節C1、文節C2、及び文節C3の組が指定されて、該各文節がかな漢字変換された場合は、図4に示すようにかな漢字変換された各文節が表示部10の画面に表示され、各文節の領域の背景色及び下線が消去される。   For example, when a set of a phrase C1, a phrase C2, and a phrase C3 is specified and each of the phrases is converted into a Kana-Kanji character, each of the Kana-Kanji converted phrases is displayed on the screen of the display unit 10 as shown in FIG. , The background color and underline of each segment area are deleted.

次に、上記のような文字列の入力、各文節の区分、各文節のかな漢字変換を行うための処理手順を、図5に示すフローチャートを参照して、整理して説明する。   Next, a processing procedure for inputting a character string as described above, dividing each phrase, and performing kana-kanji conversion of each phrase will be described with reference to a flowchart shown in FIG.

まず、ユーザーにより操作部20が操作されて、文字列が入力され、操作受付部102が該文字列を受け付けると(ステップS101)、制御部101は、文字列を表示部10の画面に表示させる(ステップS102)。同時に、かな漢字変換部104は、文字列を複数の文節に区分し(ステップS103)、更に該文字列を他の複数の文節に区分できるか否かを判定する(ステップS104)。   First, when the user operates the operation unit 20 to input a character string and the operation receiving unit 102 receives the character string (step S101), the control unit 101 displays the character string on the screen of the display unit 10. (Step S102). At the same time, the kana-kanji conversion unit 104 divides the character string into a plurality of phrases (step S103), and further determines whether the character string can be divided into another plurality of phrases (step S104).

そして、かな漢字変換部104は、文字列を他の複数の文節に区分できると判定すると(ステップS104で「Yes」)、文字列を他の複数の文節にも区分して、互いに異なる2組の文節群を生成する(ステップS105)。制御部101は、2組の文節群に対して互いに異なる種類の表示態様を設定して、2組の文節群別に、各文節の表示態様を互いに隣り合う各文節の間で異ならせる(ステップS106)。これにより、例えば図3(c)に示すように各文節B1〜B3並びに各文節C1〜C3が制御部101により表示部10の画面に表示される。   If the kana-kanji conversion unit 104 determines that the character string can be divided into a plurality of other phrases ("Yes" in step S104), the kana-kanji conversion unit 104 also divides the character string into other plural phrases and sets two different sets of mutually different phrases. A clause group is generated (step S105). The control unit 101 sets different types of display modes for the two sets of clause groups, and makes the display style of each clause different for each of the two sets of clause groups between adjacent clauses (step S106). ). Thereby, for example, as shown in FIG. 3C, each of the clauses B1 to B3 and each of the clauses C1 to C3 are displayed on the screen of the display unit 10 by the control unit 101.

引き続いて、ユーザーが、操作部20を操作して、変換を希望する文節群、この例でいえば、文節B1,B2,B3の組と、文節C1,C2,C3の組のいずれかを指定する。かな漢字変換部104は、指定された方の文節群で、かな漢字変換を実行する(ステップS107)。制御部101は、例えば図4に示すようにかな漢字変換された各文節を表示部10の画面に表示させ、このとき、各文節の領域の背景色及び下線は消去しておく。   Subsequently, the user operates the operation unit 20 to designate a clause group desired to be converted, in this example, one of a set of clauses B1, B2, and B3 and a set of clauses C1, C2, and C3. I do. The kana-kanji conversion unit 104 performs kana-kanji conversion on the specified phrase group (step S107). The control unit 101 causes the kana-kanji converted phrases to be displayed on the screen of the display unit 10 as shown in FIG. 4, for example, and at this time, the background color and the underline of each phrase region are deleted.

また、かな漢字変換部104は、文字列を他の複数の文節に区分できないと判定すると(ステップS104で「No」)、ステップS103で文字列を区分してなる複数の文節のみを設定する(ステップS108)。制御部101は、該各文節の表示態様を互いに隣り合う各文節の間で異ならせる(ステップS109)。これにより、例えば図2(b)に示すように各文節B1〜B3が表示部10の画面に表示される。   If the kana-kanji conversion unit 104 determines that the character string cannot be divided into another plurality of phrases (“No” in step S104), it sets only a plurality of phrases obtained by dividing the character string in step S103 (step S103). S108). The control unit 101 changes the display mode of each of the phrases between the mutually adjacent phrases (step S109). Thereby, for example, as shown in FIG. 2B, each of the clauses B1 to B3 is displayed on the screen of the display unit 10.

引き続いて、ユーザーが、操作部20を操作して、かな漢字変換を指示し、この指示が操作受付部102で受け付けられると、かな漢字変換部104は、各文節をかな漢字変換する(ステップS110)。制御部101は、例えば図2(c)に示すようにかな漢字変換された各文節を、各文節の領域の背景色を消去して、表示部10の画面に表示させる。   Subsequently, the user operates the operation unit 20 to instruct Kana-Kanji conversion, and when the instruction is received by the operation receiving unit 102, the Kana-Kanji conversion unit 104 converts each phrase into Kana-Kanji characters (step S110). For example, the control unit 101 causes the kana-kanji conversion of each phrase as shown in FIG. 2C to be displayed on the screen of the display unit 10 by deleting the background color of the region of each phrase.

このように本実施形態では、文字列の入力時点で、文字列を表示すると共に文字列を複数の文節に区分して、これらの文節の表示態様を互いに隣り合う各文節の間で異ならせているので、ユーザーは、それらの文節を認識してから、これらの文節をかな漢字変換することができる。   As described above, in the present embodiment, at the time of input of a character string, the character string is displayed and the character string is divided into a plurality of phrases, and the display manner of these phrases is made different between each adjacent phrase. Since the user recognizes those phrases, the user can convert these phrases into Kana-Kanji characters.

また、文字列を他の複数の文節に区分できる場合は、互いに異なる2組の文節群が生成され、2組の文節群が互いに異なる種類の表示態様で表示部10に表示されるので、ユーザーは、互いに重複しかつ区分される箇所が異なるそれぞれの文節群を比較した上で、いずれかの文節群を選択して、かな漢字変換することができる。   If the character string can be divided into a plurality of other phrases, two different phrase groups are generated, and the two phrase groups are displayed on the display unit 10 in different types of display modes. Can compare each phrase group that is different from each other and is different from each other, and then selects one of the phrase groups to perform kana-kanji conversion.

なお、上記実施形態では、制御部101は、文節の表示態様として、文節の領域の背景色を設定したり、文節の領域の下線を設定したりしているが、他の種類の表示態様を設定しても構わない。例えば、制御部101は、図6に示すように文節毎に、文節の領域の背景濃度を設定すると共に、各文節の領域の背景濃度を互いに隣り合う各文節の間で異ならせてもよい。   In the above embodiment, the control unit 101 sets the background color of the phrase area or sets the underline of the phrase area as the phrase display mode. You can set it. For example, as shown in FIG. 6, the control unit 101 may set the background density of the phrase region for each phrase, and may make the background density of each phrase region different between adjacent phrases.

また、図1乃至図6を用いて説明した構成及び処理は、本発明の一実施形態に過ぎず、本発明を当該構成及び処理に限定する趣旨ではない。   Further, the configuration and processing described with reference to FIGS. 1 to 6 are merely embodiments of the present invention, and are not intended to limit the present invention to the configuration and processing.

1 かな漢字変換装置
10 表示部
20 操作部
30 タッチパネル
40 記憶部
100 制御ユニット
101 制御部
102 操作受付部
104 かな漢字変換部
1 Kana-Kanji conversion device 10 Display unit 20 Operation unit 30 Touch panel 40 Storage unit 100 Control unit 101 Control unit 102 Operation reception unit 104 Kana-Kanji conversion unit

Claims (6)

表示部と、
ユーザーの操作に基づいて、かな文字によって構成されている文字列が入力される操作部と、
前記操作部を介して入力された文字列を複数の文節に区分して、区分された前記文節毎に、前記入力された文字列をかな漢字変換する変換部と、
前記変換部によって、区分されている位置が互いに異なっている前記複数の文節をそれぞれ含んでいる第1の文節群と第2の文節群とが検出されている場合に、前記入力された文字列をかな漢字変換する前に、前記第1の文節群に含まれている前記複数の文節のそれぞれに含まれている文字列が表示されている領域の背景色を、互いに隣り合っている文節の間で異ならせ、かつ、前記第2の文節群に含まれている前記複数の文節のそれぞれに含まれている文字列が表示されている領域に付されている下線の色を、互いに隣り合っている文節の間で異ならせて、前記入力された文字列を前記表示部に表示させる制御部と、を備え
前記変換部は、前記操作部を介して、前記第1の文節群及び第2の文節群のうちのいずれかが指定されると、前記入力された文字列を、指定された前記第1の文節群又は前記第2の文節群に含まれている前記複数の文節に区分して、区分された前記文節毎に、前記入力された文字列をかな漢字変換する、かな漢字変換装置。
A display unit,
An operation unit for inputting a character string composed of kana characters based on a user operation;
By dividing a character string input via the operating unit to a plurality of clause for each segmented the phrase, a conversion unit for kana-kanji converting a character string the input,
When the conversion unit detects a first clause group and a second clause group each including the plurality of clauses whose sectioning positions are different from each other, the input character string Before converting kana to kanji, the background color of the area where the character strings included in each of the plurality of phrases included in the first phrase group are displayed is set between the adjacent phrases. The colors of the underlines attached to the regions where the character strings included in each of the plurality of phrases included in the second phrase group are displayed are adjacent to each other. And a control unit for causing the input character string to be displayed on the display unit by making the phrases different from each other .
The conversion unit, when any one of the first clause group and the second clause group is designated via the operation unit, converts the input character string into the designated first A kana-kanji conversion device that divides the input character string into kana-kanji characters for each of the segmented phrases that are divided into the plurality of phrases included in the phrase group or the second phrase group .
前記制御部は、前記文節毎に、前記領域の背景色を設定する請求項1に記載のかな漢字変換装置。 The kana-kanji conversion device according to claim 1, wherein the control unit sets a background color of the area for each of the phrases. 前記制御部は、前記文節毎に、前記領域の下線の色を設定する請求項1に記載のかな漢字変換装置。 The kana-kanji conversion device according to claim 1, wherein the control unit sets an underline color of the area for each of the phrases. 前記制御部は、前記文節毎に、前記領域の背景濃度を設定する請求項1に記載のかな漢字変換装置。 The kana-kanji conversion device according to claim 1, wherein the control unit sets a background density of the area for each of the phrases. 前記制御部は、前記かな漢字変換された前記入力された文字列を、前記背景色及び下線が消去された状態で、前記表示部に表示させる、請求項1乃至請求項4のいずれかに記載のかな漢字変換装置。5. The control unit according to claim 1, wherein the control unit causes the display unit to display the input character string that has been converted to the Kana-Kanji character in a state where the background color and the underline are deleted. Kana-kanji conversion device. ユーザーの操作に基づいて、操作部を介して入力された、かな文字によって構成されている文字列を複数の文節に区分して、区分された前記文節毎に、前記入力された文字列をかな漢字変換する変換部と、
前記変換部によって、区分されている位置が互いに異なっている前記複数の文節をそれぞれ含んでいる第1の文節群と第2の文節群とが検出されている場合に、前記入力された文字列をかな漢字変換する前に、前記第1の文節群に含まれている前記複数の文節のそれぞれに含まれている文字列が表示されている領域の背景色を、互いに隣り合っている文節の間で異ならせ、かつ、前記第2の文節群に含まれている前記複数の文節のそれぞれに含まれている文字列が表示されている領域に付されている下線の色を、互いに隣り合っている文節の間で異ならせて、前記入力された文字列を表示部に表示させる制御部と、してコンピューターを機能させ
前記変換部は、前記操作部を介して、前記第1の文節群及び第2の文節群のうちのいずれかが指定されると、前記入力された文字列を、指定された前記第1の文節群又は前記第2の文節群に含まれている前記複数の文節に区分して、区分された前記文節毎に、前記入力された文字列をかな漢字変換する、かな漢字変換プログラム。
Based on the user's operation, kana-kanji input via the operation unit, by dividing a character string is constituted by kana characters into a plurality of clauses, each segmented said clauses, a character string the input A conversion unit for converting;
When the conversion unit detects a first clause group and a second clause group each including the plurality of clauses whose sectioning positions are different from each other, the input character string Before converting kana to kanji, the background color of the area where the character strings included in each of the plurality of phrases included in the first phrase group are displayed is set between the adjacent phrases. The colors of the underlines attached to the regions where the character strings included in each of the plurality of phrases included in the second phrase group are displayed are adjacent to each other. A control unit that causes the input character string to be displayed on a display unit, causing the computer to function ,
The conversion unit, when any one of the first clause group and the second clause group is designated via the operation unit, converts the input character string into the designated first by dividing said plurality of clauses contained in the clauses group or the second clause groups, each segmented said clause, you kana-kanji converting a character string the input, kana-kanji conversion program.
JP2016146736A 2016-07-26 2016-07-26 Kana-kanji conversion device and kana-kanji conversion program Expired - Fee Related JP6627679B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016146736A JP6627679B2 (en) 2016-07-26 2016-07-26 Kana-kanji conversion device and kana-kanji conversion program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016146736A JP6627679B2 (en) 2016-07-26 2016-07-26 Kana-kanji conversion device and kana-kanji conversion program

Publications (2)

Publication Number Publication Date
JP2018018222A JP2018018222A (en) 2018-02-01
JP6627679B2 true JP6627679B2 (en) 2020-01-08

Family

ID=61076768

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016146736A Expired - Fee Related JP6627679B2 (en) 2016-07-26 2016-07-26 Kana-kanji conversion device and kana-kanji conversion program

Country Status (1)

Country Link
JP (1) JP6627679B2 (en)

Also Published As

Publication number Publication date
JP2018018222A (en) 2018-02-01

Similar Documents

Publication Publication Date Title
US10275152B2 (en) Advanced methods and systems for text input error correction
US8553007B2 (en) Method and handheld electronic device including first input component and second touch sensitive input component
US20140143703A1 (en) Configurable multilingual keyboard
JP5228633B2 (en) Electronic dictionary apparatus and program
JP6219935B2 (en) Method, controller and apparatus for composing words
JP6426417B2 (en) Electronic device, method and program
KR101332757B1 (en) Type correction method for word or letters without deletion input and device for implementing the method
US20170102780A1 (en) Input method editors for indic languages
US11112965B2 (en) Advanced methods and systems for text input error correction
US8589145B2 (en) Handheld electronic device including toggle of a selected data source, and associated method
US8812973B1 (en) Mobile device text-formatting
JP6627679B2 (en) Kana-kanji conversion device and kana-kanji conversion program
KR101192460B1 (en) Electronic apparatus having electronic dictionary function
CA2541580C (en) Handheld electronic device including toggle of a selected data source, and associated method
JP2012108893A (en) Hand-written entry method
KR101674123B1 (en) How to correct typos on the touch screen
JPH08292944A (en) Character input device
KR101575081B1 (en) Method for error correction under japanese language input environment
KR102339191B1 (en) Apparatus for inputting chinese character and method for inputting chinese character using the same
Chin et al. VIRTUAL KEYBOARD WITH INTEGRATED SUGGESTION FEATURES
JP2012048585A (en) Electronic document processor
US20190156700A1 (en) Keyboard for teaching or training japanese romaji
JP2022103710A (en) Document processing device and classification assignment support system
KR102001652B1 (en) Type correction method for word or letters without deletion input and device for implementing the method
JP5655926B2 (en) Electronic device, program, and search method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180529

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20190322

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190409

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190604

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: 20191105

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20191118

R150 Certificate of patent or registration of utility model

Ref document number: 6627679

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees