JPH0764988A - Character processing method - Google Patents

Character processing method

Info

Publication number
JPH0764988A
JPH0764988A JP5162549A JP16254993A JPH0764988A JP H0764988 A JPH0764988 A JP H0764988A JP 5162549 A JP5162549 A JP 5162549A JP 16254993 A JP16254993 A JP 16254993A JP H0764988 A JPH0764988 A JP H0764988A
Authority
JP
Japan
Prior art keywords
candidate
synonym
kana
kanji
homonym
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5162549A
Other languages
Japanese (ja)
Inventor
Hironori Fukuda
浩紀 福田
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.)
Canon Inc
Original Assignee
Canon 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 Canon Inc filed Critical Canon Inc
Priority to JP5162549A priority Critical patent/JPH0764988A/en
Publication of JPH0764988A publication Critical patent/JPH0764988A/en
Pending legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To simplify the input processing of entry words to be used for retrieving synonyms by an operator by specifying the candidate of homonyms obtained as the result of the KANJI conversion. CONSTITUTION:The KANA (Japanese syllabary)/KANJI (chinese character) conversion is performed on the inputted KANA character strings. When the 1st candidate in the homonyms is selected, the character string of the 1st candidate is displayed on a display 5. When the 1st candidate is not the phrase which is required by the user, he can directs the switching of the homonym selection mode and the selected candidate of homonym from a keyboard 2. When detecting the direction of mode, a CPU 1 acquire the candidate of homonym by using a reference word dictionary and stores it in a same sound area 4-2 of a RAM 4. The user specifies the required homonym by using a direction key 2-2 and directs the decision on the homonym by using a decision key 2-4 for the CPU 1. The CPU 1 defines the character strings with KANA/KANJI mixed according to the direction of the decision.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、漢字変換された漢字ま
たは漢字列を類義語に変換する文字処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a character processing method for converting a kanji-converted kanji or kanji string into synonyms.

【0002】[0002]

【従来の技術】従来、フロントエンドプロセッサーなど
の文字処理装置では、次のような処理順序で類義語の選
択処理を行う。すなわち、ユーザーはキーボードからか
な文字列を入力し、文字処理装置に漢字変換を指示す
る。文字処理装置は、従来周知の方法でかな漢字変換を
行ってかな混じり漢字(1文字の漢字を含む)を作成す
る。同音の複数の漢字変換候補(同音語と称す)が存在
する場合には、同音語を表示器に表示する。ユーザーは
同音語の表示を見て、所望の候補を選択し、確定の同音
語(かな混じり漢字形態)を指示する。次に、ユーザー
は確定のかな混じり漢字に対する類義語の検索を文字処
理装置に指示する。文字処理装置では、指示された漢字
列と同様の意味を持つ文字列(類義語と称す)を装置内
部の漢字辞書から検出し、表示器に表示する。
2. Description of the Related Art Conventionally, a character processing device such as a front-end processor performs selection processing of synonyms in the following processing order. That is, the user inputs a kana character string from the keyboard and instructs the character processing device to perform kanji conversion. The character processing device performs kana-kanji conversion by a known method to create kana-mixed kanji (including one kanji). When there are a plurality of Kanji conversion candidates (referred to as homophones) having the same sound, the same phoneme is displayed on the display. The user sees the display of the homophones, selects a desired candidate, and designates a fixed homophone (kana-mixed kanji form). Next, the user instructs the character processing device to search for synonyms for the fixed kana-mixed kanji. In the character processing device, a character string (called a synonym) having the same meaning as the designated kanji character string is detected from the kanji dictionary inside the device and displayed on the display.

【0003】類義語が複数ある場合には、文字処理装置
は選択対象の類義語候補を表示器に表示し、ユーザーの
選択により類義語を確定する。
When there are a plurality of synonyms, the character processing device displays the synonym candidates to be selected on the display, and determines the synonyms by the user's selection.

【0004】[0004]

【発明が解決しようとする課題】このように、ユーザー
が所望の類義語を得るためには、ユーザーは同音語の選
択、類義語の選択の2種の選択処理を実行しなければな
らず、このため、キーボードの操作が煩雑であり、文書
作成処理時間が長くなるという不具合が従来の文字処理
方法にはあった。
As described above, in order for the user to obtain a desired synonym, the user has to perform two kinds of selection processing, that is, selection of a homonym and selection of a synonym. However, the conventional character processing method has a problem that the keyboard operation is complicated and the document creation processing time becomes long.

【0005】そこで、本発明は、上述の点に鑑みて、類
義語を得るためのユーザーの操作を簡素化することの可
能な文字処理方法を提供することにある。
Therefore, in view of the above points, the present invention provides a character processing method capable of simplifying a user's operation for obtaining synonyms.

【0006】[0006]

