JPH07160708A - Evaluating device and changing device for homage of honorific expression - Google Patents

Evaluating device and changing device for homage of honorific expression

Info

Publication number
JPH07160708A
JPH07160708A JP5340108A JP34010893A JPH07160708A JP H07160708 A JPH07160708 A JP H07160708A JP 5340108 A JP5340108 A JP 5340108A JP 34010893 A JP34010893 A JP 34010893A JP H07160708 A JPH07160708 A JP H07160708A
Authority
JP
Japan
Prior art keywords
respect
honorific
expression
sentence
honorific expression
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
JP5340108A
Other languages
Japanese (ja)
Inventor
Yoshihiro Ueda
良寛 上田
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP5340108A priority Critical patent/JPH07160708A/en
Publication of JPH07160708A publication Critical patent/JPH07160708A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To provide the honorific expression homage evaluating device which evaluates the degree of homage of an honorific expression and the honorific expression homage changing device which obtains an honorific expression of homage matched to user's intention from honorific expressions. CONSTITUTION:The degree of homage of each word is described in an honorific expression dictionary 3. An honorific expression synthesis and homage change rule holding part 4 holds rules to synthesize honorific expressions and change the degrees of homage of words. A homage calculating part 2 takes out the degree of homage from the honorific expression dictionary 3 with respect to each word in all or a part of a sentence held in a text structure holding part 2 and obtains the degree of change of the degree of homage due to synthesis of words in accordance with rules in the honorific expression synthesis and homage change rule holding part 4 and calculates the degree of homage of all or a part of the sentence held in the text structure holding part 1. The calculation result is displayed on an homage display part 5 together with all or a part of the sentence held in the text structure holding part 1.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、文書作成装置などにお
いて、文章中の文または文の一部の敬語表現の敬意を評
価する装置及び、文章中の文または文の一部を敬語表現
に変更したり、敬意のレベルを変更する装置に関するも
のである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an apparatus for evaluating the respect of a honorific expression of a sentence or a part of a sentence in a document creation device and the like, and a sentence or a part of the sentence in a sentence as a honorific expression. It relates to a device for changing or changing the level of respect.

【0002】[0002]

【従来の技術】従来、例えば、文書作成装置、あるい
は、推敲支援装置と呼ばれる装置において、敬語表現へ
の変換機能を持つものが考えられている。例えば、特開
昭63−167956号公報に記載されている「敬語表
現への変換装置」、特開平1−106161号公報に記
載されている「文章の敬語変換装置」などがある。
2. Description of the Related Art Conventionally, for example, a document creation device or a device called a revision support device, which has a function of converting into a honorific expression has been considered. For example, there are "a device for converting to honorific expressions" described in JP-A-63-167956 and "a device for converting honorific expressions for sentences" described in JP-A-1-106161.

【0003】これらの装置は、もとの表現を敬語表現に
変換することを目的としているが、変換後の敬語表現の
敬意の程度は指定できず、ユーザが自分でいくつかの表
現の中から適切なものを選択しなければならない。例え
ば、「来る」に対しての尊敬語は、「来られる」のよう
な単純に尊敬の助動詞「られる」を付加した形式から、
「いらっしゃる」、「お見えになる」、「お越しにな
る」、さらには「お越しあそばす」まで、敬意の込め方
の程度の異なった表現が存在する。従来の装置では、こ
れらの表現における敬意の程度は考慮されておらず、敬
意の程度を判断し、適切なものを選択するという作業は
ユーザに任されていた。
These devices are intended to convert the original expressions into honorific expressions, but the degree of respect of the converted honorific expressions cannot be specified, and the user must select one of several expressions. You have to choose the right one. For example, the honorific word for "come" comes from the form of simply adding the respected auxiliary verb "ru" such as "come"
There are expressions with different degrees of respect, such as "Welcome", "Visit", "Welcome", and even "Visit Asobasu". In the conventional device, the degree of respect in these expressions is not taken into consideration, and the task of determining the degree of respect and selecting an appropriate one is left to the user.

【0004】[0004]

【発明が解決しようとする課題】本発明は、上述した事
情に鑑みてなされたもので、敬語表現の敬意の程度を評
価する敬語表現敬意評価装置を提供するとともに、敬語
表現のうちからユーザの意図にあった敬意の敬語表現を
得ることのできる敬語表現敬意変更装置を提供すること
を目的とするものである。
SUMMARY OF THE INVENTION The present invention has been made in view of the above-mentioned circumstances, and provides a honorific expression respect evaluation device for evaluating the degree of respect of honorific expressions, and a user's expression from the honorific expressions. An object of the present invention is to provide a honorific expression respect changing device that can obtain a respectful honorific expression that matches the intention.

【0005】[0005]

【課題を解決するための手段】本発明は、請求項1に記
載の発明においては、文章中の文に用いられている敬語
表現が含む敬意のレベルを評価する敬語表現敬意評価装
置において、敬語表現と敬意の程度が記述されている敬
語表現辞書と、ある語に対する合成敬語表現と語の敬意
の程度を変更する規則を保持する敬語表現合成・敬意変
更規則保持手段と、与えられた文または文の一部の中の
各単語に対して前記敬語表現辞書により敬意の程度を取
り出し前記敬語表現・敬意変更規則保持手段に保持され
ている規則にしたがって与えられた文または文の一部の
敬意の程度を計算する敬意計算手段を有することを特徴
とするものである。
According to the present invention of claim 1, in a honorific expression honorific evaluation device for evaluating a level of respect included in a honorific expression used in a sentence, A honorific expression dictionary in which expressions and degrees of respect are described, and a means for retaining and combining honorific expressions that retains rules for changing a compound honorific expression and respect for a word, and a given sentence or For each word in a part of a sentence, the degree of respect is taken out from the honorific expression dictionary, and the respect of a sentence or a part of the sentence given according to the rule held in the honorific expression / respect changing rule holding means. It is characterized by having a respect calculation means for calculating the degree.

【0006】請求項2に記載の発明においては、文章中
の文または文の一部敬語表現が含む敬意のレベルを変更
する敬語表現敬意変更装置において、敬語表現と敬意の
程度が記述されている敬語表現辞書と、ある語に対する
合成敬語表現と語の敬意の程度を変更する規則を保持す
る敬語表現合成・敬意変更規則保持手段と、与えられた
文または文の一部の中の各単語に対して前記敬語表現辞
書により敬意の程度を取り出し前記敬語表現・敬意変更
規則保持手段に保持されている規則にしたがって与えら
れた文または文の一部の敬意の程度を計算する敬意計算
手段と、ある語に対して敬意の程度の異なる敬語表現を
前記敬語表現辞書から検索する敬語表現検索手段と、該
敬語表現検索手段により検索された単語あるいは該単語
を前記敬語表現合成・敬意変更規則保持手段に保持され
ている規則に従って合成される新たな敬語表現を用いて
与えられた文またはその一部と異なった敬語表現を生成
する敬語表現生成手段と、該敬語表現生成手段で生成さ
れた敬語表現を前記敬意計算手段によって計算された敬
意のレベルの評価値とともに表示する敬意表示手段と、
該敬意表示手段に表示された敬語表現から適切な表現を
選択させる敬語表現選択手段を有することを特徴とする
ものである。
In the invention according to claim 2, the honorific expression and the degree of respect are described in the honorific expression altering device for changing the level of respect included in the sentence or a part of the sentence. A honorific expression dictionary and a synthetic honorific expression synthesis / respect change rule holding means for holding a synthetic honorific expression for a word and a rule for changing the degree of respect of a word, and for each word in a given sentence or part of a sentence On the other hand, a respect calculation means for calculating the degree of respect of a sentence or a part of a sentence given in accordance with the rule held in the honor expression / respect changing rule holding means by extracting the degree of respect from the honor expression dictionary. A honorific expression retrieving means for retrieving honorific expressions having different degrees of respect for a word from the honorific expression dictionary, a word retrieved by the honorific expression retrieving means or the honorific expression combination Honorific expression generating means for generating a honorific expression different from a given sentence or a part of the sentence using a new honorific expression synthesized according to the rule held in the respect changing rule holding means, and the honorific expression generating means A respect display means for displaying the honorific expression generated by the above together with the evaluation value of the respect level calculated by the respect calculation means,
It is characterized by having a honorific expression selecting means for selecting an appropriate expression from the honorific expressions displayed on the respect display means.

