JPH045695A - Rule synthesizing device - Google Patents

Rule synthesizing device

Info

Publication number
JPH045695A
JPH045695A JP2106872A JP10687290A JPH045695A JP H045695 A JPH045695 A JP H045695A JP 2106872 A JP2106872 A JP 2106872A JP 10687290 A JP10687290 A JP 10687290A JP H045695 A JPH045695 A JP H045695A
Authority
JP
Japan
Prior art keywords
abbreviation
word
conversion
text
string
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
JP2106872A
Other languages
Japanese (ja)
Inventor
Takashi Miki
三木 敬
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP2106872A priority Critical patent/JPH045695A/en
Publication of JPH045695A publication Critical patent/JPH045695A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the voice output which can be understood easily by referring to a formal name word number and converting it to a normal name to an abbreviation, based on a result of decision of an abbreviation deciding means in accordance with an abbreviation conversion mode. CONSTITUTION:A text character-string inputted from a text character-string input terminal 11 is sent to a text analyzing part 12, and collated with a word stored in a word dictionary 13. Subsequently, the character-string is divided into phrases and words, and reading of the divided word is determined. Also, in the analyzing part 12, whether the discriminated word is an abbreviation or not is decided by a deciding means 12a, and in the case of an abbreviation, in accordance with the contents of an abbreviation converting part 17, it is switched to other reading notation by a reading notation switching means 12b. Moreover, the word dictionary 13 stores an abbreviation flag 13a for showing a fact of being an abbreviation and a normal name word number 13b for showing a word of a normal name of its word. In such a state, a voice synthesizing part 14 synthesizes a voice corresponding to the inputted character- string, based on the word reading notation from the analyzing part 12, and outputs it to an output terminal 16. In such a way, an easily understandable composite output for taking a hearer's understanding level into consideration is obtained easily.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、入力テキスト文字列を解析し、その文字列中
の単語よりさらに小さい音素や音節を単位とし、適当な
規則により滑らかにつなぎ合わせて、任意の音声出力を
合成する規則合成装置、特に略語の読み上げ方式に関す
るものである。
[Detailed Description of the Invention] (Industrial Application Field) The present invention analyzes an input text string, uses phonemes and syllables smaller than words in the string as units, and smoothly connects them using appropriate rules. The present invention relates to a rule synthesis device for synthesizing arbitrary speech outputs, and particularly to a method for reading out abbreviations.

(従来の技術) 従来、このような分野の技術としては、特開平1−17
7095号公報に記載されるものがあった。
(Prior art) Conventionally, as a technology in this field, Japanese Patent Application Laid-Open No. 1-17
There was one described in Publication No. 7095.

この文献等に記載されているように、日本語テキストの
文字列等に対応する音声を合成する規則合成装置は、コ
ンピュータ、その他の種々の機器からの有力な出力手段
として期待されている。その−例を、第2図に示す。
As described in this document, a rule synthesis device that synthesizes speech corresponding to character strings of Japanese text, etc. is expected to be a powerful output means from computers and various other devices. An example of this is shown in FIG.

第2図は、従来の規則合成装置の一構成例を示すブロッ
ク図である。
FIG. 2 is a block diagram showing an example of the configuration of a conventional rule synthesis device.

この規則合成装置は、テキスト文字列入力端子1を有し
、その入力端子1にはテキスト解析部2か接続されてい
る。テキスト解析部2には、単語辞書3及び音声合成部
4が接続され、さらにその音声合成部4に、音声辞書5
及び音声出力端子6が接続されている。
This rule synthesis device has a text character string input terminal 1, and a text analysis section 2 is connected to the input terminal 1. A word dictionary 3 and a speech synthesis section 4 are connected to the text analysis section 2, and a speech dictionary 5 is connected to the speech synthesis section 4.
and an audio output terminal 6 are connected.

この種の規則合成装置では、テキスト文字列入力端子1
から入力されたテキスト文字列が、テキスト解析部2へ
送られる。テキスト解析部2では、入力テキスト文字列
を、単語辞書3に格納されている単語と照合し、その入
力テキスト文字列を句や単語に分割し、その分割された
単語の読みを決定すると共に、その単語の読みに、アク
セントや抑揚等の韻律情報を付加し、音声合成部4へ出
力する。音声合成部4では、テキスト解析部2から出力
される音韻情報(単語の読み)及び韻律情報に基づき、
それらを音声辞書5に格納されている音声パラメータを
組合わせて音声を合成し、音声出力端子6から外部へ出
力する。
In this kind of rule synthesizer, the text string input terminal 1
The text string inputted from is sent to the text analysis section 2. The text analysis unit 2 compares the input text string with words stored in the word dictionary 3, divides the input text string into phrases and words, and determines the pronunciation of the divided words. Prosodic information such as accent and intonation is added to the pronunciation of the word and output to the speech synthesis section 4. In the speech synthesis section 4, based on the phonological information (word pronunciation) and prosody information output from the text analysis section 2,
These are combined with the audio parameters stored in the audio dictionary 5 to synthesize audio, and the synthesized audio is output from the audio output terminal 6 to the outside.

