JP2898983B2 - Document processing device - Google Patents

Document processing device

Info

Publication number
JP2898983B2
JP2898983B2 JP63043117A JP4311788A JP2898983B2 JP 2898983 B2 JP2898983 B2 JP 2898983B2 JP 63043117 A JP63043117 A JP 63043117A JP 4311788 A JP4311788 A JP 4311788A JP 2898983 B2 JP2898983 B2 JP 2898983B2
Authority
JP
Japan
Prior art keywords
phrase
word
stem
ending
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP63043117A
Other languages
Japanese (ja)
Other versions
JPH01217555A (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.)
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 JP63043117A priority Critical patent/JP2898983B2/en
Publication of JPH01217555A publication Critical patent/JPH01217555A/en
Application granted granted Critical
Publication of JP2898983B2 publication Critical patent/JP2898983B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は、指定された語句に対して、その類義語や反
対語などを置換候補として表示できるようにした文書処
理装置に関するものである。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a document processing apparatus capable of displaying, as a replacement candidate, a synonym or an opposite word of a specified phrase.

[従来の技術] 従来、この種の文書処理装置では、例えば、特公昭62
−267174号公報に記載されているように、言い換えたい
語句の読みに基づいて辞書を検索して、その語句の類義
語などを出力させていた。
[Prior Art] Conventionally, in this type of document processing apparatus, for example,
As described in -267174, a dictionary is searched based on the reading of a phrase to be paraphrased, and a synonym of the phrase is output.

[発明が解決しようとしている問題点] しかしながら、上記従来の技術では、辞書は読みから
検索するようになっていたため、読みを入力して表記に
変換した直後のように、語句が読みを持っている状態で
しか検索できなかった。
[Problems to be Solved by the Invention] However, in the above-described conventional technology, the dictionary is searched from the reading, so that the phrase has the reading just after inputting the reading and converting it into the notation. I was able to search only when I was.

このため、読みを持たない文書中の語句を別の語句に
置換したい場合には、再度その語句の読みを入力して、
該当表記を出力させ、その読みに基づいて置換候補の語
句を検索しなければならず、煩雑な操作が必要であり、
処理に時間を要するという問題点があった。
Therefore, if you want to replace a phrase in a document that has no reading with another phrase, enter the reading of that phrase again,
The corresponding notation must be output and the replacement candidate phrase must be searched based on the reading, which requires complicated operations,
There is a problem that it takes time for processing.

本発明は、上記問題点に鑑み、読みを持たない文書中
の語句に対して、置換候補の語句を検索するための操作
を簡単にし、処理時間を短縮することを目的とし、更
に、豊富な置換候補語句を少ない辞書容量で簡単に得る
ことができるようにすることを目的とする。
The present invention has been made in view of the above problems, and has as its object to simplify the operation for searching for a replacement candidate phrase for a phrase in a document having no reading and to reduce the processing time. An object of the present invention is to make it possible to easily obtain replacement candidate words with a small dictionary capacity.

[問題点を解決するための手段] 上記の問題点を解決し、上述の目的を達成するため
に、本発明では、文書処理装置に、作成された文書を記
憶する記憶手段と、記憶された前記文書を表示する表示
手段と、語句の語幹及び活用の種類を記憶し、互いに置
換候補となる語句の語幹同士を対応づけて記憶した語句
辞書手段と、各活用の種類における活用形と活用語尾と
を記憶し、各付属語が接続可能な活用形を記憶した接続
情報辞書手段と、表示された前記文書中で置換対象語句
を指定する指定手段と、前記語句辞書手段と前記接続情
報辞書手段とを参照して、前記置換対象語句の語幹およ
び活用語尾を識別するとともに、当該活用語尾に対応
し、当該置換対象語句の付属語が接続可能な活用形を識
別する識別手段と、識別された前記語幹に基づいて、前
記置換対象語句に対する置換候補語句の語幹及び活用の
種類を前記語句辞書手段より検索する検索手段と、 検索された前記活用の種類における識別された前記活用
形の活用語尾を前記接続情報辞書手段より求めて、検索
された前記置換候補語句の語幹に当該活用語尾を付加し
て置換候補語句を作成する作成手段と、作成された前記
置換候補語句を前記表示手段に表示させる置換候補語句
表示制御手段とを備える。
[Means for Solving the Problems] In order to solve the above problems and achieve the above object, according to the present invention, a document processing device has a storage unit for storing a created document, Display means for displaying the document, word dictionary means for storing the stem of the word and the type of inflection, and correlating and storing the stems of the words to be replaced candidates with each other, inflection forms and inflection endings in each of the inflection types Connection information dictionary means for storing an inflected form to which each attached word can be connected, specifying means for specifying a phrase to be replaced in the displayed document, the word dictionary means and the connection information dictionary means And identifying means for identifying the stem and inflectional ending of the replacement target phrase, and identifying an inflected form corresponding to the inflectional ending and to which the attached word of the replacement target phrase is connectable. Based on the stem A search means for searching the stem and usage type of the replacement candidate word for the replacement target word from the word dictionary means; and a connection ending of the usage ending of the usage type identified in the searched usage type. Means for creating a replacement candidate word by adding the inflected ending to the stem of the searched replacement candidate word, and a replacement candidate word display for displaying the created replacement candidate word on the display means. Control means.

