JPH0385669A - Retrieval replacing device with function for analyzing declensional kana ending - Google Patents

Retrieval replacing device with function for analyzing declensional kana ending

Info

Publication number
JPH0385669A
JPH0385669A JP1225918A JP22591889A JPH0385669A JP H0385669 A JPH0385669 A JP H0385669A JP 1225918 A JP1225918 A JP 1225918A JP 22591889 A JP22591889 A JP 22591889A JP H0385669 A JPH0385669 A JP H0385669A
Authority
JP
Japan
Prior art keywords
word
search
character
kana
replacement
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
JP1225918A
Other languages
Japanese (ja)
Inventor
Yoshizo Saito
斎藤 佳三
Shigeru Ishino
茂 石野
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 JP1225918A priority Critical patent/JPH0385669A/en
Publication of JPH0385669A publication Critical patent/JPH0385669A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To speedily unify OKURI-KANA (KANA added after a Chinese character to show its Japanese inflection) by reading out a word corresponding to a retrieving character from a dictionary means in the pattern of all the OKURI- KANA concerning the word, retrieving those words as the objective characters of retrieval and afterwards, replacing the words with one designated kind of a replacing character. CONSTITUTION:Concerning words stored in a dictionary means 101, the patterns of the OKURI-KANA are respectively stored. When retrieval replacement processing is executed, at first, the words corresponding to the retrieving character, which is inputted from an input means 102, are read out from the dictionary means 101 by a reading means 104 in the description corresponding to all the patterns of the OKURI-KANA stored concerning the word. Next, by a retrieving means 105, the read out words are retrieved from document information stored in a storing means 103. Then, the retrieved word is replaced with the replacing character by a replacing means 106. Thus, under the condition of the same word, even when the patterns of the OKURI-KANA is various, the word can be replaced with one designated kind of the replacing character.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 l この発明は、主として日本語ワードプロセッサのような
情報処理装置に用いられ、入力データの中から所望のデ
ータを検索し、それを所望の別データに置き換える検索
置換装置に関する。
[Detailed description of the invention] (a) Industrial application field l This invention is mainly used in information processing devices such as Japanese word processors, and searches for desired data from input data and converts it into a desired form. The present invention relates to a search and replace device for replacing data with other data.

(ロ)従来の技術 一般に、日本語ワードプロセッサのような情報処理装置
においては、各種の編集機能を備えており、その中の−
っの機能として、入力データの中から所望のデータを検
索し、それを所望の別データに置き換える検索置換機能
がある。
(b) Conventional technology Generally, information processing devices such as Japanese word processors are equipped with various editing functions, among which -
The second function is a search and replace function that searches for desired data from input data and replaces it with other desired data.

上記の情報処理装置の内、このような検索置換機能を遠
戚するに必要な装置群を、ここでは検索置換装置として
説明する。
Among the above-mentioned information processing devices, a group of devices required to provide such a search and replace function will be described here as a search and replace device.

ところで、日本語には、送りがなの異なる単語が多数存
在する。
By the way, in Japanese there are many words with different Okurigana.

例えば、「かわりみ」であれば「変り身」、「変わり身
」、また、「かんがえちがい」であれば「考え違い」、
「考違い」のようにである(以後、このように、一つの
単語に対して複数種類の送りがなが存在することを、送
りがなの“ゆらぎ”とい一 う)。
For example, ``Kawarimi'' means ``transformer,''``transformer,'' and ``kangae difference'' means ``a misunderstanding.''
It's like ``a misunderstanding.'' (Hereinafter, the existence of multiple types of okurikana for one word will be referred to as ``yuragi'' of okurikana.)

このような単語の送りがな?二ついては、従来の日本語
ワードプロセッサのような情報処理装置においては、か
な漢字変換辞書に登録しである送りがなが一方的にユー
ザーに提供されるようになっている。例えば、「かわり
み」という単語についていえば、「変り身」という表記
のみが辞書?こ登録されている場合には、単語の読み情
報として「かわりみ」を入力し、それに対してかな漢字
変換を実行すると、必ず「変り身」と変換される。従っ
て、ユーザーは、その送りがなが気に入らない場合には
、修正キーを用いて好みの送りがなに修正するようにし
ている。
What's wrong with sending words like this? Regarding the second issue, in conventional information processing devices such as Japanese word processors, the okurikana characters registered in the kana-kanji conversion dictionary are unilaterally provided to the user. For example, when it comes to the word "Kawarimi", is the only notation "Kawarimi" in the dictionary? If this is registered, if you enter "Kawarimi" as the reading information of a word and perform kana-kanji conversion on it, it will always be converted to "Kawarimi". Therefore, if the user does not like the speed, he or she uses the modification key to modify the desired speed.