(発明が解決しようとする課題〉 しかしながら、上記構成の規則合成装置では、高度な専
門用語や略語類等の入力テキスト文字列を、単純に音声
に変換するだけであり、聴き手の理解レベルに対処する
場合には、発声速度を早くしなり、遅くしなりする程度
の制御しか実現できなかった。そのため、聴き手の理解
レベルを考慮した音声出力を得るなめには、聴き手の理
解レベルを考慮して、日本語テキストそのものを書き直
す、つまり書き半開の十分な配慮かl・要となり、技術
的に十分満足のいくものが得られなかった。
(Problems to be Solved by the Invention) However, the rule synthesis device with the above configuration simply converts input text strings such as advanced technical terms and abbreviations into speech, and does not meet the listener's level of understanding. When dealing with this, it was only possible to control the speech rate to the extent of making it faster or slower and more flexible.Therefore, in order to obtain a speech output that takes the listener's understanding level into account, it is necessary to adjust the listener's understanding level. Taking this into account, I had to rewrite the Japanese text itself, which meant that I had to take sufficient care to write it half-open, and I was unable to obtain something that was technically satisfactory.

本発明は前記従来技術が持っていた課題として、高度な
専門用語や略語の頚等tこ対しては聴き手の理解レベル
を考慮した音声出力を得ることが困難な点について解決
した規則合成装置を提供するものである。
The present invention is a rule synthesis device that solves the problem of the prior art, which is that it is difficult to obtain audio output that takes into account the understanding level of the listener due to the use of highly technical terms and abbreviations. It provides:

(課題を解決するための手段) 前記課題を解決するために、第1の発明は、テキスト文
字列を解析し、そのテキスト文字列の単語を単語辞書の
内容と照合し該単語を識別して単語読み表記を出力する
テキスト解析部と、前記単語読み表記に基づき前記テキ
スト文字列に対応する音声を合成する音声合成部とを、
備えた規則合成装置において、次のような手段を設けた
ものである。
(Means for Solving the Problems) In order to solve the above problems, the first invention analyzes a text string, compares the words in the text string with the contents of a word dictionary, and identifies the words. a text analysis unit that outputs a word pronunciation, and a speech synthesis unit that synthesizes speech corresponding to the text string based on the word pronunciation,
This rule synthesis device is equipped with the following means.

即ち、ある単語が略語であることを示す略語フラグ、及
びその単語の正式名称を示す正式名単語番号を前記単語
辞書に格納し、前記略語フラグを参照して前記識別され
た単語が略語か否かを判定する略語判定手段と、略語変
換モードに従い、前記略語判定手段の判定結果に基づき
前記正式名単語番号を参照して略語に対する正式名称ま
たは解説付き正式名称への変換処理を行う略語変換部と
、前記略語変換部の処理結果に応じた単語読み表記を前
記テキスト解析部かち出力させる読み表記切換手段とを
、設けたものである。
That is, an abbreviation flag indicating that a certain word is an abbreviation and a formal name word number indicating the formal name of the word are stored in the word dictionary, and it is determined whether the identified word is an abbreviation by referring to the abbreviation flag. an abbreviation determining means for determining whether the abbreviation is an abbreviation, and an abbreviation conversion unit that performs conversion processing for an abbreviation into a formal name or a formal name with an explanation by referring to the formal name word number based on the determination result of the abbreviation determination means according to an abbreviation conversion mode. and a pronunciation switching means for causing the text analysis unit to output a pronunciation of the word according to the processing result of the abbreviation conversion unit.

第2の発明は、第1の発明において、前記略語変換部の
変換処理を制御するための単語番号を列挙した設定可能
な略語置換単語リストを、設けたものである。
A second invention is the first invention, in which a settable abbreviation replacement word list listing word numbers for controlling the conversion process of the abbreviation conversion section is provided.

第3の発明は、第1の発明において、前記略語判定手段
の判定結果に基つき前記略語の出現回数を記憶し、その
出現回数に応じて前記略語変換部の変換処理を規制する
略語合成回数カウンタを、設けたものである。
In a third aspect of the invention, in the first aspect, the number of times the abbreviation appears is stored based on the determination result of the abbreviation determining means, and the number of times the abbreviation is synthesized is controlled to control the conversion process of the abbreviation conversion unit according to the number of times the abbreviation appears. A counter is provided.

(作用) 第1の発明によれば、以上のように規則合成装置を構成
したのて、高度な専門用語や略語の類等を含むテキスト
文字列がテキスト解析部に入力さFコると、テキスト解
析部では、単語辞書の内容を参照して入力テキスト文字
列中の単語を識別、つまり同定する。この際、略語判定
手段は、単語辞書に格納された略語フラグの内容を参照
し、前記の同定された単語が略語か否かを判定する。略
語と判定された場合、略語変換部は、略語変換モードに
従い、前記単語辞書に格納された正式名単語番号を参照
し、その略語に対する正式名称、または簡単な解説付き
の正式名称への変換処理を行う。
(Operation) According to the first invention, after configuring the rule synthesis device as described above, when a text string containing advanced technical terms, abbreviations, etc. is input to the text analysis section, The text analysis unit identifies words in the input text string by referring to the contents of the word dictionary. At this time, the abbreviation determining means refers to the contents of the abbreviation flag stored in the word dictionary and determines whether or not the identified word is an abbreviation. If it is determined to be an abbreviation, the abbreviation conversion unit refers to the formal name word number stored in the word dictionary and converts the abbreviation into a formal name or a formal name with a simple explanation according to the abbreviation conversion mode. I do.

すると、読み表記切換手段は、テキスト解析部での略語
読み表記の出力に代え、正式名称あるいは解説付き正式
名称(例えば、略語読みと、適切な接続詞と、略語の正
式名称とを含む文章)の読み表記を音声合成部へ出力す
る。
Then, instead of outputting the abbreviated reading notation from the text analysis unit, the reading notation switching means outputs the official name or the official name with explanation (for example, a sentence including the abbreviated reading, an appropriate conjunction, and the official name of the abbreviation). Output the reading notation to the speech synthesis section.

これにより、入力テキスト文字列中に高度な専門用語や
略語の類(これらを、この明細書では単に「略語」とい
う〉が含まれている場合、その正式名称、あるいは解説
付き正式名称に置換えてそれらの読み上げか行われる。
As a result, if the input text string contains highly technical terms or abbreviations (these are simply referred to as "abbreviations" in this specification), they can be replaced with their official names or official names with explanations. They will be read aloud.

そのため、日本語テキスト等の文字列を変更することな
く、聴き手のIl!l!解レベルを考慮した音声出力が
容易に行える。
Therefore, without changing character strings such as Japanese text, the listener's Il! l! Audio output that takes into account the solution level can be easily performed.

第2の発明によれば、略語置換単語リストは、例えば使
用者が予め設定可能な略語置換を許す単語を列挙してい
る。テキスト解析部における単語辞書との照合時に、略
語判定手段で略語と判定され、その略語に対応する単語
か略語置換リストにある場合、該略語置換リストは、設
定されたモードに従い、略語変換部を制御する働きがあ
る。この働きにより、略語読みの読み上げと、正式名称
あるいは解説付き正式名称の読み上げとが、切換えられ
る。そのため、使用者により略語置換の設定を任意に行
え、聴き手の理解レベルに、より対応じた音声出力が得
られる。
According to the second invention, the abbreviation replacement word list lists words that allow abbreviation replacement that can be set in advance by the user, for example. When collating with the word dictionary in the text analysis section, if the abbreviation determination means determines that the abbreviation is an abbreviation, and a word corresponding to the abbreviation is found in the abbreviation replacement list, the abbreviation replacement list is used to convert the abbreviation conversion section into a word corresponding to the abbreviation according to the set mode. It has a controlling function. This function switches between reading out the abbreviation and reading out the official name or official name with explanation. Therefore, the user can arbitrarily set the abbreviation replacement, and can obtain audio output that is more responsive to the listener's understanding level.

第3の発明によれば、略語合成回数カウンタは、略語判
定手段によって略語と判定された単語については、その
単語の出現回数に応じて、略語の読みと、正式名単語番
号を参照した該略語の正式名称あるいは解説付き正式名
称の読みとを、切換えるように動作する。これにより、
例えば略語の出現回数を2回とした場合、2回までは略
語の正式名称または解説付き正式名称の読み上げを行う
が、3回目からは略語をそのまま読み上げる。そのため
、冗長になりがちな音声出力を簡単化して聴き手側に伝
えられる。これにより、聴き主側の理解レベルに柔軟に
対応できる。
According to the third invention, for a word determined to be an abbreviation by the abbreviation determination means, the abbreviation synthesis frequency counter determines the pronunciation of the abbreviation and the abbreviation with reference to the formal name word number according to the number of times the word appears. It operates to switch between the reading of the official name or the official name with explanation. This results in
For example, if the number of occurrences of an abbreviation is set to two, the official name of the abbreviation or the official name with explanation is read aloud up to the second time, but from the third time onwards, the abbreviation is read out as is. Therefore, the audio output, which tends to be redundant, can be simplified and conveyed to the listener. This makes it possible to respond flexibly to the level of understanding of the listener.

従って、前記課題を解決できるのである。Therefore, the above problem can be solved.

(実施例〉 第1図は、本発明の第1の実施例を示す規則合成装置の
機能ブロック図である。
(Embodiment) FIG. 1 is a functional block diagram of a rule synthesis device showing a first embodiment of the present invention.

この規則合成装置は、テキスト文字列入力端子1]に接
続されたテキスト解析部12を有し1、そのテキスト解
析部12には、単語辞書13及び音声合成部14が接続
されている。音声合成部14には、音声辞書15及び音
声出力端子16が接続されている。さらに、テキスト解
析部12及び単語辞書134こは、略語変換部17が接
続されている。 テキスト解析部12は、入力テキスト
文字列と単語辞書13の内容とを照合し、入力テキスト
文字列を句や単語に分割し、その分割さh7′?単語の
読みを決定すると共に、アクセントや抑揚等の韻律情報
を付加する機能を有している。さらにこのテキスト解析
部12では、識別された単語か略語か否かを判定する略
語判定手段12aと、単語の読みをそのまま出力するか
、あるいは略語変換部17の内容に応じて他の読み表記
に切換えるための読み表記切換手段12bとを、有して
いる。
This rule synthesis device has a text analysis section 12 connected to a text character string input terminal 1, and a word dictionary 13 and a speech synthesis section 14 are connected to the text analysis section 12. A speech dictionary 15 and a speech output terminal 16 are connected to the speech synthesis section 14 . Further, an abbreviation converting section 17 is connected to the text analysis section 12 and the word dictionary 134 . The text analysis unit 12 compares the input text string with the contents of the word dictionary 13, divides the input text string into phrases and words, and divides the input text string into phrases and words. It has the function of determining the pronunciation of words and adding prosodic information such as accent and intonation. Furthermore, this text analysis section 12 includes an abbreviation determination means 12a that determines whether the identified word is an abbreviation, and outputs the pronunciation of the word as it is, or converts it to another pronunciation according to the contents of the abbreviation conversion section 17. It has reading notation switching means 12b for switching.

単語辞書13は、単語の読みがな変換のための辞書や文
法辞書等の他に、略語であることを示す略語フラグ′1
3aと、その略語の正式名称の単語を指し示す正式名単
語番号13bとを格納している。音声合成部14は、テ
キスト解析部12がらの単語読み表記に基づき、入力テ
キスト文字列に対応する音声を合成し、その合成した音
声を音声出力端子16へ出力する機能を有している。音
声辞書15は、音声合成のための音声パラメータ15a
を格納し、それを音声合成部14へ出力する機能を有し
ている。
The word dictionary 13 includes a dictionary for converting the pronunciation of words, a grammar dictionary, etc., as well as an abbreviation flag '1 indicating that it is an abbreviation.
3a and a formal name word number 13b indicating the word of the formal name of the abbreviation. The speech synthesis section 14 has a function of synthesizing speech corresponding to the input text character string based on the word pronunciation provided by the text analysis section 12, and outputting the synthesized speech to the speech output terminal 16. The speech dictionary 15 includes speech parameters 15a for speech synthesis.
It has a function of storing the information and outputting it to the speech synthesis section 14.

また、略語変換部17は、無変換モー)’ 17 al
及び正式名変換モード17a2からなる略語変換モード
17aに基づき、単語辞書13内の正式名単語番号13
bを参照して略語変換処理を行い、その処理結果である
単語番号あるいは単語番号列を、テキスト解析部12内
の読み表記切換手段12bに与える機能を有している。
In addition, the abbreviation conversion unit 17 performs a non-conversion mode)' 17 al
Based on the abbreviation conversion mode 17a consisting of the formal name conversion mode 17a2 and the formal name conversion mode 17a2, the formal name word number 13 in the word dictionary 13 is
It has a function of performing abbreviation conversion processing with reference to b and providing the word number or word number string that is the processing result to the reading notation switching means 12b in the text analysis section 12.

