JPH07160685A - Device for reading out sentence - Google Patents

Device for reading out sentence

Info

Publication number
JPH07160685A
JPH07160685A JP5305425A JP30542593A JPH07160685A JP H07160685 A JPH07160685 A JP H07160685A JP 5305425 A JP5305425 A JP 5305425A JP 30542593 A JP30542593 A JP 30542593A JP H07160685 A JPH07160685 A JP H07160685A
Authority
JP
Japan
Prior art keywords
sentence
expression
information
analysis result
parenthesized
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
JP5305425A
Other languages
Japanese (ja)
Inventor
Tsuyoshi Yagisawa
津義 八木沢
Shogo Shibata
昇吾 柴田
Minoru Fujita
稔 藤田
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 JP5305425A priority Critical patent/JPH07160685A/en
Publication of JPH07160685A publication Critical patent/JPH07160685A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PURPOSE:To prevent redundant and excess parts from being read out without generating all words comprising the sentence and to perform reading in the required form. CONSTITUTION:It analyzes the sentence held in a part 1 holding the input sentence with the use of the information stored in a word dictionary 3 and the information stored in a grammar rule 4. It holds it in a part 5 holding the sentence analysis result and analyzes the expression using the parentheses stored in the sentence analysis result held in the part 5 with the use of the information held in a parentheses expression knowledge base 6. Based on the sentence analysis result, the reading information is generated and it is outputted to a speaker 11.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、表記された文章を自動
的に読み上げさせる文章読み上げ装置に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a text-to-speech device for automatically reading written text.

【0002】[0002]

【従来の技術】一般に、文章読み上げ装置では、文章を
解析し、その解析結果から得られる読み情報を付与し、
その文章を構成する語すべてをそのまま忠実に発声させ
ていた。
2. Description of the Related Art Generally, a text-to-speech device analyzes a text and adds reading information obtained from the analysis result.
He spoke all the words that compose the sentence faithfully.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、従来の
この種の装置では、文章を構成する語すべてそのまま読
み上げるがために、「私は蜜柑(みかん)を食べた」の
ような文章の場合には、「ワタシ ミカン ミカン オ
タベタ」というように、語のふりがななど聞き手にと
っては不必要に重複した読みまでも読み上げしてしま
い、聞き手にとっては文章の理解の妨げになるという欠
点があった。
However, in the conventional device of this kind, since all the words constituting the sentence are read out as they are, in the case of a sentence such as "I ate a mandarin orange", , "Watashi Mikan Mikan Otabeta", there was a drawback that the listener could read out even redundant readings such as phonetic readings, which would hinder the listener from understanding the sentence.

【0004】本発明の目的は、上述の欠点を除去し、文
章を構成する語をすべて発声させるのではなく、聞き手
にとって冗長もしくは不要な部分は読み上げないように
し、必要十分な形で読み上げることができるようにした
文章読み上げ装置を提供することにある。
It is an object of the present invention to eliminate the above-mentioned drawbacks and not to utter all the words that compose a sentence, but to prevent the listener from reading redundant or unnecessary parts, and to read them in a necessary and sufficient manner. It is to provide a text-to-speech device that can be done.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
本発明は文章を記憶する文書記憶手段と、単語に関する
情報を記憶する単語辞書記憶手段と、文法に関する情報
を記憶する文法規則記憶手段と、前記文章記憶手段に保
持されている文章を、前記単語辞書記憶手段に記憶され
た情報と前記文法規則記憶手段に記憶された情報とを用
いて解析する文章解析手段と、前記文章解析手段により
得られた結果を保持する文章解析結果保持手段と、かっ
こを用いた表現に関する情報を保持するかっこ表現知識
ベースと、前記文章解析結果保持手段に保持された文章
解析結果の中に存在している、かっこを用いた表現を前
記かっこ表現知識ベースに保持された情報を用いて解析
するかっこ表現解析手段と、前記文章解析結果保持手段
に保持されている文章解析結果に基づいて読み情報を生
成し出力する手段とを具えたことを特徴とする。
To achieve the above object, the present invention comprises a document storage means for storing a sentence, a word dictionary storage means for storing information about a word, and a grammar rule storage means for storing information about a grammar. A sentence analysis means for analyzing a sentence held in the sentence storage means using the information stored in the word dictionary storage means and the information stored in the grammar rule storage means; It exists in the sentence analysis result holding means for holding the obtained result, the parenthesis expression knowledge base for holding information about the expression using parentheses, and the sentence analysis result held in the sentence analysis result holding means. , Parenthesized expression analysis means for analyzing an expression using parentheses using the information held in the parenthesized expression knowledge base, and the sentence analysis result holding means. Chapter is characterized in that and means for generating and outputting information read based on the analysis result.