【0007】請求項3に記載の発明においては、文章中
の文または文の一部敬語表現が含む敬意のレベルを変更
する敬語表現敬意変更装置において、敬語表現と敬意の
程度が記述されている敬語表現辞書と、ある語に対する
合成敬語表現と語の敬意の程度を変更する規則を保持す
る敬語表現合成・敬意変更規則保持手段と、与えられた
文または文の一部の中の各単語に対して前記敬語表現辞
書により敬意の程度を取り出し前記敬語表現・敬意変更
規則保持手段に保持されている規則にしたがって与えら
れた文または文の一部の敬意の程度を計算する敬意計算
手段と、ある語に対して敬意の程度の異なる敬語表現を
前記敬語表現辞書から検索する敬語表現検索手段と、該
敬語表現検索手段により検索された敬語表現あるいは該
敬語表現を前記敬語表現合成・敬意変更規則保持手段に
保持されている規則に従って合成される新たな敬語表現
を用いて与えられた文またはその一部と異なった敬語表
現を生成する敬語表現生成手段と、該敬語表現生成手段
で生成された各々の敬語表現を前記敬意計算手段によっ
て計算された敬意のレベルの評価値をユーザから指定さ
れた敬意のレベルと比較して最も近い敬意のレベルを持
つ敬語表現を選択する敬語表現選択手段を有することを
特徴とするものである。
According to the third aspect of the invention, the honorific expression and the degree of respect are described in the honorific expression altering device for changing the level of respect included in the sentence or a part of the sentence. A honorific expression dictionary and a synthetic honorific expression synthesis / respect change rule holding means for holding a synthetic honorific expression for a word and a rule for changing the degree of respect of a word, and for each word in a given sentence or part of a sentence On the other hand, a respect calculation means for calculating the degree of respect of a sentence or a part of a sentence given in accordance with the rule held in the honor expression / respect changing rule holding means by extracting the degree of respect from the honor expression dictionary. A honorific expression search means for searching the honorific expression dictionary with a different degree of respect for a word from the honorific expression dictionary, and the honorific expression retrieved by the honorific expression search means or the honorific expression. Honorific expression generating means for generating a honorific expression different from a given sentence or a part thereof by using a new honorific expression synthesized according to the rule held by the expression synthesis / respect change rule holding means, and the honorific expression The respective honorific expressions generated by the generating means are compared with the evaluation level of the respect level calculated by the respect calculating means and the respect level designated by the user, and the honorific expression having the closest respect level is selected. It is characterized by having a honorific expression selecting means.

【0008】[0008]

【作用】本発明によれば、請求項1に記載の敬語表現敬
意評価装置では、文または文の一部が敬意計算手段に渡
されると、敬意計算手段は、敬語表現辞書を用いて、文
を構成する各単語の敬意の程度を得る。また、敬語表現
合成・敬意変更規則保持手段に保持されている規則を用
いて、各単語に対してどのような敬意表現に対する変更
が加えられているかを調べる。この規則に従い、敬語表
現辞書から得られた敬意の程度をもとに、文表現で与え
られている敬意の程度を計算する。この計算結果は、例
えば、表示手段によりもとの文とともにユーザに提示し
たり、他の手段の入力として用いることができる。ここ
で、敬語の程度とは、例えば従来の技術の項で用いた
「来る」の例では、敬語表現を全く含まない「来る」か
ら、敬意の最も高い「お越しあそばす」までを、そこに
含まれる敬意の順に重みづけしたものである。
According to the present invention, in the honorific expression respect evaluation device according to claim 1, when the sentence or a part of the sentence is passed to the respect calculation means, the respect calculation means uses the honorific expression dictionary to generate a sentence. Get the degree of respect for each word that makes up. Further, by using the rule held in the honorific expression synthesis / respect change rule holding means, it is checked what kind of respect expression is changed for each word. According to this rule, the degree of respect given to the sentence expression is calculated based on the degree of respect obtained from the honorific expression dictionary. The calculation result can be presented to the user together with the original sentence on the display means, or can be used as an input for other means. Here, the degree of honorifics includes, for example, in the example of "come" used in the section of the conventional technology, from "come" that does not include honorific expressions at all to "come to come" It is weighted in order of respect.

【0009】また、請求項2に記載の敬語表現敬意変更
装置においては、敬語表現検索手段により、文中の各単
語に対して、敬意の異なる単語が検索される。敬語表現
検索手段により検索された単語、あるいは、検索された
単語を敬語表現合成・敬意変更規則保持手段に保持され
ている規則に従って新たな敬語表現を合成し、得られた
新たな敬語表現を用いて、与えられた文またはその一部
と異なった敬語表現を敬語表現生成手段で生成する。生
成された敬語表現をもとに敬意計算手段を用いて敬意の
程度を計算する。計算された敬意の程度とともに生成さ
れた敬語表現を敬意表示手段を用いて表示する。ユーザ
は、敬語表現選択手段により敬語表現を選択する。この
とき、敬意表示手段に敬意の程度が表示されているの
で、ユーザはこれを参考にして、所望の敬意の程度を有
する敬語表現を選択することができる。
In the honorific expression reliance changing device according to the second aspect, the honorific expression retrieving means retrieves words having different respects from each word in the sentence. The word searched by the honorific expression search means, or the searched word is synthesized according to the rules held in the honorific expression synthesis / respect change rule holding means, and the obtained new honorific expression is used. Then, a honorific expression different from the given sentence or a part thereof is generated by the honorific expression generating means. The degree of respect is calculated using the respect calculation means based on the generated honorific expression. The honorific expression generated together with the calculated degree of respect is displayed using the respect display means. The user selects a honorific expression by the honorific expression selecting means. At this time, since the degree of respect is displayed on the respect display means, the user can refer to this to select a honorific expression having a desired degree of respect.

【0010】また、請求項3に記載の敬語表現敬意変更
装置では、請求項2に記載の敬語表現敬意変更装置と同
様にして、敬語表現生成手段により異なった敬語表現を
有する文または文の一部を生成し、生成された敬語表現
をもとに敬意計算手段を用いて敬意の程度を計算する。
敬語表現選択手段は、敬語表現生成手段で生成された敬
語表現のうちから、ユーザが指定した敬意の程度に最も
近い敬意の程度を有する敬語表現を選択する。これによ
り、ユーザが所望する敬語の程度を指定するだけで、指
定された敬語の程度に応じた敬語表現を得ることができ
る。敬語表現選択手段で選択された敬語表現は、例え
ば、表示手段を用いて表示し、ユーザはこれを確認する
ことができる。
In the honorific expression altering device according to claim 3, in the same manner as the honorific expression altering device according to claim 2, sentences or one of sentences having different honorific expressions by the honorific expression generating means. The division is generated, and the degree of respect is calculated using the respect calculation means based on the generated honorific expression.
The honorific expression selecting means selects, from the honorific expressions generated by the honorific expression generating means, a honorific expression having a degree of respect closest to the degree of respect designated by the user. Accordingly, by only designating the degree of honorific desired by the user, it is possible to obtain the honorific expression corresponding to the degree of honorific designated. The honorific expression selected by the honorific expression selecting means is displayed using, for example, the display means, and the user can confirm this.

【0011】本発明の敬語表現敬意変更装置は、文書作
成装置に用いることができ、例えば、文書エディタが保
持している文または文の一部を、敬語表現敬意変更装置
に与え、選択された敬語表現が文書エディタに戻される
ことにより、所望の敬語の程度の敬語表現を用いた文書
の編集を進めることができる。
The honorific expression respect changing device of the present invention can be used in a document creating device. For example, a sentence or a part of a sentence held by a document editor is given to the honorific expression respect changing device and selected. By returning the honorific expression to the document editor, it is possible to proceed with the editing of the document using the honorific expression with the desired degree of honorific.

【0012】[0012]