ところが、かな漢字変換実行後に、送りがなの確認をし
て修正するには時間を要するため、ユーザーは、変換さ
れた送りがなに多少違和感を抱いたとしても、そのまま
使用しているのが実情である。このことを一般には、ワ
ープロ訛りと呼び、使用する日本語ワードプロセッサに
よって単語の送りがなが異なるという結果を生む。
However, since it takes time to check and correct the okuri-gana after performing kana-kanji conversion, the reality is that users continue to use the converted okurikana, even if they find it a little strange. This is generally referred to as a word processor accent, and results in the length of word delivery differing depending on the Japanese word processor used.

一 (ハ)発明が解決しようとする課題 しかしながら、文章を作成する上で、違和感を感じたま
ま文章を作成することは、創造的に文章を作成する、例
えば作家等にとって、情神的に大きな負担を与えること
になる。
(c) Problems to be solved by the invention However, creating sentences while feeling uncomfortable is a big emotional problem for writers who create sentences creatively. It will put a burden on you.

このような問題を解決するために、本発明者らにより、
辞書に登録した送りがなからユーザーの思っている送り
がなに、簡単に変更できるような改良がなされてきた(
特願昭63−293945号、特願平1−133737
号)。
In order to solve such problems, the present inventors
Improvements have been made that allow users to easily change the send-off registered in the dictionary to the send-off they think they want (
Patent Application No. 1988-293945, Patent Application No. 1-133737
issue).

しかしながら、今度は簡単にユーザー自身で送りがなを
変更することができるために、多くの文章を作成する間
に、同じ意味の単語が異なった送りがなで用いられると
いうことが生じ、単語の送りがなが統一されていない文
章が作成されてしまうという問題が生ずる。
However, since users can easily change their own okurikana, while creating many sentences, words with the same meaning may be used in different okuri kanas, and the okurigana of words may not be unified. A problem arises in that sentences that are not specified are created.

この発明は、このような事情を考慮してなされたもので
、検索する文字から、その文字に対する送りがなの態様
、つまり“ゆらぎ”を解析し、その“ゆらぎ”の範囲内
にある文字を全て検索対象4 とすることにより、送りがなの態様を統一された一種類
の送りがなに置き換えることができるようにした、送り
がな解析機能付き検索置換装置を提供するものである。
This invention was made in consideration of these circumstances, and it analyzes the character to be searched for, the manner in which it is moved, that is, the "fluctuation", and searches for all characters within the range of that "fluctuation". Target 4 provides a search and replacement device with an okurikana analysis function that can replace the okurikana mode with one unified type of okurikana.

(ニ)課題を解決するための手段 第1図は、この発明の構成を示すブロック図である。(d) Means to solve the problem FIG. 1 is a block diagram showing the configuration of the present invention.