【0006】[0006]

【実施例】以下、図面を参照して本発明を詳細に説明す
る。図1は、本発明の一実施例に係る装置の構成を示す
ブロック図である。同図において、1は読み上げる文章
を保持する入力文章保持部、2は入力文章保持部1に保
持されている文章を解析する文章解析処理部である。3
は文章解析処理部2で用いる単語辞書、4は文章解析処
理部2で用いる文法規則であって、これらは適当な記憶
手段に記憶されている。5は文章解析処理部2の結果を
保持する文章解析結果保持部である。6はかっこを用い
た表現に関する様々な知識を保持するかっこ表現知識ベ
ースであって、適当に記憶手段に記憶されている。7は
前記文章解析結果保持部に保持された文章解析結果の中
に存在している。かっこを用いた表現を前記ベース6に
基づいて解析するかっこ表現解析部、8は前記文章解析
結果保持部に保持されている文章解析結果に基づいて読
み情報を生成する読み情報生成部、9基前記読み情報生
成部によって生成された読みを保持する読み情報保持
部、10は前記読み情報保持部に保持されている読み情
報から音声を合成する音声合成部、11は音声合成部で
合成した音声情報を出力するスピーカである。例えば前
記1,5,9はRAMによって、3,4,6はROMに
よって2,7,8,9はCPUによって構成することが
でき、このCPUは、さらに図2に示す如き制御手順
(前記ROMに格納されている)を実行する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an apparatus according to an embodiment of the present invention. In FIG. 1, 1 is an input sentence holding unit that holds a sentence to be read out, and 2 is a sentence analysis processing unit that analyzes the sentence held in the input sentence holding unit 1. Three
Is a word dictionary used by the sentence analysis processing unit 2, and 4 is a grammar rule used by the sentence analysis processing unit 2, and these are stored in an appropriate storage means. Reference numeral 5 is a sentence analysis result holding unit that holds the result of the sentence analysis processing unit 2. Reference numeral 6 is a parenthesized expression knowledge base that holds various knowledge about expressions using parentheses, and is appropriately stored in the storage means. 7 is present in the sentence analysis result held in the sentence analysis result holding unit. A parenthesis expression analysis unit that analyzes an expression using parentheses based on the base 6, 8 is a reading information generation unit that generates reading information based on the sentence analysis result held in the sentence analysis result holding unit, 9 units A reading information holding unit that holds the reading generated by the reading information generating unit, 10 is a voice synthesizing unit that synthesizes voice from the reading information held in the reading information holding unit, and 11 is a voice that is synthesized by the voice synthesizing unit. It is a speaker that outputs information. For example, the above-mentioned 1,5,9 can be constituted by RAM, 3,4,6 can be constituted by ROM, and 2,7,8,9 can be constituted by CPU. Stored in).