【課題を解決するための手段】このような目的を達成す
るために、請求項1の発明はかな漢字変換において、変
換対象のかな文字列に対応する同音語候補を表示し、表
示された同音語候補を選択することによりかな漢字変換
後の漢字列を確定する文字処理方法において、前記変換
対象のかな文字列に対応する同音語候補を表示した時
に、類義語検索処理モードを設定し、前記変換対象のか
な文字列に対応する同音語候補を、類義語検索の対象と
なる語句とみなし、当該表示の同音語候補を択一的に指
定し、当該指定された同音語候補に対応する類義語を類
義語辞書の中から検索することを特徴とする。
In order to achieve such an object, the invention of claim 1 is a kana-kanji conversion method, in which a homophone word candidate corresponding to a kana character string to be converted is displayed, and the displayed homophone word is displayed. In a character processing method for determining a kanji string after kana-kanji conversion by selecting a candidate, when a synonym candidate corresponding to the kana character string to be converted is displayed, a synonym search processing mode is set, and the synonym search processing mode is set. The homonym candidate corresponding to the kana character string is regarded as a phrase to be subjected to the synonym search, the homonym candidate of the display is alternatively designated, and the synonym corresponding to the designated homophone candidate is stored in the synonym dictionary. Characterized by searching from inside.

【0007】請求項2の発明は、請求項1の前記かな漢
字変換は、かな混じり漢字に変換する処理であって、前
記同音語候補がかな混じり漢字の場合は、当該かな混じ
り漢字を類義語の検索のための活用形に修正することを
特徴とする。
According to a second aspect of the present invention, the kana-kanji conversion in claim 1 is a process for converting kana-mixed kanji into kana-mixed kanji. When the homonym candidate is kana-mixed kanji, the kana-mixed kanji is searched for synonyms. It is characterized in that it is modified to the inflection form for.

【0008】請求項3の発明は、請求項2の前記同音語
候補の中に含まれるかな混じり漢字と同じ活用形となる
ように請求項1の類義語の検索により得られた類義語の
候補の活用形を修正し、当該修正した類義語候補を確定
のために表示することを特徴とする。
The invention of claim 3 uses the synonym candidate obtained by the search for the synonym of claim 1 so that the same synonym as the kana mixed kanji included in the homonym candidate of claim 2 is obtained. The shape is corrected, and the corrected synonym candidates are displayed for confirmation.

【0009】請求項4の発明は、請求項1の表示された
異なる前記同音語候補を指定する毎に、当該指定された
同音語に対応する類義語候補を切り換え的に表示するこ
とを特徴とする。
The invention of claim 4 is characterized in that, every time the different displayed homophonic word candidates of claim 1 are designated, the synonym candidates corresponding to the designated homonym word are switched and displayed. .

【0010】請求項5の発明は請求項1の前記検索の結
果得られる類義語候補を表示し、表示されている前記同
音語候補または前記類義語候補の中の特定の候補を指定
し、指定した候補を作成文書中で用いる語句として確定
することを特徴とする。
According to the invention of claim 5, the synonym candidates obtained as a result of the search of claim 1 are displayed, the homonym candidate displayed or a specific candidate among the synonym candidates is designated, and the designated candidate is designated. Is defined as a word used in the created document.

【0011】[0011]

【作用】本発明は、文書作成において漢字変換した結果
がユーザーにとって気にいらない場合に類義語検索を行
うこと、また、かな混じり漢字変換においては同音語の
選択処理が発生しやすいことに着目している。請求項1
の発明では、漢字変換の結果として得られる同音語候補
を指定することで、類義語検索に用いる見出し語(キー
ワード)の操作者の入力処理を簡素化する。
The present invention focuses on performing synonym retrieval when the user does not like the result of Kanji conversion during document creation, and that the process of selecting a homophone easily occurs in Kana-mixed Kanji conversion. . Claim 1
In the invention of (1), by specifying a homophone candidate obtained as a result of Kanji conversion, the operator's input process of the entry word (keyword) used for the synonym search is simplified.

【0012】請求項2の発明は、同音語候補を類義語検
索に用いる活用形に修正することで類義語辞書に記載す
る見出し語の活用形を一種とすることができる。
According to the second aspect of the present invention, the homonym candidate can be modified into the inflectional form used for the synonym search, so that the inflectional form of the entry word described in the synonym dictionary can be made into one type.

【0013】請求項3の発明は、類義語検索の結果とし
て得られる類義語候補の活用形を同音語候補の活用形に
自動的に戻すことにより、類義語についての操作者の操
作をなくす。
The invention of claim 3 eliminates the operation of the synonym by the operator by automatically returning the synonym candidate inflection obtained as a result of the synonym search to the homonym candidate inflection.

【0014】請求項4の発明は、同音語の指定に連動さ
せて類義語が表示されるので、操作者はその都度、類義
語検索の実行の指示を行う必要がない。
According to the fourth aspect of the present invention, since the synonyms are displayed in association with the designation of the homonyms, the operator does not have to instruct execution of the synonym search each time.

【0015】請求項5の発明は、類義語候補の中に所望
の語句がない場合は同音語候補を文書で用いる語句とし
て確定できる。
According to the fifth aspect of the invention, when there is no desired phrase in the synonym candidates, the homonym candidate can be determined as the phrase used in the document.

【0016】[0016]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0017】≪第1実施例≫図1は本発明を適用した文
字処理装置のシステム構成を図1に示す。
<< First Embodiment >> FIG. 1 shows a system configuration of a character processing apparatus to which the present invention is applied.