図に示すように、この発明は、漢字を含む多数の単語を
その読み情報と共に記憶しさらに各単語についての送り
がなのパターンを記憶した辞書手段1 (11と、各種
の文書情報、及び検索文字、置換文字を入力するための
入力手段102と、入力手段102より入力された文書
情報を記憶する記憶手段+03と、入力手段102より
人力された検索文字に対応する単語をその単語について
記憶された全ての送りがなのパターンに応じた表記で辞
書手段lotから涜出す読出し手段104と、記憶手段
103に記憶された文書情報の中から読出し手段104
によって読出された単語を検索する検索手段+05と、
検索手段105によって検索された単語を入力手段10
2より入力された置換文字に置き換える置換手段106
を備えてなる送りがな解析機能付き検索置換装置である
。
As shown in the figure, the present invention stores a large number of words including kanji along with their pronunciation information, and furthermore, a dictionary means 1 (11) that stores a pattern of okigana for each word, various document information, and search characters, An input means 102 for inputting replacement characters, a storage means +03 for storing document information inputted from the input means 102, and a storage means +03 for storing the document information inputted from the input means 102, and a storage means +03 for storing all the words corresponding to the search characters manually entered by the input means 102 for that word. reading means 104 for reading from the dictionary means lot with notation according to the okugana pattern; and reading means 104 for reading out from the document information stored in the storage means 103.
search means +05 for searching for words read out by;
The word searched by the search means 105 is input to the input means 10.
Replacement means 106 for replacing with the replacement character input from 2
This is a search and replace device with an okuragana analysis function.

なお、この発明における辞書手段101としては、従来
公知のかな漢字変換辞書の各単語に送りがなのパターン
情報を付加した、かな漢字変換辞書が用いられる。この
辞書手段lotとしては、通常は、コアメモリー、IC
メモリー等の内部メモリーや、フロッピーディスク装置
、磁気ディスク装置等の外部記憶装置が用いられる。
Note that as the dictionary means 101 in the present invention, a kana-kanji conversion dictionary is used in which okurikana pattern information is added to each word of a conventionally known kana-kanji conversion dictionary. This dictionary means usually includes core memory, IC
An internal memory such as a memory, and an external storage device such as a floppy disk device or a magnetic disk device are used.

また、入力手段102としては、各種の文書情報、及び
検索文字、置換文字を入力することができるものであれ
ばよく、例えば、キーボード装置、タブレット装置、O
CR装置、磁気テープ装置等が用いられる。
The input means 102 may be any device that can input various document information, search characters, and replacement characters, such as a keyboard device, a tablet device, an O
A CR device, a magnetic tape device, etc. are used.

さらに、読出し手段104、検索手段1.05、及び置
換手’段106としては、一般に、CPU。
Furthermore, the reading means 104, the searching means 1.05, and the replacing means 106 are generally CPUs.

ROM、RAM、I10ボートからなるマイクロコンピ
ュータを用いるのが便利であり・、記憶手段103とし
ては、通常、その中のRAMか用いられる。
It is convenient to use a microcomputer consisting of ROM, RAM, and I10 board, and the RAM therein is usually used as the storage means 103.

(ホ)作用 第1図に示すように、この発明によれば、辞書手段+0
1に記憶されている単語については、それぞれ送りがな
のパターンか記憶されており、検索置換処理が行われる
場合には、まず、続出し手段104によって、入力手段
102より入力された検索文字に対応する単語が、その
単語について記憶された全ての送りかなのパターンに応
じん表記で辞書手段+01から読出され、次に、検索手
段105によって、その読出された単語が、記憶手段+
03に記憶された文書情報の中から検索される。
(e) Effect As shown in FIG. 1, according to the present invention, the dictionary means +0
For each word stored in 1, a pattern of okurikana is stored, and when a search and replacement process is performed, first, the successive output means 104 selects a word corresponding to the search character inputted from the input means 102. A word is read out from the dictionary means +01 in a notation corresponding to all the kana patterns stored for that word, and then the read word is read out from the dictionary means +01 by the retrieval means 105.
The document information stored in 03 is searched.

そして、置換手段106によって、その検索された単語
が置換文字に置き換えられる。
Then, the replacement means 106 replaces the searched word with a replacement character.

従って、同じ単語であれば、送りがなのパターンが異な
っていても、指定した一種類の置換文字に置き換えるこ
とができる。
Therefore, if the words are the same, even if the okurigana patterns are different, they can be replaced with one specified type of replacement character.

(へ)実施例 以下、図面に示す実施例に基づいてこの発明を詳述する
。なお、この発明はこれによって限定されるものではな
い。
(f) Examples Hereinafter, the present invention will be described in detail based on examples shown in the drawings. Note that this invention is not limited to this.

第2図はこの発明を日本語ワードプロセッサに適用した
一実施例の構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of an embodiment in which the present invention is applied to a Japanese word processor.

図において、■はかなキーやファンクショクキーを備え
たキーボードであり、かなによる文書の読み情報、検索
文字及び置換文字の読み情報を制御部2に入力する。
In the figure, ■ is a keyboard equipped with ephemeral keys and function keys, and information on how to read a document in kana, and information on how to read search characters and replacement characters is input to the control unit 2.

制御部2は、マイクロコンピュータから構成され、RO
Mからなるプログラムメモリ3に書き込まれている制御
プログラムに従い、各種のデータ処理を行う。
The control unit 2 is composed of a microcomputer, and the RO
According to the control program written in the program memory 3 consisting of M, various data processing is performed.

4はキーボードlから入力されたかな文字列を漢字に変
換するためのフロッピーディスク装置からなるかな漢字
変換辞書であり、漢字を含む多数の単語をその読み情報
と共に記憶している。かな漢字変換辞書4は、また、後
述するように、各単語についての送りがなのパターンを
記憶している。
Reference numeral 4 denotes a kana-kanji conversion dictionary consisting of a floppy disk device for converting kana character strings input from the keyboard 1 into kanji, and stores a large number of words including kanji along with their reading information. The kana-kanji conversion dictionary 4 also stores okurikana patterns for each word, as will be described later.

5はCRTデイスプレィやLC(液晶)デイスプレィ、
あるいはELデイスプレィ等からなる表8 示装置である。
5 is a CRT display or LC (liquid crystal) display,
Alternatively, it is a display device consisting of an EL display or the like.

6はRAMであり、内部には、かな漢字変換された文章
データを記憶する人力データバッファ7、キーボードl
から入力された検索文字と、その検索文字に基づいてか
な漢字変換辞書4から続出された検索単語とを記憶する
検索データバッファ8、及びキーボードlから入力され
た置換文字を記憶する置換データバッファ9が、それぞ
れ設定されている。
6 is a RAM, which includes a human data buffer 7 for storing text data converted into kana-kanji, and a keyboard l.
A search data buffer 8 stores search characters input from the keyboard and search words successively retrieved from the kana-kanji conversion dictionary 4 based on the search characters, and a replacement data buffer 9 stores replacement characters input from the keyboard l. , are set respectively.

第3図はかな漢字変換辞書4に記憶されている各単語に
ついての送りがなのパターンの一例を示す説明図である
。
FIG. 3 is an explanatory diagram showing an example of the Okigana pattern for each word stored in the Hakana-Kanji conversion dictionary 4.

図に示すように、かな漢字変換辞書4は、例えば、単語
が「変わり身」、であるような場合には、その送りがな
については、先ず、“00「(ヘキサの“00”を示す
)と出力され、次に、“40「と出力されるような辞書
構造となっている。
As shown in the figure, the Kana-Kanji conversion dictionary 4 first outputs "00" (indicating "00" in hexagram) for the Okigana when the word is, for example, "Karikin". The dictionary structure is such that "40" is output next.

すなわち、“OOH”で示すへ牛すの数値をくット情報
に直すと、“00000000”であり、このビット情
報はlバイト単1立て漢字表記文字位置と対応し9 ている。
That is, when the numerical value of the head indicated by "OOH" is converted into bit information, it is "00000000", and this bit information corresponds to the character position of 1 byte single character Kanji notation.

例えば、上述の「変イっり身(かわりみ)」という単語
である場合には、読み文字データは、(変−IXわ=1
)(す=1)(身=1)−1111であるので、この4
桁の表記に、第4図に示すように、それぞれ先頭から1
ビツトずつ割り当てる。
For example, in the case of the word ``Kawarimi'' mentioned above, the reading character data is (hen - IX wa = 1
) (S = 1) (B = 1) - 1111, so this 4
In the notation of digits, as shown in Figure 4, each number is 1 from the beginning.
Allocate bit by bit.

そして、第5図に示すように、ビットが“l(オン)“
になっている表記を除くと、「かわりみ」の場合であれ
ば、第6図に示すように、ヘキサ“00H″の送りがな
のパターンは、“oooo oooo”であるので、「
変わり身」という送りがなの表記が得られる。また、ヘ
キサ“40H”の送りがなのパターンは、“01000
000”であるので、同様に「変り身」という送りかな
の表記が得られる。
Then, as shown in FIG. 5, the bit is "l (on)".
In the case of "Kawarimi", as shown in Figure 6, the pattern of the advance number of the hex "00H" is "oooo oooo", except for the notation that is "00H".
You can get the notation of okurigana, ``transformer''. Also, the feed pattern of hex “40H” is “01000”.
000'', we can similarly obtain the notation for okuri kana, ``henshin''.

このように、送りがなの出力順を1バイト情報としてヘ
キサで表示したものが第3図である。
In this way, FIG. 3 shows the output order of the okurigana as 1-byte information expressed in hexadecimal characters.

第7図は同様にして、見出し語「かわりめ」を、第8図
は「かわりもの」を、第9図は「かんがえだ・す」を、
第10図は「かんがえだせ・る」を、第11図は「かん
がえちがい・だ」を、それぞれ第3図に示したヘキサ表
示の出力順に基づいてビット情報に展開し、それを送り
がむのパターンとして表記に対応させて、送りがなを変
化さ廿fこ場合の例を示す説明図である。
Similarly, Figure 7 shows the headword ``Kawarime'', Figure 8 shows ``Kawarimono'', and Figure 9 shows ``Kangaeda-su''.
Figure 10 shows ``kangaedase・ru'' and Figure 11 shows ``kangaedase・da'', each of which is expanded into bit information based on the output order of the hex display shown in figure 3, and then sent. FIG. 6 is an explanatory diagram showing an example of a case where the advance key is changed according to the notation as a pattern.

これらの図に示すように、見出し語「かわりみ」「かわ
りめコ、「かわりもの」、「かんがえた・す」について
は、それぞれ2種類の送りがなの異なる表記か得られ、
「かんがえたせ・る」、「かんがえちがい・だ」につい
ては、それぞれ4種類の送りがなの異なる表記か得られ
る。
As shown in these figures, for the headwords ``Kawarimi'', ``Kawarimeko'', ``Kawarimono'', and ``Kangaeta・su'', two different spellings of the okurigana are obtained.
For ``kangaetase・ru'' and ``kangaetase・da'', you can get four different notations for each type of okurigana.

第12図及び第13図は検索置換処理が実行される場合
の表示装置5の入力画面の一例を示す説明図である 制御部2は、キーボードlから入力された各種の文書情
報を、かな漢字変換辞書4によってかな漢字変換した後
、入力データバッファ7に記憶する。
12 and 13 are explanatory diagrams showing an example of the input screen of the display device 5 when the search and replace process is executed. The control unit 2 converts various document information input from the keyboard l into kana-kanji After performing kana-kanji conversion using the dictionary 4, the data is stored in the input data buffer 7.

プログラムメモリ3には、第12図に示すような入力画
面が記憶されており、制御部2は、入力データバッファ
7に文章が記憶されてい・る状態において、キーボード
lから検索置換の指示があった場合には、プログラムメ
モリ3から第12図に示すような入力画面を読出して、
ウィンドウ画面として表示装置5の画面に表示する。
The program memory 3 stores an input screen as shown in FIG. If the input screen shown in FIG. 12 is read out from the program memory 3,
It is displayed on the screen of the display device 5 as a window screen.

制御部2は、このような画面を表示した後、キーボード
lから検索文字が入力された場合には、人力された検索
文字を検索データバッファ8に記憶すると共に、第13
図に示すように、入力された検索文字を入力画面の検索
文字の項目欄に表示する。
After displaying such a screen, if a search character is input from the keyboard l, the control unit 2 stores the manually entered search character in the search data buffer 8, and also stores the input search character in the search data buffer 8.
As shown in the figure, the input search characters are displayed in the search character field on the input screen.

そして、キーボードlから置換文字が入力された場合に
は、その入力された置換文字を置換データバッファ9に
記憶すると共に、同じく第13図に示すように、入力さ
れた置換文字を入力画面の置換文字の項目欄に表示する
。第13図に示したものは、検索文字が「考え違い」、
置換文字が「考え違いゴとそれぞれ入力された場合の表
示例である。
When a replacement character is input from the keyboard l, the input replacement character is stored in the replacement data buffer 9, and as shown in FIG. Display in the text field. In the case shown in Figure 13, the search characters are "misunderstanding",
This is an example of the display when the replacement character is input as ``I misunderstood.''

第13図においては、「考え違い」の文字列を検索して
、「考え違い」に置き換えることを表し1− ているが、実際は、「考え違い」、「考違」、「考違い
」、「考え違」のように、各種の送りがなが使用されて
いる文章を、「考え違い」という一種類の送りがなに統
一しようとすることを意味している。
In Figure 13, the character string ``misunderstanding'' is searched and replaced with ``misunderstanding'', but in reality it is ``misunderstanding'', ``misunderstanding'', ``misunderstanding'', ``misunderstanding''. '', it means trying to unify sentences that use various okuri-gana into one type of okuri-gana, ``misunderstanding''.

この様な条件が入力された後、キーボードlから送りが
なの“ゆらぎ”の指定、つまり、送りがなについての全
パターンを検索対象とするという指示と共に、処理開始
が指示されろと、制御部2は、まず、検索文字に対応す
る単語を、その単語について記憶された全ての送りがな
のパターンに応じた表記で、かな漢字変換辞書4から読
出す。
After such conditions are input, the control unit 2 requests that the keyboard l specify the "yuragi" of the okurigana, that is, specify that all patterns of the okurigana are to be searched, as well as instruct the start of the process. First, the word corresponding to the search character is read out from the kana-kanji conversion dictionary 4 in a notation corresponding to all the Okigana patterns stored for the word.

すなわち、例えば、検索文字が「かんがえちがい」であ
る場合には、その単語について、第11図に示したよう
な、「考え違い」、「考違」、「考違い」、「考え違」
の全ての送りがなパターンの表記を続出し、それを検索
データバッファ8に記憶する。
That is, for example, if the search character is ``Kangae Difference'', the words ``Misunderstanding'', ``Misunderstanding'', ``Misunderstanding'', ``Misunderstanding'', as shown in Figure 11, are used for that word.
The notations of all the sending patterns are successively written and stored in the search data buffer 8.

次に、入力データバッファ7に記憶されている文章の中
から、指定された範囲内について、「考2 え違い」、「考違」、「考違い」、「考え違」の全てを
検索対象文字列として検索する。
Next, from among the sentences stored in the input data buffer 7, within the specified range, all of the following words are searched: "Misconception 2", "Misconception", "Misconception", "Misconception". Search as a string.

この検索イこおいては、検索文字が用言(活用形のある
単語)で、置換文字も用言ならば、その活用した形も含
めて検索する。例えば、それが「考え違い」であるなら
ば、形容動詞の活用形を含めた形で検索する。
In this search, if the search character is a term (a word with a conjugated form) and the replacement character is also a term, the search will include the conjugated form. For example, if it is a ``misunderstanding,'' search should include the conjugated form of the adjective verb.

そして、該当する検索文字列が見つかれば、その文字列
を置換データバッファ9に記憶した置換文字に置き換え
る。また、検索文字が活用された形ならば、置換文字も
活用された形で置き換える。
If a corresponding search character string is found, that character string is replaced with the replacement character stored in the replacement data buffer 9. Furthermore, if the search character is in a conjugated form, the replacement character is also replaced with the conjugated form.

なお、キーボードIから、送りがなのゆらぎの指定がな
い場合には、検索対象文字列は、キーボード1から入力
された検索文字のみとなり、いわゆる従来のl対lの置
換処理を行う。
It should be noted that if there is no specification of the fluctuation of the pitch from the keyboard I, the search target character string will be only the search characters input from the keyboard 1, and the so-called conventional l-for-l replacement process will be performed.

また、置換文字が入力されないまま処理が実行されると
、検索処理のみを行い、その場合には、第12図及び第
13図に示した入力画面例において、検索モードの項目
は表示されない。
Furthermore, if the process is executed without a replacement character being input, only the search process is performed, and in that case, the search mode item is not displayed in the input screen examples shown in FIGS. 12 and 13.

次に、このような制御部2の処理動作の内容を、4 第14図に示すフローチャートに従い説明する。Next, the contents of the processing operation of the control unit 2 will be described in 4. This will be explained according to the flowchart shown in FIG.

ます、検索置換処理の実行時には、キーボードからの指
示に基づいて検索・置換の入力画面を表示した後、検索
文字及び置換文字の人力といった検索・置換のためのパ
ラメータが設定される(ステップ21)。
First, when executing the search/replace process, after displaying the search/replace input screen based on instructions from the keyboard, parameters for the search/replacement such as manual input of search characters and replacement characters are set (step 21). .

そして、送りがなの“ゆらぎ”についての指定、つまり
、送りがなの設定があるかどうかを調べ(ステップ22
)、送りがなの設定があるときには、検索データ、つま
り検索文字に対応する単語を、全ての送りがなのパター
ンについて、かな漢字変換辞書4から読出し、検索デー
タの送りがなパターンを設定する(ステップ23)。
Then, it is checked whether there is a specification for the "fluctuation" of the advance, that is, there is a setting for the advance (step 22).
), when there is a setting for okurigana, the search data, that is, the word corresponding to the search character, is read out from the kana-kanji conversion dictionary 4 for all okurigana patterns, and the okurigana pattern for the search data is set (step 23).

