JP2000259165A - Data reader and recording medium - Google Patents

Data reader and recording medium

Info

Publication number
JP2000259165A
JP2000259165A JP11061231A JP6123199A JP2000259165A JP 2000259165 A JP2000259165 A JP 2000259165A JP 11061231 A JP11061231 A JP 11061231A JP 6123199 A JP6123199 A JP 6123199A JP 2000259165 A JP2000259165 A JP 2000259165A
Authority
JP
Japan
Prior art keywords
data
sentence
fixed
sentence example
fixed form
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.)
Granted
Application number
JP11061231A
Other languages
Japanese (ja)
Other versions
JP4237860B2 (en
Inventor
Nobuyuki Katae
伸之 片江
Akihiro Kimura
晋太 木村
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP06123199A priority Critical patent/JP4237860B2/en
Publication of JP2000259165A publication Critical patent/JP2000259165A/en
Application granted granted Critical
Publication of JP4237860B2 publication Critical patent/JP4237860B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To report a lot of routine data in voice in a short time without getting tired by storing plural model sentences for embedding the routine data, and synthesizing sentences while changing the model sentence to be embedded for each piece of routine data. SOLUTION: A model sentence selecting part 1 inputs routine data from a routine data storage part 1-1 and selects a model sentence according to a predetermined prescribed selection method. Plural model sentences are stored in a model sentence storage part 1-2 while making different contents in the fixed character parts of sentences so as to embed all the respective routine data. In the case of reading routine data expressed as a table or the like, the sentence in the same format is not repeatedly read but different sentences can be read for each piece of routine data, overlapped data can be simultaneously read or only required information can be first heard. Therefore, a listener can listen to the required information in a short time without getting tired.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、例えば、週間天気
予報のデータのように、複数のデータから成る特定フォ
ーマットを持つ定型データが複数ある場合に、複数の定
型データを音声合成して読み上げるためのデータ読み上
げ装置及び定型データを読み上げるコンピュータプログ
ラムが記録されている記録媒体に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of synthesizing and reading out a plurality of fixed data when there are a plurality of fixed data having a specific format including a plurality of data such as weekly weather forecast data. And a recording medium on which a computer program for reading fixed form data is recorded.

【0002】[0002]

【従来の技術】従来のデータ読み上げ装置は、定型デー
タを読み上げる場合、定型データを特定の文例に埋め込
み文章を作成し、それを読みやアクセントやイントネー
ションを表す中間表記に変換して音声を合成し、スピー
カ等により出力するものであった。この場合、定型デー
タを同じ文例に埋め込んで文章を作成するため、定型デ
ータが幾つもあると、データ部分のみが異なるだけで、
単調な文章の繰り返しとなる。そのため、定型データが
多いと、聴取者は、いらいらしたり、聞いてる途中でう
んざりしてしまうことが多く、必要な情報を全部得るま
でにかなり時間がかかることが多かった。
2. Description of the Related Art A conventional data reading apparatus reads a fixed form data, creates a sentence by embedding the fixed form data in a specific sentence example, converts it into an intermediate notation representing reading, accent, and intonation, and synthesizes a voice. Output from a speaker or the like. In this case, since the text is created by embedding the standard data in the same sentence example, if there are many standard data, only the data part is different,
It becomes a repetition of monotonous sentences. Therefore, if there is a lot of standard data, the listener is often frustrated or tired while listening, and it often takes a considerable amount of time to obtain all the necessary information.

【0003】[0003]

【発明が解決しようとする課題】近年、急速にコンピュ
ータのCPUの高性能化やメモリの高集積化やそれらの
低価格化が進み、小型・高性能で大容量メモリを持つコ
ンピュータがますます小型化している。そのため、高性
能のCPUや大容量のメモリを必要とする音声合成装置
を組み込むことが可能となり、音声で情報を提供する様
々な機器も急速に普及している。
In recent years, the performance of CPUs of computers, the integration of memories, and the cost of them have been rapidly increasing, and computers with small size, high performance, and large capacity memory have become increasingly smaller. Is becoming Therefore, it is possible to incorporate a speech synthesizer that requires a high-performance CPU or a large-capacity memory, and various devices that provide information by voice are rapidly spreading.

【0004】音声合成装置を組み込んだ機器の急速な普
及に伴い、より多くの人々が音声合成された音声による
情報の提供を受ける機会が増えてきている。しかし、音
声情報は、情報をひとつづつ順番に音声で伝える必要が
あるため、視覚情報に比べ単位時間当たりに受け取れる
情報量が非常に少ない。そのため、目で見ると、一瞥す
るだけで必要な情報が読み取れる場合でも、それを音声
情報として受け取る場合は、音声で情報を順番に読み上
げていくため、必要な情報を得るまでに時間がかなりか
かる。
[0004] With the rapid spread of devices incorporating a speech synthesizer, more and more people are receiving opportunities to provide information by speech-synthesized speech. However, since audio information needs to be conveyed by voice one by one in order, the amount of information that can be received per unit time is very small as compared with visual information. Therefore, even if you can read necessary information at a glance, if you receive it as audio information, it takes a long time to get the necessary information because it reads out the information by voice in order .

【0005】それが最も顕著に現れる例は、定型データ
が幾つもある表などで表された情報である。表で表され
た情報は、目で見ると短時間で見られるし、必要な部分
の情報のみを取得するのも容易であるが、音声情報に変
換して聞き取る場合は、知りたい情報が表の最後の方に
あると、必要のない情報も我慢して聞いていなくてはな
らないし、全ての情報が必要な場合でも、同じパターン
の文章が何度も繰り返されるため、情報量が多いほど聞
いている時間が長く、文章が単調なため、途中で聞いて
いるのにウンザリしたりする。
[0005] The most prominent example is information represented by a table having a number of fixed data. The information shown in the table can be seen in a short time when viewed with the naked eye, and it is easy to acquire only the necessary information, but when converting it to audio information and listening, the information you want to know is displayed. At the end of the process, you have to be patient and listen to unnecessary information, and even if you need all the information, the same pattern is repeated many times. Listening time is long and sentences are monotonous.

【0006】情報を音声により提供するサービスは、当
初は音声出力装置しか持たない電話等の装置に限られて
いたが、最近は、例えば、カーナビゲーションのよう
に、ディスプレイ等の表示画面を持っていても、運転中
に画面を注視していると危険なため、画面に表示するだ
けでなく、音声でも情報を提供するような機器も増えて
来ている。
The service of providing information by voice was initially limited to a device such as a telephone having only a voice output device, but recently has a display screen such as a display such as a car navigation system. However, because it is dangerous to watch the screen while driving, there is an increasing number of devices that provide information not only on the screen but also by voice.

【0007】音声合成による音声情報を提供する機器の
利用を一層普及させるためには、幾つもの定型データを
短い時間で、飽きることなく音声で伝える技術手段が望
まれている。
[0007] In order to further spread the use of devices that provide voice information by voice synthesis, there is a demand for a technical means for transmitting a number of standard data in a short time and without getting tired.

【0008】[0008]

【課題を解決するための手段】本発明は、表で表せるよ
うな1つ以上のデータから成る特定フォーマットを持つ
複数の定型データを、同じ文章を繰り返して読み上げる
のではなく、文章に変化を持たせ、繰り返し部分に関し
ては、省略可能な部分を省略したり、データ順序を変え
たりして、より短い時間で、飽きることなく音声で情報
を読み上げることを可能にするものである。
SUMMARY OF THE INVENTION According to the present invention, a plurality of fixed data having a specific format composed of one or more data that can be represented in a table is not read out by repeating the same sentence, but the sentence is changed. Regarding the repetitive portion, the portion that can be omitted is omitted or the data order is changed, so that information can be read aloud in a shorter time without getting tired.

【0009】本発明にかかるデータ読み上げ装置は、1
つ以上のデータから成る特定フォーマットを持つ定型デ
ータを基に文章を合成し、音声出力するデータ読み上げ
装置において、前記定型データを埋め込むための文例を
複数格納する文例格納部と、前記定型データを読み込
み、前記定型データ毎に埋め込む文例を変えて文章を合
成する文章合成部をそれぞれ備えることを特徴とする。
The data reading device according to the present invention comprises:
A text-to-speech device that synthesizes a sentence based on fixed-form data having a specific format composed of one or more data and outputs a voice, a sentence-example storage unit that stores a plurality of sentence examples for embedding the fixed-form data, and reads the fixed-form data. A sentence synthesizing unit for synthesizing a sentence by changing a sentence example to be embedded for each of the fixed data.

【0010】かかる構成により、従来のようにデータ部
分を変えただけで、同じ文章を繰り返すのではなく、定
型データ毎に異なる文章の音声出力で情報を聞けるため
飽きることなく音声情報を聞ける。
[0010] With this configuration, instead of repeating the same sentence only by changing the data portion as in the related art, the user can listen to the information by audio output of a different sentence for each fixed data, so that the user can hear the audio information without getting bored.

【0011】また、本発明にかかるデータ読み上げ装置
は、1つ以上のデータから成る特定フォーマットを持つ
定型データを基に文章を合成し、音声出力するデータ読
み上げ装置において、前記定型データを複数格納する定
型データ格納部と、前記定型データを埋め込むための文
例を複数格納する文例格納部と、前記文例格納部から、
前記定型データ毎に埋め込む文例を変えて選択する文例
選択部と、前記定型データと前記選択された文例を基
に、文書を合成する文章合成部と、前記合成された文書
を解析して、音声を表現するための中間表記に変換する
文章解析部と、前記中間表記を基に音声を合成して出力
する音声合成部をそれぞれ備えることを特徴とする。
Further, a data reading device according to the present invention synthesizes a sentence based on fixed data having a specific format composed of one or more data, and outputs a voice. The data reading device stores a plurality of the fixed data. A fixed form data storage unit, a sentence example storage unit for storing a plurality of sentence examples for embedding the fixed form data,
A sentence example selecting section for selecting a sentence example to be embedded for each of the fixed form data, a sentence synthesizing section for synthesizing a document based on the fixed form data and the selected sentence example, and analyzing the synthesized document, And a speech synthesizer for synthesizing and outputting speech based on the intermediate notation.

【0012】かかる構成により、従来のようにデータ部
分を変えただけで、同じ文章を繰り返すのではなく、定
型データ毎に異なる文章で音声出力で情報を聞けるため
飽きることなく音声情報を聞ける。
With such a configuration, instead of repeating the same sentence only by changing the data portion as in the related art, the user can listen to the information by audio output with a different sentence for each fixed data, so that the user can hear the audio information without getting bored.

【0013】また、本発明にかかるデータ読み上げ装置
は、1つ以上のデータから成る特定フォーマットを持つ
定型データを基に文章を合成し、音声出力するデータ読
み上げ装置において、前記定型データを複数格納する定
型データ格納部と、前記定型データを埋め込むための文
例を、音声を表現するための中間表記の形式で複数格納
する文例格納部と、前記文例格納部から、前記定型デー
タ毎に埋め込む文例を変えて選択する文例選択部と、前
記定型データを中間表記に変換する定型データ変換部
と、変換後の定型データと前記選択された文例を基に、
文書を合成する文章合成部と、合成された文章を基に音
声を合成して出力する音声合成部をそれぞれ備えること
を特徴とする。
Further, a data reading device according to the present invention synthesizes a sentence based on fixed data having a specific format composed of one or more data, and outputs a voice. The data reading device stores a plurality of the fixed data. A fixed form data storage unit, a sentence example storage unit that stores a plurality of sentence examples for embedding the fixed form data in an intermediate notation format for expressing voice, and a sentence example to be embedded for each of the fixed form data from the sentence example storage unit. A sentence example selecting unit for selecting by selecting, a fixed form data conversion unit for converting the fixed form data into intermediate notation, based on the converted fixed form data and the selected sentence example,
A text synthesizing unit for synthesizing a document and a voice synthesizing unit for synthesizing and outputting speech based on the synthesized text are provided.

【0014】かかる構成により、文例が最初から中間表
記となっているため、定型データを読み出す際に、定型
データのみ中間表記に変換すればよく、構文解析が不要
となり、中間表記へ変更することが容易になるため、処
理速度を向上させることが出来る。
With this configuration, since the sentence example is in the intermediate notation from the beginning, when reading the fixed data, only the fixed data needs to be converted to the intermediate notation, and the syntax analysis is not required, and the intermediate notation can be changed. Since it becomes easy, the processing speed can be improved.

【0015】また、本発明にかかるデータ読み上げ装置
は、前記定型データの各データが、重複チェックを行う
か否かを示す重複チェックフラグを具え、前記文例格納
部が、定型データの重複部分をまとめて表現する文例を
格納し、前記文例選択部が、前記重複チェックフラグに
基づき、定型データの重複部分を検査し、該当する重複
部分をまとめる文例を選択する機能を有することを特徴
とする。
Further, the data reading apparatus according to the present invention is provided with a duplication check flag indicating whether or not each of the fixed data is subjected to a duplication check, and the sentence example storage unit collects the overlapping portions of the fixed data. The sentence example selecting unit has a function of storing a sentence example to be expressed in the form of an expression, and checking a duplicated portion of the standard data based on the duplication check flag, and selecting a sentence example that combines the corresponding duplicated portions.

【0016】かかる構成により、定型データ内に同種の
同じデータがあった場合、それをひとまとめにして文章
を作成出来るため、文章を短縮可能であると同時に、文
章に変化を与えることが出来るため、飽きることなく、
より短い時間で音声情報を聞ける。
With this configuration, if the same type of the same data is included in the fixed data, a sentence can be created by combining the same data, so that the sentence can be shortened and the sentence can be changed. Without getting bored
Listen to audio information in less time.

【0017】また、本発明にかかるデータ読み上げ装置
は、前記定型データの各データが、定型データ中のまと
めて読み上げるデータの集合を示すデータ集合フラグを
具え、前記文例格納部が、データ集合単位に該データ集
合のデータのみを含む文例を複数格納し、前文例選択部
が、全ての定型データを一括して読み込み、指定された
データ集合単位に、対応する文例を選択する機能を有す
ることを特徴とする。
Further, in the data reading apparatus according to the present invention, each data of the fixed form data includes a data set flag indicating a set of data to be read out collectively in the fixed form data, and the sentence example storage unit is provided for each data set unit. A plurality of sentence examples including only the data of the data set are stored, and the preceding sentence example selection unit has a function of reading all the fixed data collectively and selecting a corresponding sentence example in a specified data set unit. And

【0018】かかる構成により、最初に複数の定型デー
タ内で重要度の高いデータをまとめて音声出力し、後の
データはそれに続いて詳細データとして音声出力するこ
とが可能となるため、必要な情報だけ先に聞くことが出
来、後の情報は必要がなければ聞き流すことが出来る。
With this configuration, it is possible to collectively output data of high importance in a plurality of fixed data and output the data as voice, and to output the subsequent data as detailed data subsequently. You can listen first, and later information can be heard if you do not need it.

【0019】また、本発明にかかるコンピュータに実行
させるプログラムを記録したコンピュータ読み取り可能
な記録媒体は、1つ以上のデータから成る特定フォーマ
ットを持つ定型データを基に文章を合成するステップ
と、前記文章を音声出力するステップをコンピュータに
実行させるプログラムを記録したコンピュータ読み取り
可能な記録媒体であって、前記定型データを埋め込むた
めの文例を複数格納するステップと、前記定型データを
読み込み、前記定型データ毎に埋め込む文例を変えて文
章を合成するステップをそれぞれ備えることを特徴とす
る。
Also, a computer readable recording medium having recorded thereon a program to be executed by a computer according to the present invention is a step of synthesizing a sentence based on fixed data having a specific format consisting of one or more data, A computer-readable recording medium that records a program for causing a computer to execute the step of outputting a voice as a step of storing a plurality of example sentences for embedding the standard data, reading the standard data, reading the standard data, for each of the standard data The method is characterized in that the method includes a step of synthesizing a sentence by changing a sentence example to be embedded.

【0020】かかる構成により、従来のようにデータ部
分を変えただけで、同じ文章を繰り返すのではなく、定
型データ毎に異なる文章で音声出力で情報を聞けるため
飽きることなく音声情報を聞けるデータ読み上げ装置が
実現出来る。
With this configuration, instead of repeating the same sentence only by changing the data portion as in the prior art, the user can listen to the information by voice output with a different sentence for each of the standard data. The device can be realized.

【0021】また、本発明にかかるコンピュータに実行
させるプログラムを記録したコンピュータ読み取り可能
な記録媒体は、1つ以上のデータから成る特定フォーマ
ットを持つ定型データを基に文章を合成するステップ
と、前記文章を音声出力するステップを含むコンピュー
タに実行させるプログラムを記録したコンピュータ読み
取り可能な記録媒体であって、前記定型データを複数記
憶するステップと、前記定型データを埋め込むための文
例を複数記憶するステップと、前記記憶されている文例
から、前記定型データ毎に埋め込む文例を変えて選択す
るステップと、前記定型データと前記選択された文例を
基に、文書を合成するステップと、前記合成された文書
を解析して、音声を表現するための中間表記に変換する
ステップと、前記中間表記を基に音声を合成して出力す
るステップをそれぞれ備えることを特徴とする。
Further, a computer readable recording medium having recorded thereon a program to be executed by a computer according to the present invention is a step of synthesizing a sentence based on fixed data having a specific format consisting of one or more data, A computer-readable recording medium recorded with a program to be executed by a computer including a step of outputting a voice, a step of storing a plurality of the fixed data, and a step of storing a plurality of sentence examples for embedding the fixed data, Selecting from the stored sentence examples a sentence example to be embedded for each of the fixed-form data; synthesizing a document based on the fixed-form data and the selected sentence example; analyzing the combined document Converting to an intermediate notation for expressing speech; Characterized in that it comprises respectively the step of outputting the synthesized speech based on the notation.

【0022】かかる構成により、従来のようにデータ部
分を変えただけで、同じ文章を繰り返すのではなく、定
型データ毎に異なる文章で音声出力で情報を聞けるため
飽きることなく音声情報を聞けるデータ読み上げ装置が
実現出来る。
With such a configuration, instead of repeating the same sentence only by changing the data portion as in the prior art, the user can listen to the information by audio output with a different sentence for each of the standard data. The device can be realized.

【0023】[0023]

【発明の実施の形態】本発明の原理と基本的動作の流れ
を、図1の本発明の基本構成図と図2の基本的な処理の
流れを表すフローチャートを用いて説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The principle and basic operation flow of the present invention will be described with reference to a basic configuration diagram of the present invention shown in FIG. 1 and a flowchart showing a basic processing flow of FIG.

【0024】まず、文例選択部1が、定型データ格納部
1−1から定型データを入力し(ステップS1)、定型
データが終了でない場合(ステップS2:NO)は、事
前に決められた所定の選定方法により文例を選択する
(ステップS3)。定型データが終了の場合(ステップ
S2:YES)は、処理を終了する。
First, the sentence example selecting section 1 inputs the fixed form data from the fixed form data storage section 1-1 (step S1). If the fixed form data is not completed (step S2: NO), a predetermined predetermined form is set. A sentence example is selected by a selection method (step S3). If the fixed data has ended (step S2: YES), the processing ends.

【0025】定型データと文例は、通常、データの提供
者が事前に作成するものなので、図1の基本構成図にお
いては入力部を設けず、既に登録されていることを前提
としているが、本構成に入力部を設けて行うようにして
もよい。定型データと文例の入力は、通常のエディタで
行えばよい。このステップまでが、本発明の特徴となる
部分であり、これにより、定型データをデータ部分だけ
変えた同じ文章で繰り返すことなく、定型データ毎に異
なる文例を用いて、異なる文章で読み上げることを可能
にし、その結果、聴取者は飽きることなく、読み上げ情
報を聞くことが出来る。
Normal data and sentence examples are usually prepared in advance by a data provider. Therefore, in the basic configuration diagram of FIG. 1, an input unit is not provided, and it is assumed that they have already been registered. You may make it perform by providing an input part in a structure. The input of the standard data and the sentence example may be performed with a normal editor. Up to this step is a characteristic part of the present invention, and it is possible to read out different sentences using different sentence examples for each fixed data, without repeating the same sentence where the fixed data is changed only in the data portion As a result, the listener can hear the read-out information without getting bored.

【0026】これ以降のステップは、従来のテキストデ
ータの音声読み上げ装置と同様であり、その一般的な例
を取りあげるものであり、このパターンに限定されるも
のではなく、どのようなパターンのテキストデータ音声
読み上げ装置の仕組みを用いてもよい。文章合成部2
は、該定型データと該文例を受け取り、該定型データを
該文例に組み込むことにより、文章を合成する(ステッ
プS4)。文章解析部3は、該合成された文章を受け取
ると、形態素辞書3−1を用いて文章の形態素解析・構
文解析を行い、音声を表す中間表記の形式に変換する
(ステップS5)。音声合成部4は、該中間表記を受け
取り、音声素片辞書4−1を用いて音声を合成し、文章
を音声で読み上げる(ステップS6)。
The subsequent steps are the same as those of the conventional text-to-speech apparatus and take a general example, and are not limited to this pattern. You may use the structure of a speech-to-speech device. Sentence synthesis unit 2
Receives the fixed form data and the sentence example, and synthesizes a sentence by incorporating the fixed form data into the sentence example (step S4). When the sentence analysis unit 3 receives the synthesized sentence, the sentence analysis unit 3 performs morphological analysis and syntax analysis of the sentence using the morphological dictionary 3-1 and converts the sentence into an intermediate notation format representing speech (step S5). The speech synthesis unit 4 receives the intermediate notation, synthesizes speech using the speech unit dictionary 4-1 and reads out a sentence aloud (step S6).

【0027】ここで、中間表記とはどういうものか、一
例をあげる。
Here, an example is given of what the intermediate notation is.

【0028】たとえば、合成された文章が、「神奈川県
東部の7月13日の天気は晴れのち曇りでしょう。0時
から6時までの雨の降る確率は20%でしょう。」とい
う文章だとすると、中間表記は、「カナガワ’ケン_
ト’ーブノ,シチガツ_ジューサ’ンニチノ_テ’ンキ
ワ,ハレ’ノチ_クモリ’デショー.レ’ージカラ_ロ
ク’ジマデノ_ア’メノ_カクリツワ,ニジッパーセ’
ント_デショー.」というようになる。カタカナは、読
みを表しており、「’」と「_」はアクセント情報を、
「,」はそこでポーズをとることを示している。ここで
あげた中間表記はあくまで一例であり、ここで用いた表
記とは異なる表記法を用いてもよい。
For example, if the synthesized sentence is a sentence "The weather on the eastern part of Kanagawa on July 13 will be cloudy after a sunny day. The probability of rain from 0:00 to 6:00 will be 20%." , The intermediate notation is "Kanakawa 'Ken_
Tobno, Shichigatsu_Jusa Ninichino_Tenkiwa, Halle'Nochi_Kumori 'desho. 'Regular' _Loku 'Jimedeno_A'Meno_Kaklitswa, Nizipase'
Nt_desho. ]. Katakana represents reading, "'" and "_" represent accent information,
"," Indicates that a pose is to be taken there. The intermediate notation given here is merely an example, and a notation different from the notation used here may be used.