【実施例】図1は、本発明の敬語表現評価装置の一実施
例を示すブロック図である。図中、1は文構造保持部、
2は敬意計算部、3は敬語表現辞書、4は敬語表現合成
・敬意変更規則保持部、5は敬意表示部である。文構造
保持部1は、文または文の一部を、形態素解析の結果の
形、または、構文・意味解析の結果の形で保持する。敬
語表現辞書3は、各単語に対して、敬意の程度が記述さ
れている。敬語表現合成・敬意変更規則保持部4は、敬
語表現を合成し、語の敬意の程度を変更するための規則
を保持する。保持されている規則は、例えば、ある語に
対して、接辞、補助動詞、助動詞等を付加することによ
り敬語表現を合成し、合成により語の敬意の程度がどの
程度変更されるかを示す規則である。敬意計算部2は、
文構造保持部1に保持されている文または文の一部の中
の各単語に対して、敬語表現辞書3により敬意の程度を
取り出し、敬語表現敬意変更規則保持部4内の規則にし
たがって語の合成による敬意の程度の変更の度合を得
て、文または文の一部の敬意の程度を計算する。敬意表
示部5は、文構造保持部1に保持されている文または文
の一部を、敬意計算部2によって計算された敬意の程度
とともに表示する。
1 is a block diagram showing an embodiment of a honorific expression evaluation device according to the present invention. In the figure, 1 is a sentence structure holding unit,
Reference numeral 2 is a honorific calculator, 3 is a honorific expression dictionary, 4 is a honorific synthesis / respect change rule holding unit, and 5 is a respect display unit. The sentence structure holding unit 1 holds a sentence or a part of a sentence in a form of a result of morphological analysis or a form of a result of syntax / semantic analysis. The honorific expression dictionary 3 describes the degree of respect for each word. The honorific expression synthesizing / respect changing rule storage unit 4 stores rules for synthesizing honorific expressions and changing the degree of respect for words. The retained rule is, for example, a rule that indicates the degree to which the respect of a word is changed by synthesizing a honorific expression by adding an affix, auxiliary verb, auxiliary verb, etc. to a word. Is. The respect calculator 2
For each word in the sentence or part of the sentence held in the sentence structure holding unit 1, the honorific expression dictionary 3 extracts the degree of respect, and the word is changed according to the rules in the honorific expression respect changing rule holding unit 4. Calculate the degree of respect of a sentence or a part of a sentence by obtaining the degree of change of the degree of respect by the composition of. The respect display unit 5 displays the sentence or a part of the sentence held in the sentence structure holding unit 1 together with the degree of respect calculated by the respect calculating unit 2.

【0013】この実施例では、文構造保持部1を用いた
が、文構造保持部1を用いずに、直接、敬意計算部2に
文が入力されるように構成することもできる。敬意計算
部2に入力される文または文の一部は、上述の形態素解
析の結果や構文・意味解析の結果などの形態に限らず、
他の形態の文の情報を保持するように構成することもで
きる。敬意計算部2に文がそのまま入力される場合に
は、敬意計算部2において、構文解析を行なうように構
成することができる。敬語表現辞書3及び敬語表現合成
・敬意変更規則保持部4の検索のため、文を単語ごとに
認識することができる必要がある。
Although the sentence structure holding unit 1 is used in this embodiment, the sentence structure holding unit 1 may be omitted and the sentence may be directly input to the respect calculation unit 2. The sentence or part of the sentence input to the respect calculation unit 2 is not limited to the above-mentioned morphological analysis result or syntactic / semantic analysis result.
It can also be configured to hold information of other forms of sentences. When a sentence is directly input to the respect calculation unit 2, the respect calculation unit 2 can be configured to perform syntax analysis. Since the honorific expression dictionary 3 and the honorific expression synthesis / respect change rule holding unit 4 are searched, it is necessary that the sentence can be recognized for each word.

【0014】上述の本発明の敬語表現評価装置の一実施
例を、「先生は、育てられたお花を殿下に差し上げられ
た。」という例文をもとに具体的に説明する。
An embodiment of the honorific expression evaluation device of the present invention described above will be specifically described based on the example sentence "The teacher gave the raised flowers to his highness."

【0015】図2は、文構造保持部1に保持される形態
素解析結果の一例の説明図である。文構造保持部1に形
態素解析した結果が保持される場合には、例えば、図2
に示すような情報が保持される。図2には、上述の例文
を形態素解析した結果を示しており、形態素と、それに
対応した品詞、活用がある場合には、活用の種類と、活
用形等の情報が保持されている。もちろん、これらの情
報以外の情報が保持されていてもよい。
FIG. 2 is an explanatory diagram showing an example of the morphological analysis result stored in the sentence structure storage unit 1. When the result of the morphological analysis is held in the sentence structure holding unit 1, for example, as shown in FIG.
Information as shown in is held. FIG. 2 shows a result of morpheme analysis of the above-mentioned example sentence, which holds information such as a morpheme, a part of speech corresponding to the morpheme, and, if there is a use, a type of use and a use form. Of course, information other than these information may be held.

【0016】図3は、敬語表現辞書3の構成の一例を説
明するブロック図である。図3に示した例では、敬語表
現辞書3は、インデックスと、辞書本体から構成されて
いる。インデックスは、単語と、辞書本体に保持されて
いるその単語に関する情報を指し示すポインタにより構
成されている。単語は、例えば、昇順に並べておくこと
ができる。インデックスは、さらにその上位に、最初の
1音あるいは数音や、最初の1文字あるいは数文字によ
り構成されるインデックスを有していてもよい。辞書本
体には、単語と、その単語の情報として、語幹品詞、活
用、敬語の各情報が対応づけて格納されている。また、
単語によっては、敬語の接頭辞、接尾辞等の情報が格納
されている場合もある。敬語情報としては、(フラット
な表現敬語タイプ 敬意レベル)の3つ組が保持され
ている。フラットな表現とは、敬語表現を全く含まない
表現である。敬語タイプとは、尊敬、謙譲、ていねいの
どれかを示す。敬意レベルは、その単語の敬意の程度を
示す。敬語表現辞書3の検索は、単語によりインデック
スを検索し、検索された単語に対応するポインタから辞
書本体に保持されている情報を参照すればよい。
FIG. 3 is a block diagram illustrating an example of the structure of the honorific expression dictionary 3. In the example shown in FIG. 3, the honorific expression dictionary 3 is composed of an index and a dictionary body. The index is composed of a word and a pointer that points to information about the word held in the dictionary body. The words can be arranged in ascending order, for example. The index may further have an index composed of the first one sound or a few sounds, or the first one character or a few characters, on the upper level thereof. In the dictionary body, a word and, as information of the word, stem part-of-speech, inflection, and honorific information are stored in association with each other. Also,
Depending on the word, information such as a honorific prefix or suffix may be stored. As the honorific information, a triple of (flat expression honorific type and respect level) is held. A flat expression is an expression that does not include any honorific expressions. Honorific type indicates either respect, humility, or politeness. The respect level indicates the degree of respect of the word. The honorific expression dictionary 3 can be searched by searching the index by word and referring to the information held in the dictionary body from the pointer corresponding to the searched word.

【0017】図3に示した例では、図2に示した用に形
態素解析された文から、例えば、形態素「差し上げ」が
与えられると、インデックスを検索し、対応するポイン
タを得て、辞書本体を参照する。参照される辞書本体か
ら、形態素「差し上げ」の敬語情報として、そのフラッ
トな表現が「やる」であり、敬語タイプが尊敬語であ
り、敬意レベルが1であることがわかる。
In the example shown in FIG. 3, when the morpheme "supplied" is given from the sentence morphologically analyzed as shown in FIG. 2, the index is searched, the corresponding pointer is obtained, and the dictionary body is obtained. Refer to. From the referenced dictionary body, it can be seen that, as the honorific information of the morpheme "given", the flat expression is "do", the honorific type is the honorific, and the respect level is 1.

【0018】図4は、敬語表現合成・敬意変更規則保持
部4に保持される規則の一例の説明図である。各規則
は、原パターン、合成敬語表現、敬意変更の3種類の情
報が記載される。ある表現が原パターンに合致すれば、
その規則の中の合成敬語表現の情報をもとに合成敬語表
現が組み立てられる。また、敬意変更の情報をもとに、
もとの表現の敬意の程度が変更される。敬語表現の敬意
を評価する際には、文は、原パターンとではなく、合成
敬語表現の情報と比較され、敬意変更の情報を得ること
になる。
FIG. 4 is an explanatory diagram of an example of rules stored in the honorific expression synthesis / respect change rule storage unit 4. In each rule, three types of information of an original pattern, a synthetic honorific expression, and a respect change are described. If an expression matches the original pattern,
A synthetic honorific expression is constructed based on the information of the synthetic honorific expression in the rule. Also, based on the information of respect change,
The degree of respect of the original expression is changed. When assessing the respect of the honorific expression, the sentence is compared with the information of the synthetic honorific expression, not the original pattern, to obtain information of the respect modification.