【0018】図1においてCPU(中央演算処理装置)
1は装置全体の主制御およびかな漢字変換、本発明に関
わる類義語変換等の文字処理を実行する。キーボード2
は各種の情報をキー操作により入力する。入力キー2−
1は文書作成に用いるかな文字キーや文字処理にかかわ
る制御キー、たとえば、かな漢字変換を指示する変換キ
ーを含む。指定キー2−2にはたとえばカーソルキーが
用いられ、表示画面中の同音語候補、類義語候補を選択
のために指定する時に用いられる。
In FIG. 1, a CPU (central processing unit)
Reference numeral 1 executes main processing of the entire apparatus and character processing such as Kana-Kanji conversion and synonym conversion related to the present invention. Keyboard 2
Inputs various information by key operation. Input key 2-
Reference numeral 1 includes a kana character key used for document creation and a control key related to character processing, for example, a conversion key for instructing kana-kanji conversion. For example, a cursor key is used as the designation key 2-2 and is used when designating a homonym candidate or a synonym candidate on the display screen for selection.

【0019】類義語表示キー2ー3は同音語の一覧が表
示されているときに指定キー2−2により指定された同
音語候補についての類義語候補の一覧を表示するように
指示するキーである。このキーの操作により類義語検索
モードが設定される。確定キー2−4は指定キー2−2
により指定された候補を確定するように指示するキーで
ある。
The synonym display key 2-3 is a key for instructing to display a list of synonym candidates for the homophone candidate designated by the designating key 2-2 when the list of homonyms is displayed. By operating this key, the synonym search mode is set. Confirm key 2-4 is designated key 2-2
This is a key for instructing to confirm the candidate designated by.

【0020】ROM(リードオンリメモリ)3には各種
固定情報を記憶する。ROM3に格納されるプログラム
情報3−1はCPU1が実行するプログラムであり、同
音語変換時の類義語表示・置換処理プログラムが含まれ
る。標準単語辞書3−2はかな文字列(読み)に対応す
るかな混じり漢字を単語単位に分割するための文法情報
をを記載した漢字変換用の辞書情報である。
ROM (Read Only Memory) 3 stores various fixed information. The program information 3-1 stored in the ROM 3 is a program executed by the CPU 1, and includes a synonym display / replacement processing program at the time of homophone conversion. The standard word dictionary 3-2 is dictionary information for kanji conversion that describes grammatical information for dividing kana mixed kanji corresponding to a kana character string (reading) into word units.

【0021】類義語辞書3−3は見出し語およびその見
出し語に対応した類義語を記載した辞書情報であり、類
義語変換処理、および関連表示処理において用いられ
る。
The synonym dictionary 3-3 is dictionary information in which synonyms corresponding to the headwords are described, and is used in the synonym conversion processing and the related display processing.

【0022】RAM(ランダムアクセスメモリ)4には
CPU1の処理の対象となる各種情報をその種類に対応
させて以下の領域に記憶する。
A RAM (random access memory) 4 stores various kinds of information to be processed by the CPU 1 in the following areas in association with the types of information.

【0023】ワーク領域4−1にはCPU1の演算処理
で用いる一般情報を格納する。同音語領域4−2にはか
な漢字変換により得られた漢字列についての同音語情報
を格納する。
The work area 4-1 stores general information used in the arithmetic processing of the CPU 1. The same-sound word area 4-2 stores the same-sound word information about a kanji string obtained by kana-kanji conversion.

【0024】類義語領域4−3は類義語変換処理により
得られた類義語情報を格納する。ディスプレイ5はCP
U1から支持された情報、たとえば、キーボード2から
入力された文字列、漢字変換後のかな混じり漢字、もし
くは複数の同音語、複数の類義語についての候補を表示
する。RAM4のその他領域には作成途中の文書情報が
格納される。
The synonym area 4-3 stores synonym information obtained by the synonym conversion process. Display 5 is CP
Information supported from U1, for example, a character string input from the keyboard 2, kana-blended kanji after kanji conversion, or a plurality of homonyms and a plurality of synonyms candidates are displayed. Document information in the process of being created is stored in the other area of the RAM 4.

【0025】このような構成において実行される漢字変
換、同義語変換処理を図2のフローチャートを参照して
説明する。図2のフローチャートはCPU1が実行する
制御手順を示す。
The Kanji conversion and synonym conversion processing executed in such a configuration will be described with reference to the flowchart of FIG. The flowchart of FIG. 2 shows a control procedure executed by the CPU 1.