【0029】[0029]

【実施の形態1】文章の内容の異なる文例を複数用意
し、定型データ毎に文例を選択し、音声で読み上げる例
について説明する。本実施の形態は、図1の基本構成図
と同一なので、各機能部分の概要説明は省略して、文例
選択部1の詳細機能について説明する。
[Embodiment 1] A description will be given of an example in which a plurality of sentence examples having different contents of a sentence are prepared, and a sentence example is selected for each fixed data and read out by voice. Since the present embodiment is the same as the basic configuration diagram of FIG. 1, the detailed description of each functional part will be omitted, and the detailed functions of the sentence example selection unit 1 will be described.

【0030】文例格納部1−2には、文例が、定型デー
タの各データを全て埋め込み可能な状態で、文章の固定
文字部分の内容の異なる形で複数格納されている。定型
データの各データを文例のどこに埋め込むかを指定する
方法は複数考えられるので、その例の幾つかを、定型デ
ータが地区名と月日と天気からなる天気のデータとし
て、あげる。
A plurality of sentence examples are stored in the sentence example storage unit 1-2 in such a manner that all the data of the fixed form data can be embedded in the fixed character portion of the sentence with different contents. Since there are a plurality of methods for designating where in the sentence example each data of the fixed form data is to be embedded, some of the examples are given as weather data in which the fixed form data includes a district name, month, day, and weather.

【0031】まず、文例中のデータの指定方法の第1の
パターンは、文例の内容を「≪1≫の≪2≫の天気は≪
3≫でしょう。」のようにする。記号の≪と≫で挟まれ
ている番号は定型データの何番目のデータを入れるかを
示す。つまり、≪1≫は1番目のデータである地区名
を、≪2≫は2番目のデータである月日を、≪3≫は3
番目のデータである天気を表す。これにより、定型デー
タの何番目のデータを文例のどの位置に入れればよいか
わかり、データ順序はそのままで文例の固定文字部分を
変えた文例だけでなく、データ順序を入れ換えた文例も
作ることが可能になるため、読み上げる文書により多く
の様々なバリエーションをつけることが可能となり、聴
取者を飽きにくくすることが出来る。
First, the first pattern of the method of designating data in the sentence example is that the contents of the sentence example are “{1} {2} weather is {
3≫. ]. The number between the symbols ≪ and ≫ indicates the number of the standard data to be inserted. That is, {1} is the district name as the first data, {2} is the month and day as the second data, and {3} is 3
Represents the second data, weather. By doing this, you can find out in which position in the sentence example which data of the fixed form data should be placed, and not only create a sentence example in which the fixed character part of the sentence example is changed while the data order is unchanged, but also create a sentence example in which the data order is replaced. As a result, it is possible to add many different variations to the text to be read, and it is possible to make the listener hard to get tired of.

