[go: up one dir, main page]

JPH06149790A - Document processor - Google Patents

Document processor

Info

Publication number
JPH06149790A
JPH06149790A JP4294269A JP29426992A JPH06149790A JP H06149790 A JPH06149790 A JP H06149790A JP 4294269 A JP4294269 A JP 4294269A JP 29426992 A JP29426992 A JP 29426992A JP H06149790 A JPH06149790 A JP H06149790A
Authority
JP
Japan
Prior art keywords
word
fuzzy
character
search
buffer
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
JP4294269A
Other languages
Japanese (ja)
Inventor
Yoshizo Saito
佳三 斉藤
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP4294269A priority Critical patent/JPH06149790A/en
Publication of JPH06149790A publication Critical patent/JPH06149790A/en
Pending legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

PURPOSE:To retrieve all other expressions only by specifying one word as a retrieval index word even if there are plural expressions of synonyms by providing a means which decides contracted sounds and long sounds and an expression candidate table for the cases, and constituting a character string only in KANA (Japanese syllabary) at the time of the execution of a retrieving means. CONSTITUTION:For example, when 'fuzzy' has three expressions in KANA, this contracted sound is a certainly present word since the intersection of a character 'a' which can be contracted with the character 'fu' right before the contracted sound candidate in the expression candidate table (1) is marked with a circle at the time of the specification of 'fuzzy' as a retrieval index word. For the purpose, there is 'a' present as a character which can substitute for 'a' in a table (2), so 'fuzzy' is also an object of retrieval. Further, there is 'i' present as a character which can substitute for '-', so 'fuzzy' is also an object of retrieval. Then there are three kinds of word as objects of retrieval regardless of which of two expressions is specified as a retrieval index word.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、日本語ワードプロセッ
サ、コンピュータ等の文章作成装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a sentence creating device such as a Japanese word processor or a computer.

【0002】[0002]

【従来の技術】図4は従来装置の構成図を表わしたもの
である。この図に於いて、41は制御部でマイクロプロ
セッサー・プログラムやテーブル・外部記憶装置等以下
に明記する以外のものを含んでいる。
2. Description of the Related Art FIG. 4 is a block diagram of a conventional device. In this figure, reference numeral 41 denotes a control unit which includes a microprocessor, a program, a table, an external storage device and the like other than those specified below.

【0003】42はCRT又はLCD等からなる表示
部、43はキーボード又はタブレット等からなる入力部
である。
Reference numeral 42 is a display section composed of a CRT or LCD, and 43 is an input section composed of a keyboard or a tablet.

【0004】44は意味コードを含んだ自立語・固有名
詞・接辞語・音訓辞書・ユーザー辞書等の辞書部、45
は文節間の共起関係を備えた共起関係辞書である。
Reference numeral 44 is a dictionary unit such as an independent word / proper noun / affix / phonetic dictionary / user dictionary including a meaning code, 45
Is a co-occurrence relation dictionary with co-occurrence relations between clauses.

【0005】46はバッファメモリーであり、文字バッ
ファ46a、学習バッファ46b、同音語バッファ46
c、文章バッファ46d、を包含する。
A buffer memory 46 includes a character buffer 46a, a learning buffer 46b, and a homophone word buffer 46.
c, the text buffer 46d.

【0006】文字バッファ46aは入力部43から入力
された文字を蓄えておくバッファである。
The character buffer 46a is a buffer for storing the characters input from the input unit 43.

【0007】学習バッファ46bは単語の学習処理を行
なうバッファである。
The learning buffer 46b is a buffer for performing a word learning process.

【0008】同音語バッファ46cは仮名漢字変換の際
の同音語を蓄えておくバッファである。
The homophone word buffer 46c is a buffer for storing homophone words at the time of kana-kanji conversion.

【0009】文章バッファ46dは確定した文章データ
を蓄えておくバッファである。
The text buffer 46d is a buffer for storing definite text data.

【0010】入力部43から入力された仮名列はまず文
字バッファ46aに蓄えられる。
The kana string input from the input unit 43 is first stored in the character buffer 46a.

【0011】次に使用者が変換の指定をするか、あるい
は変換のタイミングになった時、制御部41は辞書部4
4及び共起関係辞書45を参照して、仮名漢字変換処理
を行ない同音語バッファ46cに変換結果を蓄える。
Next, when the user designates the conversion or when the conversion timing comes, the control unit 41 causes the dictionary unit 4 to operate.
4 and the co-occurrence relation dictionary 45, kana-kanji conversion processing is performed, and the conversion result is stored in the homophone word buffer 46c.