【0026】ユーザーはキーボード2の入力キー2−1
を用いてかな文字列、たとえば、『きかいが』を入力す
る(S1)。CPU1は入力されたかな文字列『きかい
が』に対してかな混じり漢字変換を行う(S2)。同音
語の中の第1候補として『機械が』を得ると、この第1
候補の文字列をディスプレイ5に表示する(S2)。こ
の第1候補がユーザーの望む語句ではない場合は、ユー
ザーは同音語選択モード及び同音語の選択候補の切り換
えをキーボード2から指示するので、このモード指示を
CPU1が検出した時にCPU1は標準単語辞書を用い
て同音語候補を取得し、RAM4の同音語領域4−2に
格納する。また同音語候補の一覧の表示処理をも行う。
この処理により第2候補以降、上述の例では『機会
が』、『機械が』、『機械が』等の選択候補が図3の表
示(a)のようにディスプレイ5に表示される(S3→
S4→S5)。ユーザーは指定キー2−2を用いて所望
の同音語を指定し(S6)、確定キー2−4を用いて指
定の同音語についての確定の指示をCPU1に対して行
う。CPU1ではこの確定の指示に応じて(S7の肯定
判定)、指定された同音語を作成文書に用いるかな漢字
混じりの文字列と確定する(S15)。
The user operates the input keys 2-1 of the keyboard 2.
Is used to input a kana character string, for example, "Kikaiga" (S1). The CPU 1 performs kana-mixed kanji conversion on the input kana character string "kikaiga" (S2). If you get "Machine" as the first candidate in the homophone, this
The candidate character string is displayed on the display 5 (S2). If the first candidate is not the word desired by the user, the user instructs the homophone selection mode and the selection of the homophone selection from the keyboard 2, so when the CPU 1 detects this mode instruction, the CPU 1 uses the standard word dictionary. Is used to obtain a homophone word candidate and store it in the homophone word area 4-2 of the RAM 4. It also performs a process of displaying a list of homophone candidates.
By this process, the selection candidates such as “Opportunity”, “Machine”, and “Machine” in the above example are displayed on the display 5 as in the display (a) of FIG. 3 (S3 →
S4 → S5). The user designates a desired homophone using the designation key 2-2 (S6), and issues a confirmation instruction for the designated homophone to the CPU 1 using the confirm key 2-4. In response to the confirmation instruction (affirmative determination in S7), the CPU 1 determines the designated homophone as a character string containing kana-kanji used in the created document (S15).

【0027】一方、図3の表示(a)のように同音語の
選択候補の一覧が表示された状態で(S5)、ユーザー
が指定キー2−2を用いて同音語候補、たとえば、『機
会が』を指定した(S6)後、類義語表示キー2−3を
操作すると、CPU1は指定された同音語候補について
の類義語検索処理を起動させる(S7→S8)。
On the other hand, when the list of homonym selection candidates is displayed as shown in the display (a) of FIG. 3 (S5), the user uses the designation key 2-2 to select a homonym word, for example, "opportunity". When the synonym display key 2-3 is operated after "ga" is designated (S6), the CPU 1 activates a synonym search process for the designated homonym candidate (S7 → S8).

【0028】なお同音語選択モードが設定されていない
状態、すなわち同音語の第1選択候補のみが表示されて
いる状態において類義語表示キー2ー3が操作された場
合も上記第1選択候補が指定された同音語として類義語
検索処理が起動される(S3→S7→S8)。CPU1
はROM3のプログラム領域3−1から類義語検索処理
プログラムを読み出し実行する。類義語検索処理自体は
周知であるが、本発明に関連するので、簡単に説明して
おく。すなわち、指定されたかな混じり漢字『機会が』
の漢字変換のための文法解析処理において得られた文法
解析情報をRAM4のワーク領域4−1に一時格納して
おく(S9)。本例の場合、文法解析結果は、名詞(機
会)+格助詞(が)となる。次に、CPU1は『機会
が』を類義語辞書の見出し語に用いる自立語およびその
活用形に修正する。本例の場合は、自立語が名詞なので
漢字列『機会』が検索のための見出し語となる。このた
め、『機会』に対応する類義語を、従来通り、類義語辞
書の中から検索する(S10)。
Even when the synonym display keys 2-3 are operated in a state where the homonym selection mode is not set, that is, only the first selection candidates of the homonym are displayed, the first selection candidate is designated. The synonym search process is started as the selected homonym (S3 → S7 → S8). CPU1
Reads and executes the synonym search processing program from the program area 3-1 of the ROM 3. Although the synonym search process itself is well known, it will be briefly described because it is related to the present invention. In other words, the designated kana-mixed kanji "Chiba"
The grammatical analysis information obtained in the grammatical analysis process for converting Kanji is temporarily stored in the work area 4-1 of the RAM 4 (S9). In the case of this example, the grammar analysis result is a noun (opportunity) + case particle (ga). Next, the CPU 1 corrects "Ochaniga" to an independent word used as a headword of the synonym dictionary and its inflection. In the case of this example, since the independent word is a noun, the Chinese character string “Opportunity” is the headword for the search. Therefore, a synonym corresponding to "opportunity" is searched from the synonym dictionary as usual (S10).

【0029】この結果、『機会』に対応する類義語とし
て「時期」、「時運」、「時節」、「潮時」が検索結
果、すなわち類義語選択候補として得られる。RAM4
の検索結果は類義語領域4−3に格納され、次に、上記
文法解析情報に基づき、これら選択候補に格助詞の
「が」が付される。この後CPU1は、ディスプレイ5
に図3の表示(b)のように「時期が」、「時運が」、
「時節が」、「潮時が」を表示させる(S11→S1
2)。
As a result, as the synonyms corresponding to "opportunity", "time", "time luck", "period", and "tide time" are obtained as search results, that is, synonym selection candidates. RAM4
The search result of is stored in the synonym area 4-3, and then the case particle “ga” is added to these selection candidates based on the grammatical analysis information. After this, the CPU 1 displays the display 5
As shown in the display (b) of Fig. 3, "Time", "Time Luck",
"Time" and "tide time" are displayed (S11 → S1
2).