【0019】原パターンは、(インデックス番号 制
約条件・・・)の列で表現されている。「*」で始まる
番号がインデックス番号を示す。合成敬語表現は、作成
されるパターンを形態素の列で示したものである。形態
素の形式としては、インデックス番号で示す場合、(イ
ンデックス番号 要素指定・・・)として示す場合、
(属性指定・・・)として示す場合の3つの形式のいず
れかである。インデックス番号で示されている場合に
は、原パターンにマッチした形態素(列)がそのまま適
用されることを示している。(インデックス番号 要
素指定・・・)として示される場合は、原パターンにマ
ッチした形態素(列)に要素指定で指定された変更を加
えることを示している。(属性指定・・・)で示される
場合には、新たな形態素を挿入することを示している。
敬意変更は、敬語タイプに対してどれだけ敬意のレベル
を変化させるかを示しており、「敬語タイプ+数値」、
あるいは、「敬語タイプ−数値」で示される。
The original pattern is represented by a sequence of (index number constraint condition ...). The number starting with "*" indicates the index number. The synthetic honorific expression is a string of morphemes indicating a created pattern. As the morpheme format, if it is indicated by an index number, (index number element designation ...)
It is one of the three formats in the case of (attribute designation ...). The index number indicates that the morpheme (sequence) that matches the original pattern is applied as it is. When it is shown as (index number element designation ...), it indicates that the change designated by the element designation is added to the morpheme (column) that matches the original pattern. The case of (attribute designation ...) Indicates that a new morpheme is inserted.
The honorific change indicates how much the honorific level is changed with respect to the honorific type, "honorific type + numerical value",
Alternatively, it is indicated by "honorific word type-numerical value".

【0020】例えば、図4に示した規則3は、「五段活
用またはサ行変格活用の動詞で、助動詞のつかないもの
は、その動詞を未然形に変化させ、形態素「れる」を後
ろに付加し、その「れる」の活用形をもとの動詞の活用
形に変化させて敬語表現を生成し、尊敬のレベルを+1
する」という規則である。ここで、助動詞のつかないも
のに限定しているが、助動詞のつくものは別ルールで指
定すればよい。また、合成敬語表現の属性指定では、
(活用形=*1.活用形)というような指定を行なって
いる。これは、この形態素の活用形を、*1で示される
原パターンの形態素の活用形と同じにせよという指定で
ある。
For example, the rule 3 shown in FIG. 4 is that "a verb for the use of five dan or a sakyaku inflection, which does not have an auxiliary verb, changes the verb into a preformed form and puts the morpheme" re "behind. Add and change the inflectional form of "ru" to the inflectional form of the original verb to generate honorific expressions, and increase the respect level by +1
The rule is "to do". Here, it is limited to those without auxiliary verbs, but those with auxiliary verbs may be specified by another rule. In addition, when specifying the attributes of synthetic honorific expressions,
The designation such as (inflectional type = * 1. Inflectional type) is made. This is a designation to make the morpheme of this morpheme the same as the morpheme of the original pattern shown by * 1.

【0021】また、規則1、規則2では、ある語の直前
に名詞以外の語が来る名詞の語について、敬語表現辞書
3に格納されている敬語接頭辞の情報を参照し、その名
詞には「お」がつくか、「ご」がつくかを決定する。複
合名詞の2番目以降の名詞には付加されないという条件
が、(*1 (品詞≠名詞))によって指定されてい
る。例えば、「芳名」という単語が与えられたとき、図
3に示す敬語表現辞書3から、この単語の敬語接頭辞が
「ご」であることがわかるので、規則1が適用され、合
成敬語表現として「ご芳名」が生成可能である。その際
の敬意のレベルの変更は、敬語タイプ「ていねい」の敬
語レベルを+0.5する。
Further, according to the rules 1 and 2, the information of the honorific prefix stored in the honorific expression dictionary 3 is referred to for a word of a noun in which a word other than the noun comes immediately before a certain word, and the noun is referred to. Decide whether "O" or "GO" is attached. The condition that the compound noun is not added to the second and subsequent nouns is specified by (* 1 (part of speech ≠ noun)). For example, when the word “Hana” is given, it can be seen from the honorific expression dictionary 3 shown in FIG. 3 that the honorific prefix of this word is “go”, so rule 1 is applied, and as a compound honorific expression. It is possible to generate a "Goma". At that time, the respect level is changed by adding 0.5 to the honorific level of the honorific type "teitei".

【0022】このように、この発明では、規則を適用す
る条件や、合成される敬語表現に対して、与えられた形
態素の有する情報、敬語表現辞書3に格納されている情
報から加えられる要素などを指定することができる。
As described above, according to the present invention, the conditions for applying the rules, the information which the given morpheme has with respect to the synthesized honorific expression, the elements added from the information stored in the honorific expression dictionary 3, etc. Can be specified.

【0023】敬意計算部2は、文構造保持部1に保持さ
れている文の各部に対して、敬意のレベルを調べ、全体
の敬意の程度を算出する。文構造保持部1に保持されて
いる形態素をもとに、敬語表現辞書3を検索し、敬意の
程度を得る。上述の例文では、例えば、 「先生」 尊敬 1 「差し上げる」 謙譲 2 という敬意の程度が得られる。
The respect calculation unit 2 checks the level of respect of each part of the sentence held in the sentence structure holding unit 1 and calculates the degree of respect of the whole sentence. The honorific expression dictionary 3 is searched based on the morphemes held in the sentence structure holding unit 1 to obtain the degree of respect. In the example sentence above, for example, the degree of respect of “teacher”, “respect” 1, “give”, and “humbleness” 2 can be obtained.

【0024】敬語表現合成・敬意変更規則保持部4の規
則の適用は、原パターンとではなく、合成敬語表現との
パターンマッチにより行なう。合成敬語表現とマッチす
る規則を適用し、敬意変更を参照する。上述の例文で
は、図4に示した規則のうち、規則2と規則3は、 「お〜」 ていねい+0.5 「〜される」 尊敬+1 であることを示している。これらの規則を適用すること
により、 「お花」 ていねい+0.5(規則2より) 「差し上げられた」 尊敬+1(規則3より) 「育てられた」 尊敬+1(規則3より) であることがわかる。
The application of the rules of the honorific expression synthesis / respect change rule holding unit 4 is performed not by the original pattern but by pattern matching with the synthetic honorific expression. Apply rules that match synthetic honorific expressions and refer to respect changes. In the above-mentioned example sentence, among the rules shown in FIG. 4, rule 2 and rule 3 indicate that “Oh!” Please be careful +0.5. By applying these rules, it can be seen that "flower" is polite +0.5 (from rule 2) "given" respect + 1 (from rule 3) "grown" respect + 1 (from rule 3) .

【0025】敬意計算部2は、敬語表現辞書3から得ら
れた敬意の程度と、敬語表現合成・敬意変更規則保持部
4の規則から得られた敬意変更の情報より、文全体の敬
意を計算する。この例では、単純にそれぞれの敬語タイ
プごとに敬意レベルの値の総和を算出する。その結果、 尊敬 3 (「差し上げられた」、「育てられ
た」、「先生」より) 謙譲 2 (「差し上げる」より) ていねい 0.5 (「お花」より) となる。
The respect calculation unit 2 calculates the respect of the entire sentence from the degree of respect obtained from the honorific expression dictionary 3 and the information of the respect change obtained from the rules of the honorific expression synthesis / respect change rule holding unit 4. To do. In this example, the sum of the respect level values is simply calculated for each honorific type. As a result, respect 3 (from "give up", "bred up", "teacher") humbleness 2 (from "give up") and polite 0.5 (from "flower").