ステップ22において、送りがなの設定がないときには
、検索データについての送りがなパターンの設定は行わ
ない。
In step 22, if there is no setting of an okugana pattern, no okugana pattern is set for the search data.

次に、検索データが用言であるかどうかを調べ(ステッ
プ24)、用言である場合には、活用パターンを設定し
くステップ25)、さらに、置換データ、つまり置換文
字が用言であるかどうかを調べ(ステップ26)、用言
である場合には、検索データと置換データとの活用パタ
ーンを合わせ゛て(ステップ27)、人力データバッフ
ァ7に記憶した文章中より検索データパターンを検索す
る(ステップ28)。
Next, it is checked whether the search data is a predicate (step 24), and if it is a predicate, a conjugation pattern is set (step 25), and whether the replacement data, that is, the replacement character, is a predicate or not. If it is a predicate, the usage pattern of the search data and replacement data is combined (Step 27), and the search data pattern is searched from the sentences stored in the human data buffer 7. (Step 28).

ステップ24において、検索データが用言でない場合、
及びステップ26において、置換データが用言でない場
合には、ステップ28へ進む。
In step 24, if the search data is not a predicate,
In step 26, if the replacement data is not a predicate, the process proceeds to step 28.

そして、検索データパターンがあるかどうかを調べ(ス
テップ29)、検索パターンがある場合には、検索パタ
ーンを置換データに置き換えて(ステップ30)、再び
ステップ28、の検索を行う。
Then, it is checked whether there is a search data pattern (step 29), and if there is a search pattern, the search pattern is replaced with replacement data (step 30), and the search in step 28 is performed again.