【0030】ユーザは、この表示を見て指定キー2−2
を用いて、たとえば、『潮時が』を指定し、確定キー2
ー3を操作する。この結果、CPU1は指定された類義
語候補を文書中で用いる文字列として確定し、表示画面
中の表示も図3の表示(c)のように確定文字列に置き
換える(S13→S14)。表示画面に表示された類義
語候補の中で、所望のものを見いだせなかった場合に
は、ユーザーはモード取り消しキー等を用いてCPU1
にその旨を知らせると、CPU1は、実行手順をS5に
戻し、同音語の選択画面を表示させる。この結果、CP
U1の処理モードも類義語変換モードから同音語選択モ
ードに切り換わる。
The user sees this display and specifies the key 2-2.
Use, to specify, for example, “tide time”, and press the Enter key 2
Operate -3. As a result, the CPU 1 determines the designated synonym candidate as a character string used in the document, and replaces the display on the display screen with the confirmed character string as shown in the display (c) of FIG. 3 (S13 → S14). If a desired synonym cannot be found among the synonym candidates displayed on the display screen, the user uses the mode cancel key or the like to operate the CPU 1
When notifying that, the CPU 1 returns the execution procedure to S5 and displays the homonym selection screen. As a result, CP
The processing mode of U1 is also switched from the synonym conversion mode to the homophone selection mode.

【0031】第1実施例の応用形態として次の例を実施
できる。
The following example can be implemented as an application form of the first embodiment.

【0032】1)図3の同音語候補および類義語候補の
選択画面を図4、図5に示すような形態とすることがで
きる。図4の表示(a)におけるXは同音語の第1候補
であり、Yは同音語候補の一覧である。図4の表示
(b)は同音語の一覧の中の指定語句を図4の表示
(a)の状態から変えた状態を示す。図5の表示
(a),図5の表示(b)は指定された同音語候補に対
応する類義語候補の一覧が表示され、この一覧中の特定
の候補を確定の対象として指示している状態を示す。図
6は図5の表示(b)において指定された類義語候補
が、確定され、表示が切り換わった状態を示す。
1) The selection screens for the homonym candidate and the synonym candidate in FIG. 3 can be configured as shown in FIGS. 4 and 5. In the display (a) of FIG. 4, X is a first candidate for a homophone and Y is a list of homophone candidates. The display (b) of FIG. 4 shows a state where the designated phrase in the list of homophones is changed from the state of the display (a) of FIG. In the display (a) and display (b) of FIG. 5, a list of synonym candidates corresponding to the designated homonym candidate is displayed, and a specific candidate in this list is designated as a confirmation target. Indicates. FIG. 6 shows a state in which the synonym candidates designated in the display (b) of FIG. 5 are confirmed and the display is switched.

【0033】2)本実施例ではCPU1に対する指示情
報はキーボード2から入力しているが、マウス、ジョイ
スティック、ロックボール、タッチパネル等の入力装置
を用いることができる。
2) In the present embodiment, the instruction information for the CPU 1 is input from the keyboard 2, but an input device such as a mouse, a joystick, a lock ball, or a touch panel can be used.

【0034】3)同音語候補を類義語検索に用いる見出
し語に修正するためには、予め各種活用形と見出し語用
の活用形との対応関係を定め、この対応関係に基づきC
PU1により修正処理を実行する。また。類義語辞書に
見出し語の活用変化を記載しておく場合は、同音語候補
をそのまま見出し語として使用できるが、この場合、類
義語辞書の容量が大きくなるという欠点がある。
3) In order to correct a homonym word candidate to a headword used for synonym search, a correspondence relation between various inflectional forms and inflectional forms for headwords is determined in advance, and C is based on this correspondence relation.
The correction process is executed by PU1. Also. When the variation of the use of the headword is described in the synonym dictionary, the homonym candidate can be used as the headword as it is, but in this case, the capacity of the synonym dictionary becomes large.

【0035】≪第2実施例≫第1実施例は漢字変換モー
ドの途中で、類義語変換モードへ切り換える例である
が、類義語候補の表示を同音語の選択指定に連動して表
示できるようにした第2実施例を説明する。
<< Second Embodiment >> The first embodiment is an example of switching to the synonym conversion mode in the middle of the kanji conversion mode, but the synonym candidates can be displayed in synchronization with the selection and designation of the homonym. A second embodiment will be described.

【0036】第2実施例の回路構成を図7に示す。なお
図1の第1実施例と同様の回路構成と同様の箇所には同
一の符号を付しており詳細な説明を省略する。
The circuit configuration of the second embodiment is shown in FIG. The same parts as those in the circuit configuration of the first embodiment shown in FIG. 1 are designated by the same reference numerals and detailed description thereof will be omitted.