【0026】上述の計算では、敬語タイプごとに単に総
和を計算したが、例えば、主文の要素に対しては敬意レ
ベルをそのまま用い、埋め込み文の要素に対してはその
1/2を用いて全体の敬意の程度を計算するように構成
することもできる。また、このほかの重みづけを行なっ
て、敬意の程度を計算することができる。さらに、各敬
語タイプごとに算出する敬意の程度から、全体の敬意の
程度を算出するように構成してもよい。
In the above calculation, the total sum is simply calculated for each honorific type, but for example, the respect level is used as it is for the main sentence element and 1/2 is used for the embedded sentence element as a whole. It can also be configured to calculate the degree of respect for. Also, other weightings can be applied to calculate the degree of respect. Further, the overall degree of respect may be calculated from the degree of respect calculated for each honorific type.

【0027】図5は、敬意表示部5における表示の一例
の説明図である。敬意表示部5は、敬意計算部2で計算
された値を受け取り、文構造保持部1に保持されている
もとの文とともに、敬意の程度をユーザに提示する。
FIG. 5 is an explanatory diagram of an example of a display on the respect display section 5. The respect display unit 5 receives the value calculated by the respect calculation unit 2, and presents the degree of respect to the user together with the original sentence held in the sentence structure holding unit 1.

【0028】図6は、本発明の敬語表現敬意変更装置の
第2の実施例を示すブロック図である。図中、図1と同
様の部分には同じ符号を付して説明を省略する。6は敬
語表現検索部、7は敬語表現合成部、8は敬語表現選択
部、9は文解析部、10は文書ファイルである。敬語表
現検索部6は、ある語に対して、敬意の程度の異なる尊
敬語、謙譲語などの敬語表現を敬語表現辞書3から検索
する。敬語表現合成部7は、ある文またはその一部に対
して、敬語表現検索部6により得られた敬語表現に変換
する、または、敬語表現合成・敬意変更規則保持部4に
保持されている規則にしたがって新たな敬語表現を合成
する、またはその両方により、もとの文またはその一部
と異なった敬語表現を生成する。敬語表現選択部8は、
敬語表現生成部7で生成された敬語表現の敬意のレベル
を敬意計算部2を用いて計算し、文構造保持部1に保持
された文とともに、計算された敬意のレベルの評価値を
敬意表示部5を用いて表示し、適切な表現を選択させ
る。文解析部9は、文書ファイル10から文または文の
一部を取り出し、形態素解析または構文・意味解析を行
なう。
FIG. 6 is a block diagram showing a second embodiment of the honorific expression respect change device of the present invention. In the figure, the same parts as those in FIG. Reference numeral 6 is a honorific expression search unit, 7 is a honorific expression synthesis unit, 8 is a honorific expression selection unit, 9 is a sentence analysis unit, and 10 is a document file. The honorific expression search unit 6 searches the honorific expression dictionary 3 for honorific expressions such as respectful words and humble words having different degrees of respect for a certain word. The honorific expression synthesis unit 7 converts a sentence or a part thereof into a honorific expression obtained by the honorific expression search unit 6, or a rule held in the honorific expression synthesis / respect change rule holding unit 4. To generate a different honorific expression that is different from the original sentence or part of it. The honorific expression selection unit 8
The respect level of the honorific expression generated by the honorific expression generation unit 7 is calculated by using the respect calculation unit 2, and the evaluation value of the calculated respect level is displayed along with the sentence held in the sentence structure holding unit 1. It is displayed using the section 5, and the appropriate expression is selected. The sentence analysis unit 9 takes out a sentence or a part of a sentence from the document file 10 and performs morphological analysis or syntactic / semantic analysis.

【0029】この実施例では、文解析部9を設け、文書
ファイル10に保持されている文の解析を行なって、そ
の結果を文構造保持部1に保持させている。図1に示し
た敬語表現敬意評価装置と同様に、別の手段により解析
された結果が文構造保持部1に保持されるように構成し
たり、あるいは、文構造保持部1に文そのものが保持さ
れ、以降の手段により解析を行なうように構成してもよ
い。文解析部9による文の解析にあたって、敬語表現辞
書3を利用することも可能である。
In this embodiment, the sentence analysis unit 9 is provided, the sentence held in the document file 10 is analyzed, and the result is held in the sentence structure holding unit 1. Similar to the honorific expression respectfulness evaluation device shown in FIG. 1, the result analyzed by another means may be held in the sentence structure holding unit 1, or the sentence itself may be held in the sentence structure holding unit 1. Alternatively, the analysis may be performed by the following means. It is also possible to use the honorific expression dictionary 3 when the sentence analysis unit 9 analyzes the sentence.

【0030】文書ファイル10は、文書エディタなど他
のシステムからのデータを受け取るためのバッファなど
により構成することも可能である。また、文解析部9が
直接入力データを受け取るように構成することもでき
る。
The document file 10 can also be composed of a buffer or the like for receiving data from another system such as a document editor. The sentence analysis unit 9 can also be configured to directly receive the input data.

【0031】本発明の敬語表現変更装置の第1の実施例
について、具体例をもとに説明する。例文として、上述
の「先生は、育てられたお花を殿下に差し上げられた」
という文を用いて説明する。
The first embodiment of the honorific expression changing device of the present invention will be described based on a specific example. As an example sentence, "The teacher gave the raised flowers to his Highness" above.
Will be explained using the sentence.

【0032】図7は、文構造保持部1に保持される構文
・意味解析結果の説明図である。この例では、文解析部
9により構文・意味解析が行なわれ、文構造保持部1に
文が保持されるものとする。例文を構文・意味解析した
結果を図7に示している。実際に文構造保持部1に保持
されるデータ構造は、種々の方式を用いることができ
る。
FIG. 7 is an explanatory diagram of the syntax / semantic analysis result stored in the sentence structure storage unit 1. In this example, it is assumed that the sentence analysis unit 9 performs syntax / semantic analysis and the sentence structure holding unit 1 holds the sentence. The result of the syntactic and semantic analysis of the example sentence is shown in FIG. The data structure actually held in the sentence structure holding unit 1 can use various methods.

【0033】敬語表現選択部8では、まず、図7に示す
ような構文・意味解析結果に対して、敬意の程度を計算
する。そのため、構文・意味解析結果を敬意計算部2に
渡す。また、敬語表現選択部8は、この構文・意味解析
結果を敬語表現合成部7へ渡す。敬語表現合成部7は、
構文・意味解析結果で表現された文と意味的には同じ
で、敬意の程度の異なる表現を作成する。
The honorific expression selecting unit 8 first calculates the degree of respect for the syntactic / semantic analysis result as shown in FIG. Therefore, the result of the syntax / semantic analysis is passed to the respect calculation unit 2. The honorific expression selection unit 8 also passes the result of the syntax / semantic analysis to the honorific expression synthesis unit 7. The honorific expression synthesis unit 7
Create expressions that are semantically the same as the sentences expressed by the syntactic and semantic analysis results, but with different degrees of respect.

【0034】図8は、敬語表現検索部6及び敬語表現辞
書3の構成の一例の説明図である。図3に示した例で
は、敬語表現辞書3はインデックスを有していたが、こ
の実施例では、敬語表現検索部6がインデックスを持つ
ような構成になっている。敬語表現検索部6は、インデ
ックスと敬語表現対応部からなる。敬語表現対応部は、
同じ意味を持ち、敬意の程度の異なる単語の敬語表現辞
書へのへポインタを集めたものとして構成されている。
敬語表現対応部には、例えば、敬語タイプとその程度、
その単語自身も記載されている。このような敬語表現検
索部6により、ある単語に対して、尊敬語、謙譲語、て
いねい語などの敬語タイプによる検索が可能である。な
お、この実施例では、「やる」のように、敬意を全く含
まない単語も敬語表現辞書3に含まれており、敬語表現
検索部6にはここへのポインタも保持している。これ
は、「差し上げる」を「やる」に変更するときのよう
に、敬意を0にすることも可能にするためである。
FIG. 8 is an explanatory diagram of an example of the configuration of the honorific expression search unit 6 and the honorific expression dictionary 3. In the example shown in FIG. 3, the honorific expression dictionary 3 has an index, but in this embodiment, the honorific expression search unit 6 has an index. The honorific expression search unit 6 includes an index and a honorific expression correspondence unit. The honorific expression correspondence section,
It is constructed as a collection of pointers to the honorific expression dictionary of words having the same meaning but different degrees of respect.
In the honorific expression correspondence part, for example, the honorific type and its degree,
The word itself is also listed. With such a honorific expression search unit 6, a certain word can be searched by a honorific type such as honorific, humble, or polite. In this embodiment, a word having no respect, such as “do”, is also included in the honorific expression dictionary 3, and the honorific expression search unit 6 also holds a pointer to the word. This is to allow the respect to be set to 0 as in the case of changing “give” to “do”.