【0032】次に、文例中のデータの指定方法の第2の
パターンとして、第1のパターンでは、数字で表された
データがどのデータを指すか、後で修正したりする際に
わかりにくいので、データを数字だけで表すのではな
く、数字がどのデータを表すかを示すコメントを付加し
て、「≪1:地区名≫の≪2:月日≫の天気は≪3:天
気≫でしょう。」のように書き、変数が何かを分かり安
くしてもよい。これにより、第1のパターンの利点に加
え、文例を追加・修正する際のメンテナンス性を容易に
することが出来る。
Next, as the second pattern of the method of specifying data in the sentence example, the first pattern makes it difficult to determine which data the numerical data points to when it is later corrected. Instead of representing the data only with numbers, add a comment to indicate which data the numbers represent, and the weather for {1: district name {2: month and day} will be {3: weather} . "To make it easier to understand what the variables are. Thereby, in addition to the advantage of the first pattern, the maintainability when adding or modifying a sentence example can be facilitated.

【0033】次に、文例中のデータの指定方法の第3の
パターンとして、定型データのデータの順に当てはめる
データ名を羅列したデータを用意しておき、「≪地区名
≫,≪月日≫,≪天気≫」というように、定型データの
各データをそれぞれどのような名称の変数に割り当てる
かを示すようにしておいてもよい。変数を示す≪と≫の
記号は、変数の区切りがわかれば省略してもよいので、
「地区名,月日,天気」としてもよい。この定型データ
の各データに割り当てる変数名を指定するデータは、定
型データ格納部1−1の1件目の定型データとして入れ
ておいてもよいし、文例格納部1−2の1件目の文例デ
ータとして入れておいてもよいし、文例選択部1のプロ
グラムのパラメタとして入力してもよい。これにより、
どのデータをどこに埋め込めばいいかを、直接、データ
名で文例中に指定出来るようになる。つまり、変数名を
指定するデータを文例格納部1−2の1件目の文例デー
タとして入れた場合、文例選択部1が文例の1件目にあ
る変数名を指定するデータを読み込み、定型データの1
番目のデータは地区名・2番目のデータは月日・3番目
のデータは天気だと認識出来るようになるので、文例で
は、何番目のデータをいれるか示す数字を入れずに、
「≪地区名≫の≪月日≫の天気は≪天気≫でしょう。」
のように、文例の1件目で指定した変数名を用いる。こ
れにより、文例の1件目で、定型データの各データにつ
ける変数名さえ指定しておけば、文例を作る際に、定型
データの何番目のデータか意識する必要がなく、文例が
より、自然な形で追加・修正出来るようになる。
Next, as a third pattern of the data specification method in the sentence example, data in which data names to be applied in the order of the fixed form data are prepared, and “{district name}, {month date}, For example, "weather" may indicate what name each variable of the standard data is assigned to a variable. The symbols ≪ and を indicating a variable may be omitted as long as the separator between the variables is known.
It may be "area name, month, day, weather". The data designating the variable name to be assigned to each of the fixed data may be stored as the first fixed data in the fixed data storage unit 1-1, or may be set as the first fixed data in the sentence example storage unit 1-2. It may be stored as sentence example data, or may be input as a parameter of the program of the sentence example selection unit 1. This allows
Which data should be embedded where can be specified directly in the sentence example by data name. That is, when the data specifying the variable name is entered as the first sentence example data in the sentence example storage unit 1-2, the sentence example selection unit 1 reads the data specifying the variable name in the first sentence example of the sentence example. Of 1
The second data can be recognized as the district name, the second data as the month and day, and the third data as the weather, so in the sentence example, do not include the number indicating the data to be inserted,
"The weather on the month and day of the district name will be weather."
, Use the variable name specified in the first sentence of the sentence example. As a result, in the first sentence example, if only the variable name to be attached to each data of the fixed form data is specified, when creating the sentence example, there is no need to be aware of the data of the fixed form data. You will be able to add and modify in a natural way.

【0034】この例では、変数名を文例の最初のデータ
として入力したが、これは、読み上げデータがいろいろ
変わる汎用的なデータ読み上げ装置として用いることを
可能とするためであり、汎用的でなくてもよい特定の目
的の定型データ読み上げ装置ならば、定型データ内で用
いる変数名をプログラム中に定義して持っておくように
してもよい。
In this example, the variable name is inputted as the first data of the sentence example. However, this is because the variable name can be used as a general-purpose data reading device in which the reading data changes variously. If a fixed-form data reading device for a specific purpose is good, a variable name used in the fixed-form data may be defined and stored in the program.

【0035】これらのいずれの文例のパターンを用いて
も、変数以外の部分を変えた様々な文例だけでなく、変
数の順序そのものも任意となるため、読み上げる文書に
様々なバリエーションをつけることが可能となり、聴取
者を飽きにくくすることが出来る。
Even if any of these patterns of sentence examples is used, not only various sentence examples in which parts other than variables are changed, but also the order of variables itself is arbitrary, so that various variations can be given to a document to be read. It becomes possible to make the listener hard to get tired of.

【0036】その他、文例中のデータの指定方法の第4
のパターンとしては、定型データの各データを前から順
序通りに文例に埋め込む場合ようにして、「≪≫の≪≫
の天気は≪≫でしょう。」のように、データを示す番号
または変数名を省略して、データを挿入する位置を示す
記号のみとしてもよい。但し、このパターンでは、デー
タの順序を入れ換えた文例には対応出来ない。
In addition, the fourth method of designating data in a sentence example
As a pattern of, when each data of the fixed form data is embedded in the sentence example in the order from the beginning, “≪≫≪≫≪≫
The weather will be ≪≫. ", The number indicating the data or the variable name may be omitted, and only the symbol indicating the position where the data is inserted may be used. However, this pattern cannot cope with a sentence example in which the order of data is changed.

【0037】前述の第1・第2のパターンの場合は、文
例選択部1は、1から順に番号をふったデータテーブル
(不図示)を用意しておき、定型データを読み込み、各
データを順番に格納する。第3のパターンの場合は、文
例選択部1が、データ名とデータから成る2次元データ
テーブル(不図示)のデータ名の列に、定型データ格納
部1−1又は文例格納部1−2の1件目のデータ名を羅
列したデータを読み込むか、該データを表すパラメータ
を取り込んで、データ名を順番に格納し、定型データを
読み込むと、各データを順番にデータテーブルの該当す
るデータ名の部分に格納する。第4のパターンの場合
は、データテーブルの作成は不要である。文例選択部1
から文章合成部2に渡される定型データは、第1から第
3のパターンの場合は、データテーブルの形で渡され、
第4のパターンの場合は、定型データそのままの形で渡
される。
In the case of the above-mentioned first and second patterns, the sentence example selecting section 1 prepares a data table (not shown) numbered sequentially from 1 and reads the fixed form data, and sorts each data in order. To be stored. In the case of the third pattern, the sentence example selecting unit 1 stores, in the data name column of a two-dimensional data table (not shown) including a data name and data, the fixed-form data storage unit 1-1 or the sentence example storage unit 1-2. When the data in which the first data name is listed is read, or a parameter representing the data is fetched, the data names are stored in order, and when the fixed form data is read, each data is read in order of the corresponding data name in the data table. Store in part. In the case of the fourth pattern, it is unnecessary to create a data table. Sentence example selector 1
Is sent in the form of a data table in the case of the first to third patterns.
In the case of the fourth pattern, the fixed data is passed as it is.

【0038】次に、文例格納部1は、定型データ毎に、
複数の文例の中から文例を選択するが、その方法は、幾
つか考えられるので、以下にその方法の例をあげる。な
お、本実施の形態では、文例格納部1−2は、最も丁寧
な文例から順に、段々簡略化された文例を格納している
ものとする。
Next, the sentence example storage unit 1 stores
A sentence example is selected from a plurality of sentence examples. There are several possible methods, and an example of the method is given below. In the present embodiment, it is assumed that the sentence example storage unit 1-2 stores increasingly simplified sentence examples in order from the most polite sentence example.

【0039】第1の方法は、最初の文例から最後の文例
までを循環的に何度も繰り返して使用する方法である。
この方法は、文例と定型データを最初から順に読んで、
そのまま両方のデータを使用するものである。文例より
定型データの数の方が多い場合は、最後の文例を読み終
わると、文例の最初に戻って読み込む。このように、定
型データがなくなるまで文例を循環しながら読み込む。
これにより、同じ文例を続けて使用することを容易にな
くせる。
The first method is a method in which the first sentence example to the last sentence example are used repeatedly and repeatedly.
This method reads the sentence example and the standard data in order from the beginning,
Both data are used as they are. If the number of fixed form data is larger than that of the sentence example, after reading the last sentence example, the process returns to the beginning of the sentence example and reads it. In this way, the sentence example is read while circulating until there is no more fixed data.
This makes it easier to use the same sentence continuously.

【0040】第2の方法は、何番目の文例を用いるか
を、文例数以下の正の整数の疑似乱数を発生させて求め
る方法である。この際、過去何回かの乱数を記憶してお
き、記憶している乱数と同じ乱数が発生した際には、記
憶されていない乱数が出るまで乱数を求め直すことによ
り、同じ文例を続けて使用したり、短い間隔で繰り返さ
れることをなくしてもよい。前述の文例中のデータの指
定方法の第3のパターンを用い、かつデータ名を羅列し
たデータを文例格納部1−2に格納する場合は、文例の
1件目のデータは、データ名の羅列であり、文例ではな
いので、文例の数−1の正の整数の疑似乱数を発生させ
て、使用する文例は、該疑似乱数+1番目の文例を使用
する。第1の方法では、一定間隔で同じ文例が繰り返さ
れるため、何度も聞いていると次の文例が予測出来た
り、最も簡略化した表現の文例の後に最も丁寧な文例が
来たりするが、この方法によれば、次はどの文例が来る
か予測出来ないものにすることが出来る。
The second method is to determine the number of the sentence example to be used by generating a pseudo integer of a positive integer equal to or less than the number of sentence examples. At this time, a random number is stored several times in the past, and when the same random number as the stored random number is generated, the random number is calculated again until a random number that is not stored appears. It may not be used or repeated at short intervals. When using the third pattern of the data designation method in the above sentence example and storing data in which the data names are listed in the sentence example storage unit 1-2, the first data in the sentence example is the data name list. Since this is not a sentence example, a pseudo-random number of a positive integer equal to the number of the sentence example minus one is generated, and the sentence example to be used uses the pseudo-random number + 1st sentence example. In the first method, since the same sentence example is repeated at regular intervals, the next sentence example can be predicted if heard many times, or the most careful sentence example comes after the most simplified expression example, According to this method, it is possible to make it impossible to predict which sentence will come next.

【0041】第3の方法は、所定の最初のいくつかの文
例は、1度だけ使用し、それ以降の繰り返し部分の文例
に関しては、第1の方法又は第2の方法を用いて読みあ
げる方法である。最初のいくつかの文例は、丁寧な表現
を用いた文例を使用し、それ以降は、表現を簡略化した
文例を格納しておく。丁寧な文例が最初の何件か、繰り
返す簡略化された文例がどれかを示すには、事前に丁寧
な文例が何件あるのかという情報を文例選択部1のプロ
グラム内に設定しておいてもよいが、汎用的にするため
には、各文例の先頭に繰り返す文例か否かのフラグを設
けるとよい。文例の例を、図4の(a)に示す。この例
では、第1・第2の文例は、最初1回使用されるだけ
で、第3・第4の文例が繰り返される。聴取者にとって
は、聞く文章は、最初は丁寧で段々簡略化していくのが
好ましい。しかし、第1の方法では、繰り返しの際に簡
略化した表現から丁寧な表現に戻ることがあり、第2の
方法では、いきなり簡略化された表現で始まる場合や簡
略化した表現から丁寧な表現に戻る場合があったが、こ
の方法により、そういう問題を回避することが出来る。
A third method is to use a predetermined first sentence example only once, and to read out subsequent repeated example sentences by using the first method or the second method. It is. The first few sentences use sentence examples that use polite expressions, and after that, sentence examples with simplified expressions are stored. In order to indicate the first polite sentence and the simplified sentence to be repeated, information on the number of polite sentences is set in advance in the program of the sentence example selecting unit 1. However, for general purpose, it is preferable to provide a flag at the head of each sentence example as to whether or not the sentence example is a repeated sentence example. An example of a sentence example is shown in FIG. In this example, the first and second sentence examples are used only once at first, and the third and fourth sentence examples are repeated. For the listener, it is preferable that the sentences to be listened to at first be polite and progressively simplified. However, the first method may return from a simplified expression to a polite expression upon repetition, and the second method may start with a simplified expression or use a polite expression from the simplified expression. However, this method can avoid such a problem.

【0042】文例中のデータの指定方法として第1のパ
ターンを用い、文例の選択方法として疑似乱数を使用し
た第3のパターンを用い、図4の(a)のような文例が
ある場合の文章選択部1の処理の流れ(図2のステップ
S1〜S3の処理に相当)について、図3のフローチャ
ートを用いて説明する。
The first pattern is used as a method of designating data in a sentence example, the third pattern using pseudo random numbers is used as a method of selecting a sentence example, and a sentence in the case where there is a sentence example as shown in FIG. The flow of processing of the selection unit 1 (corresponding to the processing of steps S1 to S3 in FIG. 2) will be described with reference to the flowchart in FIG.

【0043】文例選択部1は、文例を読み込み(ステッ
プS11)、その文例に繰り返し使用する文例であるか
を示すフラグが設定されているかを判定(ステップS1
2)し、繰り返しフラグが設定されていない場合(ステ
ップS12:NO)は、定型データを読み込み(ステッ
プS13)、定型データが終了でない場合(ステップS
14:NO)は、該文例と該定型データを文章合成部に
渡す(ステップS15)。繰り返しフラグが設定されて
いない文例は、1回しか使用しないので、次の文例を読
み込むために、ステップS11に戻る。定型データが終
了の場合(ステップS14:YES)は、プログラムを
終了する。
The sentence example selecting section 1 reads a sentence example (step S11), and determines whether or not a flag indicating whether the sentence example is a sentence example used repeatedly is set (step S1).
2) If the repetition flag is not set (step S12: NO), the template data is read (step S13), and if the template data is not completed (step S12).
14: NO) gives the sentence example and the fixed form data to the sentence synthesizing unit (step S15). Since the sentence example for which the repetition flag is not set is used only once, the process returns to step S11 to read the next sentence example. If the fixed data has ended (step S14: YES), the program ends.

【0044】文例の繰り返しフラグが設定されている場
合(ステップS12:YES)は、文例をテーブルに格
納し、文例の件数をカウント(ステップS16)する。
そして、次の文例を読み込む(ステップS17)。繰り
返しフラグが設定されている文例を全て読み込むため
に、文例が終了していない場合(ステップS18:N
O)は、ステップS16に戻り、文例が終了するまで繰
り返す。
If the repetition flag of the sentence example is set (step S12: YES), the sentence example is stored in the table, and the number of sentence examples is counted (step S16).
Then, the next sentence example is read (step S17). If all sentence examples for which the repetition flag is set are not read (step S18: N)
O) returns to step S16 and repeats until the sentence example ends.

【0045】繰り返し使用する文例をテーブルに格納す
ると、定型データを読み込み(ステップS19)し、定
型データが終了でない場合(ステップS20:NO)
は、テーブルに格納した文例のカウント以下の正の整数
の疑似乱数を発生させて、どの文例を使用するか選択す
る(ステップS21)。読み込んだ定型データと選択し
た文例を文章合成部2に渡し(ステップS22)、次の
定型データを読み出すために、ステップS19に戻る。
定型データが終了した場合(ステップS20:YES)
は、プログラムを終了する。
When the example sentences to be repeatedly used are stored in the table, the fixed form data is read (step S19), and when the fixed form data is not completed (step S20: NO)
Generates a pseudo integer of a positive integer equal to or less than the count of the example sentences stored in the table, and selects which example sentence to use (step S21). The read fixed form data and the selected sentence example are transferred to the sentence synthesizing unit 2 (step S22), and the process returns to step S19 to read the next fixed form data.
When the standard data has been completed (step S20: YES)
Terminates the program.

【0046】[0046]

【実施の形態2】次に、文例を中間表記の形で格納して
おき、定型データのみを中間表記に変換することによ
り、文章解析する必要をなくした実施の形態について、
図5を用いて説明する。図1と同一部分に関しては、適
宜、説明を省略する。
[Embodiment 2] Next, an embodiment in which sentence examples are stored in the form of intermediate notation, and only fixed-form data is converted to intermediate notation, thereby eliminating the need for text analysis.
This will be described with reference to FIG. The description of the same parts as those in FIG. 1 will be appropriately omitted.

【0047】本実施の形態では、文例選択部1は、定型
データを読み込んで、重複チェック等を行い、文例を選
択した後、文例は中間表記になっているので、そのまま
文章合成部2に、定型データは定型データ変換部5に渡
す。定型データ変換部5は、定型データ用形態素辞書5
−1を用いて、受け取った定型データの各データを中間
表記に変換し、文章合成部2に渡す。文章合成部2は、
受け取った中間表記の文例と定型データから、中間表記
の文章を合成し、音声合成部4に渡し、音声情報として
読み上げる。
In the present embodiment, the sentence example selecting unit 1 reads the fixed form data, performs a duplication check and the like, selects the sentence example, and then selects the sentence example. The fixed form data is passed to the fixed form data conversion unit 5. The fixed form data conversion unit 5 includes a fixed form data morphological dictionary 5
Using −1, each data of the received fixed form data is converted into an intermediate notation and passed to the text synthesizing unit 2. The sentence synthesis unit 2
From the received sentence example of the intermediate notation and the standard data, a sentence of the intermediate notation is synthesized, passed to the speech synthesizer 4, and read out as speech information.

【0048】定型データ用形態素辞書は、形態素辞書3
−1のサブセットであり、定型データに含まれる形態素
のみの中間表記格納していればよい。但し、ハードディ
スクの容量に問題がなければ、形態素辞書3−1を用い
ても問題はない。
The morphological dictionary for fixed data is a morphological dictionary 3
It is only necessary to store an intermediate notation of only morphemes included in the fixed form data. However, if there is no problem in the capacity of the hard disk, there is no problem even if the morphological dictionary 3-1 is used.

