JPH045694A - Rule synthesizing device - Google Patents

Rule synthesizing device

Info

Publication number
JPH045694A
JPH045694A JP2106871A JP10687190A JPH045694A JP H045694 A JPH045694 A JP H045694A JP 2106871 A JP2106871 A JP 2106871A JP 10687190 A JP10687190 A JP 10687190A JP H045694 A JPH045694 A JP H045694A
Authority
JP
Japan
Prior art keywords
abbreviation
word
name
conversion
text
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
JP2106871A
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 JP2106871A priority Critical patent/JPH045694A/en
Publication of JPH045694A publication Critical patent/JPH045694A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain the voice output which can be understood easily by referring to an abbreviation word number, and converting it to an abbreviation name to a formal name, based on a result of decision of a 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 work dictionary 13. Subsequently, the character-string is divided into phrases and words, and reading of the divided word is determined. In such a state, when '1' is set in a formal name flag 13a of the dictionary 13, reading of a certain abbreviation name exists in its word, therefore, a deciding means 12a of the analyzing part 12 decides that there is reading of an abbreviation. These words decided to have reading of an abbreviation are all sent to an abbreviation converting part 17, and based on an abbreviation conversion mode 17a determined in advance, an abbreviation conversion processing is executed. As a result, since a long formal name is replaced with an abbreviation name and outputted in a voice, a voice output for taking a hearer's understanding level into consideration can be 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へ送られる。
In this type of rule synthesis device, a text string such as a long formal name is input from a text string input terminal 1 and sent to a text analysis section 2.

テキスト解析部2では、入力テキスト文字列を、単語辞
書3に格納されている単語と照合し、その入力テキスト
文字列を句や単語に分割し、その分割された単語の読み
を決定すると共に、その単語の読みに、アクセントや抑
揚等の韻律情報を付加し、音声合成部4へ出力する。音
声合成部4では、テキスト解析部2から出力される音韻
情報(単語の読み)及び韻律情報に基づき、それらを音
声辞書5に格納されている音声パラメータを組合わせて
音声を合成し、音声出力端子6から外部へ出力する。
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. The speech synthesis section 4 synthesizes speech based on the phonetic information (word pronunciation) and prosody information output from the text analysis section 2 and combines them with the speech parameters stored in the speech dictionary 5, and outputs the speech. Output from terminal 6 to the outside.

(発明が解決しようとする課題) しかしながら、上記構成の規則合成装置では、長い正式
名称等の入力テキスト文字列を、単純に音声に変換する
だけであり、聴き手の理解レベルに対処する場合には、
発声速度を早くしたり、遅くしたりする程度の制御しか
実現できなかった。
(Problem to be Solved by the Invention) However, the rule synthesis device with the above configuration simply converts input text strings such as long formal names into speech, and it is difficult to deal with the level of understanding of the listener. teeth,
The only control that could be achieved was speeding up or slowing down the rate of speech.

そのため、聴き手の理解レベルを考慮した音声出力を得
るなめには、聴き手の理解レベルを考慮して、日本語テ
キストそのものを書き直す、つまり書き手利の十分な配
慮が必要となり、技術的に十分満足のいくものが得られ
なかった。
Therefore, in order to obtain audio output that takes the listener's understanding level into consideration, it is necessary to rewrite the Japanese text itself, taking the listener's understanding level into account.In other words, it is necessary to take sufficient consideration of the writer's hand, and it is necessary to I couldn't get anything satisfactory.

本発明は前記従来技術が持っていた課題として、長い正
式名称等に対して聴き手の理解レベルを考慮した音声出
力を得ることが困難な点について解決した規則合成装置
を提供するものである。
The present invention provides a rule synthesis device that solves the problem of the prior art, which is that it is difficult to obtain a speech output that takes into account the listener's understanding level for long formal names and the like.

(課題を解決するための手段) 前記課題を解決するために、第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,
The following measures were taken in the rule synthesis device equipped with the system.

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

第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 appearances of the formal name having an abbreviated name is stored based on the determination result of the determination means, and the conversion process of the abbreviation conversion unit is controlled according to the number of appearances. A counter for the number of formal name compositions is provided.