[作用] 上記構成により、記憶手段に記憶され、表示手段に表
示された作成された文書中の置換対象語句を指定手段に
より指定し、語句辞書手段と接続情報辞書手段とを参照
して、前記置換対象語句の語幹および活用語尾を識別す
るとともに、当該活用語尾に対応し、当該置換対象語句
の付属語が接続可能な活用形を識別手段により識別し、
識別された前記語幹に基づいて、検索手段によって前記
置換対象語句に対する置換候補語句の語幹及び活用の種
類を前記語句辞書手段より検索し、作成手段により、検
索された前記活用の種類における識別された前記活用形
の活用語尾を前記接続情報辞書手段より求めて、検索さ
れた前記置換候補語句の語幹に当該活用語尾を付加して
置換候補語句を作成し、置換候補語句表示制御手段によ
り作成された前記置換候補語句を表示手段に表示させ
る。
[Operation] With the above configuration, the replacement target phrase in the created document stored in the storage unit and displayed on the display unit is specified by the specifying unit, and the phrase dictionary unit and the connection information dictionary unit are referred to. Identify the stem and inflectional ending of the replacement target phrase, and identify the inflected form corresponding to the inflectional ending and to which the attached word of the replacement target phrase can be connected by the identification means,
Based on the identified stem, the search unit searches the stem and usage type of the replacement candidate phrase for the replacement target phrase from the phrase dictionary unit, and the creation unit identifies the stem in the searched usage type. The inflected ending of the inflected form was obtained by the connection information dictionary means, and the inflected ending was added to the stem of the searched replacement candidate word to create a replacement candidate word, which was created by the replacement candidate word display control means. The display unit displays the replacement candidate phrase.

[実施例] 以下、添付図面に従って本発明にかかる実施例を詳細
に説明する。
Hereinafter, an embodiment according to the present invention will be described in detail with reference to the accompanying drawings.

第1図は、本発明による文字処理装置の構成の1例を
示すブロック図である。
FIG. 1 is a block diagram showing an example of the configuration of a character processing device according to the present invention.

図中1はキーボードであり、文書作成に必要な情報の
入力、あるいは制御・指示等を与えるためのキーが配列
されている。このキーボード1には文字処理装置のキー
ボードとして必要なカナ漢字変換キーのほかに、推敲語
句検索指示キー1aが備えられている。
In the figure, reference numeral 1 denotes a keyboard on which keys for inputting information necessary for document creation or for giving control / instructions and the like are arranged. This keyboard 1 is provided with an elaborate word search instruction key 1a in addition to a kana-kanji conversion key required as a keyboard of the character processing device.

推敲語句検索指示キー1aは、これが挿下されるとその
時点で文書中のカーソルが位置する文字より推敲辞書の
検索を指示するためのキーである。
The revision phrase search instruction key 1a is a key for instructing a search of the revision dictionary from the character at which the cursor is located in the document when the key is inserted.

ROM2は読み出し専用の固定メモリであり、CPU4による
制御手順例えば、第9図に示す如き制御手順を記憶す
る。
The ROM 2 is a read-only fixed memory and stores a control procedure by the CPU 4, for example, a control procedure as shown in FIG.

3は推敲用語句が格納されている辞書部であり、詳細
は後述する。
Reference numeral 3 denotes a dictionary section in which elaboration term phrases are stored, and details thereof will be described later.

CPU4は本発明による装置全体の制御を司るマイクロプ
ロセッサーであり、文字処理のため固定メモリROM2の制
御手順を解釈し、演算・論理判断等を行う。
The CPU 4 is a microprocessor that controls the entire apparatus according to the present invention, interprets the control procedure of the fixed memory ROM 2 for character processing, and performs arithmetic and logical decisions.