以上のように構成される規則合成装置の動作を、第3図
を参照しつつ説明する。
The operation of the rule synthesis device configured as described above will be explained with reference to FIG.

第3図は、第1図における単語辞書13の内容の一例を
示す図である。
FIG. 3 is a diagram showing an example of the contents of the word dictionary 13 in FIG. 1.

単語辞書13は、通常用いられる読み表記、アクセント
型等の情報に加え、略語フラグ13a及び正式名単語番
号13bが格納された構成になっている。略語フラグ1
3aとは、その単語が何等かの略語、もしくは読み変え
が存在するサインである。正式名単語番号13bとは、
その単語の正式名称、もしくは読み変えられるべき単語
の番号を与えたしのである。
The word dictionary 13 stores information such as normally used pronunciation, accent type, etc., as well as an abbreviation flag 13a and formal name word number 13b. Abbreviation flag 1
3a is a sign that the word has some kind of abbreviation or transliteration. What is the formal name word number 13b?
It gives the formal name of the word, or the number of the word to be repronounced.

例えば、単語番号1の単語「特許」の読みは「トッキョ
jであり、この単語の略語フラグ13aは0“、即ちこ
の表記「特許」は略称ではないことが示されている。単
語番号2の単語rDNA、の読みは「ディーエヌエー」
、略語フラグ13aは“1°°であるから、単語−DN
AJは略語と識別される。その正式名称は、正式名単語
番号13bが“4°であることから、単語4のFデオキ
シリボ核酸」であることか分かる。同様に、単語3の「
インフレ」は、2インフレーシヨンヨの略語であること
が示されている。
For example, the pronunciation of the word "patent" with word number 1 is "Tokkyo j", and the abbreviation flag 13a of this word is 0", that is, it is shown that this notation "patent" is not an abbreviation. The word number 2, rDNA, is pronounced "DENA"
, the abbreviation flag 13a is “1°°, so the word -DN
AJ is identified as an abbreviation. Its official name can be seen as "word 4 F deoxyribonucleic acid" since the official name word number 13b is "4°". Similarly, word 3 “
``Inflation'' is shown to be an abbreviation for ``Inflation''.