【0037】キーボード2には新たに、類義語指定切り
換えキー2−5、類義語連動切り換えキー2−6が設け
られている。類義語指定切り換えキー2−5は指定キー
2−2が指定する語句が同音語選択候補か類義語選択候
補かを指示するキーである。類義語連動切り換えキー2
−6は同音語候補の指定に連動して類義語の一覧を表示
するモードと、連動させないモードを切り換えるキーで
ある。
The keyboard 2 is newly provided with a synonym designation switching key 2-5 and a synonym interlocking switching key 2-6. The synonym designation switching key 2-5 is a key for designating whether the phrase designated by the designation key 2-2 is a homophone selection candidate or a synonym selection candidate. Synonym interlocking switching key 2
-6 is a key for switching between a mode in which a list of synonyms is displayed in synchronization with the designation of a homonym candidate and a mode in which it is not synchronized.

【0038】このような構成においてCPU1が実行す
る文字処理手順を図8に示し、この文字処理手順に従っ
て、文字処理装置の動作を説明する。
FIG. 8 shows the character processing procedure executed by the CPU 1 in such a configuration, and the operation of the character processing apparatus will be described in accordance with this character processing procedure.

【0039】なお、図8の文字処理手順において第1実
施例の図2の文字処理手順と同様の箇所には同一の符号
を付しており詳細な説明を省略する。
In the character processing procedure of FIG. 8, the same parts as those of the character processing procedure of FIG. 2 of the first embodiment are designated by the same reference numerals, and detailed description thereof will be omitted.

【0040】ユーザーはかな漢字(混じり)変換モード
において『おおとりのこをとろうと』と、キーボード2
から入力する(S1)。CPU1はかな混じり漢字変換
を実行する(S2)。また、未確定の同音語が「とろう
と」に対応する語句の場合、第1候補の下部に同音語候
補の一覧が図10の表示(a)のように表示される。第
1実施例と同様に指定キー2−2を用いて同音語を図1
0の表示(b)のように指定した後、ユーザが類義語表
示キー2−3を操作すると、類義語変換モードが設定さ
れる(S3〜S8)。CPU1は指定された同音語につ
いての文法解析情報を取得した後、同音語候補から類義
語変換用の見出し語(採る)を作成し、類義語変換処理
を実行する(S9→S10)。
In the kana-kanji (blended) conversion mode, the user says "let's take the Otorioko" and the keyboard 2
Input from (S1). The CPU 1 executes kana-mixed kanji conversion (S2). When the undetermined homonym is the phrase corresponding to “Toroto”, a list of homonym candidates is displayed below the first candidate as shown in display (a) of FIG. 10. As in the case of the first embodiment, the same key word is reproduced by using the designation key 2-2.
When the user operates the synonym display key 2-3 after designating as shown in 0 (b), the synonym conversion mode is set (S3 to S8). After acquiring the grammatical analysis information about the designated homonym, the CPU 1 creates a synonym conversion entry word (take) from the homonym candidate and executes a synonym conversion process (S9 → S10).

【0041】この結果、『採る』に対応する類義語が得
られると、指定された同音語候補と同一の活用形となる
ように文法解析情報に基づき、類義語候補に文字列が付
される。『採ろうと』は五段動詞未然形(採ろ)+助動
詞(う)+接続助詞(と)であるので、CPU1はこの
文法形態(活用形態)に対応するように検索結果の類義
語候補を修正する。この結果、「採取しようと」、「採
用しようと」、「採決しようと」等が作成され、図11
(a)のように表示される(S10)。このS10の詳
細手順を参考のために図9に示しておく。ここで、ユー
ザーが類義語連動切り換えキー2−6を操作すると、指
定キー2−2の同音語候補の指定毎に指定された同音語
候補に対応の類義語候補が上述と同様の類義語検索処理
により検出され、表示画面に表示される(図11の表示
(a),(b)参照、S22→S23)。
As a result, when a synonym corresponding to "take" is obtained, a character string is attached to the synonym candidate based on the grammar analysis information so that the synonym is the same as the designated homonym candidate. Since "Tokuroto" is a five-stage verb preform (collecting) + auxiliary verb (u) + connecting particle (and), the CPU 1 corrects synonym candidates in the search result so as to correspond to this grammatical form (inflectional form). . As a result, "Let's collect", "Let's adopt", "Let's vote", etc. are created.
It is displayed as in (a) (S10). The detailed procedure of S10 is shown in FIG. 9 for reference. Here, when the user operates the synonym interlocking switching key 2-6, a synonym candidate corresponding to the homonym candidate designated for each designation of the homonym candidate of the designation key 2-2 is detected by the synonym search processing similar to the above. And displayed on the display screen (see displays (a) and (b) in FIG. 11, S22 → S23).