テキストバッファ7は、カナ漢字変換後の文書情報を
格納するためのメモリであり、ここに格納された情報を
VRAM5に与えることにより、CRTディスプレイ6に表示さ
せる。
The text buffer 7 is a memory for storing document information after kana-kanji conversion, and stores the information stored here.
By giving it to the VRAM 5, it is displayed on the CRT display 6.

FDD8はテキストバッファに作成した文書等を格納する
外部記憶媒体である。
FDD8 is an external storage medium for storing a created document or the like in a text buffer.

PR9は作成した文書等の印字出力を行うプリンタであ
る。
PR9 is a printer that prints out created documents and the like.

第2図は、辞書部3の構成を示す図であり、索引部31
は各語の先頭1文字と、同1先頭文字で始まる語数、お
よび推敲語句部に格納されている各語の格納アドレスの
集まりより構成される。第3図に、その基本形式、第4
図に、その格納例を示す。
FIG. 2 is a diagram showing a configuration of the dictionary unit 3 and an index unit 31.
Is composed of the first character of each word, the number of words starting with the first character, and a set of storage addresses of each word stored in the elaboration phrase part. Figure 3 shows its basic form,
The figure shows a storage example.

32は推敲語句部であり、各語の語幹と、その品詞情
報、および、その語の種別(見出し語、類義語、反対
語、関連語等)を格納した集まりである。第5図に、そ
の基本形式、第6図に、その格納例を記す。
Reference numeral 32 denotes an elaboration phrase section, which is a group storing the stem of each word, its part of speech information, and the type of the word (headword, synonym, opposite word, related word, etc.). FIG. 5 shows its basic format, and FIG. 6 shows an example of its storage.

33は接続部であり、活用語尾部33Aと、付属語部33Bと
で構成される。
Reference numeral 33 denotes a connection part, which is composed of an inflected ending part 33A and an attached word part 33B.

活用語尾部33Aには、第7図に示すように、各種活用
形の活用語尾が格納されている。例えば『動きます』が
入力された場合、カ行5段動詞『動く』の『未然形また
は連用形』であるといったことが、すぐに判断できる構
成となっている。
The inflection ending part 33A stores inflection endings of various inflection forms as shown in FIG. For example, when "moving" is input, it is possible to immediately determine that it is the "probable or continuous form" of the five-line verb "moving".

付属語部33Bには、第8図に示すように、助動詞、助
詞などと、その接続規則が格納されている。例えば上述
例『動きます』の『ます』は、『連用形と接続』と言っ
た情報が格納されているので、入力された文字が、カ行
5段動詞『動く』の『連用形』+『ます』であると判断
するできる。
As shown in FIG. 8, the auxiliary words 33B store auxiliary verbs, particles, and their connection rules. For example, in the example above, "Masu" in "Masu" contains information such as "Conjunction and connection", so the input characters are "Conjunction" + "Masu" in the five-line verb "Move" ] Can be determined.

以上の構成より成る本実施例の動作を第9図のフロー
チャートを参照して説明する。
The operation of the present embodiment having the above configuration will be described with reference to the flowchart of FIG.

テキストバッファ7に、例えば『豪雨で、電車が動か
ない。・・・』と仮名漢字変換が完了した文書が格納さ
れているとする。斯かる文書はメモリVRAMに記憶され、
CRTディスプレイ6で表示される。この状態で、『動か
ない』を別の言葉で言い換えを行うには、カーソルを
『動』に合わせ、推敲語句検索指示キー1aを操作する。
まず、S1ではカーソル上に位置する文字より文字入力を
行う。
In the text buffer 7, for example, "The train does not move due to heavy rain. ... ”And a document whose kana-kanji conversion has been completed is stored. Such a document is stored in memory VRAM,
It is displayed on the CRT display 6. In this state, to paraphrase "do not move" with another word, move the cursor to "moving" and operate the elaborate phrase search instruction key 1a.
First, in S1, a character is input from the character located on the cursor.

S2では、まずS21にて入力したカーソル上の文字が索
引部31に有るか否かを調べ、1致する文字が索引部31よ
り検索された場合、推敲語句部31に格納されている先頭
1文字が等しい語を取りだす。次に、S22に進み、検索
された語の語幹、品詞情報などにより、接続部33に格納
されている情報を元にして、活用語尾、付属語等の接続
を調べる。例えば、『動』で始まる語が推敲語句部31に
『動:カ行5段動詞』、『動作:名詞』、『動じ:上1
段動詞』が格納されていた場合、接続部33に格納されて
いる情報により、『動:カ行5段(未然形)』+『な
い:助動詞・ない』で構成されていることが解析され
る。
In S2, first, it is checked whether or not the character on the cursor input in S21 is in the index unit 31, and if a character that matches is found in the index unit 31, the first one stored in the elaboration word unit 31 is searched. Extract words with the same letter. Next, the process proceeds to S22, where the connection of the inflected ending, the attached word, and the like is checked based on the information stored in the connection unit 33, based on the stem, part of speech, and the like of the searched word. For example, words that begin with "D" are included in the elaboration phrase part 31 as "D: K 5 line verb", "D: noun", and "D: J1".
In the case where a "dan verb" is stored, it is analyzed from the information stored in the connection section 33 that the word "verb: ka row 5 dan (a preform)" + "none: auxiliary verb / none" is formed. You.