ステップ29において、検索パターンがない場合には、
検索置換処理を終了する。
In step 29, if there is no search pattern,
Ends search and replace processing.

このようにして、各単語についての送りがなのパターン
をかな漢字変換辞書4に登録しておき、検索する文字に
ついての送りがなのパターンを全て読出し、その送りが
なのパターンに応じた表記文字を全て検索対象として、
それらを一種類の置換文字に置き換えることにより、所
望の単語についての送りがなの態様を容易に統一するこ
とができる。
In this way, the okurigana pattern for each word is registered in the kana-kanji conversion dictionary 4, and all the okurigana patterns for the character to be searched are read out, and all written characters corresponding to the okurigana pattern are searched.
By replacing them with one type of replacement character, it is possible to easily standardize the format of the okurikana for a desired word.

(ト)発明の効果 この発明によれば、各単語についての送りがなのパター
ンを辞書手段に記憶させておき、検索文字を置換文字に
置き換えるときには、検索文字に対応する単語を、その
単語についての全ての送りがなのパターンの表記で辞書
手段から読出し、それらを検索対象文字として検索した
後、指定された一種類の置換文字に置き換えるようにし
たので、送りがなに種々の態様のある文章についての送
りがなを速かに統一することができ、一貫性のある文章
の作成及び編集を行うことが可能となる。
(G) Effects of the Invention According to this invention, the okurikana pattern for each word is stored in the dictionary means, and when replacing a search character with a replacement character, the word corresponding to the search character is After reading out the okurigana pattern notation from the dictionary, searching for them as search target characters, and then replacing them with one specified type of replacement character, it is possible to speed up the okurigana for sentences with various types of okurigana. This makes it possible to create and edit consistent texts.

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