先ず、第1図のテキスト文字列入力端子11から入力さ
れたテキスト文字列は、テキスト解析部12に送られる
。テキスト解析部12では、単語辞書13に格納されて
いる単語との照合を行い、入力テキスト文字列を句や単
語に分割した後、その分割された単語の読みを決定する
。さらに、このテキスト解析部12は、アクセントや抑
揚等の韻律情報を付加した単語読み表記を、音声合成部
14へ出力する。
First, a text string input from the text string input terminal 11 shown in FIG. 1 is sent to the text analysis section 12. The text analysis unit 12 performs comparison with words stored in the word dictionary 13, divides the input text string into phrases and words, and then determines the pronunciation of the divided words. Further, the text analysis section 12 outputs word pronunciations to which prosodic information such as accent and intonation has been added to the speech synthesis section 14 .

ここで、テキスト解析部12での照合の結果、単語rD
NAJが識別された場合を考える。
Here, as a result of the matching in the text analysis unit 12, the word rD
Consider the case where NAJ is identified.

第3図に示すように、単語rDNA、には略語フラグ1
3aに1″が立っているので、テキスト解析部12内の
略語判定手段12aにより、この単語が略語であると判
定される。略語と判定さtした単語は、全て略語変換部
17に送られる。
As shown in Figure 3, the word rDNA has an abbreviation flag of 1.
Since 1'' is set in 3a, the abbreviation determining means 12a in the text analysis unit 12 determines that this word is an abbreviation. All words determined to be abbreviations are sent to the abbreviation converting unit 17. .

略語変換部17では、予め定められた略語変換モード1
7aに基づき、次のような略語変換処理を行う。
The abbreviation conversion section 17 selects a predetermined abbreviation conversion mode 1.
7a, the following abbreviation conversion process is performed.

予め定められた略語変換モード17aが無変換モード1
7a1であれば、変換処理を行わず、略語のまま発生さ
せる処理を行う。即ち、単語「DNAJの略語変換結果
は、元のまま単語番号2となる。従って、テキスト解析
部12内の読み表記切換手段12bは、単語番号2に対
応じた単語読み表記を出力し、音声合成部14から、略
語の読み上げを行わせる。
The predetermined abbreviation conversion mode 17a is the non-conversion mode 1.
If it is 7a1, no conversion processing is performed, and processing is performed to generate the abbreviation as it is. That is, the abbreviation conversion result for the word "DNAJ" remains as the original word number 2. Therefore, the reading notation switching means 12b in the text analysis unit 12 outputs the word reading notation corresponding to word number 2, and The synthesizing unit 14 is caused to read out the abbreviations.

これに対し、略語変換モード17aが正式名変換モード
17a2、つまり略語を正式名称に変換するモードであ
るならば、略語変換部17は、単語rDNA、の略語変
換結果であるその正式名称の単語番号4と変換し、その
変換した単語番号4をテキスト解析部12内の読み表記
切換手段12bへ送る。
On the other hand, if the abbreviation conversion mode 17a is the formal name conversion mode 17a2, that is, a mode for converting an abbreviation into a formal name, the abbreviation conversion unit 17 converts the word number of the formal name which is the abbreviation conversion result of the word rDNA. 4 and sends the converted word number 4 to the pronunciation switching means 12b in the text analysis section 12.

このような略語変換部17による略語・正式名変換を、
次のような手法に置換えても良い。
Such abbreviation/formal name conversion by the abbreviation conversion unit 17 is performed by
It may be replaced with the following method.

単語rDNAJを、解説付き正式名称、例えばrDNA
Jと「即ち」と「デオキシリボ核酸」の3単語に置換え
て読む。即ち、略語変換部17で、単語番号2を、単語
番号列2.6.4に置換える処理を行っても良い。
Replace the word rDNAJ with its formal name with explanation, e.g. rDNA
Read it by replacing it with the three words J, "that is," and "deoxyribonucleic acid." That is, the abbreviation conversion unit 17 may perform a process of replacing word number 2 with word number string 2.6.4.