次に、S3にて、S2にて解析された結果をもとにし、推
敲語句を見出し語の活用にあわせて、活用変換する。例
えば、『動:カ行5段』の推敲語句として、『働:カ行
5段動詞』、『始動:サ変動詞+名詞』が推敲語句部32
に格納されていたとすると、各語を『未然形』に活用変
換するので『働かない』と『始動しない』と変換するこ
とができる。
Next, in step S3, based on the result analyzed in step S2, the elaborated word is converted to use according to the use of the headword. For example, as the elaboration phrases of “Dynamics: Ka-line five-stage”, “Effects: Ka-line five-staged verbs” and “Start: Sa variant + noun” are the elaboration phrases 32
, Each word is converted into a "pre-form" so that it can be converted into "not working" and "not starting".

S4では、S3で活用変換された推敲語句をVRAM上に記憶
させ、CRTディスプレイ上で表示して、その画面上に表
示するとともに、ユーザが表示された推敲語句のどれか
を選択することにより、編集(推敲)中の言い換えを行
いたかった語と置き換えるキー操作を行なう。
In S4, the elaboration words utilized in S3 are stored in VRAM, displayed on the CRT display, displayed on the screen, and the user selects any of the displayed elaboration words, A key operation is performed to replace a word in editing (elaboration) with a word that the user wanted to change.

[他の実施例] 上記実施例では、言い換えたい語句の指定手段とし
て、カーソルをその語句の先頭文字に位置付けることに
より行ったが、言い換えたい語句をユーザに範囲指定さ
せるなどのような指定手段としてもよい。
[Other Embodiments] In the above embodiment, as a means for designating a phrase to be rephrased, the cursor is positioned at the first character of the phrase. However, as a means for designating a range of the phrase to be rephrased by a user. Is also good.

[発明の効果] 以上説明したように、本発明によれば、指定された置
換対象語句に活用がある場合、その活用形を正確に識別
し、識別された活用形に応じた正確な置換候補語句を表
示でき、その際、置換候補語句を少ない辞書容量で豊富
に得ることができるという効果がある。
[Effects of the Invention] As described above, according to the present invention, if a specified phrase to be replaced has an inflection, the inflected form is accurately identified, and an accurate replacement candidate according to the identified inflected form is used. Words can be displayed, and at this time, there is an effect that replacement candidate words can be obtained abundantly with a small dictionary capacity.

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