第1図はこの発明の構成を示すブロック図、第2図はこ
の発明を日本語ワードプロセッサに適用した一実施例の
槽底を示すブロック図、第3図はかな漢字変換辞書に記
憶された各単語についての送りがなのパターンの一例を
示す説明図、第4図は送りがなのビットの割り当て例を
示す説明図、第5図は送りがなの削除例を示す説明図、
第6図〜第11図は送りがなのパターンに基づいてかな
漢字変換した場合の例を示す説明図、第12図及び第1
3図は検索置換処理が実行される場合の入力画面の一例
を示す説明図、第14図は実施例の動作を示すフローチ
ャートである。 l・・・・・・キーボード、2・・・・・・制御部、3
・・・・・プログラムメモリ、 4・・・・・・かな漢字変換辞書、5・・・・・・表示
装置、6・・・・・RAM、7・・・・・入力データバ
ッファ、8・・・・・・検索データバッファ、 9・・・・・・置換データバッファ。 区 第 6 図 第 図 第10図 第 図 笑 図 第11 図 第 12 図 特開平 3−8コbbソ(d) 第13 図
Fig. 1 is a block diagram showing the configuration of the present invention, Fig. 2 is a block diagram showing the bottom of an embodiment in which the invention is applied to a Japanese word processor, and Fig. 3 is a block diagram showing the bottom of the tank of an embodiment in which the invention is applied to a Japanese word processor. FIG. 4 is an explanatory diagram showing an example of the okurigana bit assignment, FIG. 5 is an explanatory diagram showing an example of okurigana deletion,
Figures 6 to 11 are explanatory diagrams showing examples of kana-kanji conversion based on Okurigana patterns, Figures 12 and 1
FIG. 3 is an explanatory diagram showing an example of an input screen when search and replace processing is executed, and FIG. 14 is a flowchart showing the operation of the embodiment. l...Keyboard, 2...Control unit, 3
...Program memory, 4...Kana-Kanji conversion dictionary, 5...Display device, 6...RAM, 7...Input data buffer, 8... ...Search data buffer, 9...Replacement data buffer. Figure 6 Figure Figure 10 Figure lol Figure 11 Figure 12 Figure JP-A-3-8 Kobb So (d) Figure 13