【0035】図9は、敬語表現合成・敬意変更規則保持
部4に保持される構造パターンで表現された規則の一例
の説明図である。敬語表現合成・敬意変更規則4は、上
述の図4に示した例と同様に、原パターン、合成敬語表
現、敬意変更の3種類の情報が記載された規則を有して
いる。しかし、この例では、原パターン、合成敬語表現
は、形態素の並びとしてではなく、構造パターンの変換
規則として表現されている。図9には、その1例を示し
ている。ここで、原パターンの要素*2と要素*3は、
繰り返し指定されている。要素*2は、「れる」/「ら
れる」以外の助動詞の並び、要素*3は、終助詞の並び
を示している。合成敬語表現中では、いずれもインデッ
クスで指定可能である。
FIG. 9 is an explanatory diagram of an example of rules expressed by the structural pattern held in the honorific expression synthesis / respect change rule holding unit 4. Similar to the example shown in FIG. 4, the honorific expression synthesis / respect change rule 4 has a rule in which three types of information of an original pattern, a synthetic honorific expression, and a respect change are described. However, in this example, the original pattern and the synthetic honorific expression are expressed not as a sequence of morphemes but as a conversion rule of a structural pattern. FIG. 9 shows an example thereof. Here, the elements * 2 and * 3 of the original pattern are
It is specified repeatedly. The element * 2 shows a sequence of auxiliary verbs other than "re" / "ru", and the element * 3 shows a sequence of final particles. All of them can be specified by an index in the synthetic honorific expression.

【0036】図10は、敬意の程度を付加された構文・
意味解析結果の説明図である。敬意計算部2は、敬語表
現選択部8から受け取った文の構文・意味解析結果に対
して、敬語表現合成・敬意変更規則保持部4に保持され
ている規則及び敬語表現検索部6を介して得られる敬語
表現辞書3の内容を用いて、文全体に与えられる敬意を
計算する。図6に示した構文・意味解析結果に対して、
敬意の程度を計算し、これを付加したものを図10に示
す。
FIG. 10 shows the syntax to which the degree of respect is added.
It is explanatory drawing of a semantic analysis result. The honorific calculation unit 2 receives the syntactic / semantic analysis result of the sentence received from the honorific expression selection unit 8 via the rules and the honorific expression search unit 6 held in the honorific expression synthesis / respect change rule holding unit 4. The content of the obtained honorific expression dictionary 3 is used to calculate the respect given to the entire sentence. For the syntax / semantic analysis result shown in FIG.
The degree of respect is calculated and added, which is shown in FIG.

【0037】敬意計算部2における敬意の程度の計算に
あたっては、ここでは主文の要素に対しては敬意の程度
をそのまま用い、埋め込み文の要素に対してはその1/
2を用いて、全体の敬意の程度を計算する。例文では、
「育てられた」が埋め込み文中にあり、1×1/2=1
/2の敬意の程度となる。これを用いて全体の敬意の程
度を計算すると、以下のようになる。 尊敬 2.5 謙譲 2 ていねい 0.5
In the calculation of the degree of respect in the respect calculation unit 2, the degree of respect is used as it is for the elements of the main sentence, and 1 / is used for the elements of the embedded sentence.
Use 2 to calculate the overall degree of respect. In the example sentence,
“Brought up” is in the embedded sentence, 1 × 1/2 = 1
A degree of respect of / 2. Using this to calculate the overall degree of respect is as follows. Respect 2.5 Modesty 2 Careful 0.5

【0038】次に、敬意の程度を変更することを考え
る。ここでは、例を単純化するため、与えられた文の一
部「差し上げる」についてだけ考える。敬語表現検索部
6を用いて得られる「差し上げる」と敬意の程度の異な
る表現の一部を以下に示す。 やる 0 差し上げる 謙譲2 献上する 謙譲3 くださる 尊敬1 賜る 尊敬4
Next, consider changing the degree of respect. In order to simplify the example, we will only consider a portion of the given sentence, “give”. A part of expressions with different degrees of respect and "give up" obtained using the honorific expression search unit 6 are shown below. Do 0 Give humility 2 Give humility 3 Give respect 1 Give respect 4

【0039】動詞に対して用いることのできる敬語表現
合成・敬意変更規則保持部4に保持されている規則に
は、以下に一部示したようなものがある。 お〜する 謙譲+1(尊敬/謙譲0のみ) お〜申す 謙譲+2(尊敬/謙譲0のみ) お〜になる 尊敬+2(尊敬0のみ) お〜くださる 尊敬+3(尊敬0のみ) れる/られる 尊敬+1 お〜あそばす 尊敬+4(尊敬/謙譲0のみ) ます/です ていねい+1 ございます ていねい+2 これらの一部には、(尊敬/謙譲0のみ)や、(尊敬0
のみ)などの制約が記載されている。
The rules held in the honorific expression synthesis / respect change rule holding unit 4 that can be used for verbs are as shown below. Oshiru Kenshin +1 (Respect / Kenshin 0 only) Osu Shouken +2 (Respect / Kenshin 0 only) Otoru Respect +2 (Respect 0 only) Osu Give Respect +3 (Respect 0 only) O-Asobasu Respect +4 (Respect / Humility 0 only) Masu / Is Careful +1 Yes Carefulness +2 Some of these (Respect / Humility 0 only) and (Respect 0
Only) etc. are described.

【0040】敬語表現合成部7は、これらより、以下に
一部示すような敬語表現を合成することができる。ここ
に示した敬語表現は、もとの表現の敬意の程度(謙譲
2,尊敬1,ていねい0)に近いもの(それぞれプラス
マイナス1)だけを示している。また、ここでは、構文
構造は省略し、表層文の形式で列挙する。 謙譲 尊敬 ていねい おやりした 1 0 0 おやりしました 1 0 1 おやりされた 1 1 0 おやりされました 1 1 1 差し上げた 2 0 0 差し上げました 2 0 1 差し上げられた 2 1 0 差し上げられました 2 1 1 献上した 3 0 0 献上しました 3 0 1 献上された 3 1 0 献上されました 3 1 1 ご献上になった 3 2 0 ご献上になりました 3 2 1
From these, the honorific expression synthesizing unit 7 can synthesize the honorific expressions as shown below. The honorific expressions shown here are only those (plus or minus 1) close to the degree of respect (humility 2, respect 1, respect 0) of the original expression. In addition, here, the syntax structure is omitted and they are listed in the form of surface sentence. Humble respect respect nicely done 1 0 0 good done 1 0 1 good done 1 1 0 good done 1 1 1 1 good 2 0 0 good 2 0 1 good 2 1 0 good Giving 2 1 1 Giving 3 0 0 Giving 3 0 1 Giving 3 1 0 Giving 3 1 1 Giving 3 2 0 Giving 3 2 1

【0041】敬語表現選択部8は、これらを敬語表示部
5を用いて提示し、ユーザに最適な表現を選択させる。
このとき、敬語表現を含む文とともに、敬意のレベルを
表示することができる。その場合、ユーザは、表示され
ている敬意のレベルを参考にして文を選択することがで
きる。ここで選択された文の構文・意味構造を、再び文
構造保持部1に戻して保持させる。さらに、文構造保持
部1から、文解析部9により逆変換して、文書ファイル
10へ戻すように構成することも可能である。
The honorific expression selection unit 8 presents these using the honorific display unit 5 to allow the user to select the optimum expression.
At this time, the level of respect can be displayed together with the sentence including the honorific expression. In that case, the user can select a sentence with reference to the displayed respect level. The syntax / semantic structure of the sentence selected here is returned to the sentence structure holding unit 1 and held therein. Further, the sentence structure holding unit 1 may be configured to be converted back by the sentence analysis unit 9 and returned to the document file 10.