第1図は本発明の1実施例を示すブロック図、 第2図は第1図における辞書部3の構成を示す図、 第3図は、第2図における索引部31の基本形式を示す
図、 第4図は、第2図における索引部31の格納例を示す図、
第5図は、第2図における推敲語句部32の基本形式を示
す図、 第6図は、第2図における推敲語句部32の格納例を示す
図、 第7図は、第2図における活用語尾部33aの格納内容を
示す図、 第8図は、第2図における付属語部33bの格納内容を示
す図、 第9図は、本実施例の処理過程を示す図。 32……推敲語句部 7……テキストバッファ 3……辞書部
FIG. 1 is a block diagram showing one embodiment of the present invention, FIG. 2 is a diagram showing a configuration of a dictionary unit 3 in FIG. 1, and FIG. 3 is a diagram showing a basic format of an index unit 31 in FIG. FIG. 4 is a diagram showing a storage example of the index unit 31 in FIG. 2,
FIG. 5 is a diagram showing a basic format of the elaboration phrase unit 32 in FIG. 2, FIG. 6 is a diagram showing a storage example of the elaboration phrase unit 32 in FIG. 2, and FIG. FIG. 8 is a diagram showing the stored contents of the ending part 33a, FIG. 8 is a diagram showing the stored contents of the attached word part 33b in FIG. 2, and FIG. 9 is a diagram showing the processing steps of this embodiment. 32 ... Elaboration phrase part 7 ... Text buffer 3 ... Dictionary part

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】作成された文書を記憶する記憶手段と、 記憶された前記文書を表示する表示手段と、 語句の語幹及び活用の種類を記憶し、互いに置換候補と
なる語句の語幹同士を対応づけて記憶した語句辞書手段
と、 各活用の種類における活用形と活用語尾とを記憶し、各
付属語が接続可能な活用形を記憶した接続情報辞書手段
と、 表示された前記文書中で置換対象語句を指定する指定手
段と、 前記語句辞書手段と前記接続情報辞書手段とを参照し
て、前記置換対象語句の語幹および活用語尾を識別する
とともに、当該活用語尾に対応し、当該置換対象語句の
付属語が接続可能な活用形を識別する識別手段と、 識別された前記語幹に基づいて、前記置換対象語句に対
する置換候補語句の語幹及び活用の種類を前記語句辞書
手段より検索する検索手段と、 検索された前記活用の種類における識別された前記活用
形の活用語尾を前記接続情報辞書手段より求めて、検索
された前記置換候補語句の語幹に当該活用語尾を付加し
て置換候補語句を作成する作成手段と、 作成された前記置換候補語句を前記表示手段に表示させ
る置換候補語句表示制御手段とを有することを特徴とす
る文書処理装置。
1. A storage means for storing a created document, a display means for displaying the stored document, and storing the word stem and the type of inflection, and associating the word stems of words to be replaced candidates with each other. Word dictionary means stored together with each other, connection information dictionary means storing inflected forms and inflected endings in each type of inflection, and inflected forms to which each adjunct can be connected, replaced in the displayed document A designation unit for designating a target phrase; referring to the phrase dictionary unit and the connection information dictionary unit to identify a stem and a conjugation ending of the substitution target phrase, and correspond to the conjugation ending, and Identification means for identifying a conjugation form to which an adjunct can be connected; and searching the term dictionary means for the stem of the replacement candidate term for the replacement target term and the type of conjugation based on the identified stem. Search means, and the connection information dictionary means for obtaining the inflection ending of the inflected form identified in the searched inflection type, and adding the inflection ending to the stem of the searched replacement candidate word to replace the inflected ending. A document processing apparatus, comprising: a creation unit that creates a phrase; and a replacement candidate phrase display control unit that causes the display unit to display the created replacement candidate phrase.
JP63043117A 1988-02-25 1988-02-25 Document processing device Expired - Lifetime JP2898983B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63043117A JP2898983B2 (en) 1988-02-25 1988-02-25 Document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63043117A JP2898983B2 (en) 1988-02-25 1988-02-25 Document processing device

Publications (2)

Publication Number Publication Date
JPH01217555A JPH01217555A (en) 1989-08-31
JP2898983B2 true JP2898983B2 (en) 1999-06-02

Family

ID=12654896

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63043117A Expired - Lifetime JP2898983B2 (en) 1988-02-25 1988-02-25 Document processing device

Country Status (1)

Country Link
JP (1) JP2898983B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS59146381A (en) * 1983-02-10 1984-08-22 Hitachi Ltd Language processing system
JP2700789B2 (en) * 1986-03-27 1998-01-21 セイコーエプソン 株式会社 Writing device

Also Published As

Publication number Publication date
JPH01217555A (en) 1989-08-31

Similar Documents

Publication Publication Date Title
US5229936A (en) Device and method for the storage and retrieval of inflection information for electronic reference products
JP2898983B2 (en) Document processing device
JP2595934B2 (en) Kana-Kanji conversion processor
JPH0412866B2 (en)
JP2621999B2 (en) Document processing device
JP2000057134A (en) Documentation device
JP2886864B2 (en) Character processor
JP3847801B2 (en) Character processing apparatus and processing method thereof
JPS6198475A (en) Japanese sentence input device
JP2937634B2 (en) Document creation device
JPH0969104A (en) Device and method for kana-kanji conversion
JPS60207948A (en) "kana"/"kanji" conversion processor
JPS6380361A (en) Language information processor
JPH09153043A (en) Kana-kanji conversion system
JPS6278673A (en) Kana/kanji (chinese character) converter
JPH0520303A (en) Japanese-language document processing device
JPH0385669A (en) Retrieval replacing device with function for analyzing declensional kana ending
JPH0610804B2 (en) Kana-Kanji converter
JPH04321163A (en) Word processor
JPS62260266A (en) Kana/kanji converting system
JPH0981555A (en) Method and device for document processing
JPS61169961A (en) Character processor provided with user dictionary
JPS62180465A (en) Kana-kanji converting system
JPH0267676A (en) Chinese numeral conversion processor
JPH01177674A (en) Kana/kanji converter

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term