【0049】文例中のデータ名に関しては、変数名であ
ることを示す記号≪と≫は残した形で中間表記にしても
構わないが、変数名を分かりやすくするためには、中間
表記としない方が好ましい。
Regarding the data names in the sentence examples, the symbols ≪ and ≫ indicating that they are variable names may be left in the intermediate notation, but in order to make the variable names easy to understand, the intermediate notation is not used. Is more preferred.

【0050】本実施の形態によると、文例を中間表記で
格納しておく必要があるため、文例を直接中間表記で作
成しようとすると、通常の文章を入力することに比べる
と面倒である。その場合は、最初は通常の文章を入力し
ておき、実施の形態1であげた文章解析部3にあたる処
理を実行して、中間表記の文例を事前に作成しておけば
よい。また、定型データを最初から中間表記とすること
も考えられるが、その場合も文例と同様にするとよい。
その場合は、図5の定型データ変換部5は不要となる。
According to the present embodiment, it is necessary to store the sentence example in the intermediate notation, and it is troublesome to directly create the sentence example in the intermediate notation as compared with the case of inputting a normal sentence. In this case, an ordinary sentence may be input first, and the process corresponding to the sentence analysis unit 3 described in the first embodiment may be executed to prepare a sentence example of the intermediate notation in advance. It is also conceivable that the fixed form data is set to an intermediate notation from the beginning.
In that case, the fixed form data conversion unit 5 of FIG. 5 becomes unnecessary.

【0051】本実施の形態における処理の流れについ
て、図6のフローチャートを用いて説明する。
The flow of processing according to the present embodiment will be described with reference to the flowchart of FIG.

【0052】定型データ格納部1−1から定型データを
入力(ステップS31)し、定型データが終了でない場
合(ステップS32:NO)は、所定の方法により文例
格納部1−2から文例を選択(ステップS33)する。
定型データが終了の場合(ステップS32:YES)
は、処理を終了する。定型データは、定型データ変換部
5に渡され、中間表記に変換される(ステップS3
4)。文例と定型データは、どちらも中間表記の形式で
文章合成部3に渡され、文章が合成される(ステップS
35)。合成された文章を基に、音声合成部は、音声を
合成し、文章を読み上げる(ステップS36)。
When the fixed form data is input from the fixed form data storage section 1-1 (step S31), and the fixed form data is not completed (step S32: NO), a sentence example is selected from the sentence example storage section 1-2 by a predetermined method (step S32). Step S33).
When the fixed data is completed (step S32: YES)
Ends the processing. The fixed form data is passed to the fixed form data conversion unit 5 and converted into an intermediate notation (step S3).
4). Both the sentence example and the fixed form data are passed to the sentence synthesizing unit 3 in the form of an intermediate notation, and the sentence is synthesized (step S).
35). Based on the synthesized text, the voice synthesis unit synthesizes a voice and reads out the text (step S36).

【0053】以上のように、本実施の形態によれば、文
例が最初から中間表記となっているため、定型データを
読み出す際に、データのみ中間表記に変換すればよいた
め、定型データ読み上げ時には構文解析が不要で、文章
解析のためのプログラムが不要になり、形態素辞書に定
型データ用のデータのみ用意すればよいため、中間表記
への変更が容易となり、メモリや記憶装置の容量も少な
くて済み、処理速度を向上させることが出来る。
As described above, according to the present embodiment, since the sentence example is in the intermediate notation from the beginning, only the data needs to be converted to the intermediate notation when reading the fixed data. Syntax analysis is not required, and a program for sentence analysis is not required.Since it is only necessary to prepare data for fixed data in the morphological dictionary, it is easy to change to intermediate notation, and the capacity of memory and storage devices is small. The processing speed can be improved.

【0054】[0054]

【実施の形態3】次に、定型データの重複する部分をま
とめて読み上げる実施の形態について、構成図は実施の
形態1と同一なので、図1を用いて説明する。重複する
部分に関しては、適宜、説明を省略する。
[Embodiment 3] Next, an embodiment in which overlapping portions of fixed data are read out collectively will be described with reference to FIG. The description of the overlapping part will be omitted as appropriate.

【0055】本実施の形態では、定型データにまとめて
表現出来る重複データが存在することが前提となる。例
えば、週間天気予報を例にとると、定型データは、地区
名・月日・天気・降水確率1・降水確率2・降水確率3
・降水確率4・予想最低気温・予想最高気温というデー
タから成り、降水確率1〜4は、それぞれ、0時から6
時までの降水確率、6時から12時までの降水確率、1
2時から18時までの降水確率、18時から24時まで
の降水確率を表すものとする。このデータの場合、降水
確率1〜4に関しては、同じ降水確率が連続すると、そ
の部分をまとめて表現することが可能である。例えば、
「≪1≫の≪2≫の天気は≪3≫、0時から6時までの
降水確率は≪4≫、6時から12時までは≪5≫、12
時から18時までは≪6≫、18時から24時までは≪
7≫、予想最低気温は≪8≫、予想最高気温は≪9≫で
しょう。」という文例があるすると、≪4≫〜≪7≫ま
での降水確率のデータの重複の仕方により、更に、以下
の7つの文例が考えられるため、合計8つの文例を作成
することが出来る。 ≪1≫の≪2≫の天気は≪3≫、0時から12時まで
の降水確率は≪4≫、12時から18時までは≪6≫、
18時から24時までは≪7≫、予想最低気温は≪8
≫、予想最高気温は≪9≫でしょう。 ≪1≫の≪2≫の天気は≪3≫、0時から6時までの
降水確率は≪4≫、6時から18時までは≪5≫、18
時から24時までは≪7≫、予想最低気温は≪8≫、予
想最高気温は≪9≫でしょう。 ≪1≫の≪2≫の天気は≪3≫、0時から6時までの
降水確率は≪4≫、6時から12時までは≪5≫、12
時から24時までは≪6≫、予想最低気温は≪8≫、予
想最高気温は≪9≫でしょう。 ≪1≫の≪2≫の天気は≪3≫、0時から12時まで
の降水確率は≪4≫、12時から24時までは≪6≫、
予想最低気温は≪8≫、予想最高気温は≪9≫でしょ
う。 ≪1≫の≪2≫の天気は≪3≫、0時から18時まで
の降水確率は≪4≫、18時から24時までは≪7≫、
予想最低気温は≪8≫、予想最高気温は≪9≫でしょ
う。 ≪1≫の≪2≫の天気は≪3≫、0時から6時までの
降水確率は≪4≫、6時から24時までは≪5≫、予想
最低気温は≪8≫、予想最高気温は≪9≫でしょう。 ≪1≫の≪2≫の天気は≪3≫、0時から24時まで
の降水確率は≪4≫、予想最低気温は≪8≫、予想最高
気温は≪9≫でしょう。
In the present embodiment, it is assumed that there is duplicate data that can be collectively expressed as fixed data. For example, taking a weekly weather forecast as an example, the standard data is: district name / month / day / weather / precipitation probability 1 / precipitation probability 2 / precipitation probability 3
・ Precipitation probability 4 ・ Predicted minimum temperature ・ Expected maximum temperature
Probability of precipitation until hour, Probability of precipitation from 6:00 to 12:00, 1
It represents the probability of precipitation from 2:00 to 18:00 and the probability of precipitation from 18:00 to 24:00. In the case of this data, with respect to the precipitation probabilities 1 to 4, if the same precipitation probabilities are continuous, it is possible to collectively express the portions. For example,
"The weather on {2} of {1} is {3}, the probability of precipitation from 0:00 to 6:00 is {4}, and from 6:00 to 12:00 is {5}, 12
6 hours from 18:00 to 18:00, 18:00 to 24:00
7≫, the expected minimum temperature is 8≪, and the expected maximum temperature is 9≪. ", The following seven sentence examples can be further considered depending on how the data of the precipitation probabilities from {4} to {7} overlap, so that a total of eight sentence examples can be created. The weather on {2} of {1} is {3}, the probability of precipitation from 00:00 to 12:00 is {4}, the probability of precipitation from 12:00 to 18:00 is {6},
From 18:00 to 24:00 is $ 7, and the expected minimum temperature is $ 8
≫ The expected maximum temperature will be ≪9≫. The weather on {2} is {3}, the chance of rain from 00:00 to 6:00 is {4}, and the probability of rain from 6:00 to 18:00 is {5}, 18
From the hour to 24:00, the expected minimum temperature will be $ 8, and the expected maximum temperature will be $ 9. The weather on {2} of {1} is {3}, the probability of precipitation from 0:00 to 6:00 is {4}, and from 6:00 to 12:00 is {5}, 12
From time to 24:00, the expected minimum temperature is $ 8, the expected maximum temperature is $ 9, and the expected maximum temperature is $ 9. The weather on {2} of {1} is {3}, the probability of precipitation from 00:00 to 12:00 is {4}, the probability of precipitation from 12:00 to 24:00 is {6},
The expected minimum temperature will be $ 8, and the maximum expected temperature will be $ 9. The weather on {2} of {1} is {3}, the chance of precipitation from 00:00 to 18:00 is {4}, the probability of precipitation from 18:00 to 24:00 is {7},
The expected minimum temperature will be $ 8, and the maximum expected temperature will be $ 9. The weather on {1} is {3}, the chance of rain from 00:00 to 6:00 is {4}, from 6:00 to 24:00 is {5}, the expected minimum temperature is {8}, and the expected maximum temperature. Would be {9}. The weather on {2} on {1} is {3}, the chance of rain from midnight to 24:00 is {4}, the lowest expected temperature is {8}, and the highest expected temperature is {9}.

【0056】1つの定型データ内だと、前記のようなデ
ータの省略が可能であるが、データの重複チェックを1
つの定型データ内に限定する必要はなく、複数の定型デ
ータに共通する部分を省略することも可能である。例え
ば、前述の週間天気予報の定型データの場合は、日曜日
から土曜日までの定型データがある。この場合、地区名
である≪1≫は、どの定型データにおいても同じで、最
初に1回読み上げればいいので、2 回目以降の読み上げ
時には省略してもよい。つまり、前記の8つの文例のパ
ターンに地区名≪1≫が省略された、文例がそれぞれ追
加されるため、合計16個の文例をつくることが出来
る。この場合、複数の定型データにまたがって、データ
の重複をチェックしているため、読み込んだ定型データ
はメモリ等に記憶しておく必要がある。
Although it is possible to omit the data as described above within one set of data, the duplication check of the data is performed by 1
It is not necessary to limit the data to one fixed data, and a part common to a plurality of fixed data may be omitted. For example, in the case of the above-mentioned standard data of the weekly weather forecast, there is the standard data from Sunday to Saturday. In this case, the district name {1} is the same in any fixed data, and it is sufficient to read it out once at the beginning, and may be omitted in the second and subsequent readings. That is, since the example in which the district name {1} is omitted is added to the pattern of the eight example sentences, a total of 16 example sentences can be created. In this case, since the duplication of the data is checked over a plurality of fixed data, the read fixed data needs to be stored in a memory or the like.

【0057】次に、重複しているデータのチェック方法
について述べる。チェック方法で問題となるのは、どの
データとどのデータの重複をチェックすべきかどうか
を、どうやって判断するかである。
Next, a method of checking for duplicate data will be described. The problem with the checking method is how to determine which data should be checked for duplication of which data.

【0058】重複チェックするデータを判別する第1の
方法としては、単純に定型データの各データが連続して
同じかどうかを判断することにより、重複をチェックす
る方法である。この方法だと、どのデータとどのデータ
をチェックすればよいかを指示する必要がなく、単純に
全てのデータについて、同じデータが連続しているか否
かをチェックすればよい。この場合、同じデータが連続
してたら、無条件にその重複するデータの1つを残して
省略してよいということが前提でなければならない。つ
まり、異なる種類のデータなのに、データが同じ形式で
重複する可能性があるデータが存在しないということが
前提となる。
The first method of determining data to be checked for duplication is a method of checking duplication by simply judging whether or not each data of fixed data is the same continuously. With this method, there is no need to indicate which data and which data should be checked, and it is sufficient to simply check whether the same data is continuous for all data. In this case, it must be assumed that if the same data continues, one of the duplicated data may be unconditionally omitted and omitted. In other words, it is premised that there is no data that may be duplicated in the same format even though the data is of different types.

【0059】前述した文例を例にとり、問題となるパタ
ーンのデータの例をあげる。18時から24時までの降
水確率を10%、予想最低気温を10度とする。前述の
文例では、%と度を文例中の固定文字としておらず、定
型データのデータ内に含んでいるため、重複とはならな
いが、%と度を固定文字としていた場合、どちらもデー
タとしては10となり、重複データと見なしてしまう。
これを回避する手段としては、文例データ中に最低予想
気温を表す≪8≫が省略された文例がないことをチェッ
クすることにより、省略不可能だと判定することが出来
る。しかし、この場合は、この方法で回避出来るが、ど
のような場合でも必ず回避出来るとは限らないので、異
なる種類のデータでもデータの形式が同じため、重複し
ていると誤判断する可能性のあるデータの並びや文例に
しないように、定型データや文例を作成する必要があ
る。
Taking the above sentence example as an example, an example of data of a pattern in question will be given. The probability of precipitation from 18:00 to 24:00 is 10%, and the expected minimum temperature is 10 degrees. In the above sentence example,% and degrees are not fixed characters in the sentence example, but are included in the data of the fixed form data, so they do not overlap. However, when% and degrees are fixed characters, both data are 10, which is regarded as duplicate data.
As means for avoiding this, it can be determined that the omission is impossible by checking that there is no example in which the minimum expected temperature {8} is omitted in the example data. However, in this case, it is possible to avoid by this method, but it is not always possible to avoid in any case. Therefore, since the data format is the same even for different types of data, there is a possibility that it is erroneously determined that they are duplicates. It is necessary to create fixed-form data and sentence examples so as not to make certain data arrangements and sentence examples.

【0060】その他の重複チェックするデータを判別す
る方法としては、重複チェックをするデータを指定する
方法がある。具体的な指定方法としては、定型データ内
の各データに重複チェックフラグを設ける方法と、重複
チェック指示のための別ファイルを設けるか、文例格納
部1のプログラムのパラメタとして、重複チェックする
データを指定しておく方法がある。チェックには、前述
したように1つの定型データ内のデータの重複チェック
と複数の定型データにわたるデータの重複チェックがあ
り、1つの定型データ内のチェックには、複数のチェッ
クすべきデータ群が存在する可能性がある。そのため、
それらの区別がつくように、データにフラグを設定する
必要がある。
As another method of determining data to be subjected to duplication check, there is a method of designating data to be subjected to duplication check. As a specific specification method, a method of providing a duplication check flag for each data in the standard data, a method of providing a separate file for a duplication check instruction, or a method of storing the duplication check data as a parameter of the program of the sentence example storage unit 1 are described. There is a way to specify. As described above, the check includes the duplication check of data in one fixed data and the duplication check of data in a plurality of fixed data. The check in one fixed data includes a plurality of data groups to be checked. there's a possibility that. for that reason,
Data must be flagged so that they can be distinguished.