テキスト解析部12内の読み表記切換手段12bでは、
略語ならば略語変換部17からの単語番号もしくは単語
番号列を、略語でなければ該テキスト解析部12におけ
る識別結果の単語番号を、切換える。そして、テキスト
解析部12では、その切換結果の単語番号や単語番号列
に基づき、その単語の読みに加えてアクセントや抑揚等
の韻律情報を付加し、単語読み表記、つまり音声合成情
報を音声合成部14へ出力する。音声合成部14では、
テキスト解析部12の音声合成情報から、音声辞書15
に格納されている音声パラメータ15aを組合わせて音
声を生成し、音声出力端子16から外部へ出力する。
In the reading notation switching means 12b in the text analysis section 12,
If it is an abbreviation, the word number or word number string from the abbreviation conversion section 17 is switched, and if it is not an abbreviation, the word number of the identification result in the text analysis section 12 is switched. Then, the text analysis unit 12 adds prosodic information such as accent and intonation in addition to the pronunciation of the word based on the word number and word number string resulting from the switching, and synthesizes the word pronunciation, that is, the speech synthesis information. output to section 14. In the speech synthesis section 14,
From the speech synthesis information of the text analysis unit 12, the speech dictionary 15
The audio parameters 15a stored in the audio parameters 15a are combined to generate audio, and the audio is output from the audio output terminal 16 to the outside.

この第1の実施例によれは、入力テキスト文字列中に含
まれる略語を正式名称あるいは解説付き正式名称に自動
的に置換える機能を、規則合成装置に設けたので、テキ
ストを変更することなく、真に聴き手の理解レベルを考
慮した音声出力を極めて容易に得ることができる。
According to this first embodiment, the rule synthesis device is provided with a function to automatically replace an abbreviation contained in an input text string with a formal name or a formal name with an explanation, without changing the text. , it is possible to extremely easily obtain audio output that truly takes into account the listener's level of understanding.

第4図は、本発明の第2の実施例を示す規則合成装置の
機能ブロック図であり、第1図中の要素と共通の要素に
は共通の符号か付されている。
FIG. 4 is a functional block diagram of a rule synthesis device showing a second embodiment of the present invention, and elements common to those in FIG. 1 are given the same reference numerals.

この第2の実施例が第1の実施例と異なる点は、使用者
が予め設定可能な略語置換を許す略語置換単語りスト1
8を設け、その略語置換単語りスト18の出力に基づき
、略語変換部17−1での変換処理を制御可能な構成に
したことである。
This second embodiment differs from the first embodiment in that it includes an abbreviation replacement word list 1 that allows abbreviation replacement that can be set in advance by the user.
8 is provided, and the conversion processing in the abbreviation conversion section 17-1 can be controlled based on the output of the abbreviation substitution word list 18.

この実施例において、略語変換部17−1は、前記無変
換モード17a1及び正式名変換モード17a2という
2つの略語変換モード17aに加えて、第3のモードで
ある条件変換モード17bを選択可能な構成になってい
る。この条件変換モード17bでは、次のような動作が
実行される。
In this embodiment, the abbreviation conversion unit 17-1 is configured to be able to select a third mode, a conditional conversion mode 17b, in addition to the two abbreviation conversion modes 17a, the non-conversion mode 17a1 and the official name conversion mode 17a2. It has become. In this condition conversion mode 17b, the following operations are performed.

テキスト解析部12での照合の結果、単語rDNA、か
識別され、略語判定手段12aで略語と判定されて略語
変換部17−1に変換依頼が発生した場合を考える。
As a result of the comparison in the text analysis section 12, the word rDNA is identified, and the abbreviation determining means 12a determines that the word is an abbreviation, and a conversion request is issued to the abbreviation conversion section 17-1.

略語変換部17−1では、第3図に示すように、単語r
DNA、の単語番号2と、予め使用者が設定した略語置
換単語りスト18の内容とを比較し、同一単語番号が存
在した場合には、条件変換モード17bに従い、略語変
換処理(rDNAJ−1デオキシリボ核酸」)を行い、
その処理結果をテキスト解析部12内の読み表記切換手
段12bに与えて正式名の音声合成、あるいは解説付き
正式名称の音声合成処理を行わせる。これに対し、前記
の同一単語番号が存在しなかった場合、略語変換部17
−1は無変換、即ち元の単語番号2をテキスト解析部1
7内の読み表記切換手段12−bに返す。
In the abbreviation conversion unit 17-1, as shown in FIG.
The word number 2 of DNA is compared with the contents of the abbreviation replacement word list 18 set in advance by the user, and if the same word number exists, the abbreviation conversion process (rDNAJ-1 deoxyribonucleic acid”),
The processing result is given to the pronunciation switching means 12b in the text analysis section 12 to perform speech synthesis of the formal name or speech synthesis of the formal name with explanation. On the other hand, if the same word number does not exist, the abbreviation conversion unit 17
-1 means no conversion, that is, the original word number 2 is converted to the text analysis unit 1.
7 to the reading notation switching means 12-b.

このように略語置換単語りスト18を設けることにより
、使用者が定めた単語だけを、略語読みから正式名ある
いは解説付き正式名の読みに切換えることかできる。そ
のため、音声の聴き手は、自己の理解レベルに応じた音
声出力を得ることかでき、使い騎手がより向上する。そ
の他、前記第1の実施例と同様の作用、効果が得られる
。
By providing the abbreviation replacement word list 18 in this way, it is possible to switch only the words specified by the user from the abbreviated reading to the official name or the official name with explanation. Therefore, the audio listener can obtain the audio output according to his/her level of understanding, and the jockey can further improve. Other functions and effects similar to those of the first embodiment can be obtained.

第5図は、本発明の第3の実施例を示す規則合成装置の
機能ブロック図であり、第1図中の要素と共通の要素に
は共通の符号が付されている。
FIG. 5 is a functional block diagram of a rule synthesis device showing a third embodiment of the present invention, in which elements common to those in FIG. 1 are given the same reference numerals.