【0042】このようにして表示された同音語候補およ
び類義語候補の名からユーザーは確定する語を指定す
る。同音語候補を指定する場合はユーザーが指定キー2
−2により同音語候補を指定し、続いて、確定キー2−
4を操作するとCPU1は指定された語句が同音語であ
ることを識別して、RAM4の同音語領域4−2から指
定された同音語候補を読み出し文書情報中の同音語候補
と置換する(S21→S30→S24→S25)。
The user designates a word to be determined from the names of the homonym candidate and the synonym candidate displayed in this way. To specify a homonym candidate, the user specifies key 2
-2 to specify a homonym candidate, and then enter key 2-
When CPU 4 is operated, CPU 1 identifies that the specified phrase is a homophone, and reads the specified homophone candidate from homophone area 4-2 of RAM 4 and replaces it with a homophone candidate in the document information (S21). → S30 → S24 → S25).

【0043】一方、類義語候補を確定する場合は、類義
語指定切り換えキー2−5を用いてCPU1に類義語の
指定を知らせ、次の指定キー2−2、確定キー2−4の
操作で確定の類義語候補をCPU1に知らせる。このた
めCPU1は指定された類義語候補をRAM4の類義語
領域4−3から読み出して文書情報中の同音語候補と置
換する(S20→S40→S24→S25)。たとえ
ば、図12の(a)のように類義語候補「捕まえよう
と」を指定すると、文書情報の表示が「大鳥の子を捕ろ
うと」から図12の(b)のように「大鳥の子を捕まえ
ようと」に切り替わる。
On the other hand, when confirming a synonym candidate, the CPU 1 is informed of the designation of the synonym using the synonym designation switching key 2-5, and the next designation key 2-2 and the confirmation key 2-4 are operated to confirm the synonym. Notify the CPU 1 of the candidates. Therefore, the CPU 1 reads out the designated synonym candidate from the synonym area 4-3 of the RAM 4 and replaces it with the homonym candidate in the document information (S20 → S40 → S24 → S25). For example, when the synonym candidate “let's catch” is specified as shown in (a) of FIG. 12, the document information is displayed as “let's catch a bird of large birds” to “Let's catch a large bird of birds” as shown in (b) of FIG. And "."

【0044】第2実施例についての応用形態としては次
の例が挙げられる。
The following example can be given as an application form of the second embodiment.

【0045】1)本実施例ではキーボード2の類義語指
定キー2−5により類義語の指定モードをCPU1に知
らせているが、CPU1側で指定キー2−2のカーソル
位置を判別して指定候補が類義語か同音語かの識別を行
うことができる。
1) In this embodiment, the synonym designation key 2-5 of the keyboard 2 is used to notify the CPU 1 of the synonym designation mode. However, the CPU 1 side determines the cursor position of the designation key 2-2 and the designation candidate is the synonym. It is possible to distinguish between homophones and homophones.

【0046】2)本実施例の類義語変換処理は、同音語
が発生する毎に行ってもよいし、複数の同音語について
一括して行うこともできる。
2) The synonym conversion process of this embodiment may be performed every time a homophone occurs, or may be performed collectively for a plurality of homophones.

【0047】[0047]

【発明の効果】以上説明したように、本発明によれば、
同音語の確定処理時に類義語の検索を実行でき、また類
義語検索のためにのみ文字入力、漢字変換処理を実行す
る必要がない。このため、類義語検索処理の時間を短縮
することができる。
As described above, according to the present invention,
A synonym search can be executed during the homophone determination process, and it is not necessary to perform character input and kanji conversion processing only for the synonym search. Therefore, the time required for the synonym search process can be shortened.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明第1実施例の回路構成を示すブロック図
である。
FIG. 1 is a block diagram showing a circuit configuration of a first embodiment of the present invention.

【図2】図1のCPU1が実行する文字処理内容を示す
フローチャートである。
FIG. 2 is a flowchart showing contents of character processing executed by a CPU 1 of FIG.

【図3】第1実施例の表示の変化を示す説明図である。FIG. 3 is an explanatory diagram showing a change in display in the first embodiment.

【図4】第1実施例の表示の変化を示す説明図である。FIG. 4 is an explanatory diagram showing a change in display in the first embodiment.

【図5】第1実施例の他の表示例を示す説明図である。FIG. 5 is an explanatory diagram showing another display example of the first embodiment.

【図6】第1実施例の他の表示例を示す説明図である。FIG. 6 is an explanatory diagram showing another display example of the first embodiment.

【図7】本発明第2実施例の回路構成を示すブロック図
である。
FIG. 7 is a block diagram showing a circuit configuration of a second embodiment of the present invention.

【図8】図7のCPU1が実行する文字処理内容を示す
フローチャートである。
8 is a flowchart showing the contents of character processing executed by the CPU 1 of FIG.

【図9】図7のCPU1が実行する文字処理内容を示す
フローチャートである。
9 is a flowchart showing the contents of character processing executed by the CPU 1 of FIG.

【図10】第2実施例の表示の変化を示す説明図であ
る。
FIG. 10 is an explanatory diagram showing a change in display in the second embodiment.

【図11】第2実施例の表示の変化を示す説明図であ
る。
FIG. 11 is an explanatory diagram showing a change in display according to the second embodiment.

【図12】第2実施例の表示の変化を示す説明図であ
る。
FIG. 12 is an explanatory diagram showing a change in display in the second embodiment.

【符号の説明】[Explanation of symbols]