Claims (1)

【特許請求の範囲】[Claims] 1、漢字を含む多数の単語をその読み情報と共に記憶し
さらに各単語についての送りがなのパターンを記憶した
辞書手段と、各種の文書情報、及び検索文字、置換文字
を入力するための入力手段と、入力手段より入力された
文書情報を記憶する記憶手段と、入力手段より入力され
た検索文字に対応する単語をその単語について記憶され
た全ての送りがなのパターンに応じた表記で辞書手段か
ら読出す読出し手段と、記憶手段に記憶された文書情報
の中から読出し手段によって読出された単語を検索する
検索手段と、検索手段によって検索された単語を入力手
段より入力された置換文字に置き換える置換手段を備え
てなる送りがな解析機能付き検索置換装置。
1. Dictionary means that stores a large number of words including kanji along with their pronunciation information, and also stores the okigana pattern for each word; input means for inputting various document information, search characters, and replacement characters; A storage means for storing document information inputted from the inputting means; and a reading means for reading out a word corresponding to a search character inputted from the inputting means from a dictionary in a notation corresponding to all patterns of Okigana stored for that word. means, a search means for searching the word read by the reading means from among the document information stored in the storage means, and a replacement means for replacing the word searched by the search means with a replacement character input by the input means. A search and replace device with an okurikana analysis function.
JP1225918A 1989-08-30 1989-08-30 Retrieval replacing device with function for analyzing declensional kana ending Pending JPH0385669A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1225918A JPH0385669A (en) 1989-08-30 1989-08-30 Retrieval replacing device with function for analyzing declensional kana ending

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1225918A JPH0385669A (en) 1989-08-30 1989-08-30 Retrieval replacing device with function for analyzing declensional kana ending