この実施例が第1の実施例と異なる点は、略語の出現回
数を記憶する略語合成回数カウンタ19を設け、その略
語合成回数カウンタ19の出力により、略語変換部17
−2の変換処理を規制する構成にしたことである。
The difference between this embodiment and the first embodiment is that an abbreviation synthesis frequency counter 19 is provided to store the number of occurrences of an abbreviation, and an abbreviation conversion section 17
-2 is configured to restrict the conversion process.

この実施例では、前記第1の実施例における無変換モー
ド17a1及び正式名変換モード17a2という2つの
略語変換モード17aに加えて、第3のモードである出
現回数制限変換モード17Cを、略語変換部17−2に
よって選択できるようになっている。この出現回数制限
変換モード17Cでは、次のような動作が実行される。
In this embodiment, in addition to the two abbreviation conversion modes 17a, the non-conversion mode 17a1 and the official name conversion mode 17a2 in the first embodiment, a third mode, the number of appearance limit conversion mode 17C, is used by the abbreviation conversion section. 17-2 allows selection. In this appearance count limit conversion mode 17C, the following operations are performed.

テキスト解析部12での照合の結果、単語「DNAJか
識別され、それが略語判定手段12aによって略語と判
定されて略語変換部17−2に変換依頼か発生した場合
を考える。
Let us consider a case where the word "DNAJ" is identified as a result of the comparison in the text analysis section 12, and this is determined to be an abbreviation by the abbreviation determining means 12a, and a conversion request is issued to the abbreviation conversion section 17-2.

略語変換部17−2では、第3図に示すように、テキス
ト解析部12内の略語判定手段12aがら送らhた単語
番号2と、略語合成回数カウンタ19内のメモリの内容
とを比較し、出現回数制限変換モード17cに従い、一
致する単語番号がない場合は、新たにその略語合成回数
カウンタ19内のメモリにセットすると共tこ、そのメ
モリを1にセットする。これに対し、一致する単語番号
がある場合には、その略語合成回数カウンタ19内のメ
モリの値を+1加算する。その時点までの略語の合成回
数、即ち略語合成回数カウンタ19内の対応するメモリ
の値が、予め設定された略語変換回数以下であれば、略
語変換部17−2では、その単語を、正式名称、あるい
は解説付き正式名称(例えば、正式名称と適切な接続詞
と略称基との組合わせ)に変換する。
As shown in FIG. 3, the abbreviation conversion section 17-2 compares the word number 2 sent from the abbreviation determination means 12a in the text analysis section 12 with the contents of the memory in the abbreviation synthesis frequency counter 19, According to the appearance count limit conversion mode 17c, if there is no matching word number, it is newly set in the memory in the abbreviation synthesis count counter 19, and the memory is also set to 1. On the other hand, if there is a matching word number, the value in the memory in the abbreviation synthesis frequency counter 19 is incremented by +1. If the number of times the abbreviation has been synthesized up to that point, that is, the value in the corresponding memory in the abbreviation synthesis counter 19, is less than or equal to the preset number of abbreviation conversions, the abbreviation converter 17-2 converts the word into a formal name. , or into a formal name with an explanation (for example, a combination of the formal name with an appropriate conjunction and an abbreviation base).

例えば、略語fi回数が2以下であれば、!i語’ D
 N A Jは、「テ′オキシリボ核酸コと7即ちjと