【0007】図2は、図1に示した装置における動作の
処理手順を示すフローチャートである。本図を参照しな
がら、図4(a)に示す入力文章「私の好物(の一つ)
は蜜柑(みかん)です。」を例に本発明の動作手順を示
す。図2において、ステップS1で入力文章保持部1に
保持された文章の解析処理を行なう。これは、文章解析
処理部2で単語辞書3と文法規則4を用いて行なう。こ
の結果は文章解析結果保持部5に保持し、ステップS2
に移る。次に、ステップS2では、文章解析結果保持部
5からかっこ表現を探し、存在すれば、ステップS3の
かっこ表現解析に移る。存在しなければ、ステップS4
に移る。ステップS3では、かっこ表現解析部7におい
て、文章解析結果保持部5に保持されている文章解析結
果の中に存在するかっこ表現に関してかっこ表現知識ベ
ース6を参照してかっこ表現の分類を解析する。例え
ば、通常、かっこ表現には、その使われ方として項番
号,読み方,略記法,補足説明,例示,省略などがあ
り、 かっこ表現=「かっこの中が数字列」 である場合のかっこ表現分類は、項番号(図3の知識番
号1) かっこ表現=「かっこの中がひらがなで、かつ、直前の
漢字列の読み」 である場合のかっこ表現分類は、読み方(図3の知識番
号2) というようなものである。ここでは、かっこ表現知識ベ
ース6に記憶されている、読み上げの判断を示している
アクション情報をもとに、それぞれのかっこ表現部分を
読み上げるか否かの判断も行なう。ここで得られたアク
ションは文章解析結果保持部5に保持される。ステップ
S4では、文章解析結果保持部5に保持されている文章
解析結果を基に読み情報生成部8において読み情報を生
成し、読み情報保持部9に保持する。ステップS5で
は、読み情報保持部9に保持されている読み情報を基に
音声合成部10において音声を合成し、スピーカ11を
通して音声を出力して処理を終了する。
FIG. 2 is a flow chart showing the processing procedure of the operation in the apparatus shown in FIG. With reference to this figure, the input sentence “My favorite (one of)” shown in FIG.
Is a mandarin orange. The operation procedure of the present invention will be shown by way of example. In FIG. 2, in step S1, analysis processing of the sentence held in the input sentence holding unit 1 is performed. This is performed by the sentence analysis processing unit 2 using the word dictionary 3 and the grammar rule 4. This result is held in the sentence analysis result holding unit 5, and step S2
Move on to. Next, in step S2, the parenthesis expression is searched for from the sentence analysis result holding unit 5, and if it exists, the parenthesis expression analysis of step S3 is performed. If it does not exist, step S4
Move on to. In step S3, the parenthesis expression analysis unit 7 analyzes the classification of parenthesis expressions by referring to the parenthesis expression knowledge base 6 regarding parenthesis expressions existing in the sentence analysis result held in the sentence analysis result holding unit 5. For example, parenthesized expressions usually have usages such as item numbers, readings, abbreviations, supplementary explanations, examples, and abbreviations. Bracketed expression = "Parented expression in parentheses" Is the item number (Knowledge No. 1 in Fig. 3) Parenthesis expression = "Hiragana in parentheses and the reading of the immediately preceding Kanji string" It is something like that. Here, based on the action information stored in the parenthesized expression knowledge base 6 indicating the reading determination, it is also determined whether or not each parenthesized expression portion is read out. The action obtained here is held in the sentence analysis result holding unit 5. In step S4, the reading information generation unit 8 generates reading information based on the sentence analysis result held in the sentence analysis result holding unit 5, and holds the reading information in the reading information holding unit 9. In step S5, the voice synthesis unit 10 synthesizes a voice based on the read information stored in the read information storage unit 9, outputs the voice through the speaker 11, and ends the process.

【0008】図3は、かっこ表現知識ベース6の内容の
一例を示したものである。図4は、本装置の処理の過程
で、かっこ表現を含む文章「私の好物(の一つ)は蜜柑
(みかん)です。」を例に本実施例の様子を具体的に例
示したものである。ここで、同図(a)の入力文章「私
の好物(の一つ)は蜜柑(みかん)です。」を文章解析
すると、かっこ表現として、(の一つ)と(みかん)の
2箇所が含まれていることがわかり、これらをかっこ表
現知識ベース6に基づいてかっこ表現解析を行なった結
果得られた、かっこ表現部分のかっこ表現類および読み
上げるか否かの判断をするアクションを示した例が
(b)である。最後に、読み情報生成結果に基づいて生
成された、実際に発声される読みのカタカナの例が
(c)である。
FIG. 3 shows an example of the contents of the parenthesized expression knowledge base 6. FIG. 4 illustrates a concrete example of the state of the present embodiment by taking the sentence “My favorite (one of them) is mandarin orange” that includes parentheses in the process of processing of this device. is there. Here, when the input sentence "My favorite food (one of them) is mandarin orange" is analyzed, the two parenthesized expressions (one of) and (mandarin orange) An example showing parentheses in the parenthesis expression part obtained as a result of performing parentheses expression analysis based on the parenthesized expression knowledge base 6 and actions for judging whether or not to read it out. Is (b). Finally, (c) is an example of actually pronounced katakana generated based on the reading information generation result.

【0009】「他の実施例」上記実施例では、日本語を
例にとり説明したが、これに限定されるものではなく、
英語やドイツ語など、かっこ表現を使うことがあるよう
な、どのような言語についても適用できる。
[Other Embodiments] In the above embodiments, Japanese has been described as an example, but the present invention is not limited to this.
It can be applied to any language, such as English or German, that sometimes uses parentheses.