【0061】定例データの各データにフラグを設定した
例として、前述の文例で、降水確率の%と予想温度の度
を文例中の固定文字として持ち、定型データ中では、デ
ータだけでは、降水確率と予想温度の区別がつかないよ
うにした例をあげる。図7の(a)は、定例データの各
データにフラグを設定した例である。地区名の前のフラ
グ「*」は、複数の定例データにまたがってデータが重
複した場合、2 回目以降は省略することを示している。
降水確率1〜4と予想最低気温・予想最高気温のデータ
は数字で、データの区別は指示しないと判断出来ない。
降水確率1〜4のフラグは全て1が設定されており、1
つの定例データ内で省略可能な同一のグループのデータ
を示している。1つの定例データ内に省略可能なグルー
プが複数ある場合は、それぞれのグループ毎に異なる数
字または文字を設定しておけばよい。フラグが空白の部
分は、省略不可のデータである。
As an example in which a flag is set for each data of the regular data, in the above-mentioned sentence example,% of the precipitation probability and the degree of the expected temperature are used as fixed characters in the sentence example. Here is an example that makes it impossible to distinguish between and the expected temperature. FIG. 7A shows an example in which a flag is set for each piece of regular data. The flag "*" in front of the district name indicates that if data overlaps over a plurality of regular data, it is omitted from the second time onward.
The data of the precipitation probabilities 1 to 4 and the expected minimum temperature / expected maximum temperature are numerical values, and it cannot be determined unless the data is instructed.
The flag of all the precipitation probabilities 1 to 4 is set to 1 and 1
It shows the same group of data that can be omitted in one regular data. If there are a plurality of groups that can be omitted in one regular data, different numbers or characters may be set for each group. The blank portion of the flag is data that cannot be omitted.

【0062】定型データ内の各データに重複フラグを持
たせず、重複チェックすべきデータの指示を、別ファイ
ルに格納して指示する場合またはパラメタにより指示す
る場合は、「*,,,1,1,1,1,,」のような重
複チェック指示を入力してどのような重複チェックすべ
き項目かを指定しておく。
When each data in the standard data is not provided with a duplication flag and the instruction of the data to be duplication checked is stored in another file or is indicated by a parameter, "* ,,, 1,1" A duplication check instruction such as "1,1,1 ,," is input to specify what duplication check item is required.

【0063】このように、重複チェックをするデータを
指定すれば、どのデータとどのデータについてどのよう
な重複チェックをすればよいか明確になり、重複チェッ
クを間違えることをなく実行することが出来る。
As described above, when the data to be subjected to the duplication check is designated, it becomes clear which data and what duplication check should be performed for which data, and the duplication check can be executed without mistake.

【0064】重複チェックが済んで、どのデータを省略
するかが確定すると、それに対応する文例を選択する必
要がある。選択する文例は、どのデータを省略するかで
決まるが、対象となる文例が1つとは限らない。その場
合は、対象となる文例から、実施の形態1で用いたよう
な選択方法により使用する文例を決定する。以下に省略
するデータが決定してから、対象となる文例を洗い出す
方法について述べる。
When the duplication check is completed and which data is to be omitted is determined, it is necessary to select a corresponding sentence example. The sentence example to be selected is determined by which data is omitted, but the target sentence example is not limited to one. In this case, a sentence example to be used is determined from the target sentence example by the selection method used in the first embodiment. A method of identifying the target sentence example after the data to be omitted is determined will be described below.

【0065】まず、対象となる文例を洗い出す第1の方
法は、定型データを読む度に文例を全て読み込み、文例
中に省略するデータ名を含まない文例を全て洗い出す方
法である。これは、定型データを読み込む度に文例を全
てチェックして対象となる文例を洗い出すため、最も単
純な方法だが、最も非効率的な方法である。但し、全て
の文例のチェックを最初の1回だけ行い、文例とその文
例がどのデータを省略しているかというテーブルを作成
するようにすると、2回目以降は、このテーブルを参照
すれば、文例がどのデータを省略しているかを何度も判
別する必要もなく、文例自体も既にテーブルに格納され
ているため、再度、文例格納部1−2から読み出す必要
がないので、効率的に処理出来るようになる。
First, a first method of identifying the target sentence example is a method of reading all the sentence examples each time the fixed form data is read, and identifying all the sentence examples not including the data name to be omitted in the sentence examples. This is the simplest method, but the most inefficient method, because every sentence example is checked and the target sentence example is identified each time the standard data is read. However, if all the sentence examples are checked only once at the first time, and the sentence example and a table indicating which data is omitted from the sentence example are created, the sentence example can be referred to from the second time onward by referring to this table. It is not necessary to repeatedly determine which data is omitted, and since the sentence example itself has already been stored in the table, there is no need to read it again from the sentence example storage unit 1-2, so that efficient processing can be performed. become.

【0066】次に、対象となる文例を洗い出す第2の方
法は、文例に省略されるデータが何かを示すインデック
スをつけた文例を格納しておき、定型データから省略す
るデータがわかると、どのデータを省略するかでインデ
ックスを作り、それにより対象となる文例を検索する方
法である。以下に例をあげる。
Next, a second method for identifying the target sentence example is to store a sentence example with an index indicating what data is omitted in the sentence example, and when the data to be omitted is found from the fixed form data, This is a method of creating an index by omitting which data and searching for the target sentence example by that. An example is given below.

【0067】例えば、1 番目のデータと6番目のデータ
が省略される場合、16というインデックスにするよう
に、インデックスの求め方を事前に決めておく。対象と
なる文例は、複数ある可能性があるので、文例は重複キ
ーを持つインデックス付きのファイルとする。重複キー
を持つ文例が存在するため、まず、16という値で、文
例の入っているファイルの対象となる文例の最初の文例
に位置づけし、そこから、インデックスが16という値
でなくなるまで順次読み込みをして、対象となる文例を
全て洗い出す。インデックスは、省略されるデータ番号
でなく、省略されない文例番号や省略されるデータ名等
でもよいが、省略されるデータ番号による方が、インデ
ックスは短くなるため、インデックスとしてより好まし
い。
For example, when the first data and the sixth data are omitted, a method of obtaining an index is determined in advance so that an index of 16 is obtained. Since there may be a plurality of target sentence examples, the sentence example is an indexed file having a duplicate key. Since there is a sentence example with a duplicate key, the value of 16 is first positioned as the first sentence example of the target sentence example of the file containing the sentence example, and the reading is sequentially performed from there until the index is no longer the value of 16. Then, identify all the target sentences. The index may be a non-abbreviated sentence example number, an abbreviated data name, or the like, instead of the abbreviated data number, but the abbreviated data number is more preferable as the index because the index is shorter.

【0068】1つの定型データ内でのみ重複チェックす
る場合は、定型データを1件づつ読み込んで処理をすれ
ばよいので、フローチャートは図2と同様になるが、複
数の定型データにまたがるデータの重複をチェックする
場合、チェックしやすいように定型データ全てを一括し
て読み込むようにすると、処理の流れが変わるため、図
2のフローチャートは、次のように変わる。最初に、定
例データを全て読み込むには、ステップS1で全ての定
型データを読み込み、メモリ上に蓄え、定型データの読
み込みが終了した時点で、ステップS3に移るようにす
る必要がある。そのため、ステップS2で定型データの
読み込みが終了しない間は、ステップS2からステップ
S1に戻り、ステップS2で定型データの読み込みが終
了した時点で、ステップS3に移る。ステップS4から
ステップS6は、読み込んだ全ての定型データについて
一括処理する形になり、ステップS6の処理が終わった
時点で全体の処理が終了となる。
When the duplication check is performed only in one fixed data, the processing is performed by reading the fixed data one by one. Therefore, the flowchart is the same as that of FIG. 2, but the duplication of the data over a plurality of fixed data is performed. Is checked, if all the standard data is read at once to make it easier to check, the flow of processing changes, so the flowchart of FIG. 2 changes as follows. First, in order to read all the regular data, it is necessary to read all the fixed data in step S1, store it in the memory, and move to step S3 when the reading of the fixed data is completed. Therefore, as long as the reading of the standard data is not completed in step S2, the process returns from step S2 to step S1, and when the reading of the standard data is completed in step S2, the process proceeds to step S3. From step S4 to step S6, all the read standard data are processed collectively, and when the processing of step S6 ends, the entire processing ends.

【0069】以上のように、本実施の形態によれば、固
定文字を簡略化した文例を作成出来るだけでなく、重複
したデータそのものを省略してまとめた表現の文例も作
成することが出来、より読み上げ時間を短縮した定例デ
ータ読み上げ装置を実現出来る。
As described above, according to the present embodiment, it is possible not only to create a sentence example in which fixed characters are simplified, but also to create a sentence example in which duplicate data is omitted and summarized. It is possible to realize a regular data reading device in which the reading time is further reduced.

【0070】[0070]

【実施の形態4】次に、定型データ単位に文章を読み上
げるのではなく、定型データの内、早く知りたい情報や
重要な情報等を最初にまとめて読み上げる実施の形態に
ついて、実施の形態1の構成図である図1を用いて説明
する。実施の形態1と同一部分に関しては、適宜、説明
を省略する。
[Embodiment 4] Next, instead of reading out a sentence in fixed data units, information to be quickly known or important information etc. is read out in a fixed form from the fixed data first. This will be described with reference to FIG. A description of the same parts as those in the first embodiment will be appropriately omitted.

【0071】本実施の形態では、定型データ格納部1−
1に格納された定型データの各データは、図7の(b)
に示されるように、どのデータをデータ集合と見なすか
のフラグが設けられている。この例は、定型データを2
つのデータ集合に分けた例である。最初のデータ集合
は、フラグとして「*」または「#」が指定されたデー
タの集合であり、もう1 つのデータ集合は、フラグを設
定されていないデータの集合である。フラグ「*」が設
定されているデータは、最初にのみ読み上げるデータ集
合のデータを指す。フラグ「#」が設定されているデー
タは、最初に読み上げるデータ集合のデータの1つであ
るが、最初のデータ集合だけに属するのではなく、もう
1つの集合データにも属することを示している。つま
り、最初のデータ集合が読み上げられる時にも、もう1
つのデータ集合が読み上げられる時にも、読み上げられ
る共通データであることを表す。
In this embodiment, the fixed form data storage unit 1-
The data of the standard data stored in No. 1 is shown in FIG.
, A flag indicating which data is regarded as a data set is provided. In this example, the fixed form data is 2
This is an example of dividing into two data sets. The first data set is a set of data for which “*” or “#” is designated as a flag, and the other data set is a set of data for which no flag is set. Data for which the flag “*” is set indicates data of a data set to be read out only at the beginning. The data to which the flag “#” is set is one of the data of the data set to be read first, but indicates that the data belongs not only to the first data set but also to another set data. . That is, when the first data set is read out,
When one data set is read out, it indicates that it is common data that is read out.

【0072】文例格納部1−2に、図4の(b)のよう
な文例が格納されているものとし、図7の(b)の定型
データの最初の3件を読み上げると、「神奈川県東部の
2月1日の天気は、晴れ後曇り。2月2日は、晴れ。2
月3日は、晴れ時々雨。2月1日の降水確率、0時から
6時までは0%、6時から12時までは10%、12時
から18時までは30%、18時から24時までは30
%、予想最低気温は0度、予想最高気温は10度でしょ
う。2月2日の降水確率、0時から6時までは0%、6
時から12時までは0%、12時から18時までは0
%、18時から24時までは0%、予想最低気温は0
度、予想最高気温は10度でしょう。2月3日の降水確
率、0時から6時までは10%、6時から12時までは
10%、12時から18時までは60%、18時から2
4時までは60%、予想最低気温は0度、予想最高気温
は10度でしょう。」となる。
It is assumed that a sentence example as shown in FIG. 4B is stored in the sentence example storage unit 1-2, and the first three fixed form data in FIG. 7B are read out. The weather on the eastern part on February 1 is fine and cloudy, and on February 2 it is fine.2
On March 3, it is fine and sometimes rainy. Probability of precipitation on February 1, 0% from 0:00 to 6:00, 10% from 6:00 to 12:00, 30% from 12:00 to 18:00, 30 from 18:00 to 24:00
%, The expected minimum temperature will be 0 degrees, the expected maximum temperature will be 10 degrees. Probability of precipitation on February 2, 0% from 0:00 to 6:00, 6%
0% from hour to 12:00, 0% from 12:00 to 18:00
%, 0% from 18:00 to 24:00, the expected minimum temperature is 0
Degree, the expected maximum temperature will be 10 degrees. Probability of precipitation on February 3, 10% from 0:00 to 6:00, 10% from 6:00 to 12:00, 60% from 12:00 to 18:00, 18:00 to 2
By 4 o'clock, the expected minimum temperature will be 0 degrees and the expected maximum temperature will be 10 degrees. ".

【0073】この実施の形態では、定型データのどのデ
ータをまとめるかを、各データにフラグを設けることに
より行っているが、これを別ファイルに格納したり、文
例選択部1のプログラムのパラメタにより指定してもよ
い。図7の(b)の定型データのフラグで指定するのを
やめ、フラグのみを別ファイルかパラメタで指定する場
合は、例えば、「*,#,*,,,,,,」のように指
定する。これを短縮して「*,#,*」としてもよい。
In this embodiment, which data of the fixed form data is to be combined is provided by providing a flag for each data. However, this is stored in a separate file, or by using a parameter of the program of the sentence example selection unit 1. May be specified. In the case where the specification of the standard data flag in FIG. 7B is stopped and only the flag is specified by another file or parameter, for example, the specification is performed as “*, #, * ,,,,,” I do. This may be shortened to “*, #, *”.