rDNAJの3つの単語に置換えられる。つまり、この
略語変換部17−2では、単語番号2を単語番号4.6
.2に置換える処理を行う。逆に、略語合成回数カウン
タ19内のメモリの値か、予め設定された略語変換回数
2より大きければ、単語rDNAJは、そのままrDN
AJ  (単語番号2〉となる。これらの結果は、テキ
スト解析部12へ送られる。
For example, if the number of abbreviations fi is 2 or less, then! i word' D
N A J is replaced with three words: "te'oxyribonucleic acid, 7, i.e., j, and rDNAJ. In other words, in this abbreviation conversion unit 17-2, word number 2 is replaced with word number 4.6.
.. Perform the process of replacing it with 2. Conversely, if the value in the memory in the abbreviation synthesis count counter 19 is greater than the preset abbreviation conversion count 2, the word rDNAJ is converted into rDN as it is.
AJ (word number 2). These results are sent to the text analysis section 12.

テキスト解析部12では、略語判定手段12aで略語フ
ラグ13aの内容を判断し、その略語フラグ13aが立
っていれば、略語変換部17−2から送られた単語番号
4、あるいは単語番号列4.6.2を、略語フラグ13
aが立っていなければ、該テキスト解析部12の識別結
果の単語番号を、読み表記切換手段12bで切換える。
In the text analysis section 12, the content of the abbreviation flag 13a is determined by the abbreviation determining means 12a, and if the abbreviation flag 13a is set, the word number 4 or word number string 4. 6.2, abbreviation flag 13
If "a" is not set, the word number as a result of the identification by the text analysis section 12 is switched by the pronunciation switching means 12b.

そして、切換えられた単語の読みに加えてアクセントや
抑揚等の韻律情報を付加して音声合成情報を生成し、そ
の単語読み表記を音声合成部14へ出力する。
Then, in addition to the switched word pronunciation, prosodic information such as accent and intonation is added to generate speech synthesis information, and the word pronunciation is output to the speech synthesis section 14.

音声合成部14では、テキスト解析部12からの単語読
み表記に基づき、音声辞書15に格納されている音声パ
ラメータを組合わせて音声を生成し、音声出力端子16
から外部へ出力する。
The speech synthesis section 14 generates speech by combining the speech parameters stored in the speech dictionary 15 based on the word pronunciation from the text analysis section 12, and outputs the speech to the speech output terminal 16.
output to the outside.

なお、略語合成回数カウンタ19は、例えば上位制御装
置から略語合成回数カウンタクリア命令を受けた時等に
クリアする。
Note that the abbreviation synthesis frequency counter 19 is cleared, for example, when receiving an abbreviation synthesis frequency counter clear command from a higher-level control device.

この第3の実施例では、略語の出現回数か、略語合成回
数カウンタ19で予め設定さhた略語変換回数以下てあ
れば、例えばその略語の正式名称、あるいは解説付き正
式名称を音声出力する。略語変換回数以上となれば、聴
き手の理解レベルが向上しているので、冗長的な音声出
力を避けるため、略語/正式名称変換処理を行わす、そ
の略語をそのまま読み上げる。これにより、使い勝手が
向上する。
In this third embodiment, if the number of occurrences of the abbreviation is less than or equal to the number of abbreviation conversions set in advance by the abbreviation synthesis counter 19, the official name of the abbreviation or the official name with explanation is outputted as voice, for example. If the number of abbreviation conversions is exceeded, the listener's understanding level has improved, so to avoid redundant audio output, abbreviation/formal name conversion processing is performed and the abbreviation is read out as is. This improves usability.

なお、本発明は図示の実施例に限定されず、種々の変形
が可能である。
Note that the present invention is not limited to the illustrated embodiment, and various modifications are possible.

例えば、図示の回路ブロックを、個別回路で構成する以
外に、コンピュータのプログラム制御等′により実行す
る回路構成にしても良い。さらに、上記実施例の回路図
において、テキスト文字列入力端子11側に、キーボー
ド等の入力装置を設ける等、他の回路を付加しても良い
。
For example, instead of configuring the illustrated circuit blocks as individual circuits, they may be configured as a circuit that is executed under program control of a computer. Furthermore, in the circuit diagram of the above embodiment, other circuits may be added, such as providing an input device such as a keyboard on the text character string input terminal 11 side.

(発明の効果) 以上詳細に説明したように、第1の発明によれば、略語
判定手段、略語変換部、読み表記切換手段を設けなので
、入力テキスト文字列中に略語が含まれている時には、
それが略語判定手段で判定され、その判定結果に基づき
、略語変換部で正式名称または解説付き正式名称への変
換処理か行われる。この変換処理結果に基づき、読み表
記切換手段は、略語に対する正式名称または解説付き正
式名称の読み表記を切換えて出力し、その出力に基づき
、音声合成部が正式名称または解説付き正式名称の読み
上げを行う。そのため、テキストを変更することなく、
真に聴き手の理解レベルを考慮した合成出力を極めて容
易に得ることができる。
(Effects of the Invention) As described above in detail, according to the first invention, since the abbreviation determination means, the abbreviation conversion section, and the reading notation switching means are provided, when an abbreviation is included in the input text string, ,
It is determined by the abbreviation determination means, and based on the determination result, the abbreviation conversion section performs conversion processing into the official name or the official name with explanation. Based on the conversion processing result, the pronunciation switching means switches and outputs the pronunciation of the official name or official name with explanation for the abbreviation, and based on the output, the speech synthesis unit reads out the official name or official name with explanation. conduct. Therefore, without changing the text,
A synthesized output that truly takes into account the listener's level of understanding can be obtained extremely easily.

第2の発明では、略語置換単語リストを設けたので、例
えば使用者が予め略語置換を許す単語を予め設定してお
けば、その略語置換単語リストに列挙された略語のみに
対して、その正式名称または解説付き正式名称の読み上
げ処理か行われる。
In the second invention, since an abbreviation substitution word list is provided, for example, if the user presets the words that allow abbreviation substitution in advance, only the abbreviations listed in the abbreviation substitution word list will be replaced with their formal names. The name or official name with explanation is read out.

これにより、聴き手は自己の理解レベルに基づき略語変
換を選択できるので、装置に対する使い助手が向上する
。
This allows the listener to select an abbreviation conversion based on his or her own level of understanding, thereby improving the user experience of the device.

第3の発明では、略語合成回数カウンタを設けたので、
略語の出現回数が、例えばその略語合成回数カウンタで
設定された回数以下の時には、略語/正式名称変換処理
か行われ、設定回数を越えると、変換処理を行わすに、
略語をそのままの形で読み上げる。これにより、略語を
正式名称または解説付き正式名称へ常に変換する処理に
対する冗長的な音声出力を、簡潔な音声出力にすること
ができ、聴き手の理解レベルを考慮した的確な音声出力
が可能となる。
In the third invention, since an abbreviation synthesis frequency counter is provided,
When the number of occurrences of an abbreviation is, for example, less than or equal to the number set in the abbreviation composition counter, the abbreviation/formal name conversion process is performed, and when the number of occurrences exceeds the set number, the conversion process is performed.
Read out the abbreviations in their literal form. As a result, the process of constantly converting abbreviations into official names or official names with explanations, which would otherwise be redundant, can be replaced with concise audio output, making it possible to provide accurate audio output that takes into account the listener's level of understanding. Become.

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

第1図は本発明の第1の実施例を示す規則合成装置の機
能ブロック図、第2図は従来の規則合成装置の機能ブロ
ック図、第3図は第1図の単語辞甫の内容を示す図、第
4図及び第5図は本発明の第2及び第3の実施例を示す
規則合成装置の機能フロック図である。 1.2・・・・・・テキスト解析部、12a・・・・・
・略語判定手段、12b・・・・・・読み表記切換手段
、13・・・・・・単語辞書、13a・・・・・・略語
フラグ、13b・・・・・・正式%式% 辞書、15a・・・・・・音声パラメータ、17,17
1.17−2・・・・・・略語変換部、17a・・・・
・・略語変換モート、17a  ・・・・・・無変換モ
ード、17a2・・・・・・正式名変換モード、17b
・・・・・・条件変換モード、17c・・・・・・出現
回数制限変換モード、18・・・略語置換単語リスト、
19・・・・・・略語合成回数カウンタ。
FIG. 1 is a functional block diagram of a rule synthesis device showing a first embodiment of the present invention, FIG. 2 is a functional block diagram of a conventional rule synthesis device, and FIG. 3 shows the contents of the word dictionary in FIG. 1. FIGS. 4 and 5 are functional block diagrams of rule synthesis apparatuses showing second and third embodiments of the present invention. 1.2...Text analysis section, 12a...
- Abbreviation determination means, 12b... Pronunciation switching means, 13... Word dictionary, 13a... Abbreviation flag, 13b... Official % expression % dictionary, 15a...Audio parameters, 17, 17
1.17-2... Abbreviation conversion section, 17a...
... Abbreviation conversion mode, 17a ... No conversion mode, 17a2 ... Official name conversion mode, 17b
...Conditional conversion mode, 17c... Number of appearance limit conversion mode, 18... Abbreviation replacement word list,
19... Abbreviation composition number counter.

Claims (1)

【特許請求の範囲】 1、テキスト文字列を解析し、そのテキスト文字列の単
語を単語辞書の内容と照合し該単語を識別して単語読み
表記を出力するテキスト解析部と、前記単語読み表記に
基づき前記テキスト文字列に対応する音声を合成する音
声合成部とを、備えた規則合成装置において、 ある単語が略語であることを示す略語フラグ、及びその
単語の正式名称を示す正式名単語番号を前記単語辞書に
格納し、 前記略語フラグを参照して前記識別された単語が略語か
否かを判定する略語判定手段と、 略語変換モードに従い、前記略語判定手段の判定結果に
基づき前記正式名単語番号を参照して略語に対する正式
名称または解説付き正式名称への変換処理を行う略語変
換部と、 前記略語変換部の処理結果に応じた単語読み表記を前記
テキスト解析部から出力させる読み表記切換手段とを、 設けたことを特徴とする規則合成装置。 2、請求項1記載の規則合成装置において、前記略語変
換部の変換処理を制御するための単語番号を列挙した設
定可能な略語置換単語リストを、 設けたことを特徴とする規則合成装置。 3、請求項1記載の規則合成装置において、前記略語判
定手段の判定結果に基づき前記略語の出現回数を記憶し
、その出現回数に応じて前記略語変換部の変換処理を規
制する略語合成回数カウンタを、 設けたことを特徴とする規則合成装置。
[Scope of Claims] 1. A text analysis unit that analyzes a text string, compares the words of the text string with the contents of a word dictionary, identifies the word, and outputs a word pronunciation; and the word pronunciation. an abbreviation flag indicating that a certain word is an abbreviation, and a formal name word number indicating the formal name of the word; an abbreviation determining means for storing the identified word in the word dictionary and determining whether or not the identified word is an abbreviation by referring to the abbreviation flag; an abbreviation converting unit that converts an abbreviation into a formal name or a formal name with an explanation by referring to a word number; and a reading notation switching unit that causes the text analysis unit to output a word pronunciation according to the processing result of the abbreviation converting unit. A rule synthesis device characterized by comprising: means. 2. The rule synthesis device according to claim 1, further comprising a settable abbreviation replacement word list listing word numbers for controlling the conversion process of the abbreviation conversion section. 3. In the rule synthesis device according to claim 1, an abbreviation synthesis frequency counter stores the number of occurrences of the abbreviation based on the determination result of the abbreviation determination means and regulates the conversion process of the abbreviation conversion unit according to the number of occurrences. A rule synthesis device characterized by having the following.
JP2106872A 1990-04-23 1990-04-23 Rule synthesizing device Pending JPH045695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2106872A JPH045695A (en) 1990-04-23 1990-04-23 Rule synthesizing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2106872A JPH045695A (en) 1990-04-23 1990-04-23 Rule synthesizing device

Publications (1)

Publication Number Publication Date
JPH045695A true JPH045695A (en) 1992-01-09

Family

ID=14444630

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2106872A Pending JPH045695A (en) 1990-04-23 1990-04-23 Rule synthesizing device

Country Status (1)

Country Link
JP (1) JPH045695A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08272392A (en) * 1995-03-30 1996-10-18 Sanyo Electric Co Ltd Audio output device
JPH10254470A (en) * 1997-03-13 1998-09-25 Fujitsu Ten Ltd Text-to-speech synthesizer
EP1059831A4 (en) * 1998-12-01 2004-08-18 Matsushita Electric Industrial Co Ltd SPEAKER DEVICE
JP2012073519A (en) * 2010-09-29 2012-04-12 Toshiba Corp Reading-aloud support apparatus, method, and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08272392A (en) * 1995-03-30 1996-10-18 Sanyo Electric Co Ltd Audio output device
JPH10254470A (en) * 1997-03-13 1998-09-25 Fujitsu Ten Ltd Text-to-speech synthesizer
EP1059831A4 (en) * 1998-12-01 2004-08-18 Matsushita Electric Industrial Co Ltd SPEAKER DEVICE
JP2012073519A (en) * 2010-09-29 2012-04-12 Toshiba Corp Reading-aloud support apparatus, method, and program

Similar Documents

Publication Publication Date Title
JP3083640B2 (en) Voice synthesis method and apparatus
US4685135A (en) Text-to-speech synthesis system
US20090094031A1 (en) Method, Apparatus and Computer Program Product for Providing Text Independent Voice Conversion
JP3673471B2 (en) Text-to-speech synthesizer and program recording medium
JP5320363B2 (en) Speech editing method, apparatus, and speech synthesis method
US8170876B2 (en) Speech processing apparatus and program
US20090281808A1 (en) Voice data creation system, program, semiconductor integrated circuit device, and method for producing semiconductor integrated circuit device
JP6003115B2 (en) Singing sequence data editing apparatus and singing sequence data editing method
JPH05260082A (en) Text reader
JPH045694A (en) Rule synthesizing device
JPH08335096A (en) Text-to-speech synthesizer
JPH0419799A (en) Voice synthesizing device
JP2007086309A (en) Speech synthesis apparatus, speech synthesis method, and speech synthesis program
JP2596416B2 (en) Sentence-to-speech converter
JP3060276B2 (en) Speech synthesizer
JPS5972494A (en) Rule snthesization system
JPH11249679A (en) Speech synthesizer
JPH0764583A (en) Text reading method and device
JP2010169889A (en) Voice synthesis device and program
JPH08248993A (en) Phonological time length control method
JPH07244496A (en) Text reading device
JP2003066983A (en) Speech synthesis apparatus, speech synthesis method, and program recording medium
JPH05224688A (en) Text speech synthesizing device
JP2703253B2 (en) Speech synthesizer
JPH09230893A (en) Regular speech synthesis method and speech synthesis apparatus