Publications (1)

Publication Number Publication Date
JPH0385669A true JPH0385669A (en) 1991-04-10

Family

ID=16836927

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1225918A Pending JPH0385669A (en) 1989-08-30 1989-08-30 Retrieval replacing device with function for analyzing declensional kana ending

Country Status (1)

Country Link
JP (1) JPH0385669A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7781787B2 (en) 2001-11-16 2010-08-24 Toyoda Gosei, Co., Ltd. Light-emitting diode, led light, and light apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7781787B2 (en) 2001-11-16 2010-08-24 Toyoda Gosei, Co., Ltd. Light-emitting diode, led light, and light apparatus

Similar Documents

Publication Publication Date Title
JPH02137062A (en) word processor
JP2004213309A (en) Information display control device and program
JPS62197864A (en) Language information offering device
JPS628259A (en) Kana (japanese syllabary)-kanji (chinese character) converting system
JPS6310265A (en) Translating device
JPS59197923A (en) Documentation device
JP2621999B2 (en) Document processing device
JPH01214963A (en) Device for consulting dictionary
JPS59100941A (en) Kana (japanese syllabary)-kanji (chinese character) converter
JP2862236B2 (en) Character processor
JP2700789B2 (en) Writing device
JPH06149790A (en) Document processor
JP2802369B2 (en) Kana-Kanji conversion device
JPH0385670A (en) Two-step display system document processor
JPS63657A (en) Japanese language word processor
JPS63221463A (en) Japanese word input device
JPH03142558A (en) Kana/kanji converting device
JPH0335349A (en) Document processor with example display function
JPS61169961A (en) Character processor provided with user dictionary
JPH0433051A (en) Document processor
JPH0333969A (en) Kana/kanji converter with kana along kanji
JPH0719254B2 (en) Kana-Kanji converter
JPS6278673A (en) Kana-kanji conversion device
JPH0363754A (en) Sentence processor
JPS62197863A (en) Language information offering device