【0074】本実施の形態に実施の形態3の機能を組み
合わせる場合は、データの集合を表すフラグと、重複チ
ェックするデータを示すフラグが重なる場合があるの
で、各データ毎にフラグを分けて持つ必要があるため、
定型データは、図7の(c)のようになる。図4の
(b)の3件目の文例の降水確率の部分を、まとめて表
現する文例を追加して、図7の(c)の最初の3件を読
み上げると、以下のようになる。「神奈川県東部の2月
1日の天気は、晴れ後曇り。2月2日は、晴れ。2月3
日は、晴れ時々雨。2月1日の降水確率、0時から6時
までは0%、6時から12時までは10%、12時から
24時までは30%、予想最低気温は0度、予想最高気
温は10度でしょう。2月2日の降水確率、0時から2
4時までは0%、予想最低気温は0度、予想最高気温は
10度でしょう。2月3日の降水確率、0時から12時
までは10%、12時から24時までは60%、予想最
低気温は0度、予想最高気温は10度でしょう。」この
ように、更に文章を短くすることが出来る。
When the function of the third embodiment is combined with the third embodiment, a flag indicating a set of data and a flag indicating data to be checked for duplication may be overlapped. Need to
The standard data is as shown in FIG. When the first three sentences in FIG. 7C are read aloud by adding a sentence example that collectively expresses the precipitation probability portion of the third sentence example in FIG. 4B, the result is as follows. "The weather on the eastern part of Kanagawa Prefecture on February 1 is cloudy after clearing. On February 2 it is sunny. February 3
The day is sunny and sometimes rainy. Probability of precipitation on February 1, 0% from 0:00 to 6:00, 10% from 6:00 to 12:00, 30% from 12:00 to 24:00, predicted minimum temperature of 0 ° C, predicted maximum temperature of 10% Degree. Probability of precipitation on February 2 from 0:00 to 2
Until 4:00, 0%, the lowest expected temperature is 0 degrees, the highest expected temperature is 10 degrees. The probability of precipitation on February 3 is 10% from 0:00 to 12:00, 60% from 12:00 to 24:00, the expected minimum temperature is 0 degrees and the expected maximum temperature is 10 degrees. In this way, sentences can be further shortened.

【0075】本実施の形態により、最初に複数の定型デ
ータ内で重要度の高いデータをまとめて音声出力し、後
のデータはそれに続いて詳細データとして音声出力する
ことが可能となるため、必要な情報だけ先に聞くことが
出来、後の情報は必要がなければ聞き流すことが出来る
ようになる。
According to the present embodiment, it is possible to collectively output data having a high degree of importance in a plurality of fixed data at once and output the subsequent data as detailed data by voice. You will be able to listen only to important information first, and later information will be heard if you do not need it.

【0076】それ以外の方法としては、定型データにフ
ラグを持つのではなく、文例にフラグを持つ方法があ
る。この方法を用いて、図4の(a)に示すような、実
施の形態1の文例の指定方法を組み合わせた場合、例え
ば、図4の(c)で示す文例のようになる。まず、最初
のデータ集合を読み上げるために使用する文例に1とい
うフラグを設定し、第2のデータ集合を読み上げるため
に使用する文例に2というフラグを設定する。フラグが
1である文例は2件あり、1件目の文例は1回だけ使用
し、2件目の文例は繰り返し使用するように、2件目の
フラグの2バイト目には*を指定する。そして、各フラ
グ毎の文例を用いて,全ての定例データについて読み上
げる。この方法を用いれば、データ毎にフラグを設定し
てグループ化しなくても、文例の中で使用しているデー
タをチェックすることにより、データのグループ化が可
能となる。
As another method, there is a method in which a sentence example has a flag instead of having a flag in fixed data. When this method is used in combination with the specification method of the sentence example of the first embodiment as shown in FIG. 4A, for example, the sentence example shown in FIG. 4C is obtained. First, a flag of 1 is set for a sentence example used for reading out the first data set, and a flag of 2 is set for a sentence example used for reading out the second data set. There are two sentence examples where the flag is 1, and * is specified in the second byte of the second flag so that the first sentence is used only once and the second sentence is used repeatedly. . Then, all the regular data are read out using the sentence example for each flag. By using this method, data can be grouped by checking data used in a sentence example without setting a flag for each data and performing grouping.

【0077】データにフラグをつけたり、別ファイルや
パラメタでデータの集合を指定する方法では、複数のデ
ータ集合間にまたがって使用するデータを指定するの
は、全てのデータ集合に必須のデータでない限り、いく
つものフラグを設けないと難しいが、文例でデータをグ
ループ化する方法の場合、データの集合を指定しなくて
も、文例で使用されているデータでデータの集合が規定
されることになるため、指定の仕方が極めて容易とな
る。
In the method of attaching a flag to data or specifying a data set by another file or parameter, data to be used across a plurality of data sets is specified unless the data is essential to all data sets. Although it is difficult to provide several flags, it is difficult to group data by sentence example. Even if you do not specify a data set, the data set is specified by the data used in the sentence example Therefore, the designation method becomes extremely easy.

【0078】[0078]

【実施の形態5】次に、定型データと文例を基にして、
データを読み上げるだけでなく、表を作成して表示装置
に表示することにより、耳で聞くだけでなく、見ること
によっても情報を取得出来るようにした実施の形態につ
いて、車載情報サービス端末として用いられるカーナビ
ゲーションを例にとり、図8の構成図を用いて説明す
る。
[Embodiment 5] Next, based on standard data and sentence examples,
In addition to reading out data, by creating a table and displaying it on a display device, it is possible to acquire information not only by listening but also by looking at it, used as an in-vehicle information service terminal This will be described with reference to the configuration diagram of FIG. 8 taking car navigation as an example.

【0079】本実施の形態では、定型データを週間天気
予報のデータとし、定型データと文例の送信は、放送局
からのFM放送で送られる文字放送の形で行われるもの
とする。また、いわゆるITSと呼ばれるシステムの一
部として地域毎の道路交通情報や天気予報のデータを特
別のサービスステーションから受信する場合も含まれる
ものとする。
In the present embodiment, it is assumed that the fixed data is used as weekly weather forecast data, and that the fixed data and the sentence are transmitted in the form of a text broadcast transmitted by an FM broadcast from a broadcasting station. In addition, a case where road traffic information and weather forecast data for each area are received from a special service station is also included as a part of the so-called ITS system.

【0080】放送局は、データ送信部6により、放送局
にある定型データ格納部6−1と文例格納部6−2を入
力として、定型データと文例をFM電波で放送する。カ
ーナビゲーションは、データ受信部7により該定型デー
タと該文例を受信し、カーナビゲーション側にある定型
データ格納部7−1と文例格納部7−2に格納する。表
示データ作成部8は、定型データ格納部12−1と文例
格納部12−2から、定型データと文例を取得して表デ
ータを作成し、ディスプレイ等の表示装置15に表示す
る。音声データ作成部9の構成は、前述した実施の形態
の構成図において、定型データ格納部1−1が定型デー
タ格納部7−1に、文例格納部1−2が文例格納部7−
2に置き換わることと、音声を出力する部分をスピーカ
等の音声出力装置11としていること以外は同じである
ため、説明は省略する。
The broadcasting station uses the data transmitting section 6 to input the fixed data storage section 6-1 and the sentence example storage section 6-2 in the broadcasting station as input, and broadcast the fixed data and the sentence examples by FM radio waves. In the car navigation, the fixed data and the sentence example are received by the data receiving unit 7 and stored in the fixed data storage unit 7-1 and the sentence example storage unit 7-2 on the car navigation side. The display data creation unit 8 acquires the standard data and the sentence example from the fixed data storage unit 12-1 and the sentence example storage unit 12-2, creates table data, and displays the table data on the display device 15 such as a display. The configuration of the voice data creation unit 9 is such that the fixed form data storage unit 1-1 is provided in the fixed form data storage unit 7-1 and the sentence example storage unit 1-2 is provided in the sentence example storage unit 7- in the configuration diagram of the above-described embodiment.
2 is the same as that of the first embodiment except that the audio output unit 11 is replaced with a sound output device 11 such as a speaker.

【0081】表示データ作成部8がどのようにして表デ
ータを作成するのかについて、以下に例をあげて説明す
る。
The following describes an example of how the display data creation unit 8 creates table data.

【0082】表データを生成する際には、もっとも丁寧
な表現をしている1件目の文例を入力データとし、変数
は番号ではなく、変数名で使用しているものとする。定
型データは、図7の(c)とし、文例は、「≪地区名≫
の≪月日≫の天気は≪天気≫でしょう。0時から6時ま
での降水確率は≪降水確率1≫%でしょう。6時から1
2時までの降水確率は≪降水確率2≫%でしょう。12
時から18時までの降水確率は≪降水確率3≫%でしょ
う。18時から24時までの降水確率は≪降水確率4≫
%でしょう。予想最低気温は≪予想最低気温≫度でしょ
う。予想最高気温は≪予想最高気温≫度でしょう。」と
する。
When generating the table data, it is assumed that the first sentence example expressing the most polite expression is the input data, and the variables are used not as numbers but as variable names. The standard data is (c) in FIG. 7, and the sentence example is “{district name}”.
The day of the month will be Weather. The probability of precipitation from 0:00 to 6:00 will be {precipitation probability 1%}. From 6:00 1
The chance of precipitation until 2 o'clock will be {precipitation probability 2%}. 12
From 18:00 to 18:00, the probability of precipitation will be {3}%. Precipitation probability from 18:00 to 24:00 is {precipitation probability 4}
%. The expected minimum temperature will be {expected minimum temperature} degrees. The expected maximum temperature will be ≪expected maximum temperature≫ degrees. ".

【0083】まず、メモリ上に表と同様の形式の2次元
テーブルを設ける。表の上端には、何のデータかを示す
ための項目名を入れる必要があるため、前記2次元テー
ブルの表の上端に項目名を入れるために1行分空けてお
くことにする。次に、表の各列が何のデータであるかを
示す変数名を、文例から項目名として取得する。前述の
文例の場合、項目名は、地区名・月日・天気・降水確率
1・降水確率2・降水確率3・降水確率4・予想最低気
温・予想最高気温となる。あとは、定型データを読み込
んで、順番にテーブルに格納するだけである。変数名を
単純に各データを表す項目名として使用して作表する場
合は、図9の(a)のような週間天気予報表になる。
First, a two-dimensional table having the same format as the table is provided on the memory. At the top of the table, it is necessary to enter an item name to indicate what data, so one line is left at the top of the two-dimensional table in order to enter the item name. Next, a variable name indicating what data is in each column of the table is obtained as an item name from the sentence example. In the case of the above sentence example, the item names are: district name, month, day, weather, precipitation probability 1, precipitation probability 2, precipitation probability 3, precipitation probability 4, predicted minimum temperature, and predicted maximum temperature. All that remains is to read the standard data and store it in the table in order. When a table is created by simply using the variable names as the item names representing the respective data, a weekly weather forecast table as shown in FIG.

【0084】ここで、さらに見やすい表にするために、
次に機能を追加する。図7の(a)の地区名は、複数の
定型データにまたがる重複チェックを行うデータなの
で、1件目以降の地区名は省略する。月日に関しては、
月と日に分解し、月の部分が同じだと「〜月」の部分を
省略する。
Here, in order to make the table easier to read,
Next, add functions. The district name in FIG. 7A is data for performing duplication check over a plurality of standard data, and the first and subsequent district names are omitted. As for the date,
The month and day are disassembled, and if the month is the same, the "~ month" part is omitted.

【0085】次に、定型データの内、降水確率1〜4
は、図7の(c)に示すように定型データ内の重複チェ
ックを行うデータであるということがわかる。つまり、
重複チェックであるということは、同じ種類のデータで
あるということなので、文例の変数の直前の固定文字を
チェックすると、降水確率1〜4の直前にある固定文字
は、それぞれ、「0時から6時までの降水確率は」、
「6時から12時までの降水確率は」、「12時から1
8時までの降水確率は」、「18時から24時までの降
水確率は」である。それぞれの固定文字から助詞の
「は」を除くと、「降水確率」という言葉とそれを修飾
している語から成り立っていることが分かる。そのた
め、「降水確率」を、データである降水確率1〜4をま
とめた語であると判断する。「降水確率」という項目名
は、文例の変数名である降水確率1〜4から共通する部
分である「降水確率」という言葉を取り出してもよい。
Next, among the standard data, precipitation probabilities 1 to 4
It can be seen that is data for which duplication check in the standard data is performed, as shown in FIG. That is,
Since the duplication check is data of the same type, if the fixed characters immediately before the variables in the sentence example are checked, the fixed characters immediately before the precipitation probabilities 1 to 4 are “0 to 6”, respectively. The probability of precipitation until time is
"The precipitation probability from 6:00 to 12:00", "12:00 from 12:00"
The probability of precipitation until 8:00 is "and the probability of precipitation from 18:00 to 24:00". Excluding the particle “ha” from each fixed letter, it can be seen that the word consists of the word “precipitation probability” and its modifier. Therefore, it is determined that the “precipitation probability” is a word that summarizes the precipitation probabilities 1 to 4 that are data. For the item name “precipitation probability”, the word “precipitation probability” which is a common part from the precipitation probabilities 1 to 4 which are variable names in the sentence example may be extracted.

【0086】降水確率1〜4を区別しているのは文例の
中の変数名を修飾している部分なので、助詞を除くと、
降水確率1〜4は、それぞれ、「0時から6時まで」、
「6時から12時まで」、「12時から18時まで」、
「18時から24時まで」となり、これを、降水確率1
〜4を区別する語とみなす。このまま表の項目名として
使用すると長いので、「から」と「まで」を「〜」に変
換し、各項目の長さを合わせるために、2桁の数字を半
角に変換する。降水確率1〜4は、1つの定型データ内
での重複チェックするデータであるが、数字であり、表
にする際に省略するのは好ましくないので、省略せずに
そのまま残す。この場合、項目名を入れる領域は、テー
ブルの上2行となる。
[0086] The difference between the precipitation probabilities 1 to 4 is the part that modifies the variable name in the sentence example.
The rainfall probabilities 1-4 are "from 0 o'clock to 6 o'clock", respectively.
"From 6:00 to 12:00", "From 12:00 to 18:00",
"From 18:00 to 24:00"
4 are regarded as distinctive words. Since it is long if it is used as an item name in the table as it is, "from" and "to" are converted to "~", and two-digit numbers are converted to half-width to match the length of each item. The precipitation probabilities 1 to 4 are data to be checked for duplication within one set of data, but are numerical values, and it is not preferable to omit them when putting them into a table. In this case, the area for entering the item name is the upper two rows of the table.

【0087】また、各データに関しては、定例データを
そのまま表示するのではなく、文例中の変数名の直後の
語をチェックし、変数名直後の語が「%」や「度」等の
単位を表す語である場合は、表を分かりやすくするため
に、表中に取り込む。各データの桁数をいくらにするか
に関しては、対応するデータの最大データ長と項目名の
長さをチェックし、長い方とする。項目名は、桁数の真
ん中になるよう、センタリングを行う。数字に関して
は、右詰めとする。このようにして、項目名や定型デー
タを編集したり、位置合わせを行って作表すると、図9
の(b)のような週間天気予報表となる。
For each data, instead of displaying the regular data as it is, the word immediately after the variable name in the sentence example is checked, and the word immediately after the variable name is converted to a unit such as “%” or “degree”. If it is a word that expresses it, it is included in the table to make the table easier to understand. Regarding the number of digits of each data, check the maximum data length of the corresponding data and the length of the item name, and determine the longer one. Center the item name so that it is in the middle of the number of digits. Numbers are right-justified. As described above, when the item names and the standard data are edited or aligned and tabulated, the table shown in FIG.
A weekly weather forecast table as shown in FIG.