【0010】上記実施例では、かっこ表現知識ベースに
個々のかっこ表現の読み上げの判断をアクション情報と
して予め格納しておいて説明したが、ユーザが個々のか
っこ表現の読み上げのアクション情報を更新できるよう
にしてもよい。
In the above-mentioned embodiment, the description of reading individual parenthesized expressions is stored in advance in the parenthesized expression knowledge base as action information, but the user can update the action information of individual parenthesized expressions read out. You may

【0011】上記実施例では、かっことして記号()を
とりあげて説明したが、これに限定されるものではな
く、〔〕や[]や{}など、かっこに使用できるどのよ
うな記号についても適用できる。
In the above embodiment, the symbol () is taken up in parentheses, but the present invention is not limited to this, and any symbols such as [], [] and {} that can be used in parentheses are also applicable. it can.

【0012】上記実施例では、文章解析およびかっこ表
現解析を行なってから、冗長あるいは不必要な部分を読
み上げないようにする場合について説明したが、文章解
析を行なう前にかっこ表現部分を取り除いた文章につい
て文章解析を行ない、その結果得られた読みを発声させ
るようにしてもよい。
In the above-described embodiment, the case where the redundant or unnecessary part is not read out after the sentence analysis and the parenthesis expression analysis are performed has been described. However, the sentence in which the parenthesis expression part is removed before the sentence analysis is performed. The sentence analysis may be performed and the resulting reading may be uttered.

【0013】上記実施例では、冗長あるいは不必要な部
分を読み上げないようにする場合について説明したが、
冗長あるいは不必要な部分だけをボリュームを下げて発
声させたり、冗長あるいは不必要な部分だけを速く発声
させたりするなど、かっこ表現部分以外の読みとは異な
る発声方法で発声させる形成にしてもよい。
In the above embodiment, the case where the redundant or unnecessary portion is not read out has been described.
It may be formed by voicing with a different voicing method other than the parenthesized expression, such as lowering the volume of only redundant or unnecessary parts and voicing only redundant or unnecessary parts. .

【0014】[0014]

【発明の効果】以上説明したように、本発明によれば、
かっこ表現の部分について解析し、冗長あるいは不必要
なものは読み上げないようにさせることによって、ユー
ザにとって、文章の内容を聞き取り易くなる。または、
文章の意味がわかり易くなるという効果が得られる。
As described above, according to the present invention,
By analyzing the part of the parenthesis expression and not reading out redundant or unnecessary parts, it becomes easier for the user to hear the content of the sentence. Or
The effect is that the meaning of the sentence is easy to understand.

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

【図1】本発明の実施例に係る機能ブロック図である。FIG. 1 is a functional block diagram according to an embodiment of the present invention.

【図2】本発明の実施例に係る処理手順を示すフローチ
ャートである。
FIG. 2 is a flowchart showing a processing procedure according to the embodiment of the present invention.

【図3】本発明の実施例を説明するためのかっこ表現知
識ベースの内容の例を示す図である。
FIG. 3 is a diagram showing an example of contents of a parenthesized expression knowledge base for explaining an embodiment of the present invention.

【図4】本発明の実施例を説明するための具体的処理の
例を示す図である。
FIG. 4 is a diagram showing an example of specific processing for explaining an embodiment of the present invention.

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