【0042】本発明の敬語表現敬意変更装置の第2の実
施例について説明する。構成は第1の実施例と同様であ
るが、一部の機能が相違する。この第2の実施例におい
ては、敬語表現選択部8は、ユーザが与えた敬意のレベ
ルに最も近い敬意のレベルを持つ敬語表現を選択する。
ここで最も近いとは、 d=(ユーザが与えた敬意のレベル−合成された敬語表
現の敬意のレベル) とするとき、d=0となる敬語表現を選択すればよい。
d=0となる敬語表現がない場合には、例えば、dの絶
対値が最も小さくなるものとすることができる。また
は、d>0で、dの絶対値が最も小さくなるもの、ある
いは、d<0で、dの絶対値が最も小さくなるものとす
るなど、いくつかの定義が可能である。
A second embodiment of the honorific expression altering device according to the present invention will be described. The configuration is similar to that of the first embodiment, but some functions are different. In the second embodiment, the honorific expression selection unit 8 selects a honorific expression having a respect level closest to the respect level given by the user.
Here, "closest" means that when d = (respect level given by the user-respect level of the synthesized honorific expression), the honorific expression with d = 0 may be selected.
When there is no honorific expression for d = 0, for example, the absolute value of d can be the smallest. Alternatively, some definitions are possible, such as d> 0 and the smallest absolute value of d, or d <0 and the smallest absolute value of d.

【0043】上述の第1の実施例と同様に、敬語表現合
成部7で種々の敬語表現を用いた文が生成される。上述
の「差し上げる」の場合の例のように、敬語表現合成部
7において種々の敬語表現が生成されているとき、ユー
ザが(謙譲3,尊敬1,ていねい1)という敬意のレベ
ルを選択すると、この敬意のレベルに合致する敬語表現
「献上されました」が選択されることになる。
Similar to the first embodiment described above, the honorific expression synthesizing unit 7 generates sentences using various honorific expressions. When various honorific expressions are generated in the honorific expression synthesizing unit 7 as in the case of the above-mentioned “give”, when the user selects the respect level of (humility 3, respect 1, respect 1), The honorific expression "contributed" is selected to match this level of respect.

【0044】図11は、敬意のレベルの設定の一例の説
明図である。ユーザが所望の敬意のレベルを設定する方
法として、例えば、図11に示すような画面を敬意表示
部5に表示し、表示されている仮想的なスライドボリュ
ームで指定することができる。このボリュームを動かす
ことにより、自由に敬意の程度の違う表現を選択するこ
とができる。このボリュームの移動は、例えば、マウス
などのポインティングデバイスにより行なうことができ
る。もちろん、実際にボリュームを用いて設定すること
もできる。また、例えばキーボードなどから、数値を入
力したり、特定のキーの押下により増減するように構成
することもできる。
FIG. 11 is an explanatory view of an example of setting the respect level. As a method for the user to set a desired respect level, for example, a screen as shown in FIG. 11 can be displayed on the respect display unit 5 and designated by the displayed virtual slide volume. By moving this volume, you can freely select expressions with different degrees of respect. This movement of the volume can be performed by a pointing device such as a mouse. Of course, it is also possible to actually set the volume. It is also possible to input a numerical value from a keyboard or the like, or to increase or decrease by pressing a specific key.

【0045】図11(A)では、敬意のレベルとして、
(謙譲2,尊敬1,ていねい0)を設定している。この
設定で選択される敬語表現は、例えば、「差し上げられ
た」である。この状態から、図11(B)に示すよう
に、ボリュームを動かし、敬意のレベルを(謙譲3,尊
敬1,ていねい1)にすると、設定される敬語表現は、
例えば、「献上されました」に変更される。
In FIG. 11A, as the level of respect,
(Humbleness 2, Respect 1, Careful 0) is set. The honorific expression selected in this setting is, for example, "given". From this state, as shown in FIG. 11 (B), when the volume is moved and the respect level is set to (hence 3, respect 1, respect 1), the honorific expression that is set is
For example, it will be changed to "Given".

【0046】敬意のレベルが確定されると、選択された
敬語表現の文が文構造保持部1に戻されて保持される。
さらに、文書ファイル10に書き戻される。
When the level of respect is determined, the sentence of the selected honorific expression is returned to and held in the sentence structure holding unit 1.
Further, it is written back to the document file 10.

【0047】[0047]

【発明の効果】以上の説明から明らかなように、本発明
によれば、ユーザは、例えば文書作成時において、作成
した文または文の一部の敬意の程度がどれほどなのかを
評価することができる。また、敬意を含まない文または
文の一部を、敬語表現を用いて書き直したり、より敬意
の程度の高いあるいは低い文へ、文の敬意の程度を変更
することができる。これによって、文書作成の効率化、
および高品質化を図ることができるという効果がある。
As is apparent from the above description, according to the present invention, the user can evaluate, for example, the degree of respect of a created sentence or a part of the sentence when creating a document. it can. Further, a sentence or part of a sentence that does not include respect can be rewritten using a honorific expression, or the degree of respect of a sentence can be changed to a sentence with higher or lower respect. This improves the efficiency of document creation,
Further, there is an effect that high quality can be achieved.

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

【図1】 本発明の敬語表現評価装置の一実施例を示す
ブロック図である。
FIG. 1 is a block diagram showing an embodiment of a honorific expression evaluation device of the present invention.

【図2】 文構造保持部1に保持される形態素解析結果
の一例の説明図である。
FIG. 2 is an explanatory diagram of an example of a morpheme analysis result stored in a sentence structure storage unit 1.

【図3】 敬語表現辞書3の構成の一例を説明するブロ
ック図である。
FIG. 3 is a block diagram illustrating an example of a configuration of a honorific expression dictionary 3.

【図4】 敬語表現合成・敬意変更規則保持部4に保持
される規則の一例の説明図である。
FIG. 4 is an explanatory diagram of an example of rules stored in a honorific expression synthesis / respect change rule storage unit 4.

【図5】 敬意表示部5における表示の一例の説明図で
ある。
FIG. 5 is an explanatory diagram of an example of a display on the respect display unit 5.

【図6】 本発明の敬語表現敬意変更装置の第1の実施
例を示すブロック図である。
FIG. 6 is a block diagram showing a first embodiment of the honorific expression respect change device of the present invention.

【図7】 文構造保持部1に保持される構文・意味解析
結果の説明図である。
7 is an explanatory diagram of a syntax / semantic analysis result stored in the sentence structure storage unit 1. FIG.

【図8】 敬語表現検索部6及び敬語表現辞書3の構成
の一例の説明図である。
FIG. 8 is an explanatory diagram of an example of a configuration of a honorific expression search unit 6 and a honorific expression dictionary 3.

【図9】 敬語表現合成・敬意変更規則保持部4に保持
される構造パターンで表現された規則の一例の説明図で
ある。
9 is an explanatory diagram of an example of a rule expressed by a structural pattern held in a honorific expression synthesis / respect change rule holding unit 4. FIG.

【図10】 敬意の程度を付加された構文・意味解析結
果の説明図である。
FIG. 10 is an explanatory diagram of a result of a syntax / semantic analysis in which a degree of respect is added.

【図11】 敬意のレベルの設定の一例の説明図であ
る。
FIG. 11 is an explanatory diagram of an example of setting a respect level.

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