1 CPU 2 キーボード 3 ROM 4 RAM 1 CPU 2 Keyboard 3 ROM 4 RAM

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 かな漢字変換において、変換対象のかな
文字列に対応する同音語候補を表示し、表示された同音
語候補を選択することによりかな漢字変換後の漢字列を
確定する文字処理方法において、 前記変換対象のかな文字列に対応する同音語候補を表示
した時に、類義語検索処理モードを設定し、 前記変換対象のかな文字列に対応する同音語候補を、類
義語検索の対象となる語句とみなし、当該表示の同音語
候補を択一的に指定し、 当該指定された同音語候補に対応する類義語を類義語辞
書の中から検索することを特徴とする文字処理方法。
1. A character processing method for displaying a kana-kanji candidate corresponding to a kana character string to be converted in kana-kanji conversion and selecting the displayed homophone word candidate to determine the kana-kanji string after kana-kanji conversion. When the homonym candidate corresponding to the conversion target kana character string is displayed, the synonym search processing mode is set, and the homonym candidate corresponding to the conversion target kana character string is regarded as a target phrase for the synonym search. A character processing method characterized by selectively designating a homonym candidate of the display and searching a synonym dictionary corresponding to the designated homonym candidate from a synonym dictionary.
【請求項2】 前記かな漢字変換は、かな混じり漢字に
変換する処理であって、前記同音語候補がかな混じり漢
字の場合は、当該かな混じり漢字を類義語の検索のため
の活用形に修正することを特徴とする請求項1に記載の
文字処理方法。
2. The kana-kanji conversion is a process of converting kana-mixed kanji into kana-mixed kanji, and when the homonym candidate is kana-mixed kanji, the kana-mixed kanji is corrected to a synonym search form. The character processing method according to claim 1, wherein:
【請求項3】 前記同音語候補の中に含まれるかな混じ
り漢字と同じ活用形となるように請求項1の類義語の検
索により得られた類義語の候補の活用形を修正し、当該
修正した類義語候補を確定のために表示することを特徴
とする請求項2に記載の文字処理方法。
3. The synonym candidate inflection form obtained by the synonym search according to claim 1 is corrected so that it has the same inflection form as kana-mixed kanji included in the homonym candidate, and the corrected synonym is corrected. The character processing method according to claim 2, wherein the candidates are displayed for confirmation.
【請求項4】 表示された異なる前記同音語候補を指定
する毎に、当該指定された同音語に対応する類義語候補
を切り換え的に表示することを特徴とする請求項1に記
載の文字処理方法。
4. The character processing method according to claim 1, wherein synonym candidates corresponding to the specified homophone word are switched and displayed every time the different displayed homophone word candidates are specified. .
【請求項5】 前記検索の結果得られる類義語候補を表
示し、表示されている前記同音語候補または前記類義語
候補の中の特定の候補を指定し、指定した候補を作成文
書中で用いる語句として確定することを特徴とする請求
項1に記載の文字処理方法。
5. A synonym candidate obtained as a result of the search is displayed, a homologous word candidate displayed or a specific candidate among the synonym candidates is designated, and the designated candidate is used as a phrase in a created document. The character processing method according to claim 1, wherein the character processing is determined.
JP5162549A 1993-06-30 1993-06-30 Character processing method Pending JPH0764988A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5162549A JPH0764988A (en) 1993-06-30 1993-06-30 Character processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5162549A JPH0764988A (en) 1993-06-30 1993-06-30 Character processing method

Publications (1)

Publication Number Publication Date
JPH0764988A true JPH0764988A (en) 1995-03-10

Family

ID=15756707

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5162549A Pending JPH0764988A (en) 1993-06-30 1993-06-30 Character processing method

Country Status (1)

Country Link
JP (1) JPH0764988A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015056164A (en) * 2013-09-13 2015-03-23 カシオ計算機株式会社 Character input device, program, and server device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015056164A (en) * 2013-09-13 2015-03-23 カシオ計算機株式会社 Character input device, program, and server device

Similar Documents

Publication Publication Date Title
JPH0764988A (en) Character processing method
JP3912343B2 (en) Character input device
JP4341447B2 (en) Information display control device, server, and program
JPH05282360A (en) Multi-language input device
JPH05189439A (en) Device and method for document preparation
JPH076175A (en) Machine translation system
JP2005157472A (en) Character input device and method
JP3369207B2 (en) Kanji input device
JP3012525B2 (en) Character processing method and character processing device
JP2004013221A (en) Chinese kanji character input unit, and chinese kanji character input method
JP2815911B2 (en) Electronic dictionary
JP2761635B2 (en) Kanji processing device
JPS63266574A (en) Document forming device
JPH08314937A (en) Machine translation device
JP2009295143A (en) Information search device, information search method, and computer program
JPH1091624A (en) Method and device for character processing
JPH07210550A (en) Device and method for kana/kanji conversion
JP2005070836A (en) Electronic dictionary
JPH10334089A (en) Character input device
JPH03108053A (en) Document preparing device
JPH04290159A (en) Method and device for proofreading japanese document
JPH05342196A (en) Character input device
JPS62260266A (en) Kana/kanji converting system
JPS6190262A (en) Kana/kanji conversion device
JPH07141358A (en) Document processor