(作用) 第1の発明によれば、以上のように規則合成装置を構成
しなので、テキスト文字列がテキスト解折部に入力され
ると、テキスト解析部は、入力テキスト文字列を解析し
てその入力テキスト文字列中の単語を単語辞書の内容と
照合し、その単語を識別(同定)する。この単語辞書と
の照合時において、判定手段は、単語辞書内の正式名フ
ラグを参照して識別された単語に略語名が存在するか否
かを判定する。略語名が存在する場合、略語変換部は、
略語変換モードに従い、単語辞書内の略語単語番号を参
照して例えば長い正式名称に対する略語名、あるいは解
説付き略語名(例えば、正式名称、適切な接続詞、及び
略語名の組合わせ〉への変換処理を行う。
(Operation) According to the first invention, since the rule synthesis device is configured as described above, when a text string is input to the text analysis section, the text analysis section analyzes the input text string. The words in the input text string are checked against the contents of a word dictionary to identify the words. During the comparison with the word dictionary, the determining means refers to the formal name flag in the word dictionary and determines whether or not the identified word has an abbreviation name. If an abbreviation name exists, the abbreviation converter will:
According to the abbreviation conversion mode, convert the abbreviation name to a long formal name or an abbreviation name with an explanation (for example, a combination of the formal name, appropriate conjunction, and abbreviation name) by referring to the abbreviation word number in the word dictionary. I do.

すると、切換手段では、略語変換部の処理結果に基づき
、正式名称を略語名または解説付き略語名に切換えてそ
れに対する単語読み表記を音声合成部へ出力する。音声
合成部では、正式名称に対する略語名または解説付き略
語名を音声合成して出力する。このように、例えば長い
正式名称を適宜、略語名または解説付き略語名に置換え
て音声出力するので、テキストを変更することなく、聴
き手の理解レベルを考慮した音声出力が行われる。
Then, the switching means switches the formal name to an abbreviation name or an abbreviation name with an explanation based on the processing result of the abbreviation conversion section, and outputs the word pronunciation for the formal name to the speech synthesis section. The speech synthesis section synthesizes and outputs an abbreviated name or an abbreviated name with an explanation for the official name. In this way, for example, a long formal name is appropriately replaced with an abbreviated name or an abbreviated name with an explanation and outputted, so that the audio output is performed in consideration of the listener's understanding level without changing the text.

第2の発明によれば、例えば使用者が略語置換を許す単
語番号を略語置換単語リストに設定しておけば、判定手
段によって略語名が存在すると判定された単語に対し、
略語変換部はその単語が略語置換単語リストに設定され
ている場合のみ、略語単語番号を参照して略語名または
解説付き略語名への変換処理を行う。これにより、使用
者が略語置換単語リストで任意に設定した単語のみが、
正式名称から略語名または解説付き略語名への変換が行
われるので、聴き手の理解レベルに対する柔軟な対応が
より容易に行える。
According to the second invention, for example, if the user sets a word number that allows abbreviation substitution in the abbreviation substitution word list, for a word for which the determination means has determined that an abbreviation name exists,
The abbreviation conversion unit performs conversion processing into an abbreviation name or an abbreviation name with explanation by referring to the abbreviation word number only when the word is set in the abbreviation replacement word list. As a result, only the words arbitrarily set by the user in the abbreviation replacement word list are
Since formal names are converted to abbreviated names or abbreviated names with explanations, it is easier to respond flexibly to the understanding level of the listener.

第3の発明によれば、単語辞書との照合時において、判
定手段により略語名が存在すると判定された単語につい
ては、正式名合成回数カウンタで予め設定された略語名
の出現回数に応じて、略語変換部の変換処理を制御する
。例えば、略語名の出現回数が正式名合成回数カウンタ
で設定された設定数よりも少ない時には、略語変換部は
、正式名称に対する略語名または解説付き略語名への変
換処理を行う。これに対して、略語名の出現回数が設定
回数以上になると、略語変換部は、正式名称に対する略
語名の変換処理のみを行い、正式名称を全てその略語名
で音声出力させるように働く。
According to the third invention, for words for which the determining means determines that an abbreviated name exists during the comparison with the word dictionary, the word is Controls the conversion process of the abbreviation conversion unit. For example, when the number of occurrences of an abbreviation name is less than the number set in the formal name synthesis frequency counter, the abbreviation conversion unit performs a process of converting the formal name into an abbreviation name or an abbreviation name with explanation. On the other hand, when the number of occurrences of an abbreviation name exceeds the set number of times, the abbreviation converter only converts the abbreviation name to the official name, and works to output the abbreviation name as all the official names.

これにより、冗長的になりがちな音声出力の簡潔化が図
れる。
This makes it possible to simplify the audio output, which tends to be redundant.

従って、前記課題を解決できるのである。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.

この規則合成装置は、テキスト文字列入力端子11を有
し、その入力端子11にはテキスト解析部12が接続さ
れている。テキスト解析部12には、単語辞書13及び
音声合成部14が接続され、さらにその音声合成部14
に音声辞書15及び音声出力端子16が接続されている
。また、テキスト解析部12及び単語辞書13には、略
語変換部17が接続されている。
This rule synthesis device has a text character string input terminal 11, and a text analysis section 12 is connected to the input terminal 11. A word dictionary 13 and a speech synthesis section 14 are connected to the text analysis section 12, and the speech synthesis section 14
A voice dictionary 15 and a voice output terminal 16 are connected to the voice dictionary 15 and the voice output terminal 16. Further, an abbreviation conversion unit 17 is connected to the text analysis unit 12 and the word dictionary 13.

テキスト解析部12は、入力テキスト文字列を解析し、
その入力テキスト文字列の単語を単語辞書13の内容と
照合し、該単語を識別して単語読み表記を出力する機能
を有している。さらに、このテキスト解析部12は、単
語辞書13を参照して識別された単語に略語名が存在す
るか否かを判定する判定手段12aと、略語変換部17
の処理結果に応じた単語読み表記を切換えて出力する切
換手段12bとを、有している。
The text analysis unit 12 analyzes the input text string,
It has a function of comparing the words of the input text string with the contents of the word dictionary 13, identifying the words, and outputting the word pronunciation. Furthermore, this text analysis section 12 includes a determination means 12a that determines whether or not an abbreviation name exists in the identified word with reference to the word dictionary 13, and an abbreviation conversion section 17.
It has a switching means 12b for switching and outputting the word pronunciation according to the processing result.

単語辞書13は、通常用いられる単語の読み表記やアク
セント型等の情報に加えて、正式名フラグ13a及び略
語単語番号13bを格納している。
The word dictionary 13 stores a formal name flag 13a and an abbreviation word number 13b in addition to information such as the pronunciation and accent type of commonly used words.

音声合成部14は、テキスト解析部12からの単語読み
表記を入力し、音声パラメータ15aを格納した音声辞
書15の内容を参照して、入力テキスト文字列に対応す
る音声を合成する機能を有している。
The speech synthesis section 14 has a function of inputting the word pronunciation from the text analysis section 12 and synthesizing speech corresponding to the input text character string by referring to the contents of the speech dictionary 15 that stores the speech parameters 15a. ing.

略語変換部17は、予め定められた無変換モード17a
1及び略語変換モード17a2からなる略語変換モード
17aに従い、テキスト解析部12内の判定手段12a
の判定結果に基づき、略語単語番号13bを参照して略
語変換処理を行う機能を有している。
The abbreviation conversion unit 17 selects a predetermined non-conversion mode 17a.
1 and the abbreviation conversion mode 17a2, the determination means 12a in the text analysis unit 12
It has a function of performing abbreviation conversion processing by referring to the abbreviation word number 13b based on the determination result.

以上のように構成される規則合成装置の動作を、第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が格納された構成になっている。正式名フラ
グ13aとは、その単語に何等かの略語基の読みが存在
するサインである。
The word dictionary 13 stores information such as normally used pronunciation, accent type, etc., as well as formal name flags 13a and abbreviated word numbers 13b. The official name flag 13a is a sign that the word has some abbreviation base pronunciation.

略語単語番号13bとは、その単語の正式名称、もしく
は読み変えられるべき単語の番号を与えたものである。
The abbreviated word number 13b is the official name of the word or the number of the word to be repronounced.

例えば、単語番号1の単語「特許」の読みは「トツキョ
」であり、この単語の正式名フラグ13aは“0パ、即
ちこの表記「特許Jには略語基(略称)が存在しないこ
とが示されている。単語番号4の単語「デオキシリボ核
酸」の読みは「デオキシリボカフサンJ、その略語単語
番号は2であるから、単語rDNA」がその略語基であ
る。
For example, the pronunciation of the word "patent" with word number 1 is "Totsukyo", and the formal name flag 13a of this word is "0pa", that is, the notation "Patent J has no abbreviation base (abbreviation). The word "deoxyribonucleic acid" with word number 4 is pronounced "deoxyribocafusan J, and its abbreviation word number is 2, so the word rDNA" is its abbreviation group.

同様に、単語5の「インフレーション」の略語基が「イ
ンフレ」であることが分かる。
Similarly, it can be seen that the abbreviation base of word 5 "inflation" is "inflation".

第1図において、テキスト文字列入力端子11から入力
されたテキスト文字列は、テキスト解析部12に送られ
る。テキスト解析部12では、単語辞書13に格納され
た単語との照合を行い、入力テキスト文字列を句や単語
に分割し、その分割された単語の読みを決定する。
In FIG. 1, a text string input from a text string input terminal 11 is sent to a text analysis section 12. As shown in FIG. The text analysis unit 12 compares the words with words stored in the word dictionary 13, divides the input text string into phrases and words, and determines the pronunciation of the divided words.

テキスト解析部12での照合の結果、例えば単語「デオ
キシリボ核酸」が識別された場合を考える。
Let us consider a case where, for example, the word "deoxyribonucleic acid" is identified as a result of the comparison in the text analysis unit 12.

第3図に示す単語「デオキシリポ核酸コには正式名フラ
グ13aに“1″が立っているので、テキスト解析部1
2内の判定手段12aでは、その単語に略語読みが存在
することを判定できる。判定手段12aで略語読みが存
在すると判定された単語は、全て略語変換部17へ送ら
れる。
Since "1" is set in the formal name flag 13a for the word "deoxyliponucleic acid" shown in FIG. 3, the text analysis unit 1
The determining means 12a in 2 can determine that the word has an abbreviated pronunciation. All words determined by the determination means 12a to have an abbreviation reading are sent to the abbreviation conversion unit 17.

略語変換部17では、予め定められた略語変換モード1
7aに基づき、略語変換処理を行う。例えば、予め定め
られた略語変換モード17aが無変換モード17a1で
あれば、そのまま発生させるために略語変換部17が略
語変換処理を行わない。従って、単語「デオキシリボ核
酸」の略語変換結果は、元のまま単語番号4となる。こ
れに対し、略語変換モード17aが、略語基に変換する
略語変換モード17a2であれば、略語変換部17aは
、単語「デオキシリボ核酸」の略語変換結果として、そ
の略語基の単語番号2 (’DNAJ >に変換し、そ
の変換した単語番号2をテキスト解析部12内の切換手
段12bへ送る。
The abbreviation conversion section 17 selects a predetermined abbreviation conversion mode 1.
7a, abbreviation conversion processing is performed. For example, if the predetermined abbreviation conversion mode 17a is the no-conversion mode 17a1, the abbreviation conversion unit 17 does not perform abbreviation conversion processing to generate the abbreviation as is. Therefore, the abbreviation conversion result for the word "deoxyribonucleic acid" remains as word number 4. On the other hand, if the abbreviation conversion mode 17a is the abbreviation conversion mode 17a2 that converts the word "deoxyribonucleic acid" into an abbreviation group, the abbreviation conversion unit 17a converts the word "deoxyribonucleic acid" into the word number 2 of the abbreviation group ('DNAJ > and sends the converted word number 2 to the switching means 12b in the text analysis section 12.

このような正式名/略語基の変換処理を、次のような手
法に置換えても良い。例えば、略語変換部17は、単語
番号4の単語「デオキシリボ核酸」を、単語番号4の「
デオキシリポ核酸コと単語番号6の「即ち」と単語番号
2のrDNAJとの3単語に置換える。つまり、略語変
換部17は、単語番号4を単語番号4.6.2に置換え
る処理を行い、その処理結果をテキスト解析部12内の
切換手段12bへ送る。
Such formal name/abbreviation base conversion processing may be replaced with the following method. For example, the abbreviation conversion unit 17 converts the word number 4 “deoxyribonucleic acid” into the word number 4 “deoxyribonucleic acid”.
Replace it with three words: deoxyliponucleic acid, word number 6 "that is," and word number 2 rDNAJ. In other words, the abbreviation conversion section 17 performs a process of replacing word number 4 with word number 4.6.2, and sends the processing result to the switching means 12b in the text analysis section 12.

テキスト解析部12では、判定手段12aによって正式
名フラグ13aが立っていると判断したならば、切換手
段12bによって略語変換部17からの返された単語番
号あるいは単語番号列を切換える。これに対し、正式名
フラグ13aが立っていなけ九ば、該テキスト解析部1
2の識別結果の単語番号に基づき、その単語の読みに加
え、アクセントや抑揚等の韻律情報を付加して単語読み
表記、つまり音声合成情報を生成し、音声合成部14へ
出力する。
In the text analysis unit 12, if the determination unit 12a determines that the official name flag 13a is set, the switching unit 12b switches the word number or word number string returned from the abbreviation conversion unit 17. On the other hand, if the official name flag 13a is not set, the text analysis unit 1
Based on the word number of the identification result in step 2, in addition to the pronunciation of the word, prosodic information such as accent and intonation is added to generate word pronunciation, that is, speech synthesis information, and output to the speech synthesis section 14.

音声合成部14では、テキスト解析部12がらの音声合
成情報を入力し、それを音声辞書15に格納された音声
パラメータ15aと組合わせて音声を生成し、音声出力
端子16がら外部へ出力する。
The speech synthesis section 14 receives the speech synthesis information from the text analysis section 12, combines it with the speech parameters 15a stored in the speech dictionary 15, generates speech, and outputs it to the outside through the speech output terminal 16.

この第1の実施例では、例えば長い正式名称が適宜、略
語基あるいは解説付き略語基に置換えて音声出力される
ので、日本語テキスト等を変更することなく、真に聴き
手の理解レベルを考慮した音声出力を極めて容易に得る
ことができる。
In this first embodiment, for example, a long formal name is appropriately replaced with an abbreviation base or an abbreviation base with explanation and output, so the understanding level of the listener is truly taken into consideration without changing the Japanese text etc. It is extremely easy to obtain a voice output that is

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

この実施例が第1の実施例と異なる点は、使用者が予め
設定可能な略語置換を許す略語置換単語りスト18を設
けると共に、その略語置換単語りスト18の内容によっ
て略語変換部17−1の変換処理を制御する構成にした
ことである。
This embodiment differs from the first embodiment in that an abbreviation replacement word list 18 is provided that allows abbreviation replacement that can be set in advance by the user, and an abbreviation conversion unit 17- This is because the configuration is configured to control the conversion process in step 1.

この実施例の略語変換部17−1は、無変換モード17
a1及び略語変換モード17a2という2つの略語変換
モード17aに加えて、第3のモードである条件変換モ
ード17bを選択できる機能を有している。この条件変
換モード17bでは、次のような動作が実行される。
The abbreviation conversion unit 17-1 of this embodiment operates in a non-conversion mode 17.
In addition to the two abbreviation conversion modes 17a, a1 and abbreviation conversion mode 17a2, the third mode, conditional conversion mode 17b, can be selected. In this condition conversion mode 17b, the following operations are performed.

テキスト解析部12での照合の結果、第3図に示す、例
えば単語「デオキシリボ核酸」が識別され、判定手段1
2aの判定結果に基づき、略語変換部17に変換依願が
発生した場合を考える。
As a result of the comparison in the text analysis section 12, the word "deoxyribonucleic acid" shown in FIG. 3, for example, is identified, and the determination means 1
Consider a case where a conversion request is made to the abbreviation conversion unit 17 based on the determination result of step 2a.

略語変換部17では、単語「デオキシリボ核酸」の単語
番号4と、予め使用者が設定した略語置換単語りスト1
8の内容とを比較し、同一単語番号が存在した場合には
、略語変換(「デオキシリボ核酸J−’DNA」)の処
理を行い、単語番号2をテキスト解析部12の切換手段
12bへ返す。
The abbreviation conversion unit 17 converts the word number 4 of the word "deoxyribonucleic acid" and the abbreviation replacement word list 1 set by the user in advance.
8 and if the same word number exists, abbreviation conversion ("deoxyribonucleic acid J-'DNA") is performed and word number 2 is returned to the switching means 12b of the text analysis section 12.

これに対して、略語置換単語りスト18内に同一単語番
号が存在しなかった場合、略語変換部17は無変換、即
ち元の単語番号4を切換手段12bへ返す。切換手段1
2bでは、略語変換部17からの単語番号に基づき、単
語読み表記を切換えて出力するため、使用者が定めた単
語だけを略語読みに置換えることができ、使い勝手が向
上する。
On the other hand, if the same word number does not exist in the abbreviation replacement word list 18, the abbreviation conversion section 17 does not perform any conversion, that is, returns the original word number 4 to the switching means 12b. Switching means 1
In 2b, the word pronunciation is switched and output based on the word number from the abbreviation converter 17, so only the words determined by the user can be replaced with the abbreviation pronunciation, improving usability.

その他については、前記第1の実施例とほぼ同様の作用
、効果を有する。
In other respects, the second embodiment has substantially the same functions and effects as the first embodiment.

第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を設けると共に、その正式名合成回数カウンタ1
9の出力によって略語変換$17−2の変換処理を制御
可能な構成にしたことである。
This embodiment differs from the first embodiment in that a formal name composition frequency counter 19 is provided to store the number of occurrences of words with abbreviated pronunciations, and the formal name composition frequency counter 19 is provided.
The present invention has a configuration in which the conversion process of abbreviation conversion $17-2 can be controlled by the output of 9.

この実施例の略語変換部17−2は、第1の実施例の略
語変換モード17aに加えて、第3のモードである出現
回数制限変換モード17cを選択できる。
In addition to the abbreviation conversion mode 17a of the first embodiment, the abbreviation conversion unit 17-2 of this embodiment can select a third mode, that is, a frequency-limited conversion mode 17c.

この出現回数制限変換モード17cでは、次のような動
作が実行される。
In this appearance count limit conversion mode 17c, the following operations are performed.

テキスト解析部12での照合の結果、第3図に示す、例
えば単語「デオキシリボ核酸」が識別された場合を考え
る。
Consider a case where, for example, the word "deoxyribonucleic acid" shown in FIG. 3 is identified as a result of the comparison in the text analysis unit 12.

単語「デオキシリボ核酸」には正式名フラグ13aに“
1”が立っているので、テキスト解析部12内の判定手
段12aではその単語に略語読みが存在することを判定
できる。判定手段12aで略語読みが存在すると判定さ
れた単語は、全て略語変換部17−2へ送られる。
The word “deoxyribonucleic acid” has a formal name flag 13a “
1", the determination means 12a in the text analysis unit 12 can determine that the word has an abbreviation reading. All words for which the determination means 12a has determined that the abbreviation reading exists are passed to the abbreviation conversion unit. Sent to 17-2.

略語変換部17−2では、テキスト解析部12内の判定
手段12aから送られた単語番号と、正式名合成回数カ
ウンタ19内のメモリの内容とを比較する。その比較の
結果、一致する単語番号がない場合は、新たにその正式
名合成回数カウンタ19内のメモリにセットされると共
に、その正式名合成回数カウンタ19を1にセットする
。一致する単語番号がある場合には、正式名合成回数力
ウタ19の値を+1だけ加算する。次に、略語変換部1
7−2では、予め定められた略語変換モード17aに基
づき、略語変換処理を行う。例えば、予め定められた略
語変換モード17aが無変換モード17a1であれば、
そのまま発声させるために、単語「デオキシリボ核酸J
の略語変換結果は、元のまま単語番号4となる。
The abbreviation converter 17-2 compares the word number sent from the determining means 12a in the text analyzer 12 with the contents of the memory in the formal name composition counter 19. As a result of the comparison, if there is no matching word number, the formal name composition number counter 19 is newly set in the memory, and the formal name composition number counter 19 is set to 1. If there is a matching word number, add 1 to the value of the official name synthesis count 19. Next, abbreviation conversion section 1
In step 7-2, abbreviation conversion processing is performed based on a predetermined abbreviation conversion mode 17a. For example, if the predetermined abbreviation conversion mode 17a is the non-conversion mode 17a1,
In order to have the word ``deoxyribonucleic acid J'' uttered as it is,
The abbreviation conversion result remains word number 4.

また、略語変換モード17aが、略語に変換する略語変
換モード17a2では、次のいずれかの処理が行われる
。
In addition, in the abbreviation conversion mode 17a2 in which the abbreviation conversion mode 17a converts an abbreviation into an abbreviation, one of the following processes is performed.

略語変換モード17a2において、その時点までの略語
名の合成回数(=正式名合成回数カウンタ19の値)が
、予め設定された略語変換回数以下であれば、その単語
を、解説付き略語名(例えば、正式名称と適切な接続詞
とその単語の略語名との組合わせ)に変換する処理を行
う。つまり、略語変換部17−2では、単語番号4の「
デオキシリボ核酸」を、単語番号4の「デオキシリボ核
酸」と単語番号6の「即ちJと単語番号2の「DN A
 Jとの3単語に置換える。従って、略語変換部17−
2では、単語番号4を、単語番号4.6.2の単語番号
列に置換える処理を行い、その処理結果をテキスト解析
部12内の切換手段12bへ送る。
In the abbreviation conversion mode 17a2, if the number of times the abbreviation name has been combined up to that point (=value of the formal name combination count counter 19) is less than or equal to the preset number of abbreviation conversions, the word is converted into an abbreviation name with an explanation (e.g. , a combination of the formal name, an appropriate conjunction, and the abbreviated name of the word). In other words, the abbreviation conversion unit 17-2 converts word number 4 "
``deoxyribonucleic acid'' in word number 4, ``deoxyribonucleic acid'' in word number 4, ``J'' in word number 6, and ``DNA in word number 2''.
Replace with 3 words J. Therefore, the abbreviation conversion unit 17-
2, the word number 4 is replaced with the word number string of word number 4.6.2, and the processing result is sent to the switching means 12b in the text analysis section 12.

これに対して、正式名合成回数カウンタ19の値が、予
め設定された略語変換回数よりも大きければ、略語変換
部17−2により、単語「デオキシリボ核酸Jは全てそ
の略語名の単語rDNAJ(単語番号2)に変換され、
その変換結果が切換手段12bへ送られる。
On the other hand, if the value of the formal name synthesis number counter 19 is larger than the preset number of abbreviation conversions, the abbreviation conversion unit 17-2 converts the word ``Deoxyribonucleic acid J'' into the word rDNAJ (word Number 2) is converted to
The conversion result is sent to the switching means 12b.

テキスト解析部12では、正式名フラグ13aが立って
いるならば、略語変換部17−2からの返された単語番
号あるいは単語番号列、これに対して正式名フラグ13
aが立っていなければ、該テキスト解析部12自身の識
別結果の単語番号に基づき、切換手段12bでその単語
番号を切換える。そして、切換えられた単語の読みに加
え、アクセントや抑揚等の韻律情報を付加して単語読み
表記を生成し、音声合成部14へ出力する。音声合成部
14では、入力された単語読み表記、つまり音声合成情
報から、音声辞書15に格納された音声パラメータ15
aを組合わせて音声を合成し、音声出力端子16から外
部へ出力する。
In the text analysis unit 12, if the formal name flag 13a is set, the word number or word number string returned from the abbreviation conversion unit 17-2, and the formal name flag 13
If a is not set, the switching means 12b switches the word number based on the word number as a result of the identification by the text analysis section 12 itself. Then, in addition to the pronunciation of the switched word, prosodic information such as accent and intonation is added to generate a word pronunciation, and the generated word pronunciation is output to the speech synthesis section 14. The speech synthesis unit 14 extracts the speech parameters 15 stored in the speech dictionary 15 from the input word pronunciation, that is, the speech synthesis information.
A is combined to synthesize audio, and output from the audio output terminal 16 to the outside.

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

この第3の実施例では、正式名合成回数カウンタ19に
設定された略語変換回数に基づき、略語変換部17−2
での略語変換処理が制御されるため、聴き手の理解レベ
ルに応じて、冗長的になりがちな音声出力を簡潔な表現
に変換することができる。
In this third embodiment, the abbreviation conversion unit 17-2
Since the abbreviation conversion process is controlled, it is possible to convert speech output that tends to be wordy into concise expressions depending on the listener's level of understanding.

なお、本発明は図示の実施例に限定されず、種々の変形
が可能である。
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, the circuit blocks may be configured as a circuit executed under program control of a computer or the like. Furthermore, in the circuit diagram of the above embodiment, other circuits may be added, such as providing an input device such as a keyboard to the text character string input terminal 11.

(発明の効果) 以上詳細に説明したように、第1の発明によれば、判定
手段、略語変換部及び切換手段を設けて、例えば長い正
式名称を適宜、略語名あるいは解説付き略語名に置換え
るようにしたので、日本語テキスト等を変更することな
く、真に聴き手の理解レベルを考慮した音声出力を極め
て容易に得ることができる。
(Effects of the Invention) As described above in detail, according to the first invention, the determining means, the abbreviation converting section, and the switching means are provided to replace, for example, a long official name with an abbreviated name or an abbreviated name with an explanation as appropriate. Therefore, it is possible to extremely easily obtain an audio output that truly takes into account the understanding level of the listener without changing the Japanese text or the like.

第2の発明では、略語置換単語リストを設けて略語変換
部の変換処理を制御する構成にしたので、例えば使用者
が任意に設定した略語置換単語リストに基づき、略語変
換処理を行えるので、聴き手は自己の理解レベルに応じ
た適切な音声出力を得ることができ、それによって装置
使用の柔軟性が向上する。
In the second invention, since the abbreviation replacement word list is provided and the conversion processing of the abbreviation conversion unit is controlled, for example, the abbreviation conversion processing can be performed based on the abbreviation replacement word list arbitrarily set by the user. The hand can obtain appropriate audio output according to its own understanding level, thereby increasing the flexibility of using the device.

第3の発明では、正式名合成回数カウンタを設けて略語
変換部の変換処理を制御する構成にしたので、その正式
名合成回数カウンタに予め設定した合成回数に応じて、
略語変換処理の制御が行える。そのため、冗長的になり
がちな音声出力を簡潔な表現にすることができる。
In the third invention, since the formal name composition number counter is provided to control the conversion processing of the abbreviation conversion section, the number of compositions set in advance in the formal name composition number counter is
Abbreviation conversion processing can be controlled. Therefore, voice output, which tends to be redundant, can be expressed in a concise manner.

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

第1図は本発明の第1の実施例を示す規則合成装置の機
能ブロック図、第2図は従来の規則合成装置の機能ブロ
ック図、第3図は第1図の単語辞書の内容を示す図、第
4図及び第5図は本発明の第2及び第3の実施例をそれ
ぞれ示す規則合成装置の機能ブロック図である。 12・・・・・・テキスト解析部、12 a−9−・・
判定手段、12b・・・・・・切換手段、13・・・・
・・単語辞書、13a・・・・・・正式名フラグ、13
b・・・・・・略語単語番号、14・・・・・・音声合
成部、15・・・・・・音声辞書、17・・・・・・略
語変換部、17a・・・・・・略語変換モード、17a
1・・・・・・無変換モード、17a2・・・・・・略
語変換モード、17b・・・・・・条件変換モード、1
7c・・曲出現回数制限変換モード、 1S・・ 略語置換単語リス ト、 正式名合成回数カウンタ。
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 shown in FIG. 1. 4 and 5 are functional block diagrams of a rule synthesis apparatus showing second and third embodiments of the present invention, respectively. 12...Text analysis section, 12 a-9-...
Judgment means, 12b...Switching means, 13...
...Word dictionary, 13a...Formal name flag, 13
b...abbreviation word number, 14...speech synthesis section, 15...speech dictionary, 17...abbreviation conversion section, 17a... Abbreviation conversion mode, 17a
1...No conversion mode, 17a2...Abbreviation conversion mode, 17b...Condition conversion mode, 1
7c: Song appearance limit conversion mode, 1S: Abbreviation replacement word list, official name synthesis frequency 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. a speech synthesis unit that synthesizes speech corresponding to the text character string based on the above-mentioned text string; determining means for storing in the word dictionary and determining whether or not an abbreviation name exists in the identified word by referring to the formal name flag; an abbreviation converting unit that performs a conversion process to an abbreviated name or an abbreviated name with an explanation by referring to an abbreviation word number; and a 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, the number of appearances of the formal name having an abbreviated name is stored based on the judgment result of the judgment means, and the conversion process of the abbreviation conversion unit is controlled according to the number of appearances. A rule synthesis device characterized by providing a formal name synthesis frequency counter.
JP2106871A 1990-04-23 1990-04-23 Rule synthesizing device Pending JPH045694A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (1)

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

Family

ID=14444601

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPH045694A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009104613A1 (en) * 2008-02-19 2009-08-27 日本電気株式会社 Text conversion device, method, and program
CN112349284A (en) * 2019-08-08 2021-02-09 本田技研工业株式会社 Notification control system, notification control device, notification control method, and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009104613A1 (en) * 2008-02-19 2009-08-27 日本電気株式会社 Text conversion device, method, and program
JP5521554B2 (en) * 2008-02-19 2014-06-18 日本電気株式会社 Text conversion device, method, and program
CN112349284A (en) * 2019-08-08 2021-02-09 本田技研工业株式会社 Notification control system, notification control device, notification control method, and storage medium

Similar Documents

Publication Publication Date Title
US4862504A (en) Speech synthesis system of rule-synthesis type
JP3083640B2 (en) Voice synthesis method and apparatus
US20080126093A1 (en) Method, Apparatus and Computer Program Product for Providing a Language Based Interactive Multimedia System
US20140249815A1 (en) Method, apparatus and computer program product for providing text independent voice conversion
JP5198046B2 (en) Voice processing apparatus and program thereof
KR20060049290A (en) Mixed-language text-to-speech method
JPH0713594A (en) A method for assessing speech quality in speech synthesis.
JP5320363B2 (en) Speech editing method, apparatus, and speech synthesis method
JPH05260082A (en) Text reader
JP3518898B2 (en) Speech synthesizer
JP2583074B2 (en) Voice synthesis method
JPH045695A (en) Rule synthesizing device
JPH08335096A (en) Text-to-speech synthesizer
JP3109778B2 (en) Voice rule synthesizer
JP2007086309A (en) Speech synthesis apparatus, speech synthesis method, and speech synthesis program
JP4026512B2 (en) Singing composition data input program and singing composition data input device
JP2596416B2 (en) Sentence-to-speech converter
JPH0764583A (en) Text reading method and device
JP3113101B2 (en) Speech synthesizer
JP3058439B2 (en) Rule speech synthesizer
JP2703253B2 (en) Speech synthesizer
JP2002123281A (en) Speech synthesizer
JPH11282484A (en) Speech synthesizer
JP2584236B2 (en) Rule speech synthesizer
JPH06176023A (en) Speech synthesis system