1 文構造保持部、2 敬意計算部、3 敬語表現辞
書、4 敬語表現合成・敬意変更規則保持部、5 敬意
表示部、6 敬語表現検索部、7 敬語表現合成部、8
敬語表現選択部、9 文解析部、10 文書ファイ
ル。
1 sentence structure storage unit, 2 honorific calculation unit, 3 honorific expression dictionary, 4 honorific expression synthesis / respect change rule storage unit, 5 honorific display unit, 6 honorific expression search unit, 7 honorific expression synthesis unit, 8
Honorific expression selection section, 9 sentence analysis section, 10 document files.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 文章中の文に用いられている敬語表現が
含む敬意のレベルを評価する敬語表現敬意評価装置にお
いて、敬語表現と敬意の程度が記述されている敬語表現
辞書と、ある語に対する合成敬語表現と語の敬意の程度
を変更する規則を保持する敬語表現合成・敬意変更規則
保持手段と、与えられた文または文の一部の中の各単語
に対して前記敬語表現辞書により敬意の程度を取り出し
前記敬語表現・敬意変更規則保持手段に保持されている
規則にしたがって与えられた文または文の一部の敬意の
程度を計算する敬意計算手段を有することを特徴とする
敬語表現敬意評価装置。
1. A honorific expression evaluating device for evaluating a level of respect included in a honorific expression used in a sentence in a sentence, and a honorific expression dictionary in which a honorific expression and a degree of respect are described, and for a certain word. Synthetic honorific expressions and honorific expression composition / respect change rule holding means for holding rules for changing the degree of respect for words and respect for each word in a given sentence or part of a sentence by the honorific expression dictionary The honorific expression respect means characterized by having a respect calculating means for calculating the degree of respect of a sentence or a part of a sentence given in accordance with the rule held in the above-mentioned honorific expression / respect changing rule holding means. Evaluation device.
【請求項2】 文章中の文または文の一部敬語表現が含
む敬意のレベルを変更する敬語表現敬意変更装置におい
て、敬語表現と敬意の程度が記述されている敬語表現辞
書と、ある語に対する合成敬語表現と語の敬意の程度を
変更する規則を保持する敬語表現合成・敬意変更規則保
持手段と、与えられた文または文の一部の中の各単語に
対して前記敬語表現辞書により敬意の程度を取り出し前
記敬語表現・敬意変更規則保持手段に保持されている規
則にしたがって与えられた文または文の一部の敬意の程
度を計算する敬意計算手段と、ある語に対して敬意の程
度の異なる敬語表現を前記敬語表現辞書から検索する敬
語表現検索手段と、該敬語表現検索手段により検索され
た単語あるいは該単語を前記敬語表現合成・敬意変更規
則保持手段に保持されている規則に従って合成される新
たな敬語表現を用いて与えられた文またはその一部と異
なった敬語表現を生成する敬語表現生成手段と、該敬語
表現生成手段で生成された敬語表現を前記敬意計算手段
によって計算された敬意のレベルの評価値とともに表示
する敬意表示手段と、該敬意表示手段に表示された敬語
表現から適切な表現を選択させる敬語表現選択手段を有
することを特徴とする敬語表現敬意変更装置。
2. A honorific expression changing device for changing the level of respect included in a sentence or a part of a sentence in a sentence, in a respect changing device, and a respect dictionary for a certain word. Synthetic honorific expressions and honorific expression composition / respect change rule holding means for holding rules for changing the degree of respect for words and respect for each word in a given sentence or part of a sentence by the honorific expression dictionary And a degree of respect for a word, and a respect calculation means for calculating the degree of respect for a given sentence or part of a sentence according to the rules held in the above-mentioned honorific expression / respect change rule holding means. Different honorific expressions from the honorific expression dictionary, a word searched by the honorific expression searching means or the word is held in the honorific expression synthesis / respect changing rule holding means. The honorific expression generating means for generating a honorific expression different from a given sentence or a part thereof using a new honorific expression synthesized in accordance with the rule, and the honorific expression generated by the honorific expression generating means, A honorific expression having a respect expression means for displaying together with an evaluation value of a respect level calculated by the respect expression means, and a honorific expression selecting means for selecting an appropriate expression from the honorific expressions displayed on the respect expression means. Expression respect change device.
【請求項3】 文章中の文または文の一部敬語表現が含
む敬意のレベルを変更する敬語表現敬意変更装置におい
て、敬語表現と敬意の程度が記述されている敬語表現辞
書と、ある語に対する合成敬語表現と語の敬意の程度を
変更する規則を保持する敬語表現合成・敬意変更規則保
持手段と、与えられた文または文の一部の中の各単語に
対して前記敬語表現辞書により敬意の程度を取り出し前
記敬語表現・敬意変更規則保持手段に保持されている規
則にしたがって与えられた文または文の一部の敬意の程
度を計算する敬意計算手段と、ある語に対して敬意の程
度の異なる敬語表現を前記敬語表現辞書から検索する敬
語表現検索手段と、該敬語表現検索手段により検索され
た敬語表現あるいは該敬語表現を前記敬語表現合成・敬
意変更規則保持手段に保持されている規則に従って合成
される新たな敬語表現を用いて与えられた文またはその
一部と異なった敬語表現を生成する敬語表現生成手段
と、該敬語表現生成手段で生成された各々の敬語表現を
前記敬意計算手段によって計算された敬意のレベルの評
価値をユーザから指定された敬意のレベルと比較して最
も近い敬意のレベルを持つ敬語表現を選択する敬語表現
選択手段を有することを特徴とする敬語表現敬意変更装
置。
3. A honorific expression dictionary for describing a honorific expression and a degree of respect in a honorific expression changing device for changing a respect level included in a sentence or a part of a sentence in a sentence. Synthetic honorific expressions and honorific expression composition / respect change rule holding means for holding rules for changing the degree of respect for words and respect for each word in a given sentence or part of a sentence by the honorific expression dictionary And a degree of respect for a word, and a respect calculation means for calculating the degree of respect for a given sentence or part of a sentence according to the rules held in the above-mentioned honorific expression / respect change rule holding means. Different honorific expressions from the honorific expression dictionary, and honorific expressions retrieved by the honorific expression searching means or means for retaining the honorific expressions combining / respecting rule holding means. The honorific expression generating means for generating a honorific expression different from a given sentence or a part thereof by using a new honorific expression synthesized according to the rule held in, and each of the honorific expression generating means generated. Comparing the honorific expression with the evaluation value of the respect level calculated by the respect calculating means with the respect level designated by the user, the honorific selecting means for selecting the honorific expression having the closest respect level is provided. Characteristic expression changing device.
JP5340108A 1993-12-07 1993-12-07 Evaluating device and changing device for homage of honorific expression Pending JPH07160708A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5340108A JPH07160708A (en) 1993-12-07 1993-12-07 Evaluating device and changing device for homage of honorific expression

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5340108A JPH07160708A (en) 1993-12-07 1993-12-07 Evaluating device and changing device for homage of honorific expression

Publications (1)

Publication Number Publication Date
JPH07160708A true JPH07160708A (en) 1995-06-23

Family

ID=18333800

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5340108A Pending JPH07160708A (en) 1993-12-07 1993-12-07 Evaluating device and changing device for homage of honorific expression

Country Status (1)

Country Link
JP (1) JPH07160708A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004049193A1 (en) * 2002-11-28 2004-06-10 Matsushita Electric Industrial Co.,Ltd. Device, program, and method for supporting electronic mail creation
US7788327B2 (en) 2002-11-28 2010-08-31 Panasonic Corporation Device, program and method for assisting in preparing email

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004049193A1 (en) * 2002-11-28 2004-06-10 Matsushita Electric Industrial Co.,Ltd. Device, program, and method for supporting electronic mail creation
US7788327B2 (en) 2002-11-28 2010-08-31 Panasonic Corporation Device, program and method for assisting in preparing email

Similar Documents

Publication Publication Date Title
Cassidy et al. Multi-level annotation in the Emu speech database management system
Mittal et al. Describing complex charts in natural language: A caption generation system
JP2783558B2 (en) Summary generation method and summary generation device
JP3691844B2 (en) Document processing method
US7194450B2 (en) Systems and methods for indexing each level of the inner structure of a string over a language having a vocabulary and a grammar
WO2001001390A1 (en) Electronic document processor
JP3372532B2 (en) Computer-readable recording medium for emotion information extraction method and emotion information extraction program
KR20090058407A (en) Method and system for providing conversation dictionary service based on user created dialog data
US6915300B1 (en) Method and system for searching indexed string containing a search string
JPH07160708A (en) Evaluating device and changing device for homage of honorific expression
JP2008204133A (en) Answer search apparatus and computer program
JP5072651B2 (en) Important phrase extractor
JPH08329108A (en) Method for converting text into hypertext
JP2003178087A (en) Retrieval device and method for electronic foreign language dictionary
JP4000332B2 (en) Information retrieval apparatus and computer-readable recording medium recording a program for causing a computer to function as the apparatus
JP2838984B2 (en) General-purpose reference device
JP3734101B2 (en) Hypermedia construction support device
JP6792584B2 (en) Analyst and program
JPH1145269A (en) Document management support system and computer readable recording medium recorded with program for functioning computer as the system
JP2010039864A (en) Morpheme analysis device, morpheme analysis method and computer program
JPH0916597A (en) Sentence elaboration device and method therefor
Romano et al. SplaSH (spoken language search hawk): integrating time-aligned with text-aligned annotations.
JP3278940B2 (en) Electronic dictionary device and document processing device
JPH07210571A (en) Device and method for word retrieval processing
JPH0748181B2 (en) How to edit text knowledge in the knowledge organization editor