1 入力文章保持部 2 文章解析処理部 3 単語辞書 4 文法規則 5 文章解析結果保持部 6 かっこ表現知識ベース 7 かっこ表現解析部 8 読み情報生成部 9 読み情報保持部 10 音声合成部 11 スピーカ 1 input sentence storage unit 2 sentence analysis processing unit 3 word dictionary 4 grammar rules 5 sentence analysis result storage unit 6 parenthesized expression knowledge base 7 parenthesized expression analysis unit 8 reading information generation unit 9 reading information storage unit 10 speech synthesis unit 11 speaker

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 文章を記憶する文書記憶手段と、単語に
関する情報を記憶する単語辞書記憶手段と、文法に関す
る情報を記憶する文法規則記憶手段と、前記文章記憶手
段に保持されている文章を、前記単語辞書記憶手段に記
憶された情報と前記文法規則記憶手段に記憶された情報
とを用いて解析する文章解析手段と、前記文章解析手段
により得られた結果を保持する文章解析結果保持手段
と、かっこを用いた表現に関する情報を保持するかっこ
表現知識ベースと、前記文章解析結果保持手段に保持さ
れた文章解析結果の中に存在している、かっこを用いた
表現を前記かっこ表現知識ベースに保持された情報を用
いて解析するかっこ表現解析手段と、前記文章解析結果
保持手段に保持されている文章解析結果に基づいて読み
情報を生成し出力する手段とを具えたことを特徴とする
文章読み上げ装置。
1. A document storage unit for storing a sentence, a word dictionary storage unit for storing information about a word, a grammar rule storage unit for storing information about a grammar, and a sentence held in the sentence storage unit, Sentence analysis means for analyzing using the information stored in the word dictionary storage means and the information stored in the grammar rule storage means, and a sentence analysis result holding means for holding the result obtained by the sentence analysis means , A parenthesized expression knowledge base that holds information about expressions using parentheses, and an expression that uses parentheses that is present in the sentence analysis result held in the sentence analysis result holding means as the parenthesized expression knowledge base. Parenthesis expression analysis means for analyzing using the held information and reading information is generated and output based on the sentence analysis result held in the sentence analysis result holding means. A text-to-speech device characterized by comprising means.
【請求項2】 前記かっこ表現知識ベースは、かっこ表
現のパタンとその分類および個々のかっこ表現があった
場合にその部分を読み上げるか否かの判断を設定するア
クション情報を記憶し、前記かっこ表現解析手段は、文
章中に存在するかっこ表現を解析し、ふりがななどの冗
長あるいは不必要な部分は読み上げないようにすること
を特徴とする請求項1記載の文章読み上げ装置。
2. The parenthesized expression knowledge base stores pattern of parenthesized expressions, their classification, and action information for setting a judgment as to whether or not to read each part of parenthesized expression, and the parenthesized expression is stored. 2. The text-to-speech device according to claim 1, wherein the analysis means analyzes the parenthesized expressions present in the text so as not to read out redundant or unnecessary parts such as phonetic characters.
JP5305425A 1993-12-06 1993-12-06 Device for reading out sentence Pending JPH07160685A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5305425A JPH07160685A (en) 1993-12-06 1993-12-06 Device for reading out sentence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5305425A JPH07160685A (en) 1993-12-06 1993-12-06 Device for reading out sentence

Publications (1)

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

Family

ID=17944985

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5305425A Pending JPH07160685A (en) 1993-12-06 1993-12-06 Device for reading out sentence

Country Status (1)

Country Link
JP (1) JPH07160685A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999008179A1 (en) * 1997-08-08 1999-02-18 Sony Corporation Character data transformer and transforming method
JP2009145966A (en) * 2007-12-11 2009-07-02 Nippon Telegr & Teleph Corp <Ntt> Text shaping rule acquisition device, its method, structure decision device and its program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999008179A1 (en) * 1997-08-08 1999-02-18 Sony Corporation Character data transformer and transforming method
JP2009145966A (en) * 2007-12-11 2009-07-02 Nippon Telegr & Teleph Corp <Ntt> Text shaping rule acquisition device, its method, structure decision device and its program

Similar Documents

Publication Publication Date Title
KR900009170B1 (en) Synthesis-by-rule type synthesis system
JP3589972B2 (en) Speech synthesizer
JPH07160685A (en) Device for reading out sentence
JP2938466B2 (en) Text-to-speech synthesis system
KR0173340B1 (en) Accent generation method using accent pattern normalization and neural network learning in text / voice converter
JPH03245192A (en) Method for determining pronunciation of foreign language word
JP2003005776A (en) Voice synthesizing device
JP2888847B2 (en) Text-to-speech apparatus and method, and language processing apparatus and method
JP2000187494A (en) Method and device for synthesizing voice
JP3090238B2 (en) Synthetic voice pause setting method
JPH08160983A (en) Speech synthesizing device
JPH05210482A (en) Method for managing sounding dictionary
JPH01321496A (en) Speech synthesizing device
JPH04253098A (en) Language processing method for number and special symbol used for voice synthesis
JPH0635913A (en) Sentence reader
JPH07140999A (en) Device and method for voice synthesis
JPH08160990A (en) Speech synthesizing device
JPH05233625A (en) Sentence reading-out device and voice dictionary preparing method
JPH0282300A (en) Device for reading sentence aloud
JPH01119822A (en) Sentence reader
JPH04127199A (en) Japanese pronunciation determining method for foreign language word
JPS63157261A (en) Audio revision type back-up device
JPH04199195A (en) Voice synthesizer
JPS6326723A (en) Sentence reading device
JP2004246085A (en) Method, device, and program for speech synthesis