【0088】更に、予想最低気温と予想最高気温に関し
ては、語分解し、変数単位に変数名の語尾の語と語頭の
語が同じかどうかチェックし、語尾の語のみが同じか、
語尾の語と語頭の語が同じ場合は、共通項目とみなし、
共通項目名として取り出すことも可能である。例えば、
語頭の語の「予想」と語尾の語の「気温」が同じなの
で、予想気温を共通語としてとりだし、各データの項目
名はそれぞれ「最低」、「最高」とする。
Further, with respect to the expected minimum temperature and the expected maximum temperature, word decomposition is performed, and it is checked whether the ending word of the variable name is the same as the ending word in the variable unit.
If the ending word is the same as the beginning word, it is regarded as a common item,
It can also be extracted as a common item name. For example,
Since the first word "forecast" is the same as the last word "temperature", the expected temperature is taken as a common word, and the item names of each data are "lowest" and "highest", respectively.

【0089】以上のようにして、表データを作成し、表
示する際には、表データを罫線をつけて表示する。罫線
は、罫線を表す文字である書式形式文字を使ってもよい
し、グラフィックによる罫線を使用してもよい。書式形
式文字を用いる場合、各データの上下や左右に書式形式
文字を入れる領域を確保しておくことにより、項目名や
データをテーブルに埋め込む際に、適切な書式形式文字
を埋め込むと、そのまま画面に表示することが出来る。
As described above, when creating and displaying table data, the table data is displayed with ruled lines. As the ruled line, a format character that is a character representing the ruled line may be used, or a graphic ruled line may be used. When using format characters, secure the area for the format characters on the top, bottom, left and right of each data, and when embedding the appropriate format characters when embedding item names and data in the table, Can be displayed.

【0090】本実施の形態により、定型データを音声だ
けでなく、表示装置に出力出来る場合は、必要な情報を
音声で聞くことも出来るし、画面上で目で確認すること
も出来るようになり、目で確認出来る場合は、より早
く、必要な情報を取得出来るようになる。例えば、カー
ナビゲーションの場合は、車で走行中は画面を注視する
と危険なので音声で聞き、信号等で停止している時等は
画面を見る事により、耳で聞くより早く情報を取得出来
るようになる。
According to the present embodiment, when the fixed data can be output not only to the voice but also to the display device, the necessary information can be heard by the voice and can be visually confirmed on the screen. If it can be confirmed visually, the required information can be obtained more quickly. For example, in the case of car navigation, it is dangerous to watch the screen while driving a car, so it is dangerous to listen to the voice, and when stopping at a signal etc., look at the screen so that information can be acquired faster than listening by ear. Become.

【0091】[0091]

【実施の形態6】次に、表を含む文章を入力にして、表
で表された定型データを読み上げる実施の形態につい
て、図10を用いて説明する。
[Embodiment 6] Next, an embodiment in which a sentence including a table is input and the fixed form data represented in the table is read out will be described with reference to FIG.

【0092】文章中にある表のデータ部分を音声で読み
上げる装置に関しては、「文書読み上げ装置(特開平5
−46607)」で開示されている。該文書読み上げ装
置においては、罫線を罫線素片(書式形式文字に相当)
をチェックして表を検出し、罫線情報から表上のデータ
位置を算出し、項目名とデータを取り出し、必要に応じ
て、利用者と対話して表読み上げ情報を指定することに
より、必要な情報のみを読み上げることが出来る。読み
上げ方は、項目名を銘柄、データをA社とすると、単純
に「銘柄、A社」と読み上げるだけである。
Regarding a device for reading out a data portion of a table in a sentence by voice, a document reading device (Japanese Patent Laid-Open No.
-46607) ". In the document reading device, a ruled line is converted to a ruled line fragment (corresponding to a format character).
Check the table to detect the table, calculate the data position on the table from the ruled line information, extract the item names and data, and, if necessary, interact with the user to specify the table reading information. Can read only information. As for the reading method, assuming that the item name is the brand and the data is the company A, it is simply read as “brand, company A”.

【0093】本実施の形態で表部分を判別する文章・表
判別部12の機能は、書式形式文字を検出して表を判別
することであるが、前記文書読み上げ装置の発明の文書
と表の分類機能と同様なので、詳細な説明は省略する。
表構造解析部13は、各データが表の何バイト目から何
バイトにあるか解析し、項目名とデータを取り出す。こ
こまでは、前記文書読み上げ装置の機能と同様である。
前記文書読み上げ装置では、例えば、図9の(a)のよ
うな表があると、「地区名、神奈川県東部。月日、2月
1日。天気、晴れ後曇り。降水確率1、0。降水確率
2、10。降水確率3、30。降水確率4、30。予想
最低気温、0。予想最高気温、10。地区名、神奈川県
東部。月日、2月2日。天気、晴れ。・・・・」のよう
に読み上げる。前記文書読み上げ装置においては、表読
み上げ情報を指定することにより、降水確率1〜4に%
をつけたり、予想最低気温・予想最高気温に度をつけた
り、必要な情報のみを読み上げることは可能である。し
かし、データの重複をチェックして、読み上げ方を変え
ることは出来ない。また、図9の(b)のように項目名
の欄が複数行にまたがっている場合や、詳細な項目をま
とめる大きな項目がある場合や、地区名や月日のよう
に、表を見やすくするためにデータが省略されている場
合には対応出来ない。
In the present embodiment, the function of the sentence / table discriminating section 12 for discriminating a table portion is to detect a format-format character to discriminate a table. Since it is the same as the classification function, detailed description is omitted.
The table structure analysis unit 13 analyzes from what byte to how many bytes each data is in the table, and extracts an item name and data. Up to this point, the functions are the same as those of the above-described document reading device.
In the document reading apparatus, for example, if there is a table as shown in FIG. 9A, "area name, eastern Kanagawa prefecture. Mon., Feb. 1. Weather, cloudy after clearing, precipitation probability 1, 0. Precipitation probability 2, 10. Precipitation probability 3, 30. Precipitation probability 4, 30. Expected low temperature, 0. Expected high temperature, 10. District name, eastern Kanagawa prefecture.Monday, February 2, weather, sunny.- ... ”. In the document reading aloud device, by specifying table reading information, the probability of precipitation is reduced to 1 to 4%.
It is possible to add a guess, set the expected minimum and maximum temperatures, and read only the necessary information. However, it is not possible to check the duplication of data and change the reading method. In addition, as shown in FIG. 9B, when the column of the item name extends over a plurality of lines, when there is a large item that summarizes detailed items, or when the table is made easier to read, such as a district name or a month and day. Therefore, if the data is omitted, it cannot be handled.

【0094】本実施の形態では、表構造解析部13は、
さらに、図9の(b)のような表の項目名を取り出す機
能や、データが省略されている部分を補う機能や、表の
書き方から重複チェックの仕方や重複チェックすべき項
目を洗い出し、自動的に、定型データと文例をつくり出
す機能を持つ。
In the present embodiment, the table structure analysis unit 13
Further, a function for retrieving a table item name as shown in FIG. 9B, a function for compensating for a portion where data is omitted, a method of duplication check and an item to be duplicity checked from a table writing method, and In addition, it has a function to create standard data and sentence examples.

【0095】まず、項目名の取り出しであるが、図9の
(b)のような表があった場合、表の1番上の欄の内、
最も大きい行数の欄をチェックする。ここでは、地区名
・月日・天気が3行にまたがっているので、表の上3行
分を項目名とみなす。地区名・月日・天気予想最低気温
・予想最高気温に関しては、その欄の3行分のデータを
連続する1つのデータとして取り出し、空白を前詰めに
することにより、項目名となる「地区名」・「月日」・
「天気」・「天気予想最低気温」・「予想最高気温」を
取り出す。項目名「天気」の間にも空白があるが、これ
は、中間表記に変換する際に問題となるので、詰めるよ
うにする。
First, the item names are fetched. If there is a table as shown in FIG. 9B, in the topmost column of the table,
Check the column with the largest number of rows. Here, since the district name, month, day, and weather are spread over three lines, the top three rows are regarded as item names. With regard to the district name, month, day, expected weather minimum temperature, and expected maximum temperature, the data for the three lines in the column is extracted as one continuous data, and blanks are left-justified, so that the "area name" becomes the item name. "·"time"·
Extract "weather", "weather expected minimum temperature", "expected maximum temperature". Although there is a space between the item names "weather", this becomes a problem when converting to the intermediate notation, so it should be padded.

【0096】「降水確率」の欄に関しては、「降水確
率」が1つの欄で、その下に4つの欄が設けられている
ことから、「降水確率」は、下の4つの項目をまとめる
言葉と判断出来、4つの項目は同類のデータであり、重
複チェック可能だと判断する。これにより、重複チェッ
クをまとめた文例を作成することと、重複チェックフラ
グをたてた定型データを生成することが可能となる。降
水確率を表す4つの項目名に関しては、文例を作成する
際には、「〜」を「から」に変換して文例の固定文字を
生成するようにする。
As for the column of “precipitation probability”, since “precipitation probability” is one column and four columns are provided below the column, “precipitation probability” is a word that summarizes the following four items. It is determined that the four items are the same type of data and that the duplicate check can be performed. As a result, it is possible to create a sentence example in which the duplication check is put together, and to generate standard data with the duplication check flag set. Regarding the four item names representing the probability of precipitation, when creating a sentence example, “〜” is converted to “kara” to generate fixed characters of the sentence example.

【0097】次に、定型データを見ていくと、地区名の
データに関しては、データをチェックすると2件目以降
が省略されているので、地区名が定型データ間にまたが
る重複チェックが可能とみなすことが出来る。月日のデ
ータに関しては、2件目以降のデータの2月が省略され
ているが、月日等の項目は一般的によく使用されるの
で、表構造解析部13の内部に、省略されている「2
月」を復元するような処理を、汎用的に組み込んでおく
ことが望ましい。
Next, looking at the standard data, regarding the data of the district name, when the data is checked, since the second and subsequent cases are omitted, it is considered that the duplication check that the district name straddles the standard data is possible. I can do it. As for the date data, February of the second and subsequent data is omitted. However, since items such as date are generally often used, they are omitted inside the table structure analysis unit 13. "2
It is desirable to incorporate a process for restoring the month for general use.

【0098】また、降水確率や予想気温の%や度等の単
位は、定型データのデータ量を減らすために、文例とし
て外出しにするとよい。このようにして、データを復元
・生成して、重複フラグを設定すると、図9の(b)の
表は、図7の(a)のデータに変換することが可能であ
る。
Further, the units such as the probability of precipitation and the percentage and degree of the expected temperature may be set as outside sentences as sentence examples in order to reduce the data amount of the standard data. When the data is restored / generated and the duplication flag is set in this way, the table of FIG. 9B can be converted into the data of FIG. 7A.

【0099】このようにして、取り出した項目名や外出
しにした単位をもとに、最小限の助詞等を補って文例を
作成すると、「地区名は、≪地区名≫。月日は、≪月日
≫。天気は、≪天気≫。降水確率、0時から6時は、≪
0時〜6時≫%、6時から12時は、≪6時〜12時≫
%、12時から18時は、≪12時〜18時≫%、18
時から24時は、≪18時〜24時≫%。予想最低気温
は、≪予想最低気温≫度。予想最高気温は、≪予想最高
気温≫度。」を最も基本的な文例として、降水確率をま
とめたり、地区名を省略したりして、16通りの文例を
作成することが出来る。
In this way, when a sentence example is created based on the extracted item names and the extracted units and supplementing the minimum particles, etc., the expression “district name is {district name}. {Monday} .The weather is {Weather} .Precipitation probability, from 0:00 to 6:00,
From 0:00 to 6: 00%, from 6:00 to 12:00, from 6:00 to 12:00
%, From 12:00 to 18:00, {12:00 to 18:00}%, 18
From 18:00 to 24:00, the rate is from 18:00 to 24:00. The expected minimum temperature is {expected minimum temperature} degrees. The expected maximum temperature is {expected maximum temperature} degrees. "Is the most basic sentence example, and 16 kinds of sentence examples can be created by summarizing the precipitation probabilities and omitting the district names.

【0100】これ以降の工程については、文書の中の文
章の部分が、文書・表判別部12から文章解析部3に渡
されること以外は、実施の形態1と同様であるので説明
を省略する。
The subsequent steps are the same as those in the first embodiment except that the sentence portion in the document is passed from the document / table discriminating section 12 to the sentence analyzing section 3, and therefore the description is omitted. .

【0101】本実施の形態により、文書中に存在する表
の部分も、表から文例や定型データを生成し、表データ
をいろいろな文章にして読み上げることが可能になるた
め、聴取者は、飽きることなく、表の情報を聞くことが
出来ると同時に、情報を短縮して聞くことも可能とな
る。
According to the present embodiment, a table part existing in a document can be read out by generating a sentence example or fixed form data from the table and converting the table data into various sentences. Without having to listen to the information in the table, it is also possible to listen to the information in a shorter form.

【0102】次に、本発明の実施の形態1乃至6にかか
るデータ読み上げ装置を実現するプログラムを記載した
記録媒体は、図11に示す記録媒体の例のように、CD
−ROM15−1やフロッピーディスク15−2等の可
搬型記録媒体15だけでなく、通信回線の先に蓄えられ
た他の記憶装置14や、コンピュータのハードディスク
やRAM等の記録媒体17のいずれでも良く,本発明に
かかる定型データ読み上げ装置を利用する際に、コンピ
ュータ16により読み込まれる。
Next, a recording medium in which a program for realizing the data reading apparatus according to the first to sixth embodiments of the present invention is described, as shown in the example of the recording medium shown in FIG.
Not only the portable recording medium 15 such as the ROM 15-1 and the floppy disk 15-2, but also any other storage device 14 stored at the end of a communication line, or the recording medium 17 such as a hard disk or a RAM of a computer. The data is read by the computer 16 when using the fixed form data reading device according to the present invention.

【0103】[0103]

【発明の効果】本発明のデータ読み上げ装置によれば、
表等で表された定型データを読み上げる際に、同じ形式
の文章を繰り返し読み上げるのではなく、定型データ毎
に異なる文章で読み上げることや、重複するデータをま
とめて読み上げることや、必要な情報だけ先に聞くこと
が可能となるため、聴取者は、飽きることなく、短時間
で、必要な情報を聞くことが出来る。従って、車載情報
サービス端末装置等に適用して利用者への音声情報を提
供すると、極めて有効である。
According to the data reading device of the present invention,
When reading fixed form data expressed in a table, etc., instead of reading out sentences in the same format repeatedly, read out different sentences for each fixed form data, collectively read out duplicate data, and read only necessary information Therefore, the listener can hear necessary information in a short time without getting bored. Therefore, it is extremely effective to provide voice information to a user by applying the present invention to an in-vehicle information service terminal device or the like.

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