【0012】又変換第1候補が表示部42に表示され
る。
The first conversion candidate is displayed on the display section 42.

【0013】第1候補以外の候補も同音語バッファ46
cに蓄えられ入力部43の操作によって表示部42に表
示させて選択することができる。
Candidates other than the first candidate are homophone words buffer 46.
It is stored in c and can be displayed on the display unit 42 and selected by operating the input unit 43.

【0014】入力部43の操作によって同音語の選択が
行なわれると、その結果が学習バッファ46bに蓄えら
れる。確定された文章は文章バッファ46dに複写され
る。このような装置に於いて文字を作成する場合、常に
同じ文字列ではない。実際には、例えばカタカナのみの
文字列で「ファジー」という語は「ファジイ」や「フア
ジー」など1語でいろいろな表記が使用されている。
When a homophone is selected by operating the input unit 43, the result is stored in the learning buffer 46b. The confirmed sentence is copied to the sentence buffer 46d. When creating characters on such devices, they are not always the same string. Actually, for example, in a character string of only katakana, the word "fuzzy" is used as one word such as "fuzzy" or "fuzzy", and various notations are used.

【0015】それ故、それらの単語を検索する場合、検
索見出語が「ファジー」なら「ファジー」だけを、同様
に検索見出語が「ファジイ」なら「ファジイ」だけを、
更に検索見出語が「フアジー」なら「フアジー」だけを
検索するので、検索しようとする範囲に複数の表記が混
在していた場合には、混在している数の表記を各々検索
見出語として代入して検索する。
Therefore, when searching for those words, if the search headword is "fuzzy", then only "fuzzy", and if the search headword is "fuzzy", then only "fuzzy",
Furthermore, if the search term is "Fuzzy", only "Fuzzy" will be searched. Therefore, if multiple notations are mixed in the range to be searched, the number of mixed notations will be searched respectively. Substitute as and search.

【0016】[0016]

【発明が解決しようとする課題】以上のように、従来の
文章作成装置に於いて、検索行為を行なう場合、検索見
出語と被検索語は一字一句同じ文字で構成されているも
のしか検索できなかった。
As described above, in the case of performing a search action in the conventional sentence creating device, the search headword and the searched word are composed of the same characters one by one. I couldn't find it.

【0017】この為、仮名のみの文字列で構成されてお
り1語で複数の表記が存在する語句(例えば「ファジ
ー」、「ファジイ」、「フアジー」)の場合、複数の表
記の分だけ各々検索見出語として指定して検索する必要
があった。この為検索に大変手間がかかり、又検索漏れ
する場合も多々あった。
Therefore, in the case of a phrase composed of a character string of only kana and having a plurality of notations in one word (for example, "fuzzy", "fuzzy", "fuzzy"), each of the plurality of notations is used. It was necessary to search by specifying it as a search headword. For this reason, it takes a lot of time to search, and sometimes the search is omitted.

【0018】[0018]

【課題を解決するための手段】本発明は上記課題の解決
を目的としてなされたもので、文章データ中の同一単語
を検索する検索手段を有する文章作成装置に於いて、拗
音及び長音を判定する判定手段と該音に関する表記候補
テーブルを持ち、仮名のみで構成される1つの単語に対
して複数の表記候補を抽出する抽出手段とを有し、仮名
のみで構成される単語を検索する場合、検索見出語及び
その表記の異なる同一単語も合わせて検索対象とするこ
とを特徴とする文章作成装置である。
SUMMARY OF THE INVENTION The present invention has been made for the purpose of solving the above-mentioned problems, and in a sentence creating apparatus having a searching means for searching the same word in sentence data, it is possible to judge a long sound and a long sound. In the case of searching for a word composed only of kana, having a judgment means and a notation candidate table relating to the sound, and having an extraction means for extracting a plurality of notation candidates for one word composed only of kana A sentence creation device characterized in that search words and the same words having different notations are also targeted for search.

【0019】[0019]

【作用】上記構成により、本発明の文章作成装置によれ
ぱ検索手段実行時に於いて、仮名のみの文字列で構成さ
れており、1語で複数の表記が存在する単語を検索する
場合、上記複数の表記中の1つの単語を検索見出語とし
て代入するだけで、残りの表記も全て検索することがで
きる。
With the above-described structure, when the sentence creating device of the present invention is used to search for a word that is composed of a character string of only kana and has a plurality of notations in one word when the search means is executed, All of the remaining notations can be searched by simply substituting one word in the plurality of notations as the search headword.

【0020】[0020]

【実施例】図1は本発明装置の構成図を表わしたもので
ある。この図に於いて、1は制御部でマイクロプロセッ
サー・プログラムやテーブル・外部記憶装置等以下に明
記する以外のものを含んでいる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT FIG. 1 shows a block diagram of the device of the present invention. In this figure, reference numeral 1 denotes a control unit which includes a microprocessor, a program, a table, an external storage device and the like other than those specified below.

【0021】2はCRT又はLCD等からなる表示部。Reference numeral 2 is a display unit composed of a CRT or LCD.

【0022】3はキーボード又はタブレット等からなる
入力部である。
Reference numeral 3 is an input unit composed of a keyboard or a tablet.

【0023】4は意味コードを含んだ自立語・固有名詞
・接辞語・音訓辞書・ユーザー辞書等の辞書部。
Reference numeral 4 is a dictionary section including a self-supporting word, proper noun, affix, phonological dictionary, user dictionary, etc., including a meaning code.

【0024】5は文節間の共起関係を備えた共起関係辞
書である。
Reference numeral 5 is a co-occurrence relation dictionary having a co-occurrence relation between clauses.

【0025】6はバッファメモリであり、文字バッファ
6a、学習バッファ6b、同音語バッファ6c、文章バ
ッファ6dを包含する。
A buffer memory 6 includes a character buffer 6a, a learning buffer 6b, a homophone word buffer 6c, and a sentence buffer 6d.

【0026】7はあいまい検索に使用されるテーブル
(図2(1),(2))が格納されている。
A table 7 (FIGS. 2 (1) and 2 (2)) used for ambiguous retrieval is stored.

【0027】入力部3から入力された仮名列はまず文字
バッファ6aに蓄えられる。
The kana string input from the input unit 3 is first stored in the character buffer 6a.

【0028】次に使用者が変換の指定をするか、あるい
は変換のタイミングになった時、制御部1は辞書部4及
び共起関係辞書5、その他テーブル7等を参照して、仮
名漢字変換処理を行ない同音語バッファ6cに変換結果
を蓄える。又、変換第1候補が表示部2に表示される。
Next, when the user designates the conversion or when the conversion timing comes, the control unit 1 refers to the dictionary unit 4, the co-occurrence relation dictionary 5, the other table 7, etc. to convert the Kana to Kanji. The processed result is stored in the homophone word buffer 6c. Further, the first conversion candidate is displayed on the display unit 2.

【0029】第1候補以外の候補も同音語バッファ6c
に蓄えられ入力部3の操作によって表示部2に表示させ
て選択することができる。
Candidates other than the first candidate are homophone words buffer 6c.
Can be displayed on the display unit 2 and selected by operating the input unit 3.

【0030】入力部3の操作によって同音語の選択が行
なわれるとその結果が学習バッファ6bに蓄えられる。
確定された文章は文章バッファ6dに複写される図2は
本発明の実施例の説明図であり、あいまい検索用のテー
ブルである。図2(1)では拗音候補直前文字と拗音化
可能文字をマトリックスにすることにより全拗音を提示
している。
When a homophone is selected by operating the input unit 3, the result is stored in the learning buffer 6b.
The confirmed sentence is copied to the sentence buffer 6d. FIG. 2 is an explanatory diagram of the embodiment of the present invention, which is a table for fuzzy search. In FIG. 2 (1), all the Japanese syllables are presented by forming the characters immediately before the syllable candidate and the syllable characters in a matrix.

【0031】図2(2)では、置換え可能な文字をマト
リックスにすることにより、各文字相互間の置換え可能
文字を提示している。
In FIG. 2 (2), the replaceable characters are presented in a matrix by forming the replaceable characters in a matrix.

【0032】図3は本発明の動作を示すフローチャート
である。図1のようなブロック構成を前提に今回のあい
まい検索の処理手順を説明する。
FIG. 3 is a flow chart showing the operation of the present invention. The processing procedure of this fuzzy search will be described on the premise of the block configuration as shown in FIG.

【0033】201であいまい検索を始めたい位置にカ
ーソルを動かす。
At 201, the cursor is moved to the position where the fuzzy search is to be started.

【0034】202で検索機能に入る。At 202, the search function is entered.

【0035】203で検索文字を入れる204で置換キ
ーを押す。
Enter the search character at 203 and press the replace key at 204.

【0036】205で置換文字を入れる。At 205, a replacement character is entered.

【0037】ファンクションを押して「検索方向」「検
索モード」「あいまい検索」を変更・指定できる。
By pressing the function, "search direction", "search mode", and "fuzzy search" can be changed / designated.

【0038】206で実行キーを押すことにより検索文
字を置き換える処理を始める。
By pressing the execute key at 206, the process of replacing the search character is started.

【0039】207で205であいまい検索を指定した
場合図2(1)、(2)からあいまい語の候補単語文字
列を抽出する。
When the ambiguous search is designated at 205 in 207, candidate word character strings for ambiguous words are extracted from FIGS. 2 (1) and 2 (2).

【0040】208で207で抽出された候補単語が辞
書部にあるか確認し、なければ候補から外す。
At 208, it is confirmed whether the candidate word extracted at 207 exists in the dictionary portion, and if not, it is excluded from the candidates.

【0041】209で205で一括置換え指定した場合
には、すべての検索文字を置換文字に置き換えながらカ
ーソルは文末(文頭)まで動く。
When the batch replacement is designated at 205 in 209, the cursor moves to the end of the sentence (beginning of the sentence) while replacing all the search characters with the replacement characters.

【0042】210で205で逐次置換を指定した場合
には、カーソルが検索文字に動く。
When the sequential replacement is designated at 205 in 210, the cursor moves to the search character.

【0043】211で実行キー置換し、検索を再開す
る。
At step 211, the execution key is replaced and the search is restarted.

【0044】212でスキップ文字は置換せずに、次の
検索文字に進む。
At step 212, the skip character is not replaced, and the process proceeds to the next search character.

【0045】具体的な例で補足するならば、前述した
「ファジー」「ファジイ」「フアジー」の3つの表記が
混在している文章に於いて、検索見出語に「ファジー」
を指定すると、まず図2(1)で拗音候補直前文字
「フ」に対して拗音化可能文字「ア」の表中で交わるポ
イントは○印があるので、この「ファジー」は確かに存
在する単語である。そこで図2(2)により「ァ」の置
換え可能文字として「ア」が存在するので「フアジー」
も検索対象となる。
To supplement with a concrete example, in a sentence in which the above-mentioned three expressions of "fuzzy", "fuzzy" and "fuzzy" are mixed, "fuzzy" is used as the search headword.
If you specify, first, in Fig. 2 (1), the point that intersects with the character "F" immediately before the candidate for the Japanese sound candidate in the table of the soundable Japanese character "A" is marked with a circle, so this "fuzzy" certainly exists. Is a word. Therefore, as shown in Fig. 2 (2), "a" exists as a replaceable character of "a".
Will also be searched.

【0046】更に「ー」の置換え可能文字として「イ」
が存在するので「ファジイ」も検索対象となる。
Further, as a replaceable character of "-", "i"
Is present, "fuzzy" is also a search target.

【0047】又検索見出語に「フアジー」を指定しても
「ファジイ」を指定した場合でも検索対象となる単語は
上記説明した3通りになることは勿論である。
It goes without saying that the words to be searched are, of course, the three types described above, even if "Fuzzy" or "Fuzzy" is specified as the search term.

【0048】尚、実施例はカタ仮名で提示したが平仮名
であっても良いことは勿論である。
Although the embodiment is presented in katakana, it is of course possible to use hiragana.

【0049】このようにして同意語の複数表記が混在す
る文章中に於いても、その中の1つの単語を検索見出語
として指定するだけで残りの表記も全て検索することが
可能となる。
In this way, even in a sentence in which a plurality of synonyms of synonyms are mixed, it is possible to retrieve all the rest of the synonyms by designating one word as a search headword. .

【0050】その他本発明は、上記しかつ図面に示した
実施例のみに限定されるものではなく要旨を逸脱しない
範囲内で適宜変形して実施できることは勿論である。
Others The present invention is not limited to the embodiments described above and shown in the drawings, and it is needless to say that the present invention can be appropriately modified and implemented without departing from the scope of the invention.

【0051】[0051]

【発明の効果】本発明の文章作成装置によれば検索手段
実行時に於いて、仮名のみの文字列で構成されており、
1語で複数の表記が存在する単語を検索する場合、上記
複数の表記中の1つの単語を検索見出語として指定する
だけで残りの表記も全て検索することができる。この為
使用者の手間が大巾に省ける。又表記の違いによる同一
内容単語の検索漏れを防ぐことができる
According to the text creating apparatus of the present invention, when the searching means is executed, the text string is composed of only the kana characters.
When searching for a word having a plurality of notations in one word, all the remaining notations can be searched by simply designating one word in the plurality of notations as a search headword. Therefore, the labor of the user can be greatly saved. In addition, it is possible to prevent omission of retrieval of the same content word due to the difference in notation.

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

【図1】本発明装置の構成図である。FIG. 1 is a block diagram of an apparatus of the present invention.

【図2】本発明の実施例の説明図である。FIG. 2 is an explanatory diagram of an example of the present invention.

【図3】本発明の動作を示すフローチャートである。FIG. 3 is a flowchart showing the operation of the present invention.

【図4】従来装置の構成図である。FIG. 4 is a configuration diagram of a conventional device.

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

1 制御部 2 表示部 3 入力部 4 辞書部 5 共起関係辞書 6 バッファ 6a 文字バッファ 6b 学習バッファ 6c 同音語バッファ 6d 文章バッファ 7 テーブル 1 control unit 2 display unit 3 input unit 4 dictionary unit 5 co-occurrence relation dictionary 6 buffer 6a character buffer 6b learning buffer 6c homophone word buffer 6d sentence buffer 7 table

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 文章データ中の同一単語を検索する検索
手段を有する文章作成装置に於いて、 拗音及び長音を判定する判定手段と該音に関する表記候
補テーブルを持ち、仮名のみで構成される1つの単語に
対して複数の表記候補を抽出する抽出手段とを有し、 仮名のみで構成される単語を検索する場合、検索見出語
及びその表記の異なる同一単語も合わせて検索対象とす
ることを特徴とする文章作成装置。
1. A sentence creating apparatus having a searching means for searching the same word in sentence data, comprising a judging means for judging a long sound and a long sound, a notation candidate table for the sound, and comprising only a kana. When searching for a word that is composed of only kana and has a means for extracting multiple notation candidates for a single word, the search term and the same word with different notations must also be included in the search target. A writing device characterized by.
JP4294269A 1992-11-02 1992-11-02 Document processor Pending JPH06149790A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4294269A JPH06149790A (en) 1992-11-02 1992-11-02 Document processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4294269A JPH06149790A (en) 1992-11-02 1992-11-02 Document processor

Publications (1)

Publication Number Publication Date
JPH06149790A true JPH06149790A (en) 1994-05-31

Family

ID=17805533

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4294269A Pending JPH06149790A (en) 1992-11-02 1992-11-02 Document processor

Country Status (1)

Country Link
JP (1) JPH06149790A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11175557A (en) * 1997-12-16 1999-07-02 Sanyo Electric Co Ltd Information communication terminal
JP2002278988A (en) * 2001-03-15 2002-09-27 Just Syst Corp Word string conversion device, search device, word string conversion method, search method, and recording medium
KR100916816B1 (en) * 2008-03-14 2009-09-14 엔에이치엔(주) A method and system that uses a Japanese alias database to reduce errors for long sound and tactile sound and to provide a terminal find function when using Japanese input method.

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11175557A (en) * 1997-12-16 1999-07-02 Sanyo Electric Co Ltd Information communication terminal
JP2002278988A (en) * 2001-03-15 2002-09-27 Just Syst Corp Word string conversion device, search device, word string conversion method, search method, and recording medium
KR100916816B1 (en) * 2008-03-14 2009-09-14 엔에이치엔(주) A method and system that uses a Japanese alias database to reduce errors for long sound and tactile sound and to provide a terminal find function when using Japanese input method.
JP2009223894A (en) * 2008-03-14 2009-10-01 Nhn Corp Method and system for providing single character retrieval function in using japanese input machine and reducing error to long sound and double consonant using japanese alias database

Similar Documents

Publication Publication Date Title
EP0370774B1 (en) Machine translation system
JP2001134567A (en) Electronic dictionary
JPH0411906B2 (en)
EP2031490A2 (en) Electronic dictionary, search method for and electronic dictionary, and search program for an alectronic dictionary
JPH11212967A (en) Prediction input device/method
JPH06149790A (en) Document processor
JPS62197864A (en) Language information offering device
JPS5969829A (en) Device for documentation
JP2862236B2 (en) Character processor
KR0164405B1 (en) Word processor of mode selection
JPH01126767A (en) Dictionary referring device
JPH08153112A (en) Device and method for document preparation
JPH08272780A (en) Chinese input processing apparatus, Chinese input processing method, language processing apparatus and language processing method
JPS5998236A (en) Japanese text input device
JPH10198664A (en) Japanese language input system and medium for recorded with japanese language input program
JPH0385670A (en) Two-stage display type document processing device
JP2005293069A (en) Electronic dictionary
JPH06266765A (en) Sentence retrieving device
JPS63657A (en) Japanese language word processor
JPS63174165A (en) Word processor
JPH0115105B2 (en)
JPH01240976A (en) Electronic dictionary
JPS62197863A (en) Language information offering device
JPH05151199A (en) Document preparation device
JPH0385669A (en) Retrieval replacing device with function for analyzing declensional kana ending