【図1】 本発明の基本構成図FIG. 1 is a basic configuration diagram of the present invention.

【図2】 本発明の基本的な処理の流れを示すフローチ
ャート
FIG. 2 is a flowchart showing a basic processing flow of the present invention.

【図3】 本発明の実施の形態1にかかるデータ読み上
げ装置の構成図
FIG. 3 is a configuration diagram of a data reading device according to the first embodiment of the present invention;

【図4】 文例のデータ内容Fig. 4 Data contents of sentence example

【図5】 本発明の実施の形態2にかかるデータ読み上
げ装置の構成図
FIG. 5 is a configuration diagram of a data reading device according to a second embodiment of the present invention;

【図6】 本発明の実施の形態2の処理の流れを示すフ
ローチャート
FIG. 6 is a flowchart showing a processing flow according to the second embodiment of the present invention;

【図7】 定型データの例Fig. 7 Example of fixed data

【図8】 本発明の実施の形態5にかかるデータ読み上
げ装置の構成図
FIG. 8 is a configuration diagram of a data reading device according to a fifth embodiment of the present invention;

【図9】 週間天気予報表[Figure 9] Weekly weather forecast table

【図10】 本発明の実施の形態5にかかるデータ読み
上げ装置の構成図
FIG. 10 is a configuration diagram of a data reading device according to a fifth embodiment of the present invention;

【図11】 記憶媒体の例示図FIG. 11 is an exemplary diagram of a storage medium.

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

1 文例選択部 1−1 定型データ格納部 1−2 文例格納部 2 文章合成部 3 文章解析部 3−1 形態素辞書 4 音声合成部 4−1 音声素片辞書 5 定型データ変換部 5−1 定型データ用形態素辞書 6 データ送信部 6−1 放送局側の定型データ格納部 6−2 放送局側の文例格納部 7 データ受信部 7−1 カーナビゲーション側の定型データ格納部 7−2 カーナビゲーション側の文例格納部 8 表示データ作成部 9 音声データ作成部 10 ディスプレイ等の表示装置 11 スピーカ等の音声出力装置 12 文章・表判別部 12−1 文章格納部 13 表構造解析部 14 通信回線の先に蓄えられた他の記憶装置 15 CD−ROMやフロッピーディスク等の可搬
型記憶媒体 15−1 CD−ROM 15−2 フロッピーディスク 16 コンピュータ 17 コンピュータ上のRAM/ハードディスク等
の記憶媒体
1 sentence example selection unit 1-1 fixed data storage unit 1-2 sentence example storage unit 2 sentence synthesis unit 3 sentence analysis unit 3-1 morphological dictionary 4 speech synthesis unit 4-1 speech unit dictionary 5 fixed data conversion unit 5-1 fixed format Data morphological dictionary 6 Data transmission unit 6-1 Broadcast station-side fixed data storage unit 6-2 Broadcast station-side sentence example storage unit 7 Data receiving unit 7-1 Car navigation-side fixed data storage unit 7-2 Car navigation side Sentence example storage unit 8 display data creation unit 9 audio data creation unit 10 display device such as display 11 audio output device such as speaker 12 text / table discrimination unit 12-1 text storage unit 13 table structure analysis unit 14 ahead of communication line Other stored storage device 15 Portable storage media such as CD-ROM and floppy disk 15-1 CD-ROM 15-2 Floppy disk 16 Computer Data 17 Storage media such as RAM / hard disk on computer

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 1つ以上のデータから成る特定フォーマ
ットを持つ定型データを基に文章を合成し、音声出力す
るデータ読み上げ装置において、 前記定型データを埋め込むための文例を複数格納する文
例格納部と、 前記定型データを読み込み、前記定型データ毎に埋め込
む文例を変えて文章を合成する文章合成部を有すること
を特徴とするデータ読み上げ装置。
1. A data reading device for synthesizing a sentence based on fixed data having a specific format composed of one or more data and outputting a voice, a sentence example storage unit for storing a plurality of sentence examples for embedding the fixed data. A data reading device comprising: a sentence synthesizing unit that reads the fixed form data and synthesizes a sentence by changing a sentence example to be embedded for each fixed form data.
【請求項2】 1つ以上のデータから成る特定フォーマ
ットを持つ定型データを基に文章を合成し、音声出力す
るデータ読み上げ装置において、 前記定型データを複数格納する定型データ格納部と、 前記定型データを埋め込むための文例を複数格納する文
例格納部と、 前記文例格納部から、前記定型データ毎に埋め込む文例
を変えて選択する文例選択部と、 前記定型データと前記選択された文例を基に、文書を合
成する文章合成部と、 前記合成された文書を解析して、音声を表現するための
中間表記に変換する文章解析部と、 前記中間表記を基に音声を合成して出力する音声合成部
を有することを特徴とするデータ読み上げ装置。
2. A data reading device for synthesizing a sentence based on fixed data having a specific format composed of one or more data and outputting a speech, a fixed data storage unit for storing a plurality of the fixed data, the fixed data A sentence example storage unit that stores a plurality of sentence examples for embedding, from the sentence example storage unit, a sentence example selection unit that selects different sentence examples to be embedded for each of the fixed form data, based on the fixed form data and the selected sentence example, A text synthesizing unit for synthesizing a document, a text analyzing unit for analyzing the synthesized document and converting it to an intermediate notation for expressing speech, and a speech synthesis for synthesizing and outputting speech based on the intermediate notation. A data reading device comprising a unit.
【請求項3】 1つ以上のデータから成る特定フォーマ
ットを持つ定型データを基に文章を合成し、音声出力す
るデータ読み上げ装置において、 前記定型データを複数格納する定型データ格納部と、 前記定型データを埋め込むための文例を、音声を表現す
るための中間表記の形式で複数格納する文例格納部と、 前記文例格納部から、前記定型データ毎に埋め込む文例
を変えて選択する文例選択部と、 前記定型データを中間表記に変換する定型データ変換部
と、 変換後の定型データと前記選択された文例を基に、文書
を合成する文章合成部と、 合成された文章を基に音声を合成して出力する音声合成
部を有することを特徴とするデータ読み上げ装置。
3. A data reading device for synthesizing a sentence based on fixed data having a specific format composed of at least one data and outputting the synthesized sound, a fixed data storage unit for storing a plurality of the fixed data, the fixed data A sentence example storage unit that stores a plurality of sentence examples in the form of intermediate notation for expressing speech, a sentence example selection unit that selects different sentence examples to be embedded for each of the standard data from the sentence example storage unit, A fixed form data conversion unit for converting the fixed form data into intermediate notation; a sentence synthesis unit for synthesizing a document based on the converted fixed form data and the selected sentence example; and a speech synthesis unit for synthesizing the speech based on the synthesized sentence. A data reading device comprising a voice synthesizing unit for outputting.
【請求項4】 前記定型データの各データが、重複チェ
ックを行うか否かを示す重複チェックフラグを具え、 前記文例格納部が、定型データの重複部分をまとめて表
現する文例を格納し、 前記文例選択部が、前記重複チェックフラグに基づき、
定型データの重複部分を検査し、該当する重複部分をま
とめる文例を選択する機能を有することを特徴とする請
求項2または3に記載のデータ読み上げ装置。
4. Each of the standard data includes a duplication check flag indicating whether or not a duplication check is to be performed. The sentence example storage unit stores a sentence example that collectively expresses an overlapping portion of the fixed data, The sentence example selecting unit, based on the duplication check flag,
4. The data reading apparatus according to claim 2, further comprising a function of inspecting an overlapped portion of the fixed data and selecting a sentence example that summarizes the corresponding overlapped portion.
【請求項5】 前記定型データの各データが、定型デー
タ中のまとめて読み上げるデータの集合を示すデータ集
合フラグを具え、 前記文例格納部が、データ集合単位に該データ集合のデ
ータのみを含む文例を複数格納し、 前文例選択部が、全ての定型データを一括して読み込
み、指定されたデータ集合単位に、対応する文例を選択
する機能を有することを特徴とする請求項2乃至請求項
4のいずれかに記載のデータ読み上げ装置。
5. A sentence example in which each data of the fixed form data includes a data set flag indicating a set of data to be read aloud in the fixed form data, wherein the sentence example storage unit includes only data of the data set in a data set unit. The pre-sentence example selection unit has a function of reading all the fixed form data collectively and selecting a corresponding sentence example in a specified data set unit. A data reading device according to any one of the above.
【請求項6】 1つ以上のデータから成る特定フォーマ
ットを持つ定型データを基に文章を合成するステップ
と、前記文章を音声出力するステップをコンピュータに
実行させるプログラムを記録したコンピュータ読み取り
可能な記録媒体であって、 前記定型データを埋め込むための文例を複数記憶するス
テップと、 前記定型データを読み込み、前記定型データ毎に埋め込
む文例を変えて文章を合成するステップとを、 コンピュータに実行させるプログラムを記録したコンピ
ュータ読み取り可能な記録媒体。
6. A computer-readable recording medium having recorded thereon a program for causing a computer to execute a step of synthesizing a sentence based on fixed data having a specific format composed of one or more data and a step of outputting the sentence as sound. Recording a program that causes a computer to execute: a step of storing a plurality of sentence examples for embedding the fixed form data; and a step of reading the fixed form data and synthesizing a sentence by changing a sentence example to be embedded for each of the fixed form data. Computer readable recording medium.
【請求項7】 1つ以上のデータから成る特定フォーマ
ットを持つ定型データを基に文章を合成するステップ
と、前記文章を音声出力するステップをコンピュータに
実行させるプログラムを記録したコンピュータ読み取り
可能な記録媒体であって、 前記定型データを複数記憶するステップと、 前記定型データを埋め込むための文例を複数記憶するス
テップと、 前記記憶されている文例から、前記定型データ毎に埋め
込む文例を変えて選択するステップと、 前記定型データと前記選択された文例を基に、文書を合
成するステップと、 前記合成された文書を解析して、音声を表現するための
中間表記に変換するステップと、 前記中間表記を基に音声を合成して出力するステップと
を、 コンピュータに実行させるプログラムを記録したコンピ
ュータ読み取り可能な記録媒体。
7. A computer-readable recording medium on which a program for causing a computer to execute a step of synthesizing a sentence based on fixed data having a specific format including one or more data and a step of outputting the sentence as sound is recorded. A step of storing a plurality of the fixed form data; a step of storing a plurality of sentence examples for embedding the fixed form data; and a step of selecting a different sentence example to be embedded for each of the fixed form data from the stored sentence examples. Synthesizing a document based on the fixed form data and the selected sentence example; analyzing the synthesized document to convert it into an intermediate notation for expressing speech; and And outputting the synthesized speech based on the program. Data-readable recording medium.
JP06123199A 1999-03-09 1999-03-09 Data reading apparatus and recording medium Expired - Fee Related JP4237860B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP06123199A JP4237860B2 (en) 1999-03-09 1999-03-09 Data reading apparatus and recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP06123199A JP4237860B2 (en) 1999-03-09 1999-03-09 Data reading apparatus and recording medium

Publications (2)

Publication Number Publication Date
JP2000259165A true JP2000259165A (en) 2000-09-22
JP4237860B2 JP4237860B2 (en) 2009-03-11

Family

ID=13165253

Family Applications (1)

Application Number Title Priority Date Filing Date
JP06123199A Expired - Fee Related JP4237860B2 (en) 1999-03-09 1999-03-09 Data reading apparatus and recording medium

Country Status (1)

Country Link
JP (1) JP4237860B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003036091A (en) * 2001-07-23 2003-02-07 Matsushita Electric Ind Co Ltd Electronic information equipment
JP2007257153A (en) * 2006-03-22 2007-10-04 Ntt Data Corp Document data reading apparatus and its computer program
JP2007271910A (en) * 2006-03-31 2007-10-18 Fujitsu Ltd Synthesized speech generating device
JP2015176567A (en) * 2014-03-18 2015-10-05 富士通株式会社 Voice output order control program, voice output order control method and voice output order controller
KR102483055B1 (en) * 2022-07-26 2022-12-30 주식회사 모두의연구소 Method for converting text of character to simple voice and appratus and system using the same

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003036091A (en) * 2001-07-23 2003-02-07 Matsushita Electric Ind Co Ltd Electronic information equipment
JP2007257153A (en) * 2006-03-22 2007-10-04 Ntt Data Corp Document data reading apparatus and its computer program
JP2007271910A (en) * 2006-03-31 2007-10-18 Fujitsu Ltd Synthesized speech generating device
JP4744338B2 (en) * 2006-03-31 2011-08-10 富士通株式会社 Synthetic speech generator
JP2015176567A (en) * 2014-03-18 2015-10-05 富士通株式会社 Voice output order control program, voice output order control method and voice output order controller
KR102483055B1 (en) * 2022-07-26 2022-12-30 주식회사 모두의연구소 Method for converting text of character to simple voice and appratus and system using the same

Also Published As

Publication number Publication date
JP4237860B2 (en) 2009-03-11

Similar Documents

Publication Publication Date Title
CN100547654C (en) Speech synthetic device
JP2004226741A (en) Information providing device
CN110738037B (en) Method, apparatus, device and storage medium for automatically generating electronic form
JP4129048B2 (en) Named entity extraction apparatus, method, and program
CA2372544C (en) Information access method, information access system and program therefor
CN100583237C (en) Speech synthesis apparatus
WO2005106846A2 (en) Conversion of a text document in text-to-speech data
CN102256049A (en) Automatic story production
US20080077869A1 (en) Conference supporting apparatus, method, and computer program product
CN101669166A (en) Apparatus for text-to-speech delivery and method therefor
CN104281705B (en) Searching method and searcher
CN100380367C (en) Electronic appliance having music database and method of forming such music database
WO2022193926A1 (en) Method and apparatus for generating design scheme, and electronic device
CN1855223B (en) Audio font output device, font database, and language input front end processor
Paulasto et al. Welsh English
JP5112479B2 (en) Sentence creation system and sentence creation program
JP4237860B2 (en) Data reading apparatus and recording medium
CN101206668A (en) Method for generating and analyzing website content components as well as apparatus
JP4392190B2 (en) Data content transmitting apparatus and data content transmitting program
KR100549757B1 (en) Text to speech apparatus and method and information providing system using the same
CN1830022B (en) Voice response system and voice response method
JP4971845B2 (en) Translation apparatus and translation program
JP5082971B2 (en) A speech synthesizer and a reading system using the same.
JP2008021235A (en) Reading and registration system, and reading and registration program
JP4189653B2 (en) Image recording / reproducing method and image recording / reproducing apparatus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050630

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050705

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050727

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060704

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060731

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20060914

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20061117

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20070531

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20070606

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20080722

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081105

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20081219

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111226

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20111226

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121226

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20121226

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20131226

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees