JP2012027679A - Text creating system and text creating program - Google Patents

Text creating system and text creating program Download PDF

Info

Publication number
JP2012027679A
JP2012027679A JP2010165537A JP2010165537A JP2012027679A JP 2012027679 A JP2012027679 A JP 2012027679A JP 2010165537 A JP2010165537 A JP 2010165537A JP 2010165537 A JP2010165537 A JP 2010165537A JP 2012027679 A JP2012027679 A JP 2012027679A
Authority
JP
Japan
Prior art keywords
sentence
phrase
unit
reading time
file
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
JP2010165537A
Other languages
Japanese (ja)
Other versions
JP5112479B2 (en
Inventor
Misao Ohashi
操 大橋
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.)
Mitsubishi Electric Information Systems Corp
Original Assignee
Mitsubishi Electric Information Systems Corp
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 Mitsubishi Electric Information Systems Corp filed Critical Mitsubishi Electric Information Systems Corp
Priority to JP2010165537A priority Critical patent/JP5112479B2/en
Publication of JP2012027679A publication Critical patent/JP2012027679A/en
Application granted granted Critical
Publication of JP5112479B2 publication Critical patent/JP5112479B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a versatile system as a system for automatically creating a text in which an upper limit of a reading time is determined.SOLUTION: A sound definition file 302 defines a priority, a variation part, a stationary part, and a reading time of the stationary part for each sentence candidate and specifies a phrase to be inserted in the variation part. A conversion table 207 defines a reading time of a phrase for each phrase. An on-air terminal 120 extracts the reading time of the stationary part from the sound definition file 302, extracts the reading time of the phrase specified by the sound definition file 302, and totals the extracted reading times to set it as a reading time of a sentence. The on-air terminal 120 selects sentence candidates in descending order of the priorities of the sentences defined by the sound definition file 302 and such that a total value of the reading times of the sentences is less than or equal to a predetermined upper limit, and creates a text for a weather report from the selected sentences.

Description

本発明は、文章作成システム及び文章作成プログラムに関するものである。本発明は、特に、天気番組放送システムにおいて利用される音声データの生成又は生成の支援をする仕組みに関するものである。   The present invention relates to a text creation system and a text creation program. The present invention particularly relates to a mechanism for generating or supporting generation of audio data used in a weather program broadcasting system.

従来、台風や地震等の緊急の情報が天気予報番組の放送中に生じた場合に、放送の残り時間における画面構成及びその画面の放映にかける配分時間を自動的に再編する装置がある(例えば、特許文献1参照)。また、気象予測データが入力される度に、気象予測の配信サービスデータを自動的に更新し、利用者に最新の気象情報を提供する装置がある(例えば、特許文献2参照)。   Conventionally, when urgent information such as a typhoon or an earthquake occurs during the broadcast of a weather forecast program, there is a device that automatically reorganizes the screen configuration in the remaining broadcast time and the allocated time for broadcasting the screen (for example, , See Patent Document 1). In addition, there is an apparatus that automatically updates the weather forecast distribution service data and provides the latest weather information to the user every time weather forecast data is input (see, for example, Patent Document 2).

特開2008−22290号公報JP 2008-22290 A 特開平10−308768号公報JP-A-10-308768

天気予報番組は放送時間が固定されているため、放送時間に合わせて番組内で話す内容を調整する必要がある。このような目的に、前述した従来の装置を利用することはできない。そこで、気象データの内容により話す内容を予め決定し、番組の時間内に入らなければ優先度の低いものから削除し、調整する方法をプログラム上で固定のロジックにより実現することが考えられる。また、地点による纏め処理(例えば北部と南部で同じ天気の場合、「北部・南部とも」と話す)も固定のロジックにより実現することが考えられる。しかし、固定のロジックを用いる方法では、汎用性が低いという課題がある。例えば、纏め方の変更や少し違う言い回し等を実現するためには、その都度プログラムの改修が必要になるという課題がある。   Since the broadcast time of a weather forecast program is fixed, it is necessary to adjust the content to be spoken in the program according to the broadcast time. For this purpose, the above-described conventional apparatus cannot be used. Therefore, it is conceivable that the content to be spoken is determined in advance according to the content of the weather data, and if it does not fall within the program time, it is deleted from the lower priority and adjusted so as to be realized by fixed logic on the program. In addition, it is conceivable that the summarization processing by points (for example, in the case of the same weather in the north and south, say “both north and south”) is realized by fixed logic. However, the method using fixed logic has a problem of low versatility. For example, there is a problem that the program needs to be modified each time in order to change the way of summarizing, or to say a slightly different phrase.

本発明は、例えば、読み上げ時間の上限値が定められた文章を自動的に作成するシステムとして、汎用性の高いシステムを提供することを目的とする。   An object of the present invention is to provide a highly versatile system, for example, as a system that automatically creates a sentence in which the upper limit of the reading time is determined.

本発明の一の態様に係る文章作成システムは、
語句が複数連結された少なくとも1つの文からなり音声で読み上げられる文章を作成する文章作成システムであって、
前記文章の読み上げ時間の上限値を定義する情報を予め記憶装置に格納する文章定義部と、
前記文章を構成する文の候補ごとに、文を前記文章に含める優先度と、文中で語句が挿入される変動部分と、文中で予め定められた語句が配置される固定部分と、文の固定部分の読み上げ時間とを定義する情報を予め記憶装置に格納する文定義部と、
語句ごとに、語句の読み上げ時間を定義する情報を予め記憶装置に格納する語句定義部と、
前記文章を構成する文の候補ごとに、文の変動部分に挿入する語句を指定する情報を予め記憶装置に格納する語句指定部と、
前記文章を構成する文の候補ごとに、前記文定義部に格納された情報から、文の固定部分の読み上げ時間を抽出し、前記語句定義部に格納された情報から、前記語句指定部に格納された情報で指定された語句の読み上げ時間を抽出し、抽出した文の固定部分の読み上げ時間と語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する時間集計部と、
前記文章定義部に格納された情報から、前記文章の読み上げ時間の上限値を抽出し、前記文章を構成する文の候補を、前記文定義部に格納された情報で定義された文の優先度が高い順に、かつ、前記時間集計部により出力された文の読み上げ時間の集計値が、抽出した上限値以下となるように処理装置によって選択し、選択した文から前記文章を作成する文章作成部とを備えることを特徴とする。
A sentence creation system according to an aspect of the present invention includes:
A sentence creation system for creating a sentence that can be read out by voice consisting of at least one sentence in which a plurality of phrases are connected,
A sentence definition unit for preliminarily storing information defining an upper limit value of the reading time of the sentence in a storage device;
For each sentence candidate constituting the sentence, a priority for including the sentence in the sentence, a variable part in which a phrase is inserted in the sentence, a fixed part in which a predetermined phrase is arranged in the sentence, and a fixed sentence A sentence definition unit that prestores in the storage device information defining the reading time of the part;
For each word, a word definition unit that stores information that defines the reading time of the word in the storage device in advance,
For each sentence candidate constituting the sentence, a phrase designating unit that stores in advance in a storage device information that designates a phrase to be inserted into the variable part of the sentence;
For each candidate sentence constituting the sentence, the reading time of the fixed part of the sentence is extracted from the information stored in the sentence definition section, and stored in the phrase designation section from the information stored in the phrase definition section A time reading unit that extracts the reading time of the phrase specified by the specified information, totals the reading time of the fixed part of the extracted sentence and the reading time of the word by the processing device, and outputs as the reading time of the sentence;
The upper limit value of the reading time of the sentence is extracted from the information stored in the sentence definition unit, and the sentence priority that is defined by the information stored in the sentence definition unit is selected as the sentence candidate constituting the sentence. A sentence creation unit that selects the sentence by the processing device so that the aggregated value of the reading time of the sentences output by the time aggregation unit is equal to or less than the extracted upper limit value, and creates the sentence from the selected sentence It is characterized by providing.

前記語句定義部は、2つ以上の語句の表現対象を1つに纏めて表現する語句を当該2つ以上の語句に対応する纏め語句として、当該2つ以上の語句とは別に定義するとともに、纏め語句の読み上げ時間を定義する情報を格納し、
前記時間集計部は、前記文章を構成する文の候補のうち、文の変動部分以外が共通し、かつ、前記語句指定部に格納された情報で指定された語句が、前記語句定義部に格納された情報で同じ纏め語句に対応する文を1つの文として、前記文定義部に格納された情報から、文の固定部分の読み上げ時間を抽出し、前記語句定義部に格納された情報から、当該纏め語句の読み上げ時間を抽出し、抽出した文の固定部分の読み上げ時間と纏め語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する。
The phrase definition unit defines a phrase that expresses the expression targets of two or more phrases as one as a summary phrase corresponding to the two or more phrases, separately from the two or more phrases, Stores information that defines the reading time for the summary phrase,
The time totaling unit stores, in the phrase definition unit, a phrase specified by information stored in the phrase specifying unit, which is common to the sentence candidates constituting the sentence, except for a variable part of the sentence. From the information stored in the sentence definition part, the reading time of the fixed part of the sentence is extracted from the information stored in the phrase definition part as a sentence corresponding to the same summary phrase in the information obtained, from the information stored in the phrase definition part, The reading time of the summary phrase is extracted, and the reading time of the fixed portion of the extracted sentence and the reading time of the summary phrase are totaled by the processing device and output as the reading time of the sentence.

前記語句定義部は、語句として、地域を表現する地域語句と地域の情報を表現する情報語句とを定義する情報を格納し、
前記文定義部は、文の変動部分として、文中で地域語句と情報語句とが挿入される変動部分を定義する情報を格納し、
前記語句指定部は、語句として、地域語句を指定する情報を格納し、
前記文章作成システムは、
地域ごとに、地域の情報を示す地域データを予め記憶装置に格納する地域データ格納部と、
前記文章を構成する文の候補ごとに、前記地域データ格納部から、前記語句指定部に格納された情報で指定された地域語句が表現する地域の地域データを処理装置によって抽出する地域データ抽出部と
をさらに備え、
前記時間集計部は、前記文章を構成する文の候補ごとに、前記文定義部に格納された情報から、文の固定部分の読み上げ時間を抽出し、前記語句定義部に格納された情報から、前記語句指定部に格納された情報で指定された地域語句の読み上げ時間と、前記地域データ抽出部により抽出された地域データが示す地域の情報を表現する情報語句の読み上げ時間とを抽出し、抽出した文の固定部分の読み上げ時間と地域語句の読み上げ時間と情報語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する。
The phrase definition unit stores, as a phrase, information defining an area phrase that expresses an area and an information phrase that expresses information on the area,
The sentence definition unit stores information defining a variable part in which a local phrase and an information phrase are inserted in the sentence as a variable part of the sentence,
The phrase specifying unit stores information specifying a local phrase as a phrase,
The sentence creation system includes:
For each region, a region data storage unit that stores region data indicating region information in a storage device in advance,
A regional data extraction unit that extracts, from the regional data storage unit, regional data of a region represented by the regional phrase specified by the information stored in the phrase specifying unit, by the processing device, for each sentence candidate constituting the sentence And further comprising
The time totaling unit extracts the reading time of the fixed part of the sentence from the information stored in the sentence definition unit for each sentence candidate constituting the sentence, and from the information stored in the phrase definition unit, Extracting and extracting the reading time of the local phrase specified by the information stored in the phrase specifying unit and the reading time of the information phrase representing the regional information indicated by the regional data extracted by the regional data extracting unit The reading time of the fixed portion of the sentence, the reading time of the local phrase, and the reading time of the information phrase are totaled by the processing device and output as the reading time of the sentence.

前記語句定義部は、2つ以上の地域語句の表現対象を1つに纏めて表現する語句を当該2つ以上の地域語句に対応する纏め語句として、当該2つ以上の地域語句とは別に定義するとともに、纏め語句の読み上げ時間を定義する情報を格納し、
前記時間集計部は、前記文章を構成する文の候補のうち、文の固定部分が共通し、かつ、前記地域データ抽出部により抽出された地域データが示す地域の情報が一致し、かつ、前記語句指定部に格納された情報で指定された地域語句が、前記語句定義部に格納された情報で同じ纏め語句に対応する文を1つの文として、前記文定義部に格納された情報から、文の固定部分の読み上げ時間を抽出し、前記語句定義部に格納された情報から、当該纏め語句の読み上げ時間と、当該地域の情報を表現する情報語句の読み上げ時間とを抽出し、抽出した文の固定部分の読み上げ時間と纏め語句の読み上げ時間と情報語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する。
The phrase definition unit defines a phrase that expresses two or more regional phrases together as a collective phrase corresponding to the two or more regional phrases, and defines the phrases separately from the two or more regional phrases. And store information that defines the reading time for the summary phrase,
The time totaling unit has a common fixed portion of the sentence among the sentence candidates constituting the sentence, and the area information indicated by the area data extracted by the area data extracting unit matches, and From the information stored in the sentence definition section, the local phrase specified by the information stored in the phrase specification section is a sentence corresponding to the same summary phrase in the information stored in the phrase definition section, as one sentence. Extract the reading time of the fixed part of the sentence, extract the reading time of the summary phrase and the reading time of the information phrase expressing the information of the area from the information stored in the phrase definition part, and extract the sentence Are read out by the processing device and output as the reading time of the sentence.

前記地域データ格納部は、地域の情報として、地域の天気予報を示す地域データを格納する。   The region data storage unit stores region data indicating a weather forecast for the region as region information.

前記文定義部は、前記文章作成部により前記文章を構成する文の候補のいずれも選択されなかった場合に前記文章作成部に選択させる文として、固定部分のみからなる文を定義する情報を格納する。   The sentence definition unit stores information defining a sentence including only a fixed part as a sentence to be selected by the sentence creation unit when none of the sentence candidates constituting the sentence is selected by the sentence creation unit. To do.

前記文章作成システムは、前記文章作成部により作成された文章を処理装置によって音声データに変換して出力する音声データ出力部をさらに備える。   The sentence creation system further includes a voice data output unit that converts the sentence created by the sentence creation unit into voice data by a processing device and outputs the voice data.

前記文章は音声で読み上げられる代わりに所定の画面で自動スクロール表示され、それぞれの読み上げ時間はスクロール時間に相当する。   The sentence is automatically scrolled and displayed on a predetermined screen instead of being read out by voice, and each reading time corresponds to a scrolling time.

本発明の一の態様に係る文章作成プログラムは、
語句が複数連結された少なくとも1つの文からなり音声で読み上げられる文章を作成する文章作成プログラムであり、前記文章の読み上げ時間の上限値を定義する情報を予め記憶装置に格納する文章定義部と、前記文章を構成する文の候補ごとに、文を前記文章に含める優先度と、文中で語句が挿入される変動部分と、文中で予め定められた語句が配置される固定部分と、文の固定部分の読み上げ時間とを定義する情報を予め記憶装置に格納する文定義部と、語句ごとに、語句の読み上げ時間を定義する情報を予め記憶装置に格納する語句定義部と、前記文章を構成する文の候補ごとに、文の変動部分に挿入する語句を指定する情報を予め記憶装置に格納する語句指定部とを備えるコンピュータにより実行される文章作成プログラムであって、
前記文章を構成する文の候補ごとに、前記文定義部に格納された情報から、文の固定部分の読み上げ時間を抽出し、前記語句定義部に格納された情報から、前記語句指定部に格納された情報で指定された語句の読み上げ時間を抽出し、抽出した文の固定部分の読み上げ時間と語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する時間集計処理と、
前記文章定義部に格納された情報から、前記文章の読み上げ時間の上限値を抽出し、前記文章を構成する文の候補を、前記文定義部に格納された情報で定義された文の優先度が高い順に、かつ、前記時間集計処理により出力された文の読み上げ時間の集計値が、抽出した上限値以下となるように処理装置によって選択し、選択した文から前記文章を作成する文章作成処理とをコンピュータに実行させることを特徴とする。
A sentence creation program according to one aspect of the present invention is provided.
A sentence creation program for creating a sentence that is read out by voice consisting of at least one sentence in which a plurality of words are connected, and a sentence definition unit that stores in advance in a storage device information that defines the upper limit of the reading time of the sentence; For each sentence candidate constituting the sentence, a priority for including the sentence in the sentence, a variable part in which a phrase is inserted in the sentence, a fixed part in which a predetermined phrase is arranged in the sentence, and a fixed sentence The sentence is composed of a sentence definition unit that preliminarily stores information defining the reading time of the portion in the storage device, and a phrase definition unit that preliminarily stores information defining the reading time of the phrase in the storage device for each word. A sentence creation program executed by a computer including a phrase designating unit that preliminarily stores in a storage device information for designating a phrase to be inserted into a variable part of a sentence for each sentence candidate
For each candidate sentence constituting the sentence, the reading time of the fixed part of the sentence is extracted from the information stored in the sentence definition section, and stored in the phrase designation section from the information stored in the phrase definition section A time reading process for extracting the reading time of the phrase specified by the information that has been extracted, counting the reading time of the fixed part of the extracted sentence and the reading time of the word by the processing device, and outputting the reading time of the sentence;
The upper limit value of the reading time of the sentence is extracted from the information stored in the sentence definition unit, and the sentence priority that is defined by the information stored in the sentence definition unit is selected as the sentence candidate constituting the sentence. Sentence creation processing for selecting the sentence by the processing device so that the aggregated value of the reading time of the sentence output by the time aggregation process is equal to or less than the extracted upper limit, and creating the sentence from the selected sentence And making the computer execute.

本発明の一の態様では、文章作成システムの時間集計部が、文の候補ごとに、予め定義された文の固定部分の読み上げ時間と、指定された語句の読み上げ時間とを集計し、文の読み上げ時間として出力する。そして、文章作成システムの文章作成部が、文の候補を、文の優先度が高い順に、かつ、文の読み上げ時間の集計値が、文章の読み上げ時間の上限値以下となるように選択し、選択した文から文章を作成する。このため、汎用性の高い文章作成システムを提供することができる。   In one aspect of the present invention, the time totaling unit of the sentence creation system totals the reading time of a fixed portion of a predefined sentence and the reading time of a specified phrase for each sentence candidate, Output as reading time. Then, the sentence creation unit of the sentence creation system selects sentence candidates in order of sentence priority so that the total value of the sentence reading time is less than or equal to the upper limit of the sentence reading time, Create a sentence from the selected sentence. For this reason, a highly versatile sentence creation system can be provided.

実施の形態1に係る文章作成システムの構成を示すブロック図。1 is a block diagram showing a configuration of a text creation system according to Embodiment 1. FIG. 実施の形態1に係る文章作成システムの各端末装置のハードウェア構成例を示す図。The figure which shows the hardware structural example of each terminal device of the text preparation system which concerns on Embodiment 1. FIG. 実施の形態1に係る文章作成システムの受信端末の動作を示すフローチャート。6 is a flowchart showing the operation of the receiving terminal of the text creation system according to Embodiment 1; 実施の形態1に係る文章作成システムのオンエア端末の動作を示すフローチャート。5 is a flowchart showing the operation of the on-air terminal of the text creation system according to the first embodiment. 実施の形態1に係る文章作成システムの音声番組ファイルの例を示す図。The figure which shows the example of the audio | voice program file of the text preparation system which concerns on Embodiment 1. FIG. 実施の形態1に係る文章作成システムの音声定義ファイル及び音声データファイルの例を示す図。The figure which shows the example of the audio | voice definition file and audio | voice data file of the text creation system which concerns on Embodiment 1. FIG. 実施の形態1に係る文章作成システムの変換テーブルの例を示す図。FIG. 3 is a diagram illustrating an example of a conversion table of the text creation system according to the first embodiment. 実施の形態1に係る文章作成システムの変換テーブルの例を示す図。FIG. 3 is a diagram illustrating an example of a conversion table of the text creation system according to the first embodiment. 実施の形態1に係る文章作成システムの音声定義ファイルの例を示す図。The figure which shows the example of the audio | voice definition file of the text creation system which concerns on Embodiment 1. FIG. 実施の形態1に係る文章作成システムの天気予報文章ファイル及び音声ファイル検索用テーブルの例を示す図。The figure which shows the example of the weather forecast text file and the audio | voice file search table of the text preparation system which concerns on Embodiment 1. FIG. 実施例1に係る文章作成システムの音声定義ファイル及び音声データファイルを示す図。The figure which shows the audio | voice definition file and audio | voice data file of the text preparation system which concern on Example 1. FIG. 実施例1に係る文章作成システムの変換テーブル及び天気予報文章ファイルを示す図。The figure which shows the conversion table and weather forecast text file of the text preparation system which concerns on Example 1. FIG. 実施例2に係る文章作成システムの音声定義ファイル及び音声データファイルを示す図。The figure which shows the audio | voice definition file and audio | voice data file of the text preparation system which concern on Example 2. FIG. 実施例2に係る文章作成システムの変換テーブル及び天気予報文章ファイルを示す図。The figure which shows the conversion table and weather forecast text file of the text preparation system which concerns on Example 2. FIG. 実施例3に係る文章作成システムの音声定義ファイルを示す図。FIG. 10 is a diagram illustrating a voice definition file of the text creation system according to the third embodiment. 実施例3に係る文章作成システムの音声データファイルを示す図。The figure which shows the audio | voice data file of the text preparation system which concerns on Example 3. FIG. 実施例3に係る文章作成システムの変換テーブル及び天気予報文章ファイルを示す図。The figure which shows the conversion table and weather forecast text file of the text preparation system which concern on Example 3. FIG. 実施例4に係る文章作成システムの音声定義ファイル及び音声データファイルを示す図。The figure which shows the audio | voice definition file and audio | voice data file of the text preparation system which concern on Example 4. FIG. 実施例4に係る文章作成システムの変換テーブル及び天気予報文章ファイルを示す図。The figure which shows the conversion table and weather forecast text file of the text preparation system which concern on Example 4. FIG. 実施例5に係る文章作成システムの音声定義ファイル及び音声データファイルを示す図。The figure which shows the audio | voice definition file and audio | voice data file of the text preparation system which concern on Example 5. FIG. 実施例5に係る文章作成システムの変換テーブル及び天気予報文章ファイルを示す図。The figure which shows the conversion table and weather forecast text file of the text preparation system which concern on Example 5. FIG. 実施例6に係る文章作成システムの音声定義ファイル及び音声データファイルを示す図。The figure which shows the audio | voice definition file and audio | voice data file of the text preparation system which concern on Example 6. FIG. 実施例6に係る文章作成システムの変換テーブル及び天気予報文章ファイルを示す図。The figure which shows the conversion table and weather forecast text file of the text preparation system which concerns on Example 6. FIG.

以下、本発明の実施の形態について、図を用いて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

実施の形態1.
図1は、本実施の形態に係る文章作成システム100の構成を示すブロック図である。
Embodiment 1 FIG.
FIG. 1 is a block diagram showing a configuration of a text creation system 100 according to the present embodiment.

図1において、文章作成システム100は、語句が複数連結された少なくとも1つの文からなり音声で読み上げられる文章を作成するシステムであり、受信端末110とオンエア端末120の2つの端末装置で構成されている。本実施の形態において、文章作成システム100は、文章の一例として、テレビ放送の天気予報番組で画面ごとに読み上げられる天気予報の文章を作成する。なお、文章作成システム100は、ラジオ放送やインターネット(ウェブ)放送の天気予報番組で読み上げられる天気予報の文章、テレビ放送等のニュース番組等で読み上げられる交通情報の文章、あるいは、その他の文章を作成してもよい。また、文章作成システム100は、2つの端末装置でなく、全体で1つの端末装置として構成されてもよいし、3つ以上の端末装置に分けて構成されてもよい。   In FIG. 1, a sentence creation system 100 is a system that creates a sentence that is read out by voice and that includes at least one sentence in which a plurality of words are connected, and is composed of two terminal devices, a receiving terminal 110 and an on-air terminal 120. Yes. In the present embodiment, the sentence creation system 100 creates, as an example of a sentence, a weather forecast sentence that is read out for each screen in a television broadcast weather forecast program. The text creation system 100 creates a weather forecast text read out by a radio broadcast or Internet (web) weather forecast program, a traffic information text read out by a news program such as a television broadcast, or other text. May be. In addition, the text creation system 100 may be configured as one terminal device as a whole instead of two terminal devices, or may be configured by dividing into three or more terminal devices.

受信端末110は、データベース登録部201、気象データベース202、アクセス部203、中間ファイル作成部204、ファイル転送部205を備える。オンエア端末120は、文章ファイル作成部206、変換テーブル207(データベース)、音声ファイル確定部208、音声ファイル検索用テーブル209(データベース)を備える。図1に示していないが、各端末装置(受信端末110とオンエア端末120)は、処理装置、記憶装置、入力装置、出力装置等のハードウェアを備える。ハードウェアは各端末装置の各部によって利用される。例えば、処理装置は、各部でデータや情報の演算、加工、読み取り、書き込み等を行うために利用される。記憶装置は、そのデータや情報を記憶するために利用される。また、入力装置は、そのデータや情報を入力するために、出力装置は、そのデータや情報を出力するために利用される。   The receiving terminal 110 includes a database registration unit 201, a weather database 202, an access unit 203, an intermediate file creation unit 204, and a file transfer unit 205. The on-air terminal 120 includes a text file creation unit 206, a conversion table 207 (database), an audio file determination unit 208, and an audio file search table 209 (database). Although not shown in FIG. 1, each terminal device (receiving terminal 110 and on-air terminal 120) includes hardware such as a processing device, a storage device, an input device, and an output device. Hardware is used by each unit of each terminal device. For example, the processing device is used for performing calculation, processing, reading, writing, and the like of data and information in each unit. The storage device is used to store the data and information. The input device is used for inputting the data and information, and the output device is used for outputting the data and information.

受信端末110のデータベース登録部201は、外部のサーバ装置(例えば、日本気象協会のサーバ)から最新の気象データ301(ファイルプロダクト)を取得し、必要に応じてデータ形式を変換した上で気象データベース202に登録する。   The database registration unit 201 of the receiving terminal 110 acquires the latest weather data 301 (file product) from an external server device (for example, a server of the Japan Meteorological Association), converts the data format as necessary, and then converts the weather database. 202.

ここで、気象データ301は、地域データの一例であり、地域の情報として、時刻(例えば、日、時、日時、曜日、午前/午後、時間帯)ごとの地域の天気予報(例えば、晴れ/曇り/雨/雪といった空模様、気温、気圧、湿度、降水量、風速、風向、注意報、警報)を示すデータである。なお、気象データ301の代わりに、時刻ごとの地域の交通情報(例えば、道路の渋滞や交通規制、鉄道やバスや航空機等の運行状況)を示すデータ、あるいは、地域の他の情報を示すデータを用いてもよい。   Here, the weather data 301 is an example of regional data, and as regional information, a regional weather forecast (for example, clear / clear) for each time (for example, day, hour, date / time, day of the week, am / pm, time zone) is used. (Cloudy / rain / snow sky, temperature, atmospheric pressure, humidity, precipitation, wind speed, wind direction, warning, warning). In addition, instead of the weather data 301, data indicating local traffic information for each time (for example, traffic congestion on the road, traffic regulations, operation status of railways, buses, airplanes, etc.), or data indicating other information of the area May be used.

受信端末110の気象データベース202は、地域データ格納部の一例であり、データベース登録部201から気象データ301の入力を受け付け、地域ごとに気象データ301を予め記憶装置に格納する。例えば、気象データベース202は、時刻を示す数値又は文字列、地域を示す識別子、天気予報を示す数値又は文字列を対応付けて格納する。   The weather database 202 of the receiving terminal 110 is an example of an area data storage unit, receives weather data 301 from the database registration unit 201, and stores the weather data 301 in a storage device in advance for each area. For example, the weather database 202 stores a numerical value or character string indicating time, an identifier indicating a region, and a numerical value or character string indicating a weather forecast in association with each other.

受信端末110のアクセス部203は、例えばDLL(ダイナミックリンクライブラリ)である。アクセス部203には、気象データベース202から気象データ301を抽出するための関数であるアクセス関数が実装されている。   The access unit 203 of the receiving terminal 110 is a DLL (Dynamic Link Library), for example. The access unit 203 is implemented with an access function that is a function for extracting the weather data 301 from the weather database 202.

受信端末110の中間ファイル作成部204は、地域データ抽出部の一例であり、音声定義ファイル302(音声テンプレート)に記載されたアクセス関数を実行して気象データベース202から気象データ301を取得し、音声データファイル303に書き込む。   The intermediate file creation unit 204 of the receiving terminal 110 is an example of a regional data extraction unit, executes the access function described in the voice definition file 302 (voice template), acquires the weather data 301 from the weather database 202, Write to the data file 303.

ここで、音声定義ファイル302は、画面ごとに音声として読み上げられる文章の定義を行うファイルであり、予め受信端末110とオンエア端末120の両方の記憶装置に格納されている。音声定義ファイル302は、文定義部302a、語句指定部302bを含む。なお、音声定義ファイル302は、画面ごとに1つのファイルとして作成されてもよいし、2つ以上のファイルに分けて(例えば文定義部302aに対応するファイルと、語句指定部302bに対応するファイルと、その他のファイルに分けて)作成されてもよい。   Here, the voice definition file 302 is a file that defines a sentence to be read out as voice for each screen, and is stored in advance in both storage devices of the receiving terminal 110 and the on-air terminal 120. The voice definition file 302 includes a sentence definition unit 302a and a phrase specification unit 302b. Note that the voice definition file 302 may be created as one file for each screen, or divided into two or more files (for example, a file corresponding to the sentence definition unit 302a and a file corresponding to the phrase specifying unit 302b) And other files).

音声定義ファイル302の文定義部302aは、天気予報の文章を構成する文の候補を定義する情報を格納する。具体的には、文定義部302aは、文の候補ごとに、(a)優先度、(b)変動部分、(c)固定部分、(d)固定部分の読み上げ時間を定義する情報を格納する。(a)優先度は、文を天気予報の文章に含める優先順位を示す数値等である。(b)変動部分は、文中で、語句指定部302bで指定された語句が挿入される部分である。なお、文の候補の中に、変動部分を含まない文があってもよい。例えば、文の候補のいずれも選択されなかった場合に選択可能な文として、固定部分のみからなる文を定義してもよい。変動部分に挿入される語句としては、時刻を表現する時刻語句、地域を表現する地域語句、地域の天気予報を表現する情報語句がある。前述したように、地域の天気予報は、地域の情報の一例である。(c)固定部分は、文中で予め定められた語句が配置される部分である。つまり、固定部分は、固定部分の定義のみから内容が定まる部分である。   The sentence definition unit 302a of the voice definition file 302 stores information that defines sentence candidates constituting the sentence of the weather forecast. Specifically, the sentence definition unit 302a stores, for each sentence candidate, information defining (a) priority, (b) variable part, (c) fixed part, and (d) reading time of the fixed part. . (A) The priority is a numerical value or the like indicating a priority order in which the sentence is included in the text of the weather forecast. (B) The fluctuation part is a part in which the phrase specified by the phrase specifying unit 302b is inserted in the sentence. Note that there may be a sentence that does not include a variable part among sentence candidates. For example, a sentence including only a fixed part may be defined as a sentence that can be selected when none of sentence candidates is selected. As words inserted into the variable part, there are a time word expressing time, a local word expressing area, and an information word expressing a weather forecast for the area. As described above, the regional weather forecast is an example of regional information. (C) The fixed part is a part where a predetermined phrase is arranged in the sentence. That is, the fixed part is a part whose contents are determined only from the definition of the fixed part.

音声定義ファイル302の語句指定部302bは、天気予報の文章を構成する文の候補ごとに、文の変動部分に挿入する語句を指定する情報を格納する。   The phrase designating unit 302b of the speech definition file 302 stores information for designating a phrase to be inserted into the fluctuation part of the sentence for each sentence candidate constituting the sentence of the weather forecast.

音声データファイル303は、画面ごと(即ち、文章ごと)に作成され、画面の表示中に読み上げられる文章を作成するのに必要な情報を記録した中間ファイルであり、中間ファイル作成部204によって受信端末110の記憶装置に格納される。   The audio data file 303 is an intermediate file that is created for each screen (that is, for each sentence) and records information necessary for creating a sentence to be read out while the screen is displayed. 110 storage devices.

中間ファイル作成部204は、音声定義ファイル302で定義された文の候補ごとに、気象データベース202から、音声定義ファイル302の語句指定部302bに格納された情報で指定された地域語句が表現する地域の気象データ301を処理装置によって抽出する。語句指定部302bで時刻語句も指定されている場合、中間ファイル作成部204は、指定された時刻語句が表現する時刻における当該地域の気象データ301を抽出する。このとき、中間ファイル作成部204は、例えば、指定された地域語句が表現する地域の識別子や、指定された時刻語句が表現する時刻の数値又は文字列を、音声定義ファイル302で定義されたアクセス関数の引数として指定することで、気象データベース202から当該時刻における当該地域の気象データ301を抽出する。中間ファイル作成部204は、抽出した気象データ301を音声データファイル303に記録する。   For each sentence candidate defined in the speech definition file 302, the intermediate file creation unit 204 represents, from the weather database 202, the region expressed by the regional phrase specified by the information stored in the phrase specification unit 302b of the speech definition file 302. Meteorological data 301 is extracted by the processing device. When the time phrase is also specified by the phrase specifying unit 302b, the intermediate file creating unit 204 extracts the weather data 301 of the area at the time represented by the specified time phrase. At this time, the intermediate file creation unit 204 accesses, for example, the region identifier represented by the designated local phrase or the numerical value or character string of the time represented by the designated time phrase as defined in the voice definition file 302. By specifying it as an argument of the function, the weather data 301 of the area at the time is extracted from the weather database 202. The intermediate file creation unit 204 records the extracted weather data 301 in the audio data file 303.

受信端末110のファイル転送部205は、音声データファイル303を記憶装置から読み出し、ネットワーク130を介してオンエア端末120に転送する。なお、本実施の形態では、受信端末110とオンエア端末120がネットワーク130に接続されているが、単にケーブル等で接続されていてもよい。   The file transfer unit 205 of the receiving terminal 110 reads the audio data file 303 from the storage device and transfers it to the on-air terminal 120 via the network 130. In the present embodiment, the receiving terminal 110 and the on-air terminal 120 are connected to the network 130, but may be simply connected by a cable or the like.

オンエア端末120の文章ファイル作成部206は、受信端末110から音声データファイル303を受信する。そして、文章ファイル作成部206は、受信した音声データファイル303のほか、音声番組ファイル304(画面の秒数指定)、音声定義ファイル302を読み込み、変換テーブル207を利用して天気予報文章ファイル305を作成する。   The text file creation unit 206 of the on-air terminal 120 receives the audio data file 303 from the receiving terminal 110. In addition to the received audio data file 303, the text file creation unit 206 reads the audio program file 304 (screen seconds designation) and the audio definition file 302, and uses the conversion table 207 to generate the weather forecast text file 305. create.

ここで、音声番組ファイル304は、番組ごとに作成され、番組で放送される画面ごとの設定を記録するファイルであり、予めオンエア端末120の記憶装置に格納されている。音声番組ファイル304は、文章定義部の一例であり、画面ごとに、画面の放送時間(表示時間)を、その画面の表示中に読み上げられる天気予報の文章の読み上げ時間の上限値として定義する情報を格納する。なお、この情報は音声定義ファイル302に格納されてもよい。即ち、音声定義ファイル302に文章定義部が含まれてもよい。   Here, the audio program file 304 is a file that is created for each program and records settings for each screen that is broadcast in the program, and is stored in the storage device of the on-air terminal 120 in advance. The audio program file 304 is an example of a sentence definition unit, and is information for defining the broadcast time (display time) of the screen as the upper limit value of the read time of the text of the weather forecast that is read during display of the screen for each screen. Is stored. This information may be stored in the voice definition file 302. That is, the voice definition file 302 may include a sentence definition unit.

オンエア端末120の変換テーブル207は、語句定義部の一例であり、語句ごとに、語句の読み上げ時間を定義する情報を予め記憶装置に格納する。変換テーブル207に格納される情報で定義される語句としては、時刻語句、地域語句、情報語句がある。また、変換テーブル207は、2つ以上の語句(主に、地域語句)の表現対象を1つに纏めて表現する語句を当該2つ以上の語句に対応する纏め語句として、当該2つ以上の語句とは別に定義するとともに、纏め語句の読み上げ時間を定義する情報を格納する。   The conversion table 207 of the on-air terminal 120 is an example of a phrase definition unit, and stores information that defines a phrase reading time for each phrase in advance in a storage device. Examples of terms defined by information stored in the conversion table 207 include time phrases, regional phrases, and information phrases. In addition, the conversion table 207 uses two or more words (mainly regional words) as expression words corresponding to the two or more words. The information is defined separately from the phrase and information defining the reading time of the summary phrase is stored.

天気予報文章ファイル305は、画面ごとに作成され、画面の表示中に読み上げられる文章を記録したファイルであり、文章ファイル作成部206によってオンエア端末120の記憶装置に格納される。なお、天気予報文章ファイル305は、番組ごとに作成されてもよい。   The weather forecast text file 305 is a file that is created for each screen and records text that is read out while the screen is displayed, and is stored in the storage device of the on-air terminal 120 by the text file creation unit 206. The weather forecast text file 305 may be created for each program.

文章ファイル作成部206は、時間集計部206a、文章作成部206bを有する。   The text file creation unit 206 includes a time counting unit 206a and a text creation unit 206b.

文章ファイル作成部206の時間集計部206aは、音声定義ファイル302で定義された文の候補ごとに、以下の処理を行う。
(1)時間集計部206aは、音声定義ファイル302の文定義部302aに格納された情報から、文の固定部分の読み上げ時間を処理装置によって抽出する。
(2)時間集計部206aは、変換テーブル207に格納された情報から、音声定義ファイル302の語句指定部302bに格納された情報で指定された語句の読み上げ時間を処理装置によって抽出する。
(3)(1)で抽出した文の固定部分の読み上げ時間と(2)で抽出した語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する。
The time counting unit 206 a of the sentence file creation unit 206 performs the following processing for each sentence candidate defined in the speech definition file 302.
(1) The time counting unit 206a uses the processing device to extract the reading time of the fixed portion of the sentence from the information stored in the sentence definition unit 302a of the voice definition file 302.
(2) The time totaling unit 206a extracts, from the information stored in the conversion table 207, the reading time of the phrase specified by the information stored in the phrase specifying unit 302b of the speech definition file 302 by the processing device.
(3) The reading time of the fixed part of the sentence extracted in (1) and the reading time of the phrase extracted in (2) are totaled by the processing device and output as the reading time of the sentence.

(2)において、例えば、語句指定部302bで指定された語句が地域語句であり、この地域語句が表現する地域の気象データ301が音声データファイル303に記録されていれば、時間集計部206aは、変換テーブル207に格納された情報から、その気象データ301が示す天気予報を表現する情報語句の読み上げ時間も抽出する。   In (2), for example, if the phrase specified by the phrase specifying unit 302b is a regional phrase, and the weather data 301 of the region represented by the regional phrase is recorded in the audio data file 303, the time counting unit 206a From the information stored in the conversion table 207, the reading time of the information word that expresses the weather forecast indicated by the weather data 301 is also extracted.

音声定義ファイル302で定義された文の候補の中に、文の変動部分以外が共通し、かつ、音声定義ファイル302の語句指定部302bに格納された情報で指定された語句が、変換テーブル207に格納された情報で同じ纏め語句に対応する文がある場合、時間集計部206aは、該当する文の候補を1つの文として、以下の処理を行う。
(1)時間集計部206aは、音声定義ファイル302の文定義部302aに格納された情報から、文の固定部分の読み上げ時間を処理装置によって抽出する。
(2’)時間集計部206aは、変換テーブル207に格納された情報から、該当する纏め語句の読み上げ時間を処理装置によって抽出する。例えば、語句指定部302bで指定された語句が地域語句であり、この地域語句が表現する地域の気象データ301が音声データファイル303に記録されていれば、時間集計部206aは、変換テーブル207に格納された情報から、その気象データ301が示す天気予報を表現する情報語句の読み上げ時間も抽出する。
(3’)時間集計部206aは、(1)で抽出した文の固定部分の読み上げ時間と(2’)で抽出した語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する。
Among the candidate sentences defined in the speech definition file 302, words other than the variable part of the sentence are common, and the phrase specified by the information stored in the phrase specifying unit 302 b of the speech definition file 302 is converted into the conversion table 207. If there is a sentence corresponding to the same summary phrase in the information stored in the time table 206a, the time counting unit 206a performs the following processing with the corresponding sentence candidate as one sentence.
(1) The time counting unit 206a uses the processing device to extract the reading time of the fixed portion of the sentence from the information stored in the sentence definition unit 302a of the voice definition file 302.
(2 ′) The time totaling unit 206a extracts the reading time of the corresponding summary phrase from the information stored in the conversion table 207 by the processing device. For example, if the phrase specified by the phrase specifying unit 302b is a regional phrase, and the weather data 301 of the region expressed by the regional phrase is recorded in the audio data file 303, the time counting unit 206a stores the conversion data in the conversion table 207. From the stored information, the reading time of the information word that expresses the weather forecast indicated by the weather data 301 is also extracted.
(3 ′) The time counting unit 206a uses the processing device to count the reading time of the fixed portion of the sentence extracted in (1) and the reading time of the word extracted in (2 ′), and outputs the total as the reading time of the sentence. .

例えば、音声定義ファイル302で定義された文の候補ごとに、語句指定部302bで指定された語句が地域語句であり、この地域語句が表現する地域の気象データ301が音声データファイル303に記録されていて、文の候補の中に、文の固定部分が共通し、かつ、音声データファイル303に記録された気象データ301が示す天気予報が一致し、かつ、語句指定部302bで指定された地域語句が、変換テーブル207で同じ纏め語句に対応する文がある場合、(2’)において、時間集計部206aは、該当する文の候補を1つの文として、変換テーブル207に格納された情報から、その気象データ301が示す天気予報を表現する情報語句の読み上げ時間も抽出する。   For example, for each sentence candidate defined in the speech definition file 302, the phrase specified by the phrase specifying unit 302b is a regional phrase, and the weather data 301 of the area represented by this regional phrase is recorded in the speech data file 303. In addition, among the sentence candidates, the fixed part of the sentence is common, the weather forecast indicated by the weather data 301 recorded in the voice data file 303 matches, and the area specified by the phrase specifying unit 302b When there is a sentence whose phrase corresponds to the same summary phrase in the conversion table 207, in (2 ′), the time totaling unit 206a sets the corresponding sentence candidate as one sentence from the information stored in the conversion table 207. The reading time of the information word that expresses the weather forecast indicated by the weather data 301 is also extracted.

文章ファイル作成部206の文章作成部206bは、音声番組ファイル304に格納された情報から、天気予報の文章の読み上げ時間の上限値を処理装置によって抽出する。そして、文章作成部206bは、音声定義ファイル302で定義された文の候補を、音声定義ファイル302の文定義部302aに格納された情報で定義された文の優先度が高い順に、かつ、時間集計部206aにより出力された文の読み上げ時間の集計値が、抽出した上限値以下となるように処理装置によって選択し、選択した文から天気予報の文章を作成する。文章作成部206bは、作成した文章を天気予報文章ファイル305に記録する。   The text creation unit 206b of the text file creation unit 206 extracts, from the information stored in the audio program file 304, the upper limit value of the reading time of the text of the weather forecast by the processing device. Then, the sentence creation unit 206b sets the sentence candidates defined in the sound definition file 302 in the order of the priority of the sentences defined by the information stored in the sentence definition unit 302a of the sound definition file 302 in the order of time. The processing device selects the total value of the reading time of the sentence output by the totaling unit 206a to be equal to or less than the extracted upper limit value, and creates a weather forecast sentence from the selected sentence. The text creation unit 206b records the created text in the weather forecast text file 305.

オンエア端末120の音声ファイル確定部208は、音声データ出力部の一例であり、音声ファイル検索用テーブル209を利用して、天気予報文章ファイル305に記載された文章を構成する文の各々に対応する音声ファイル306(音片)を取得する。そして、音声ファイル確定部208は、取得した音声ファイル306を結合して1つの音声ファイル306を作成し、その音声ファイル306を再生するか、あるいは、外部の端末装置(例えば、テレビ放送のオンエアを制御する端末)へ出力する。なお、音声ファイル確定部208は、市販の音声合成ソフトウェアを利用して音声ファイル306を作成してもよい。この場合、音声ファイル検索用テーブル209は不要となり、予め音声ファイル306を用意しておく必要もなくなる。   The voice file determination unit 208 of the on-air terminal 120 is an example of a voice data output unit, and corresponds to each of the sentences constituting the sentence described in the weather forecast sentence file 305 using the voice file search table 209. An audio file 306 (sound piece) is acquired. Then, the audio file determination unit 208 combines the acquired audio files 306 to create one audio file 306 and reproduces the audio file 306 or external terminal device (for example, on-air of TV broadcasting). Output to the controlling terminal). Note that the voice file determination unit 208 may create the voice file 306 using commercially available voice synthesis software. In this case, the audio file search table 209 is unnecessary, and it is not necessary to prepare the audio file 306 in advance.

音声ファイル306は、音声データの一例であり、例えばWAVEファイルである。   The audio file 306 is an example of audio data, for example, a WAVE file.

音声ファイル確定部208は、文章ファイル作成部206により作成された文章を処理装置によって音声ファイル306に変換して出力する。   The voice file determination unit 208 converts the text created by the text file creation unit 206 into a voice file 306 by the processing device and outputs the voice file 306.

図2は、各端末装置(受信端末110とオンエア端末120)のハードウェア構成例を示す図である。   FIG. 2 is a diagram illustrating a hardware configuration example of each terminal device (receiving terminal 110 and on-air terminal 120).

図2の例において、各端末装置は、コンピュータであり、LCD901(Liquid・Crystal・Display)、キーボード902(K/B)、マウス903、FDD904(Flexible・Disk・Drive)、CDD905(Compact・Disc・Drive)、プリンタ906といったハードウェアデバイスを備えている。これらのハードウェアデバイスはケーブルや信号線で接続されている。LCD901の代わりに、CRT(Cathode・Ray・Tube)、あるいは、その他の表示装置が用いられてもよい。マウス903の代わりに、タッチパネル、タッチパッド、トラックボール、ペンタブレット、あるいは、その他のポインティングデバイスが用いられてもよい。   In the example of FIG. 2, each terminal device is a computer, and includes an LCD 901 (Liquid / Crystal / Display), a keyboard 902 (K / B), a mouse 903, an FDD 904 (Flexible / Disk / Drive), and a CDD 905 (Compact / Disc / Disc). Drive) and a hardware device such as a printer 906 are provided. These hardware devices are connected by cables and signal lines. Instead of the LCD 901, a CRT (Cathode / Ray / Tube) or other display device may be used. Instead of the mouse 903, a touch panel, a touch pad, a trackball, a pen tablet, or other pointing devices may be used.

各端末装置は、プログラムを実行するCPU911(Central・Processing・Unit)を備えている。CPU911は、処理装置の一例である。CPU911は、バス912を介してROM913(Read・Only・Memory)、RAM914(Random・Access・Memory)、通信ボード915、LCD901、キーボード902、マウス903、FDD904、CDD905、プリンタ906、HDD920(Hard・Disk・Drive)と接続され、これらのハードウェアデバイスを制御する。HDD920の代わりに、フラッシュメモリ、光ディスク装置、メモリカードリーダライタ又はその他の記憶媒体が用いられてもよい。   Each terminal device includes a CPU 911 (Central Processing Unit) that executes a program. The CPU 911 is an example of a processing device. The CPU 911 includes a ROM 913 (Read / Only / Memory), a RAM 914 (Random / Access / Memory), a communication board 915, an LCD 901, a keyboard 902, a mouse 903, an FDD 904, a CDD 905, a printer 906, and an HDD 920 (Hard / Disk) via a bus 912. Connected with Drive) to control these hardware devices. Instead of the HDD 920, a flash memory, an optical disk device, a memory card reader / writer, or other storage medium may be used.

RAM914は、揮発性メモリの一例である。ROM913、FDD904、CDD905、HDD920は、不揮発性メモリの一例である。これらは、記憶装置の一例である。通信ボード915、キーボード902、マウス903、FDD904、CDD905は、入力装置の一例である。また、通信ボード915、LCD901、プリンタ906は、出力装置の一例である。   The RAM 914 is an example of a volatile memory. The ROM 913, the FDD 904, the CDD 905, and the HDD 920 are examples of nonvolatile memories. These are examples of the storage device. The communication board 915, the keyboard 902, the mouse 903, the FDD 904, and the CDD 905 are examples of input devices. The communication board 915, the LCD 901, and the printer 906 are examples of output devices.

通信ボード915は、LAN(Local・Area・Network)等に接続されている。通信ボード915は、LANに限らず、IP−VPN(Internet・Protocol・Virtual・Private・Network)、広域LAN、ATM(Asynchronous・Transfer・Mode)ネットワークといったWAN(Wide・Area・Network)、あるいは、インターネットに接続されていても構わない。LAN、WAN、インターネットは、ネットワーク130の一例である。   The communication board 915 is connected to a LAN (Local / Area / Network) or the like. The communication board 915 is not limited to a LAN, but is an IP-VPN (Internet, Protocol, Private, Network), a wide area LAN, an ATM (Asynchronous / Transfer / Mode) network, a WAN (Wide / Area / Network), or the Internet. It does not matter if it is connected to. LAN, WAN, and the Internet are examples of the network 130.

HDD920には、オペレーティングシステム921(OS)、ウィンドウシステム922、プログラム群923、ファイル群924が記憶されている。プログラム群923のプログラムは、CPU911、オペレーティングシステム921、ウィンドウシステム922により実行される。プログラム群923には、本実施の形態の説明において「〜部」として説明する機能を実行するプログラムが含まれている。プログラムは、CPU911により読み出され実行される。ファイル群924には、本実施の形態の説明において、「〜データ」、「〜情報」、「〜ID(識別子)」、「〜フラグ」、「〜結果」として説明するデータや情報や信号値や変数値やパラメータが、「〜ファイル」や「〜データベース」や「〜テーブル」の各項目として含まれている。「〜ファイル」や「〜データベース」や「〜テーブル」は、RAM914やHDD920等の記憶媒体に記憶される。RAM914やHDD920等の記憶媒体に記憶されたデータや情報や信号値や変数値やパラメータは、読み書き回路を介してCPU911によりメインメモリやキャッシュメモリに読み出され、抽出、検索、参照、比較、演算、計算、制御、出力、印刷、表示といったCPU911の処理(動作)に用いられる。抽出、検索、参照、比較、演算、計算、制御、出力、印刷、表示といったCPU911の処理中、データや情報や信号値や変数値やパラメータは、メインメモリやキャッシュメモリやバッファメモリに一時的に記憶される。   The HDD 920 stores an operating system 921 (OS), a window system 922, a program group 923, and a file group 924. The programs in the program group 923 are executed by the CPU 911, the operating system 921, and the window system 922. The program group 923 includes programs that execute the functions described as “˜units” in the description of the present embodiment. The program is read and executed by the CPU 911. The file group 924 includes data, information, and signal values described as “˜data”, “˜information”, “˜ID (identifier)”, “˜flag”, and “˜result” in the description of this embodiment. And variable values and parameters are included as items of “˜file”, “˜database”, and “˜table”. The “˜file”, “˜database”, and “˜table” are stored in a storage medium such as the RAM 914 or the HDD 920. Data, information, signal values, variable values, and parameters stored in a storage medium such as the RAM 914 and the HDD 920 are read out to the main memory and the cache memory by the CPU 911 via a read / write circuit, and extracted, searched, referenced, compared, and calculated. It is used for processing (operation) of the CPU 911 such as calculation, control, output, printing, and display. During the processing of the CPU 911 such as extraction, search, reference, comparison, calculation, calculation, control, output, printing, and display, data, information, signal values, variable values, and parameters are temporarily stored in the main memory, cache memory, and buffer memory. Remembered.

本実施の形態の説明において用いるブロック図やフローチャートの矢印の部分は主としてデータや信号の入出力を示す。データや信号は、RAM914等のメモリ、FDD904のフレキシブルディスク(FD)、CDD905のコンパクトディスク(CD)、HDD920の磁気ディスク、光ディスク、DVD(Digital・Versatile・Disc)、あるいは、その他の記録媒体に記録される。また、データや信号は、バス912、信号線、ケーブル、あるいは、その他の伝送媒体により伝送される。   The arrows in the block diagrams and flowcharts used in the description of this embodiment mainly indicate input / output of data and signals. Data and signals are recorded in memory such as RAM 914, FDD904 flexible disk (FD), CDD905 compact disk (CD), HDD920 magnetic disk, optical disk, DVD (Digital Versatile Disc), or other recording media Is done. Data and signals are transmitted by a bus 912, a signal line, a cable, or other transmission media.

本実施の形態の説明において「〜部」として説明するものは、「〜回路」、「〜装置」、「〜機器」であってもよく、また、「〜ステップ」、「〜工程」、「〜手順」、「〜処理」であってもよい。即ち、「〜部」として説明するものは、ROM913に記憶されたファームウェアで実現されていても構わない。あるいは、「〜部」として説明するものは、ソフトウェアのみ、あるいは、素子、デバイス、基板、配線といったハードウェアのみで実現されていても構わない。あるいは、「〜部」として説明するものは、ソフトウェアとハードウェアとの組み合わせ、あるいは、ソフトウェアとハードウェアとファームウェアとの組み合わせで実現されていても構わない。ファームウェアとソフトウェアは、プログラムとして、フレキシブルディスク、コンパクトディスク、磁気ディスク、光ディスク、DVD等の記録媒体に記憶される。プログラムはCPU911により読み出され、CPU911により実行される。即ち、プログラムは、本実施の形態の説明で述べる「〜部」としてコンピュータを機能させるものである。あるいは、プログラムは、本実施の形態の説明で述べる「〜部」の手順や方法をコンピュータに実行させるものである。   In the description of the present embodiment, what is described as “to part” may be “to circuit”, “to device”, “to device”, and “to step”, “to process”, “to” ~ Procedure "," ~ process ". That is, what is described as “˜unit” may be realized by firmware stored in the ROM 913. Alternatively, what is described as “˜unit” may be realized only by software, or only by hardware such as an element, a device, a board, and wiring. Alternatively, what is described as “to part” may be realized by a combination of software and hardware, or a combination of software, hardware and firmware. Firmware and software are stored as programs in a recording medium such as a flexible disk, a compact disk, a magnetic disk, an optical disk, and a DVD. The program is read by the CPU 911 and executed by the CPU 911. That is, the program causes the computer to function as “to part” described in the description of the present embodiment. Or a program makes a computer perform the procedure and method of "-part" described by description of this Embodiment.

以下、文章作成システム100の動作(本実施の形態に係る文章作成方法、本実施の形態に係る文章作成プログラムの処理手順)について説明する。   Hereinafter, an operation of the text creation system 100 (a text creation method according to the present embodiment, a processing procedure of the text creation program according to the present embodiment) will be described.

図3は、受信端末110の動作を示すフローチャートである。   FIG. 3 is a flowchart showing the operation of the receiving terminal 110.

図3において、受信端末110側では、まず、データベース登録部201が最新の気象データ301のデータベース登録処理を行い、気象データベース202を作成する(ステップS101:データベース登録処理)。次に、中間ファイル作成部204が予め作成された音声定義ファイル302を記憶装置から読み取る。そして、中間ファイル作成部204が音声定義ファイル302に記述されているアクセス関数とME番号により気象データベース202から必要な情報を取得し、放送用画面の中間ファイルとして音声データファイル303を処理装置によって作成する(ステップS102:中間ファイル作成処理)。ここで、ME番号は気象データベース202から気象データ301を取得するための指定番号である。気象データベース202には、地点番号(地域を示す識別子の一例)とME番号との組み合わせごとに、ある時刻における、該当する地点(地域)の天気予報を示す数値又は文字列が格納されている。最後に、ファイル転送部205が音声データファイル303をオンエア端末120に、ネットワーク130を介して転送する(ステップS103:ファイル転送処理)。   In FIG. 3, on the receiving terminal 110 side, first, the database registration unit 201 performs database registration processing of the latest weather data 301 and creates a weather database 202 (step S101: database registration processing). Next, the intermediate file creation unit 204 reads the voice definition file 302 created in advance from the storage device. Then, the intermediate file creation unit 204 acquires necessary information from the weather database 202 based on the access function and ME number described in the voice definition file 302, and creates the voice data file 303 as an intermediate file of the broadcast screen by the processing device. (Step S102: Intermediate file creation process). Here, the ME number is a designated number for acquiring the weather data 301 from the weather database 202. The weather database 202 stores a numerical value or a character string indicating a weather forecast of a corresponding point (region) at a certain time for each combination of a point number (an example of an identifier indicating a region) and an ME number. Finally, the file transfer unit 205 transfers the audio data file 303 to the on-air terminal 120 via the network 130 (step S103: file transfer process).

図4は、オンエア端末120の動作を示すフローチャートである。   FIG. 4 is a flowchart showing the operation of the on-air terminal 120.

図4において、オンエア端末120側では、文章ファイル作成部206が音声データファイル303、音声番組ファイル304、音声定義ファイル302を記憶装置から読み取り、これらのファイルと変換テーブル207に基づき、天気予報文章ファイル305を処理装置によって作成する(ステップS201:文章ファイル作成処理)。そして、音声ファイル確定部208が天気予報文章ファイル305を基に、音声ファイル検索用テーブル209で音声ファイル306を検索し、再生用の音声ファイル306を処理装置によって作成する(ステップS202:音声ファイル確定処理)。その後、音声ファイル確定部208又は別の端末が音声ファイル306により音声の再生を行う。なお、音声の再生においては、市販の音声合成ソフトウェアを利用して、天気予報の文章をそのまま読ませてもよい。   In FIG. 4, on the on-air terminal 120 side, the text file creation unit 206 reads the audio data file 303, the audio program file 304, and the audio definition file 302 from the storage device, and based on these files and the conversion table 207, the weather forecast text file 305 is created by the processing device (step S201: sentence file creation process). Then, the sound file determination unit 208 searches the sound file search table 209 for the sound file 306 based on the weather forecast sentence file 305, and creates a sound file 306 for reproduction by the processing device (step S202: sound file determination). processing). Thereafter, the audio file determination unit 208 or another terminal reproduces the audio using the audio file 306. In the reproduction of the voice, the text of the weather forecast may be read as it is using commercially available voice synthesis software.

このように、本実施の形態では、アクセス関数を実行して気象データベース202から最新かつ番組に必要なデータを取り出す処理と、そのデータを用いて番組の放送時間内で読み上げられる文章を作成する処理を、それぞれ別々の端末で実行している。具体的には、前者を受信端末110側で、後者をオンエア端末120側で実行している。そのため、番組の放送時間に急な変更があった場合等に、オンエア端末120側のみで迅速に対処できる。特に、気象データベース202に再度アクセスする必要がないため、時間がかかるデータベース処理を省略できる点で大きな効果がある。   As described above, in this embodiment, the access function is executed to extract the latest and necessary data for the program from the weather database 202, and the processing for creating the text read out within the broadcast time of the program using the data. Are running on separate terminals. Specifically, the former is executed on the receiving terminal 110 side and the latter is executed on the on-air terminal 120 side. Therefore, when there is a sudden change in the broadcast time of a program, it can be quickly dealt with only on the on-air terminal 120 side. In particular, since it is not necessary to access the weather database 202 again, there is a great effect in that the time-consuming database processing can be omitted.

以下、本実施の形態で用いるデータの例を示す。   Hereinafter, examples of data used in the present embodiment will be shown.

図5は、音声番組ファイル304の例を示す図である。   FIG. 5 is a diagram showing an example of the audio program file 304.

図5の例において、音声番組ファイル304では、以下の項目が定義されている。なお、1つの音声番組ファイル304は、1つの天気予報番組に対応する。
・BGM(バックグラウンドミュージック)番号:番組で流されるBGMを示す識別子である。
・音声コメント有無フラグ:番組で読み上げられる文章の有無を示すフラグである。例えば、“1”が「あり」、“0”が「なし」を示す。
・開始コメント:番組の開始時に読み上げられるコメントを示す識別子である。
・終了コメント:番組の終了時に読み上げられるコメントを示す識別子である。
・先出し秒数:番組の開始後、最初の画面を表示するまでの時間である。
・画面数:番組内で表示する天気予報の画面の数である。図5の例では、17個に設定されている。
・画面番号と秒数:画面番号は、各画面を示す識別子であり、秒数は、画面番号で示された画面の放送時間である。図5の例では、画面番号“226”の画面が5秒間表示されることを示している。
In the example of FIG. 5, the following items are defined in the audio program file 304. One audio program file 304 corresponds to one weather forecast program.
BGM (background music) number: An identifier indicating BGM played in the program.
Voice comment presence / absence flag: a flag indicating the presence / absence of a sentence read out in the program. For example, “1” indicates “present” and “0” indicates “not present”.
Start comment: An identifier indicating a comment read out at the start of the program.
End comment: An identifier indicating a comment read out at the end of the program.
First-out seconds: The time until the first screen is displayed after the program starts.
Number of screens: Number of weather forecast screens to be displayed in the program. In the example of FIG. 5, it is set to 17.
Screen number and number of seconds: The screen number is an identifier indicating each screen, and the number of seconds is the broadcast time of the screen indicated by the screen number. In the example of FIG. 5, the screen with the screen number “226” is displayed for 5 seconds.

図6は、音声定義ファイル302及び音声データファイル303の例を示す図である。図7(a)〜(e)及び図8(a)〜(e)は、変換テーブル207の例を示す図である。図9(a)〜(c)は、音声定義ファイル302の例を示す図である。   FIG. 6 is a diagram illustrating an example of the voice definition file 302 and the voice data file 303. FIGS. 7A to 7E and FIGS. 8A to 8E are diagrams showing examples of the conversion table 207. FIG. 9A to 9C are diagrams showing examples of the voice definition file 302. FIG.

図6の例において、音声定義ファイル302では、[Com]セクションで画面に関する設定等が、[Sound_FIX]セクションで最も優先度が低い文の候補の定義が、[Soundxx]セクションでxx番目に優先度が高い文の候補の定義が行われている。例えば、音声定義ファイル302のファイル名は、画面番号と同じか(画面番号が001なら、例えば“001.voc”)、又は、画面番号を含むものとする。   In the example of FIG. 6, in the voice definition file 302, the settings related to the screen in the [Com] section, the definition of the sentence candidate with the lowest priority in the [Sound_FIX] section, and the xxth priority in the [Soundxx] section The definition of a candidate for a sentence with a high is made. For example, the file name of the audio definition file 302 is the same as the screen number (for example, “001.voc” if the screen number is 001), or includes the screen number.

[Com]セクションでは、以下の項目が定義される。   In the [Com] section, the following items are defined.

◆SeanNo:音声定義ファイル302に対応する画面番号を指定する。例えば、001〜999が指定される。   ◆ SeaNo: Designates the screen number corresponding to the voice definition file 302. For example, 001 to 999 are designated.

◆SeanMAX_TIME(文章定義部):画面番号で示された画面の最大秒数(天気予報の文章の読み上げ時間の上限値)を定義する。音声番組ファイル304で定義されている場合は、省略可能である。   ◆ SeanMAX_TIME (text definition part): Defines the maximum number of seconds (upper limit value of the reading time of the text of the weather forecast) of the screen indicated by the screen number. If it is defined in the audio program file 304, it can be omitted.

◆Priority:地点要素(地域語句)と気象要素(情報語句)のうち、どちらを優先して文章に採用するかを指定する。例えば、“W,P”は気象要素の優先度が地点要素の優先度より高いことを示し、この場合、文章ファイル作成部206による自動カットでは地点要素が先にカットされる。逆に、“P,W”の場合、気象要素が先にカットされる。図6の例のように、“Priority”が省略された場合、例えば、“W,P”(あるいは“P,W”)をデフォルトの設定として用いる。   Priority: Designates which of the point elements (regional phrases) and the weather elements (information phrases) should be preferentially adopted in the text. For example, “W, P” indicates that the priority of the weather element is higher than the priority of the point element. In this case, the point element is cut first in the automatic cut by the text file creation unit 206. Conversely, in the case of “P, W”, the weather element is cut first. When “Priority” is omitted as in the example of FIG. 6, for example, “W, P” (or “P, W”) is used as a default setting.

[Sound_FIX]セクションでは、以下の項目が定義される。   In the [Sound_FIX] section, the following items are defined.

◆Comment(文定義部302aの一部):[Soundxx]セクションで定義されたコメント(変動部分を含む文)が指定秒数に収まらない場合に採用する固定コメント(固定部分のみからなる文)を指定する。   ◆ Comment (part of the sentence definition unit 302a): A fixed comment (sentence consisting only of a fixed part) adopted when a comment (a sentence including a variable part) defined in the [Soundxx] section does not fit in the specified number of seconds specify.

◆ComTime(文定義部302aの一部):固定コメントの秒数(文の固定部分の読み上げ時間)を指定する。[Soundxx]セクションで定義されたコメントが指定秒数に収まらない場合に、必ず[Sound_FIX]セクションで定義された固定コメントを採用するのであれば、省略可能である。   ◆ ComTime (part of the sentence definition unit 302a): Designates the number of seconds for the fixed comment (the reading time of the fixed part of the sentence). If the comment defined in the [Soundxx] section does not fit in the specified number of seconds and the fixed comment defined in the [Sound_FIX] section is always adopted, it can be omitted.

[Soundxx]セクションでは、以下の項目が定義される。   In the [Soundxx] section, the following items are defined.

◆Comment(文定義部302aの一部):テンプレートコメント(文の変動部分と固定部分)を指定する。例えば、複数地点(複数の地域)のコメントを繰り返したい場合、“/continue”の指定をし、“P_KEY”に複数地点の指定を行う。   Comment (part of sentence definition unit 302a): Designates a template comment (fluctuation part and fixed part of sentence). For example, when it is desired to repeat a comment at a plurality of points (a plurality of regions), “/ continue” is designated, and a plurality of points are designated as “P_KEY”.

◆Comment_END(文定義部302aの一部):“Comment”に“/continue”指定がある場合、最後に付加するコメント(文の固定部分)を設定する。   Comment_END (part of sentence definition unit 302a): When “/ continue” is specified in “Comment”, a comment (fixed part of the sentence) to be added at the end is set.

なお、“Comment”、“Comment_END”では、以下の変数を指定できる。
(1)地点要素の変数(%P):中間ファイル作成部204は、“P_KEY”で指定された地点番号を音声データファイル303に記録する。文章ファイル作成部206は、この地点番号を音声データファイル303から読み取り、“P_ChgTbl”で指定された変換テーブル207に従って(地域語句に)変換し、変数(%P)に設定する。
(2)時要素の変数(%T):中間ファイル作成部204は、“P_KEY”で指定された地点番号を検索キーとして、“T_FUNC”で指定されたアクセス関数、ME番号により気象データベース202から情報(気象データ301)を取得し、音声データファイル303に記録する。文章ファイル作成部206は、この情報を音声データファイル303から読み取り、“T_ChgTbl”で指定された変換テーブル207に従って(時刻語句に)変換し、変数(%T)に設定する。
(3)気象要素の変数(%Wx(x:1〜3)):中間ファイル作成部204は、“P_KEY”で指定された地点番号を検索キーとして、“Wx_FUNC”で指定されたアクセス関数、ME番号により気象データベース202から情報(気象データ301)を取得し、音声データファイル303に記録する。文章ファイル作成部206は、この情報を音声データファイル303から読み取り、“Wx_ChgTbl”で指定された変換テーブル207に従って(情報語句に)変換し、変数(%Wx)に設定する。
In “Comment” and “Comment_END”, the following variables can be specified.
(1) Variable of point element (% P): The intermediate file creation unit 204 records the point number designated by “P_KEY” in the audio data file 303. The text file creation unit 206 reads this spot number from the voice data file 303, converts it according to the conversion table 207 designated by “P_ChgTbl” (to a regional word / phrase), and sets it to a variable (% P).
(2) Time element variable (% T): The intermediate file creation unit 204 uses the location number specified by “P_KEY” as a search key and the access function and ME number specified by “T_FUNC” from the weather database 202. Information (weather data 301) is acquired and recorded in the audio data file 303. The text file creation unit 206 reads this information from the audio data file 303, converts the information according to the conversion table 207 designated by “T_ChgTbl” (to a time word / phrase), and sets the variable (% T).
(3) Weather element variable (% Wx (x: 1 to 3)): The intermediate file creation unit 204 uses the location number designated by “P_KEY” as a search key, the access function designated by “Wx_FUNC”, Information (weather data 301) is acquired from the weather database 202 by the ME number and recorded in the voice data file 303. The text file creation unit 206 reads this information from the voice data file 303, converts the information according to the conversion table 207 specified by “Wx_ChgTbl” (to an information word / phrase), and sets the variable (% Wx).

図6の例において、音声定義ファイル302の[Sound_FIX]セクションには、“P_KEY”の指定がないので、セクション名だけが音声データファイル303に設定されている。音声定義ファイル302の[Sound01]セクションには、“P_KEY=5500”が設定されているが、アクセス関数が指定されていないので、“5500”のみが音声データファイル303に設定されている。音声定義ファイル302の[Sound02]セクションには、“P_KEY=5510,5520”が設定されているので、各々の地点番号についてアクセス関数“GetTelop”のME番号“55”、“65”、“75”、“85”、“95”、“105”、“115”の値が取得され、カンマで区切って音声データファイル303に設定されている。例えば、音声データファイル303のファイル名は、音声定義ファイル302のファイル名と同様に、画面番号と同じか(画面番号が001なら、例えば“001.dat”)、又は、画面番号を含むものとする。   In the example of FIG. 6, since “P_KEY” is not specified in the [Sound_FIX] section of the audio definition file 302, only the section name is set in the audio data file 303. In the [Sound01] section of the audio definition file 302, “P_KEY = 5500” is set, but since no access function is specified, only “5500” is set in the audio data file 303. Since “P_KEY = 5510, 5520” is set in the [Sound02] section of the voice definition file 302, the ME numbers “55”, “65”, “75” of the access function “GetTelop” for each point number. , “85”, “95”, “105”, “115” are acquired and set in the audio data file 303 separated by commas. For example, the file name of the audio data file 303 is the same as the file name of the audio definition file 302, is the same as the screen number (for example, “001.dat” if the screen number is 001), or includes the screen number.

◆ComTime(文定義部302aの一部):コメントの固定部分の秒数(文の固定部分の読み上げ時間)を指定する。   ◆ ComTime (part of the sentence definition unit 302a): Designates the number of seconds of the fixed part of the comment (the reading time of the fixed part of the sentence).

◆P_KEY(語句指定部302bの一部):“T_FUNC”や“Wx_FUNC”で指定されるアクセス関数の検索キーとなる地点番号を指定する。複数地点のコメントを繰り返したい場合、“Comment”に“/continue”の指定が必要である。“P_KEY”に複数地点の指定があっても、“/continue”の指定がない場合、文章ファイル作成部206は、“P_KEY”で指定された最初の地点についてのみ、コメントを作成する。   P_KEY (part of the phrase designating part 302b): Designates a point number as a search key for an access function designated by “T_FUNC” or “Wx_FUNC”. When it is desired to repeat comments at a plurality of points, it is necessary to specify “/ continue” in “Comment”. Even if a plurality of points are designated in “P_KEY”, if “/ continue” is not designated, the text file creation unit 206 creates a comment only for the first point designated by “P_KEY”.

◆P_ChgTbl(語句指定部302bの一部):“P_KEY”で指定された地点番号をテンプレート(文の変動部分)に設定する際に参照する変換テーブル207を指定する。例えば、図7(a)に示したような変換テーブル207が指定される。   P_ChgTbl (part of the phrase designating part 302b): Designates the conversion table 207 to be referred to when setting the point number designated by “P_KEY” in the template (the sentence variable part). For example, the conversion table 207 as shown in FIG.

図7(a)の例において、変換テーブル207は、地点番号、地点要素、秒数(地域語句の読み上げ時間)を対応付けて格納している。例えば、“P_KEY”で指定された地点番号が“5110”であれば、文章ファイル作成部206は、変換テーブル207から地点要素“大阪”と秒数“3秒”を取得する。   In the example of FIG. 7A, the conversion table 207 stores a point number, a point element, and the number of seconds (a reading time of a local phrase) in association with each other. For example, if the spot number specified by “P_KEY” is “5110”, the text file creation unit 206 acquires the spot element “Osaka” and the number of seconds “3 seconds” from the conversion table 207.

◆T_FUNC(語句指定部302bの一部):“%T”で指定された変数に対し、アクセス関数とME番号を設定する。例えば、“GetTelop/ME=1”と指定すると、ME番号“1”に対応する時刻の情報(別途取得する天気予報の情報がいつの天気に関するものかを示す情報)を気象データベース202から取得するよう指定したことになる。   T_FUNC (part of the phrase specifying unit 302b): An access function and an ME number are set for the variable specified by “% T”. For example, when “GetTelop / ME = 1” is specified, time information corresponding to the ME number “1” (information indicating when the weather forecast information to be acquired separately relates to the weather) is acquired from the weather database 202. It will be specified.

◆T_ChgTbl(文定義部302aの一部):“T_FUNC”で指定されたアクセス関数とME番号で気象データベース202を検索した結果をテンプレートに設定する際に参照する変換テーブル207を指定する。例えば、図7(b)〜(e)に示したような変換テーブル207が指定される。   T_ChgTbl (part of the sentence definition unit 302a): Specifies the conversion table 207 to be referred to when setting the search result of the weather database 202 with the access function and ME number specified by “T_FUNC” in the template. For example, the conversion table 207 as shown in FIGS. 7B to 7E is designated.

図7(b)の例において、変換テーブル207は、日時と“SYSTEM_DATE”(システム日時)との比較結果、時要素(時刻語句)、秒数(時刻語句の読み上げ時間)を対応付けて格納している。なお、“SYSTEM_DATE”、“1Day”、“2Day”、“0.5Day”は予約語である。例えば、文章ファイル作成部206は、“P_KEY”で指定された地点番号と“T_FUNC”で指定されたアクセス関数とME番号により得られた日時とシステム日時とを比較し、一致した場合は変換テーブル207から時要素“今日”と秒数“3秒”を取得する。   In the example of FIG. 7B, the conversion table 207 stores the comparison result between the date and time and “SYSTEM_DATE” (system date and time), the time element (time phrase), and the number of seconds (time phrase reading time) in association with each other. ing. “SYSTEM_DATE”, “1 Day”, “2 Day”, and “0.5 Day” are reserved words. For example, the text file creation unit 206 compares the point number specified by “P_KEY”, the access function specified by “T_FUNC”, the date and time obtained by the ME number, and the system date and time, and if they match, the conversion table From 207, the time element “today” and the number of seconds “3 seconds” are acquired.

図7(c)の例において、変換テーブル207は、日、時要素、秒数を対応付けて格納している。例えば、“P_KEY”で指定された地点番号と“T_FUNC”で指定されたアクセス関数とME番号により得られた日が“1”であれば、文章ファイル作成部206は、変換テーブル207から時要素“1日”と秒数“3秒”を取得する。   In the example of FIG. 7C, the conversion table 207 stores the date, time element, and number of seconds in association with each other. For example, if the date obtained from the point number specified by “P_KEY”, the access function specified by “T_FUNC” and the ME number is “1”, the sentence file creation unit 206 reads the time element from the conversion table 207. Get “1 day” and seconds “3 seconds”.

図7(d)の例において、変換テーブル207は、曜日、時要素、秒数を対応付けて格納している。例えば、“P_KEY”で指定された地点番号と“T_FUNC”で指定されたアクセス関数とME番号により得られた曜日が“1”であれば、文章ファイル作成部206は、変換テーブル207から時要素“月曜日”と秒数“3秒”を取得する。   In the example of FIG. 7D, the conversion table 207 stores the day of the week, the time element, and the number of seconds in association with each other. For example, if the day of the week obtained from the point number specified by “P_KEY”, the access function specified by “T_FUNC” and the ME number is “1”, the sentence file creation unit 206 reads the time element from the conversion table 207. Get “Monday” and the number of seconds “3 seconds”.

図7(e)の例において、変換テーブル207は、条件式、時要素、秒数を対応付けて格納している。例えば、“P_KEY”で指定された地点番号と“T_FUNC”で指定されたアクセス関数とME番号により得られた時間が“9”であれば、文章ファイル作成部206は、変換テーブル207から時要素“午前中は”と秒数“3秒”を取得する。   In the example of FIG. 7E, the conversion table 207 stores a conditional expression, a time element, and the number of seconds in association with each other. For example, if the time obtained by the location number specified by “P_KEY”, the access function specified by “T_FUNC” and the ME number is “9”, the text file creation unit 206 reads the time element from the conversion table 207. Get “in the morning” and the number of seconds “3 seconds”.

図7(e)の例で用いている条件式は、以下のパターンにより記述され、変数(*a)の前後には“:”(コロン)が設定される。カンマで区切ることにより、複数条件を設定可能である。
(1)“<:*a”:指定された値より大きい場合に真となる。
(2)“<=:*a”:指定された値以上の場合に真となる。
(3)“>:*a”:指定された値より小さい場合に真となる。
(4)“>=:*a”:指定された値以下の場合に真となる。
(5)“=:*a”:指定された値と同じ場合に真となる。
The conditional expression used in the example of FIG. 7E is described by the following pattern, and “:” (colon) is set before and after the variable (* a). Multiple conditions can be set by separating them with commas.
(1) “<: * a”: True if greater than the specified value.
(2) “<=: * a”: True if the value is greater than or equal to the specified value.
(3) “>: * a”: True if the value is smaller than the specified value.
(4) “> =: * a”: True if the value is less than or equal to the specified value.
(5) “=: * a”: True if the value is the same as the specified value.

◆Wx_FUNC(語句指定部302bの一部):“%W1”〜“%W3”で指定された変数に対し、アクセス関数とME番号を指定する。例えば、“GetTelop/ME=15”と指定すると、ME番号“15”に対応する天気(空模様)の予報の情報を気象データベース202から取得するよう指定したことになる。週間予報等を得たい場合、同じ関数でME番号を複数指定することも可能である。その場合は、カンマで区切る。   Wx_FUNC (part of the phrase designating unit 302b): Designates an access function and ME number for variables designated by “% W1” to “% W3”. For example, when “GetTerop / ME = 15” is designated, it is designated that weather (sky) forecast information corresponding to the ME number “15” is acquired from the weather database 202. When obtaining a weekly forecast or the like, it is possible to specify a plurality of ME numbers with the same function. In that case, separate them with commas.

◆Wx_ChgTbl(文定義部302aの一部):“Wx_FUNC”で指定されたアクセス関数とME番号で気象データベース202を検索した結果をテンプレートに設定する際に参照する変換テーブル207を指定する。例えば、図8(a)〜(d)に示したような変換テーブル207が指定される。変換テーブル207では、“Wx_FUNC”でME番号が複数指定された場合に比較するパターンを指定することが可能である。“Wx_FUNC”でME番号が複数指定された場合でも、変換テーブル207が比較パターンと気象要素を対応付けるのではなく、個々の値と気象要素を対応付けて定義している場合、文章ファイル作成部206は、ME番号で取得した各値を変換テーブル207で気象要素等に変換する。   Wx_ChgTbl (part of the sentence definition unit 302a): Specifies the conversion table 207 to be referred to when setting the search result of the weather database 202 with the access function and ME number specified by “Wx_FUNC” in the template. For example, the conversion table 207 as shown in FIGS. 8A to 8D is designated. In the conversion table 207, it is possible to designate a pattern to be compared when a plurality of ME numbers are designated by “Wx_FUNC”. Even when a plurality of ME numbers are designated by “Wx_FUNC”, the conversion table 207 does not associate the comparison pattern with the weather element, but defines each value and the weather element in association with each other. Converts each value acquired by the ME number into a weather element or the like by the conversion table 207.

図8(a)の例において、変換テーブル207は、天気(空模様)の予報を示すテロップ番号(天気予報の識別子である数値)、気象要素、秒数(情報語句の読み上げ時間)を対応付けて格納している。例えば、“P_KEY”で指定された地点番号と“Wx_FUNC”で指定されたアクセス関数とME番号により得られたテロップ番号が“101”であれば、文章ファイル作成部206は、変換テーブル207から気象要素“晴時々曇”と秒数“4秒”を取得する。   In the example of FIG. 8A, the conversion table 207 associates a telop number (a numerical value that is an identifier of a weather forecast), a weather element, and a number of seconds (a reading time of an information word / phrase) indicating a weather (sky) forecast. Storing. For example, if the point number specified by “P_KEY”, the access function specified by “Wx_FUNC”, and the telop number obtained by the ME number are “101”, the sentence file creation unit 206 reads the weather from the conversion table 207. Get the element “finely cloudy” and the number of seconds “4 seconds”.

図8(b)の例において、変換テーブル207は、週間予報を示す各曜日のテロップ番号、気象要素、秒数を対応付けて格納している。なお、“*”は、どんな値が設定されていても一致とみなすことを意味する。例えば、“P_KEY”で指定された地点番号と“Wx_FUNC”で指定されたアクセス関数と複数のME番号により得られたテロップ番号が“101,101,101,102,101,102,103”であれば、文章ファイル作成部206は、変換テーブル207から気象要素“週の前半は晴れ”と秒数“4秒”を取得する。   In the example of FIG. 8B, the conversion table 207 stores the telop number, weather element, and number of seconds for each day of the week indicating the weekly forecast in association with each other. “*” Means that no matter what value is set, it is regarded as a match. For example, if the point number specified by “P_KEY”, the access function specified by “Wx_FUNC”, and the telop number obtained by a plurality of ME numbers are “101, 101, 101, 102, 101, 102, 103” For example, the text file creation unit 206 obtains the weather element “first half of the week is sunny” and the number of seconds “4 seconds” from the conversion table 207.

図8(c)の例において、変換テーブル207は、各曜日のテロップ番号、気象要素、秒数を対応付けて格納している。なお、“*a”は、“*a”の部分に同じ値が設定されていることを意味する。この記述方法によれば、図8(b)の例と異なり、テロップ番号全てを設定する手間が省ける。例えば、“P_KEY”で指定された地点番号と“Wx_FUNC”で指定されたアクセス関数と複数のME番号により得られたテロップ番号が“102,102,102,102,102,102,102”であれば、文章ファイル作成部206は、変換テーブル207から気象要素“この週は同じ天気が続く”と秒数“4秒”を取得する。   In the example of FIG. 8C, the conversion table 207 stores the telop number, weather element, and number of seconds for each day of the week in association with each other. Note that “* a” means that the same value is set in the “* a” portion. According to this description method, unlike the example of FIG. 8B, the trouble of setting all the telop numbers can be saved. For example, if the point number specified by “P_KEY”, the access function specified by “Wx_FUNC”, and the telop number obtained by a plurality of ME numbers are “102, 102, 102, 102, 102, 102, 102”. For example, the text file creation unit 206 acquires the weather element “the same weather continues this week” and the number of seconds “4 seconds” from the conversion table 207.

図8(d)の例において、変換テーブル207は、条件式、気象要素、秒数を対応付けて格納している。なお、条件式の記述方法は、図7(e)の例と同様である。例えば、“P_KEY”で指定された地点番号と“Wx_FUNC”で指定されたアクセス関数と複数のME番号により得られた降水確率が“20”であれば、文章ファイル作成部206は、変換テーブル207から気象要素“40パーセント以下と低め”と秒数“4秒”を取得する。   In the example of FIG. 8D, the conversion table 207 stores conditional expressions, weather elements, and seconds in association with each other. The description method of the conditional expression is the same as that in the example of FIG. For example, if the precipitation probability obtained by the point number specified by “P_KEY”, the access function specified by “Wx_FUNC”, and the plurality of ME numbers is “20”, the sentence file creation unit 206 converts the conversion table 207. The weather element “less than 40 percent and low” and the number of seconds “4 seconds” are acquired.

◆Wx_AreaCollectTbl(文定義部302aの一部):纏め処理を行う場合に参照する変換テーブル207を指定する。例えば、図8(e)に示したような変換テーブル207が指定される。指定がなければ、纏め処理は行われない。文章ファイル作成部206は、“Wx_FUNC”で指定されたアクセス関数とME番号で求められた結果を音声データファイル303から読み取り、“P_KEY”で指定された地点番号ごとに比較して、“Wx_AreaCollectTbl”で指定された変換テーブル207に設定された地点番号の組み合わせに含まれる地点番号の全てについて同じ結果が得られている場合には、その組み合わせを変換テーブル207に従って地点要素に変換する。纏め処理を行った結果、纏まった地域を優先してコメントし、纏まらなかった地点は、通常どおり処理する。   Wx_AreaCollectTbl (part of the sentence definition unit 302a): Designates the conversion table 207 to be referred to when performing the batch processing. For example, the conversion table 207 as shown in FIG. If not specified, the summarization process is not performed. The text file creation unit 206 reads the result obtained by the access function and ME number specified by “Wx_FUNC” from the voice data file 303 and compares the result for each point number specified by “P_KEY” to obtain “Wx_AreaCollectTbl”. If the same result is obtained for all of the spot numbers included in the spot number combination set in the conversion table 207 specified in step 207, the combination is converted into point elements according to the conversion table 207. As a result of the grouping process, the grouped areas are preferentially commented, and the points that are not grouped are processed as usual.

図8(e)の例において、変換テーブル207は、複数の地点番号、地点要素(纏め語句)、秒数(纏め語句の読み上げ時間)を対応付けて格納している。例えば、“P_KEY”で指定された地点番号が“6200,6310,6320,0400,6100”であり、地点番号“6200”、“6310”、“6320”のそれぞれと“Wx_FUNC”で指定されたアクセス関数とME番号により得られたテロップ番号が“100”であり、地点番号“0400”、“6100”のそれぞれと“Wx_FUNC”で指定されたアクセス関数とME番号により得られたテロップ番号が“100”ではない場合、文章ファイル作成部206は、変換テーブル207から地点要素“大阪府、兵庫県とも”と秒数“5秒”を取得する。このとき、文章ファイル作成部206は、地点番号“6200”、“6310”、“6320”が纏め処理の対象になるかどうかを判断するために、テロップ番号を比較してもよいが、テロップ番号を図8(a)〜(d)に示したような変換テーブル207で気象要素に変換しておき、気象要素を比較することが望ましい。   In the example of FIG. 8E, the conversion table 207 stores a plurality of spot numbers, spot elements (summarized phrases), and seconds (summarized phrase reading time) in association with each other. For example, the spot number specified by “P_KEY” is “6200, 6310, 6320, 0400, 6100”, and each of the spot numbers “6200”, “6310”, “6320” and the access specified by “Wx_FUNC”. The telop number obtained from the function and the ME number is “100”, and the telop number obtained from the access function and ME number specified by the location numbers “0400” and “6100” and “Wx_FUNC” is “100”. If not, the text file creation unit 206 acquires the point element “both Osaka and Hyogo” and the number of seconds “5 seconds” from the conversion table 207. At this time, the text file creation unit 206 may compare the telop numbers in order to determine whether or not the spot numbers “6200”, “6310”, and “6320” are targets of the summarization process. Are converted into weather elements by the conversion table 207 as shown in FIGS. 8A to 8D, and the weather elements are preferably compared.

◆MAX_TIME(文定義部302aの一部):[Soundxx]セクションの最大秒数(xx番目に優先度が高い文の読み上げ時間の上限値)を指定する。文章ファイル作成部206は、特に“P_KEY”で複数の地点番号が指定された場合や気象要素の変数が複数指定された場合、“MAX_TIME”で指定された秒数に収まらなければ、次の優先順位に従い、コメントをカットする。
(1)“P_KEY”で複数の地点番号が指定された場合、最後に記載された地点番号からカットしていく。
(2)気象要素の変数が複数指定された場合、“%W3”、“%W2”、“%W1”の順にカットしていく。
◆ MAX_TIME (part of the sentence definition unit 302a): Specifies the maximum number of seconds (upper limit of the reading time of the sentence having the highest priority) in the [Soundxx] section. The text file creation unit 206, when a plurality of spot numbers are designated by “P_KEY” or when a plurality of weather element variables are designated, does not fit in the number of seconds designated by “MAX_TIME”, and the next priority is given. Cut the comment according to the ranking.
(1) When a plurality of spot numbers are designated by “P_KEY”, cutting is performed from the spot number written last.
(2) If a plurality of meteorological element variables are designated, cutting is performed in the order of “% W3”, “% W2”, and “% W1”.

図9(a)の例において、文章ファイル作成部206は、地点番号“6200,6310,6320,0400,6100”の地点要素を全てコメントに展開する(音声定義ファイル302で定義された文の候補を全て使用する)。このとき、文章ファイル作成部206は、地点要素や気象要素(文の変動部分)の秒数を変換テーブル207から取得し、それ以外の部分(文の固定部分)の秒数を“ComTime”から取得して、コメントの全秒数を計算する。そして、文章ファイル作成部206は、全秒数が“MAX_TIME”に収まらなければ、地点番号“6100”の地点要素を含む文から順にカットする。カットの順番は、地点番号“6100”→“0400”→“6320”→“6310”→“6200”である。   In the example of FIG. 9A, the text file creation unit 206 expands all the spot elements having the spot numbers “6200, 6310, 6320, 0400, 6100” into comments (sentence candidates defined in the speech definition file 302). All). At this time, the sentence file creation unit 206 acquires the number of seconds of the point element and the weather element (sentence fluctuation part) from the conversion table 207, and the other part (fixed part of the sentence) from “ComTime”. Get and calculate the total number of seconds for the comment. Then, if the total number of seconds does not fit in “MAX_TIME”, the sentence file creation unit 206 cuts in order from the sentence including the point element of the point number “6100”. The cutting order is point number “6100” → “0400” → “6320” → “6310” → “6200”.

図9(b)の例において、文章ファイル作成部206は、地点番号“6200”の地点要素と、その地点番号とアクセス関数“GetTelop”とME番号“15”で気象データベース202から取得されるテロップ番号の気象要素と、その地点番号とアクセス関数“GetKousui”とME番号“16”で気象データベース202から取得される降水確率の気象要素をコメントに展開する。このとき、文章ファイル作成部206は、図9(a)の例と同様にコメントの全秒数を計算する。そして、文章ファイル作成部206は、全秒数が“MAX_TIME”に収まらなければ、変数“%W2”の降水確率の気象要素をカットする。   In the example of FIG. 9B, the text file creation unit 206 uses the point element “6200”, the point number, the access function “GetTelop”, and the telop acquired from the weather database 202 with the ME number “15”. The meteorological element of the number, the point number, the access function “GetKousui”, and the ME number “16” are used to develop the meteorological element of the precipitation probability acquired from the meteorological database 202 into a comment. At this time, the text file creation unit 206 calculates the total number of comments in the same manner as in the example of FIG. Then, if the total number of seconds does not fit in “MAX_TIME”, the text file creation unit 206 cuts the weather element of the precipitation probability of the variable “% W2”.

図9(c)の例において、文章ファイル作成部206は、地点番号“6200,6310,6320,0400,6100”の地点要素を全てコメントに展開する。このとき、文章ファイル作成部206は、図9(a)の例と同様にコメントの全秒数を計算する。“Priority”が“W,P”となっているので、文章ファイル作成部206は、全秒数が“MAX_TIME”に収まらなければ、地点番号“6100”の地点要素を含む文から順にカットする。文章ファイル作成部206は、地点番号“6100”、“0400”、“6320”、“6310”の地点要素を含む文をカットしても、全秒数が“MAX_TIME”に収まらなければ、地点番号“6200”の地点要素を含む文から、変数“%W2”の降水確率の気象要素をカットする。一方、“Priority”が“P,W”となっている場合、文章ファイル作成部206は、全秒数が“MAX_TIME”に収まらなければ、変数“%W2”の降水確率の気象要素をカットし、それでも全秒数が“MAX_TIME”に収まらなければ、地点番号“6100”の地点要素を含む文から順にカットする。   In the example of FIG. 9C, the text file creation unit 206 expands all the spot elements having the spot numbers “6200, 6310, 6320, 0400, 6100” into comments. At this time, the text file creation unit 206 calculates the total number of comments in the same manner as in the example of FIG. Since “Priority” is “W, P”, if the total number of seconds does not fit in “MAX_TIME”, the sentence file creation unit 206 cuts in order from the sentence including the point element of the point number “6100”. Even if the sentence file creation unit 206 cuts a sentence including the spot elements of the spot numbers “6100”, “0400”, “6320”, and “6310”, the total number of seconds does not fit in “MAX_TIME”. The weather element of the precipitation probability of the variable “% W2” is cut from the sentence including the point element of “6200”. On the other hand, when “Priority” is “P, W”, the sentence file creation unit 206 cuts the meteorological element of the precipitation probability of the variable “% W2” if the total number of seconds does not fit in “MAX_TIME”. If the total number of seconds still does not fit in “MAX_TIME”, the sentence including the point element of the point number “6100” is cut in order.

文章ファイル作成部206は、上記のようなカット処理によっても全秒数が“MAX_TIME”に収まらなければ、[Sound_FIX]セクションで定義された文のみで文章を作成する。   If the total number of seconds does not fit in “MAX_TIME” even by the cut processing as described above, the sentence file creation unit 206 creates a sentence using only the sentence defined in the [Sound_FIX] section.

図10(a)〜(c)は、天気予報文章ファイル305の例を示す図である。   10A to 10C are diagrams showing examples of the weather forecast text file 305. FIG.

図10(a)〜(c)の例において、天気予報文章ファイル305では、文章ファイル作成部206により作成された天気コメント(天気予報の文章)が保持されている。例えば、天気予報文章ファイル305のファイル名は、画面番号と同じか、又は、画面番号を含む(画面番号が001なら、例えば“Sound001.dat”)ものとする。なお、ここでは、1つの天気予報文章ファイル305が1つの画面に対応するものとしているが、前述したように、1つの天気予報番組に対応するものとしてもよい。その場合、文章ファイル作成部206は、同じ番組の文章を作成する度に、天気予報文章ファイル305に文章を追加する。また、この場合、天気予報文章ファイル305に各文章が対応する画面の画面番号が記述されていてもよい。   In the example of FIGS. 10A to 10C, the weather forecast text file 305 holds the weather comment (weather forecast text) created by the text file creation unit 206. For example, the file name of the weather forecast text file 305 is the same as the screen number or includes the screen number (if the screen number is 001, for example, “Sound001.dat”). Here, one weather forecast text file 305 corresponds to one screen. However, as described above, one weather forecast text file 305 may correspond to one weather forecast program. In that case, the text file creation unit 206 adds a text to the weather forecast text file 305 every time a text of the same program is created. In this case, the weather forecast text file 305 may describe screen numbers corresponding to the texts.

図10(d)は、音声ファイル検索用テーブル209の例を示す図である。   FIG. 10D is a diagram showing an example of the audio file search table 209.

図10(d)の例において、音声ファイル検索用テーブル209は、天気予報文章ファイル305から、音声ファイル306を検索するためのテーブルファイルである。例えば、音声ファイル検索用テーブル209のファイル名は、対応する画面の画面番号の範囲を含む(画面番号が001〜999なら、例えば“SerWAVE001_999.tbl”)ものとする。例えば、音声ファイル検索用テーブル209のファイル名に“001_999”の指定がされた場合、このファイル1つに全ての天気コメントの定義がされていることになる。音声ファイル検索用テーブル209では、対応する画面の表示中に再生可能な音声ファイル306の一覧が、音声ファイル306の音片番号(音声ファイル306の識別子の例であるが、音声ファイル306のファイル名として用いてもよい)と、音声ファイル306で読み上げられる文章とで示されている。音声ファイル確定部208は、音声ファイル検索用テーブル209を検索して、天気予報文章ファイル305に含まれる文章又はその一部に対応する音片番号を取得し、取得した音片番号に対応する音声ファイル306を特定する。そして、音声ファイル確定部208は、特定した音声ファイル306により音声の再生を行う。   In the example of FIG. 10D, the voice file search table 209 is a table file for searching the voice file 306 from the weather forecast sentence file 305. For example, the file name of the audio file search table 209 includes the range of the screen number of the corresponding screen (if the screen number is 001 to 999, for example, “SerWAVE001_999.tbl”). For example, when “001 — 999” is designated as the file name of the voice file search table 209, all weather comments are defined in one file. In the audio file search table 209, a list of audio files 306 that can be reproduced while the corresponding screen is displayed is a sound piece number of the audio file 306 (an example of an identifier of the audio file 306 is the file name of the audio file 306. And a sentence read out by the audio file 306. The audio file determination unit 208 searches the audio file search table 209 to acquire a sound piece number corresponding to a sentence included in the weather forecast sentence file 305 or a part thereof, and a sound corresponding to the acquired sound piece number. The file 306 is specified. Then, the audio file determination unit 208 reproduces audio using the specified audio file 306.

以下、本実施の形態の効果について説明する。   Hereinafter, effects of the present embodiment will be described.

本実施の形態では、以下の通り、少なくとも3つの利点がある。1つ目は音声定義ファイル302を用いるので文章の言い回しが簡単に設定できることである。2つ目は変換テーブル207を利用するので柔軟性のある纏め処理ができることである。3つ目は気象データ301には様々なパターンがあるので、どのような画面構成にも対応可能なように音声定義ファイル302を設定できることである。前述したように番組内で読み上げられる文章を固定のロジックにより作成する場合、少しの言い回しの変更でもプログラム変更が必要であるが、本実施の形態によれば、音声定義ファイル302を変更するだけで言い回しの調整が簡単にでき、柔軟性のあるシステムが実現できる。   In the present embodiment, there are at least three advantages as follows. First, since the voice definition file 302 is used, it is possible to easily set the wording of the sentence. Second, since the conversion table 207 is used, flexible summarization processing can be performed. Third, since the weather data 301 has various patterns, the voice definition file 302 can be set so as to be compatible with any screen configuration. As described above, when a sentence to be read out in a program is created by a fixed logic, a program change is necessary even with a slight change in wording. However, according to the present embodiment, only the voice definition file 302 is changed. It is possible to easily adjust the wording and realize a flexible system.

実施の形態2.
本実施の形態について、主に実施の形態1との差異を説明する。
Embodiment 2. FIG.
In the present embodiment, differences from the first embodiment will be mainly described.

本実施の形態では、天気予報番組の各画面(所定の画面の一例)で、天気予報の文章が音声で読み上げられる代わりに、自動スクロール表示される。そのため、本実施の形態では、実施の形態1において定義される読み上げ時間に相当するスクロール時間が定義される。   In the present embodiment, the weather forecast text is automatically scrolled on each screen of the weather forecast program (an example of a predetermined screen) instead of being read out by voice. For this reason, in the present embodiment, a scroll time corresponding to the reading time defined in the first embodiment is defined.

本実施の形態では、文章作成システム100の構成において、音声ファイル確定部208、音声ファイル検索用テーブル209が不要となる。そして、本実施の形態では、文章ファイル作成部206の文章作成部206bが、天気予報文章ファイル305に記録された文章を画面でスクロール表示させるか、あるいは、天気予報文章ファイル305をそのまま外部の端末装置(例えば、テレビ放送のオンエアを制御する端末)へ出力して、外部の端末装置にスクロール表示を行わせる。   In the present embodiment, in the configuration of the text creation system 100, the audio file determination unit 208 and the audio file search table 209 are not required. In this embodiment, the text creation unit 206b of the text file creation unit 206 scrolls the text recorded in the weather forecast text file 305 on the screen, or the weather forecast text file 305 is directly displayed on an external terminal. Output to a device (for example, a terminal that controls on-air television broadcasting) and cause an external terminal device to perform scroll display.

以下、実施の形態1について、さらに具体例を説明する。   Hereinafter, a specific example of the first embodiment will be described.

実施例1.
図11は、本実施例に係る文章作成システム100の音声定義ファイル302及び音声データファイル303を示す図である。
Example 1.
FIG. 11 is a diagram illustrating the voice definition file 302 and the voice data file 303 of the sentence creation system 100 according to the present embodiment.

図11の例において、受信端末110の中間ファイル作成部204は、音声定義ファイル302を記憶装置から読み込んで、以下の処理を行う。
(1)中間ファイル作成部204は、音声定義ファイル302の[Sound01]セクションの“T_FUNC”で指定されたME番号“1”を引数にして、“T_FUNC”で指定されたアクセス関数“GetTelop”を実行する。これにより、中間ファイル作成部204は、気象データベース202から、ME番号“1”に対応する日時“201006101200”を抽出する。ここでは、日時“201006101200”(2010年6月10日12時00分を示す)がME番号“1”に対応付けられて予め気象データベース202に格納されているものとする。以下の例においても、各データが各ME番号に対応付けられて予め気象データベース202に格納されているものとする。
(2)中間ファイル作成部204は、(1)で抽出した日時を音声データファイル303の[Sound01]セクションに“201006101200”として書き込む。
(3)中間ファイル作成部204は、音声定義ファイル302の[Sound02]セクションの“P_KEY”で指定された地点番号“6200”と“W1_FUNC”で指定されたME番号“15”を引数にして、“W1_FUNC”で指定されたアクセス関数“GetTelop”を実行する。これにより、中間ファイル作成部204は、気象データベース202から、地点番号“6200”とME番号“15”の組み合わせに対応するテロップ番号“101”を抽出する。
(4)中間ファイル作成部204は、地点番号と(3)で抽出したテロップ番号を音声データファイル303の[Sound02]セクションに“6200,101”として書き込む。
(5)中間ファイル作成部204は、(3)と同様に、アクセス関数“GetTelop”を実行して、気象データベース202から、地点番号“6310”、“6320”、“0400”、“6100”のそれぞれとME番号“15”の組み合わせに対応するテロップ番号“101”、“101”、“102”、“103”を抽出する。
(6)中間ファイル作成部204は、(5)でテロップ番号を抽出する度に、(4)と同様に、地点番号とテロップ番号を音声データファイル303の[Sound02]セクションの次行に書き込む。
In the example of FIG. 11, the intermediate file creation unit 204 of the receiving terminal 110 reads the voice definition file 302 from the storage device and performs the following processing.
(1) The intermediate file creation unit 204 uses the ME number “1” specified by “T_FUNC” in the [Sound01] section of the sound definition file 302 as an argument, and uses the access function “GetTelop” specified by “T_FUNC”. Execute. As a result, the intermediate file creation unit 204 extracts the date “201006101200” corresponding to the ME number “1” from the weather database 202. Here, it is assumed that the date and time “201006101200” (indicating 10:00 on June 10, 2010) is associated with the ME number “1” and stored in the weather database 202 in advance. Also in the following example, it is assumed that each data is associated with each ME number and stored in the weather database 202 in advance.
(2) The intermediate file creation unit 204 writes the date and time extracted in (1) in the [Sound01] section of the audio data file 303 as “201006101200”.
(3) The intermediate file creation unit 204 uses the spot number “6200” designated by “P_KEY” in the [Sound02] section of the sound definition file 302 and the ME number “15” designated by “W1_FUNC” as arguments. The access function “Gettelop” specified by “W1_FUNC” is executed. As a result, the intermediate file creation unit 204 extracts the telop number “101” corresponding to the combination of the spot number “6200” and the ME number “15” from the weather database 202.
(4) The intermediate file creation unit 204 writes the point number and the telop number extracted in (3) as “6200, 101” in the [Sound02] section of the audio data file 303.
(5) Similar to (3), the intermediate file creation unit 204 executes the access function “GetTelop” and retrieves the spot numbers “6310”, “6320”, “0400”, “6100” from the weather database 202. The telop numbers “101”, “101”, “102”, and “103” corresponding to the combination of each and the ME number “15” are extracted.
(6) Every time the telop number is extracted in (5), the intermediate file creation unit 204 writes the spot number and telop number in the next line of the [Sound02] section of the audio data file 303, as in (4).

受信端末110のファイル転送部205は、(1)〜(6)により作成された音声データファイル303を、ネットワーク130を介してオンエア端末120に転送する。   The file transfer unit 205 of the receiving terminal 110 transfers the audio data file 303 created in (1) to (6) to the on-air terminal 120 via the network 130.

図12は、文章作成システム100の変換テーブル207及び天気予報文章ファイル305を示す図である。   FIG. 12 is a diagram showing the conversion table 207 and the weather forecast text file 305 of the text creation system 100.

図12の例において、オンエア端末120の文章ファイル作成部206は、受信端末110から音声データファイル303を受信すると、音声定義ファイル302と音声番組ファイル304を記憶装置から読み込んで、以下の処理を行う。
(7)時間集計部206aは、音声定義ファイル302の[Sound01]セクションの“ComTime”から固定部分の秒数“5秒”を読み込む。
(8)時間集計部206aは、音声データファイル303から、音声定義ファイル302の[Sound01]セクションの“%T”に対応する日時“201006101200”を読み込み、図12(b)の変換テーブル207から該当する時要素“明日”と秒数“3秒”を抽出する。ここでは、システム日時が2010年6月9日12時00分であるとする。
(9)時間集計部206aは、音声定義ファイル302の[Sound02]セクションの“ComTime”から固定部分の秒数“3秒”を読み込む。
(10)時間集計部206aは、音声データファイル303から、音声定義ファイル302の[Sound02]セクションの“%P”に対応する地点番号“6200”を読み込み、図12(a)の変換テーブル207から該当する地点要素“大阪府は”と秒数“3秒”を抽出する。
(11)時間集計部206aは、音声データファイル303から、音声定義ファイル302の[Sound02]セクションの“%W1”に対応するテロップ番号“101”を読み込み、図12(c)の変換テーブル207から該当する気象要素“晴時々曇”と秒数“4秒”を抽出する。
(12)音声定義ファイル302の[Sound02]セクションで“/continue”が指定されているため、時間集計部206aは、(10)と同様に、音声データファイル303から次行の地点番号を読み込み、図12(a)の変換テーブル207から該当する地点要素と秒数を抽出する。
(13)時間集計部206aは、(12)で地点要素を抽出する度に、(11)と同様に、音声データファイル303からテロップ番号を読み込み、図12(c)の変換テーブル207から該当する気象要素と秒数を抽出する。
(14)時間集計部206aは、図12(d)の変換テーブル207を参照して纏め処理が可能かどうか判断する。ここでは、地点番号“6200”、“6310”、“6320”について、文の固定部分が共通し、かつ、対応する気象要素が同じ“晴時々曇”であり、かつ、図12(d)の変換テーブル207に纏め処理用の地点要素“大阪府、兵庫県とも”があるため、時間集計部206aは、この地点要素と秒数“5秒”を抽出する。地点番号“6200”、“6310”、“6320”の個別の文については、選択対象外となる。
(15)時間集計部206aは、(7)〜(14)で抽出した秒数(選択対象外となった文の秒数は除く)を合計し、全秒数を出力する。
(16)文章作成部206bは、(15)で出力された全秒数と、音声定義ファイル302の[Com]セクションの“SeanMAX_TIME”や音声番組ファイル304で該当する画面番号について指定された秒数とを比較し、全秒数が長ければ、優先度に基づき、文を絞り込む。また、音声定義ファイル302の各セクションで“MAX_TIME”が指定されている場合には、該当するセクションについても、必要に応じて文の絞り込みを行う。
(17)文章作成部206bは、(16)で最終的に選択した文から天気予報の文章を作成し、天気予報文章ファイル305に記録して出力する。本実施例では、図12(e)のような天気予報文章ファイル305が出力される。
In the example of FIG. 12, when the text file creation unit 206 of the on-air terminal 120 receives the audio data file 303 from the receiving terminal 110, it reads the audio definition file 302 and the audio program file 304 from the storage device, and performs the following processing. .
(7) The time counting unit 206a reads the fixed portion number of seconds “5 seconds” from “ComTime” in the [Sound01] section of the voice definition file 302.
(8) The time counting unit 206a reads the date and time “201006101200” corresponding to “% T” in the [Sound01] section of the audio definition file 302 from the audio data file 303, and applies the corresponding date from the conversion table 207 in FIG. When “Tomorrow” and the number of seconds “3 seconds” are extracted. Here, it is assumed that the system date and time is 19:00 on June 9, 2010.
(9) The time counting unit 206a reads the fixed part number of seconds “3 seconds” from “ComTime” of the [Sound02] section of the voice definition file 302.
(10) The time counting unit 206a reads the point number “6200” corresponding to “% P” in the [Sound02] section of the sound definition file 302 from the sound data file 303, and reads it from the conversion table 207 of FIG. The corresponding point element “Osaka Prefecture is” and the number of seconds “3 seconds” are extracted.
(11) The time totaling unit 206a reads the telop number “101” corresponding to “% W1” in the [Sound02] section of the audio definition file 302 from the audio data file 303, and from the conversion table 207 in FIG. Applicable meteorological element “cloudy in fine weather” and seconds “4 seconds” are extracted.
(12) Since “/ continue” is specified in the [Sound02] section of the audio definition file 302, the time counting unit 206a reads the point number of the next line from the audio data file 303, as in (10). The corresponding point element and the number of seconds are extracted from the conversion table 207 in FIG.
(13) Whenever the point element is extracted in (12), the time counting unit 206a reads the telop number from the audio data file 303 and applies it from the conversion table 207 in FIG. Extract weather elements and seconds.
(14) The time counting unit 206a refers to the conversion table 207 in FIG. Here, with respect to the spot numbers “6200”, “6310”, “6320”, the fixed part of the sentence is common, and the corresponding weather element is the same “finely cloudy”, and in FIG. Since the conversion table 207 has a point element “both Osaka and Hyogo” for the summary processing, the time counting unit 206a extracts the point element and the number of seconds “5 seconds”. Individual sentences with the spot numbers “6200”, “6310”, and “6320” are not selected.
(15) The time counting unit 206a sums the seconds extracted in (7) to (14) (excluding the seconds of the sentence that is not selected) and outputs the total number of seconds.
(16) The text creation unit 206b outputs the total number of seconds output in (15) and the number of seconds specified for the screen number corresponding to “SeanMAX_TIME” in the [Com] section of the audio definition file 302 or the audio program file 304. If the total number of seconds is long, the sentence is narrowed down based on the priority. When “MAX_TIME” is designated in each section of the voice definition file 302, the sentence is narrowed down as necessary for the corresponding section.
(17) The text creation unit 206b creates a weather forecast text from the text finally selected in (16), records it in the weather forecast text file 305, and outputs it. In this embodiment, a weather forecast text file 305 as shown in FIG.

オンエア端末120の音声ファイル確定部208は、音声ファイル検索用テーブル209を参照して、(17)により出力された天気予報文章ファイル305に記録された文章を1つ又は複数の音声ファイル306に変換して出力する。   The audio file determination unit 208 of the on-air terminal 120 refers to the audio file search table 209 and converts the text recorded in the weather forecast text file 305 output in (17) into one or more audio files 306. And output.

実施例2.
図13は、本実施例に係る文章作成システム100の音声定義ファイル302及び音声データファイル303を示す図である。
Example 2
FIG. 13 is a diagram showing an audio definition file 302 and an audio data file 303 of the text creation system 100 according to the present embodiment.

図13の例において、受信端末110の中間ファイル作成部204は、音声定義ファイル302を記憶装置から読み込んで、以下の処理を行う。
(1)中間ファイル作成部204は、音声定義ファイル302の[Sound01]セクションの“P_KEY”で指定された地点番号“5500”を音声データファイル303の[Sound01]セクションに書き込む。
(2)中間ファイル作成部204は、音声定義ファイル302の[Sound02]セクションの“P_KEY”で指定された地点番号“5510”と“W1_FUNC”で指定されたME番号“55”を引数にして、“W1_FUNC”で指定されたアクセス関数“GetTelop”を実行する。これにより、中間ファイル作成部204は、気象データベース202から、地点番号“5510”とME番号“55”の組み合わせに対応するテロップ番号“101”を抽出する。
(3)中間ファイル作成部204は、(2)と同様に、アクセス関数“GetTelop”を実行して、気象データベース202から、地点番号“5510”とME番号“65”、“75”、“85”、“95”、“105”、“115”のそれぞれの組み合わせに対応するテロップ番号“101”、“101”、“101”、“102”、“102”、“103”を抽出する。なお、(2)と(3)は1回のアクセス関数“GetTelop”の実行により処理してもよい(その際、全てのME番号を引数として指定する)。
(4)中間ファイル作成部204は、地点番号と(3)で抽出したテロップ番号を音声データファイル303の[Sound02]セクションに“5510,101,101,101,101,102,102,103”として書き込む。
(5)中間ファイル作成部204は、(2)、(3)と同様に、アクセス関数“GetTelop”を実行して、気象データベース202から、地点番号“5520”とME番号“55”、“65”、“75”、“85”、“95”、“105”、“115”のそれぞれの組み合わせに対応するテロップ番号“101”、“101”、“101”、“101”、“102”、“102”、“103”を抽出する。
(6)中間ファイル作成部204は、地点番号と(5)で抽出したテロップ番号を音声データファイル303の[Sound02]セクションの次行に“5520,101,101,101,101,102,102,103”として書き込む。
In the example of FIG. 13, the intermediate file creation unit 204 of the receiving terminal 110 reads the voice definition file 302 from the storage device and performs the following processing.
(1) The intermediate file creation unit 204 writes the spot number “5500” specified by “P_KEY” in the [Sound01] section of the sound definition file 302 in the [Sound01] section of the sound data file 303.
(2) The intermediate file creation unit 204 uses the spot number “5510” designated by “P_KEY” and the ME number “55” designated by “W1_FUNC” in the [Sound02] section of the voice definition file 302 as arguments. The access function “Gettelop” specified by “W1_FUNC” is executed. Thereby, the intermediate file creation unit 204 extracts the telop number “101” corresponding to the combination of the spot number “5510” and the ME number “55” from the weather database 202.
(3) Similar to (2), the intermediate file creation unit 204 executes the access function “GetTelop” and, from the weather database 202, the spot number “5510” and the ME numbers “65”, “75”, “85”. The telop numbers “101”, “101”, “101”, “102”, “102”, and “103” corresponding to the combinations “”, “95”, “105”, and “115” are extracted. Note that (2) and (3) may be processed by executing the access function “Gettelop” once (in this case, all ME numbers are specified as arguments).
(4) The intermediate file creation unit 204 sets the spot number and the telop number extracted in (3) as “5510, 101, 101, 101, 101, 102, 102, 103” in the [Sound02] section of the audio data file 303. Write.
(5) Similarly to (2) and (3), the intermediate file creation unit 204 executes the access function “GetTelop”, and from the weather database 202, the spot number “5520” and the ME numbers “55” and “65”. ”,“ 75 ”,“ 85 ”,“ 95 ”,“ 105 ”,“ 115 ”, the telop numbers“ 101 ”,“ 101 ”,“ 101 ”,“ 101 ”,“ 102 ”, “102” and “103” are extracted.
(6) The intermediate file creation unit 204 displays the location number and the telop number extracted in (5) in the next line of the [Sound02] section of the audio data file 303 as “5520, 101, 101, 101, 101, 102, 102, Write as 103 ".

受信端末110のファイル転送部205は、(1)〜(6)により作成された音声データファイル303を、ネットワーク130を介してオンエア端末120に転送する。   The file transfer unit 205 of the receiving terminal 110 transfers the audio data file 303 created in (1) to (6) to the on-air terminal 120 via the network 130.

図14は、文章作成システム100の変換テーブル207及び天気予報文章ファイル305を示す図である。   FIG. 14 is a diagram showing the conversion table 207 and the weather forecast sentence file 305 of the sentence creation system 100.

図14の例において、オンエア端末120の文章ファイル作成部206は、受信端末110から音声データファイル303を受信すると、音声定義ファイル302と音声番組ファイル304を記憶装置から読み込んで、以下の処理を行う。
(7)時間集計部206aは、音声定義ファイル302の[Sound01]セクションの“ComTime”から固定部分の秒数“5秒”を読み込む。
(8)時間集計部206aは、音声データファイル303から、音声定義ファイル302の[Sound01]セクションの“%P”に対応する地点番号“5500”を読み込み、図14(a)の変換テーブル207から該当する地点要素“富山県”と秒数“2秒”を抽出する。
(9)時間集計部206aは、音声定義ファイル302の[Sound02]セクションの“ComTime”から固定部分の秒数“3秒”を読み込む。
(10)時間集計部206aは、音声データファイル303から、音声定義ファイル302の[Sound02]セクションの“%P”に対応する地点番号“5510”を読み込み、図14(a)の変換テーブル207から該当する地点要素“富山県東部は”と秒数“3秒”を抽出する。
(11)時間集計部206aは、音声データファイル303から、音声定義ファイル302の[Sound02]セクションの“%W1”に対応するテロップ番号“101,101,101,101,102,102,103”を読み込み、図14(b)の変換テーブル207から該当する気象要素“週の前半は晴れ”と秒数“4秒”(変換テーブル207を上から順番に検索して最初に一致するもの)を抽出する。
(12)音声定義ファイル302の[Sound02]セクションで“/continue”が指定されているため、時間集計部206aは、(10)と同様に、音声データファイル303から次行の地点番号“5520”を読み込み、図14(a)の変換テーブル207から該当する地点要素“富山県西部は”と秒数“3秒”を抽出する。
(13)時間集計部206aは、図14(c)の変換テーブル207を参照して纏め処理が可能かどうか判断する。ここでは、地点番号“5510”、“5520”について、文の固定部分が共通し、かつ、対応する気象要素が同じ“週の前半は晴れ”であり、かつ、図14(c)の変換テーブル207に纏め処理用の地点要素“富山県東部、西部ともに”があるため、時間集計部206aは、この地点要素と秒数“5秒”を抽出する。地点番号“5510”、“5520”の個別の文については、選択対象外となる。
(14)時間集計部206aは、(7)〜(13)で抽出した秒数(選択対象外となった文の秒数は除く)を合計し、全秒数を出力する。
(15)文章作成部206bは、実施例1と同様に、(14)で出力された全秒数が上限値に収まるように、必要に応じて文の絞り込みを行う。
(16)文章作成部206bは、(15)で最終的に選択した文から天気予報の文章を作成し、天気予報文章ファイル305に記録して出力する。本実施例では、図14(d)のような天気予報文章ファイル305が出力される。
In the example of FIG. 14, when the text file creation unit 206 of the on-air terminal 120 receives the audio data file 303 from the receiving terminal 110, it reads the audio definition file 302 and the audio program file 304 from the storage device, and performs the following processing. .
(7) The time counting unit 206a reads the fixed portion number of seconds “5 seconds” from “ComTime” in the [Sound01] section of the voice definition file 302.
(8) The time counting unit 206a reads the point number “5500” corresponding to “% P” in the [Sound01] section of the audio definition file 302 from the audio data file 303, and from the conversion table 207 in FIG. The corresponding point element “Toyama Prefecture” and the number of seconds “2 seconds” are extracted.
(9) The time counting unit 206a reads the fixed part number of seconds “3 seconds” from “ComTime” of the [Sound02] section of the voice definition file 302.
(10) The time counting unit 206a reads the spot number “5510” corresponding to “% P” in the [Sound02] section of the voice definition file 302 from the voice data file 303 and reads it from the conversion table 207 of FIG. The corresponding point element “Eastern Toyama Prefecture” and the number of seconds “3 seconds” are extracted.
(11) The time counting unit 206a obtains the telop number “101, 101, 101, 101, 102, 102, 103” corresponding to “% W1” in the [Sound02] section of the audio definition file 302 from the audio data file 303. Read and extract the corresponding weather element “first half of the week is clear” and the number of seconds “4 seconds” from the conversion table 207 of FIG. To do.
(12) Since “/ continue” is specified in the [Sound02] section of the audio definition file 302, the time totaling unit 206a determines the point number “5520” of the next line from the audio data file 303 as in (10). And the corresponding point element “West of Toyama Prefecture” and the number of seconds “3 seconds” are extracted from the conversion table 207 of FIG.
(13) The time counting unit 206a refers to the conversion table 207 in FIG. Here, for the spot numbers “5510” and “5520”, the fixed part of the sentence is common, and the corresponding weather element is the same, “the first half of the week is clear”, and the conversion table of FIG. Since the point element “both eastern and western Toyama Prefecture” is included in 207, the time counting unit 206a extracts the point element and the number of seconds “5 seconds”. The individual sentences of the spot numbers “5510” and “5520” are not selected.
(14) The time counting unit 206a sums up the seconds extracted in (7) to (13) (excluding the seconds of sentences that are not selected) and outputs the total number of seconds.
(15) Similar to the first embodiment, the sentence creation unit 206b narrows down sentences as necessary so that the total number of seconds output in (14) falls within the upper limit.
(16) The sentence creation unit 206b creates a weather forecast sentence from the sentence finally selected in (15), records it in the weather forecast sentence file 305, and outputs it. In this embodiment, a weather forecast text file 305 as shown in FIG.

オンエア端末120の音声ファイル確定部208は、音声ファイル検索用テーブル209を参照して、(16)により出力された天気予報文章ファイル305に記録された文章を1つ又は複数の音声ファイル306に変換して出力する。   The voice file determination unit 208 of the on-air terminal 120 refers to the voice file search table 209 and converts the text recorded in the weather forecast text file 305 output in (16) into one or more voice files 306. And output.

実施例3.
図15は、本実施例に係る文章作成システム100の音声定義ファイル302を示す図である。図16は、文章作成システム100の音声データファイル303を示す図である。
Example 3
FIG. 15 is a diagram illustrating the voice definition file 302 of the text creation system 100 according to the present embodiment. FIG. 16 is a diagram showing an audio data file 303 of the text creation system 100.

図15の例において、受信端末110の中間ファイル作成部204は、音声定義ファイル302を記憶装置から読み込んで、実施例1,2と同様に、図16のような音声データファイル303を作成する。受信端末110のファイル転送部205は、中間ファイル作成部204により作成された音声データファイル303を、ネットワーク130を介してオンエア端末120に転送する。   In the example of FIG. 15, the intermediate file creation unit 204 of the receiving terminal 110 reads the voice definition file 302 from the storage device, and creates the voice data file 303 as shown in FIG. The file transfer unit 205 of the receiving terminal 110 transfers the audio data file 303 created by the intermediate file creation unit 204 to the on-air terminal 120 via the network 130.

図17は、文章作成システム100の変換テーブル207及び天気予報文章ファイル305を示す図である。   FIG. 17 is a diagram showing the conversion table 207 and the weather forecast text file 305 of the text creation system 100.

図17の例において、オンエア端末120の文章ファイル作成部206は、受信端末110から音声データファイル303を受信すると、音声定義ファイル302と音声番組ファイル304を記憶装置から読み込む。そして、文章ファイル作成部206は、実施例1,2と同様に、図17(a)〜(c)の変換テーブル207を参照して、図17(d)のような天気予報文章ファイル305を出力する。オンエア端末120の音声ファイル確定部208は、音声ファイル検索用テーブル209を参照して、文章ファイル作成部206により出力された天気予報文章ファイル305に記録された文章を1つ又は複数の音声ファイル306に変換して出力する。   In the example of FIG. 17, the text file creation unit 206 of the on-air terminal 120 reads the audio definition file 302 and the audio program file 304 from the storage device when receiving the audio data file 303 from the receiving terminal 110. Then, the text file creation unit 206 refers to the conversion table 207 in FIGS. 17A to 17C and creates the weather forecast text file 305 as shown in FIG. Output. The voice file determination unit 208 of the on-air terminal 120 refers to the voice file search table 209 and uses the one or more voice files 306 to record the text recorded in the weather forecast text file 305 output by the text file creation unit 206. Convert to and output.

実施例4.
図18は、本実施例に係る文章作成システム100の音声定義ファイル302及び音声データファイル303を示す図である。
Example 4
FIG. 18 is a diagram illustrating the voice definition file 302 and the voice data file 303 of the sentence creation system 100 according to the present embodiment.

図18の例において、受信端末110の中間ファイル作成部204は、音声定義ファイル302を記憶装置から読み込んで、実施例1〜3と同様に、音声データファイル303を作成する。受信端末110のファイル転送部205は、中間ファイル作成部204により作成された音声データファイル303を、ネットワーク130を介してオンエア端末120に転送する。   In the example of FIG. 18, the intermediate file creation unit 204 of the receiving terminal 110 reads the voice definition file 302 from the storage device and creates the voice data file 303 as in the first to third embodiments. The file transfer unit 205 of the receiving terminal 110 transfers the audio data file 303 created by the intermediate file creation unit 204 to the on-air terminal 120 via the network 130.

図19は、文章作成システム100の変換テーブル207及び天気予報文章ファイル305を示す図である。   FIG. 19 is a diagram showing the conversion table 207 and the weather forecast text file 305 of the text creation system 100.

図19の例において、オンエア端末120の文章ファイル作成部206は、受信端末110から音声データファイル303を受信すると、音声定義ファイル302と音声番組ファイル304を記憶装置から読み込む。そして、文章ファイル作成部206は、実施例1〜3と同様に、図19(a)〜(c)の変換テーブル207を参照して、図19(d)のような天気予報文章ファイル305を出力する。オンエア端末120の音声ファイル確定部208は、音声ファイル検索用テーブル209を参照して、文章ファイル作成部206により出力された天気予報文章ファイル305に記録された文章を1つ又は複数の音声ファイル306に変換して出力する。   In the example of FIG. 19, when the text file creation unit 206 of the on-air terminal 120 receives the audio data file 303 from the receiving terminal 110, the audio definition file 302 and the audio program file 304 are read from the storage device. Then, the text file creation unit 206 refers to the conversion table 207 in FIGS. 19A to 19C and creates the weather forecast text file 305 as shown in FIG. Output. The voice file determination unit 208 of the on-air terminal 120 refers to the voice file search table 209 and uses the one or more voice files 306 to record the text recorded in the weather forecast text file 305 output by the text file creation unit 206. Convert to and output.

実施例5.
図20は、本実施例に係る文章作成システム100の音声定義ファイル302及び音声データファイル303を示す図である。
Example 5 FIG.
FIG. 20 is a diagram illustrating the voice definition file 302 and the voice data file 303 of the sentence creation system 100 according to the present embodiment.

図20の例において、受信端末110の中間ファイル作成部204は、音声定義ファイル302を記憶装置から読み込んで、以下の処理を行う。
(1)中間ファイル作成部204は、音声定義ファイル302の[Sound01]セクションの“P_KEY”で指定された地点番号“6200”と“W1_FUNC”で指定されたME番号“1011”を引数にして、“W1_FUNC”で指定されたアクセス関数“GetData:CHUKEI”を実行する。これにより、中間ファイル作成部204は、気象データベース202から、地点番号“6200”とME番号“1011”の組み合わせに対応する注警報番号(注意報や警報の識別子である数値)“02”を抽出する。
(2)中間ファイル作成部204は、(1)と同様に、アクセス関数“GetData:CHUKEI”を実行して、気象データベース202から、地点番号“6200”とME番号“1012”の組み合わせに対応する注警報番号“03”を抽出する。ここでは、地点番号“6200”とME番号“1013”、“1014”、“1015”のそれぞれの組み合わせに対応する注警報番号は、気象データベース202に格納されていないものとする。
(3)中間ファイル作成部204は、地点番号と(1)、(2)で抽出した注警報番号を音声データファイル303の[Sound01]セクションに“6200,02”として書き込む。
(4)中間ファイル作成部204は、(1)、(2)と同様に、アクセス関数“GetData:CHUKEI”を実行して、気象データベース202から、地点番号“6310”、“6320”、“0400”、“6100”のそれぞれとME番号“1011”、“1012”、“1013”、“1014”、“1015”のそれぞれの組み合わせに対応する注警報番号を(もしあれば)抽出する。
(5)中間ファイル作成部204は、地点番号ごとに、(3)と同様に、地点番号と(4)で抽出した注警報番号を音声データファイル303の[Sound01]セクションの次行に(もしあれば)書き込む。
In the example of FIG. 20, the intermediate file creation unit 204 of the receiving terminal 110 reads the voice definition file 302 from the storage device and performs the following processing.
(1) The intermediate file creation unit 204 uses the spot number “6200” specified by “P_KEY” in the [Sound01] section of the sound definition file 302 and the ME number “1011” specified by “W1_FUNC” as arguments. The access function “GetData: CHUKEI” designated by “W1_FUNC” is executed. As a result, the intermediate file creation unit 204 extracts from the weather database 202 a note warning number (a numerical value that is an alert or warning identifier) corresponding to the combination of the spot number “6200” and the ME number “1011” “02”. To do.
(2) Similar to (1), the intermediate file creation unit 204 executes the access function “GetData: CHUKEI” and corresponds to the combination of the spot number “6200” and the ME number “1012” from the weather database 202. Note Alarm number “03” is extracted. Here, it is assumed that the alert number corresponding to each combination of the spot number “6200” and the ME numbers “1013”, “1014”, and “1015” is not stored in the weather database 202.
(3) The intermediate file creation unit 204 writes the point number and the warning number extracted in (1) and (2) as “6200, 02” in the [Sound01] section of the audio data file 303.
(4) Similar to (1) and (2), the intermediate file creation unit 204 executes the access function “GetData: CHUKEI” to retrieve the spot numbers “6310”, “6320”, “0400” from the weather database 202. ”And“ 6100 ”and the note alarm numbers (if any) corresponding to the combinations of the ME numbers“ 1011 ”,“ 1012 ”,“ 1013 ”,“ 1014 ”, and“ 1015 ”are extracted.
(5) For each spot number, the intermediate file creation unit 204 displays the spot number and the alert number extracted in (4) in the next line of the [Sound01] section of the voice data file 303, as in (3). Write (if any).

受信端末110のファイル転送部205は、(1)〜(5)により作成された音声データファイル303を、ネットワーク130を介してオンエア端末120に転送する。   The file transfer unit 205 of the receiving terminal 110 transfers the audio data file 303 created in (1) to (5) to the on-air terminal 120 via the network 130.

図21は、文章作成システム100の変換テーブル207及び天気予報文章ファイル305を示す図である。   FIG. 21 is a diagram showing the conversion table 207 and the weather forecast sentence file 305 of the sentence creation system 100.

図21の例において、オンエア端末120の文章ファイル作成部206は、受信端末110から音声データファイル303を受信すると、音声定義ファイル302と音声番組ファイル304を記憶装置から読み込んで、以下の処理を行う。
(6)時間集計部206aは、音声定義ファイル302の[Sound01]セクションの“ComTime”から固定部分の秒数“3秒”を読み込む。
(7)時間集計部206aは、音声データファイル303から、音声定義ファイル302の[Sound01]セクションの“%P”に対応する地点番号“6200”を読み込み、図21(a)の変換テーブル207から該当する地点要素“大阪府”と秒数“3秒”を抽出する。
(8)時間集計部206aは、音声データファイル303から、音声定義ファイル302の[Sound01]セクションの“%W1”に対応する注警報番号“02”を読み込み、図21(b)の変換テーブル207から該当する気象要素“暴風雪警報”と秒数“4秒”を抽出する。
(9)音声定義ファイル302の[Sound01]セクションで“/continue”が指定されているため、時間集計部206aは、(7)と同様に、音声データファイル303から次行の地点番号を読み込み、図21(a)の変換テーブル207から該当する地点要素と秒数を抽出する。
(10)時間集計部206aは、(9)で地点要素を抽出する度に、(8)と同様に、音声データファイル303から注警報番号を読み込み、図21(b)の変換テーブル207から該当する気象要素と秒数を抽出する。
(11)時間集計部206aは、図21(c)の変換テーブル207を参照して纏め処理が可能かどうか判断する。ここでは、地点番号“6200”、“6310”について、文の固定部分が共通し、かつ、対応する気象要素が同じ“暴風雪警報”のみであり、かつ、図21(c)の変換テーブル207に纏め処理用の地点要素“大阪府、兵庫県北部”があるため、時間集計部206aは、この地点要素と秒数“6秒”を抽出する。地点番号“6200”、“6310”の個別の文については、選択対象外となる。
(12)時間集計部206aは、(6)〜(11)で抽出した秒数(選択対象外となった文の秒数は除く)を合計し、全秒数を出力する。
(13)文章作成部206bは、実施例1〜4と同様に、(12)で出力された全秒数が上限値に収まるように、必要に応じて文の絞り込みを行う。
(14)文章作成部206bは、(13)で最終的に選択した文から天気予報の文章を作成し、天気予報文章ファイル305に記録して出力する。本実施例では、図21(d)のような天気予報文章ファイル305が出力される。
In the example of FIG. 21, when the text file creation unit 206 of the on-air terminal 120 receives the audio data file 303 from the receiving terminal 110, it reads the audio definition file 302 and the audio program file 304 from the storage device, and performs the following processing. .
(6) The time counting unit 206a reads the fixed part number of seconds “3 seconds” from “ComTime” in the [Sound01] section of the voice definition file 302.
(7) The time counting unit 206a reads the point number “6200” corresponding to “% P” in the [Sound01] section of the sound definition file 302 from the sound data file 303, and reads it from the conversion table 207 of FIG. The corresponding point element “Osaka Prefecture” and the number of seconds “3 seconds” are extracted.
(8) The time counting unit 206a reads the note alarm number “02” corresponding to “% W1” in the [Sound01] section of the audio definition file 302 from the audio data file 303, and converts the conversion table 207 in FIG. The corresponding meteorological element “storm alarm” and the number of seconds “4 seconds” are extracted.
(9) Since “/ continue” is specified in the [Sound01] section of the audio definition file 302, the time counting unit 206a reads the point number of the next line from the audio data file 303, as in (7). The corresponding point element and the number of seconds are extracted from the conversion table 207 in FIG.
(10) Whenever the point element is extracted in (9), the time counting unit 206a reads the warning number from the voice data file 303 and applies the corresponding information from the conversion table 207 in FIG. Extract weather elements and seconds.
(11) The time counting unit 206a refers to the conversion table 207 in FIG. Here, for the spot numbers “6200” and “6310”, the fixed part of the sentence is common and the corresponding weather element is the same “storm and snow warning” only, and the conversion table 207 in FIG. Since there is a point element “Osaka Prefecture, Northern Hyogo Prefecture” for summarization processing, the time counting unit 206a extracts this point element and the number of seconds “6 seconds”. Individual sentences with the spot numbers “6200” and “6310” are not selected.
(12) The time counting unit 206a sums up the seconds extracted in (6) to (11) (excluding the seconds of sentences not selected) and outputs the total number of seconds.
(13) As in the first to fourth embodiments, the sentence creation unit 206b narrows down sentences as necessary so that the total number of seconds output in (12) falls within the upper limit.
(14) The text creation unit 206b creates a weather forecast text from the text finally selected in (13), records it in the weather forecast text file 305, and outputs it. In this embodiment, a weather forecast text file 305 as shown in FIG.

オンエア端末120の音声ファイル確定部208は、音声ファイル検索用テーブル209を参照して、(14)により出力された天気予報文章ファイル305に記録された文章を1つ又は複数の音声ファイル306に変換して出力する。   The audio file determination unit 208 of the on-air terminal 120 converts the text recorded in the weather forecast text file 305 output in (14) into one or more audio files 306 with reference to the audio file search table 209. And output.

実施例6.
図22は、本実施例に係る文章作成システム100の音声定義ファイル302及び音声データファイル303を示す図である。
Example 6
FIG. 22 is a diagram showing an audio definition file 302 and an audio data file 303 of the text creation system 100 according to the present embodiment.

図22の例において、受信端末110の中間ファイル作成部204は、音声定義ファイル302を記憶装置から読み込んで、実施例5と同様に、図22のような音声データファイル303を作成する。受信端末110のファイル転送部205は、中間ファイル作成部204により作成された音声データファイル303を、ネットワーク130を介してオンエア端末120に転送する。   In the example of FIG. 22, the intermediate file creation unit 204 of the receiving terminal 110 reads the voice definition file 302 from the storage device and creates a voice data file 303 as shown in FIG. The file transfer unit 205 of the receiving terminal 110 transfers the audio data file 303 created by the intermediate file creation unit 204 to the on-air terminal 120 via the network 130.

図23は、文章作成システム100の変換テーブル207及び天気予報文章ファイル305を示す図である。   FIG. 23 is a diagram showing the conversion table 207 and the weather forecast text file 305 of the text creation system 100.

図23の例において、オンエア端末120の文章ファイル作成部206は、受信端末110から音声データファイル303を受信すると、音声定義ファイル302と音声番組ファイル304を記憶装置から読み込む。そして、文章ファイル作成部206は、実施例5と同様に、図23(a)〜(c)の変換テーブル207を参照して、図23(d)のような天気予報文章ファイル305を出力する。オンエア端末120の音声ファイル確定部208は、音声ファイル検索用テーブル209を参照して、文章ファイル作成部206により出力された天気予報文章ファイル305に記録された文章を1つ又は複数の音声ファイル306に変換して出力する。   In the example of FIG. 23, when the text file creation unit 206 of the on-air terminal 120 receives the audio data file 303 from the receiving terminal 110, it reads the audio definition file 302 and the audio program file 304 from the storage device. Then, the sentence file creation unit 206 outputs the weather forecast sentence file 305 as shown in FIG. 23 (d) with reference to the conversion table 207 in FIGS. 23 (a) to 23 (c), as in the fifth embodiment. . The voice file determination unit 208 of the on-air terminal 120 refers to the voice file search table 209 and uses the one or more voice files 306 to record the text recorded in the weather forecast text file 305 output by the text file creation unit 206. Convert to and output.

100 文章作成システム、110 受信端末、120 オンエア端末、130 ネットワーク、201 データベース登録部、202 気象データベース、203 アクセス部、204 中間ファイル作成部、205 ファイル転送部、206 文章ファイル作成部、206a 時間集計部、206b 文章作成部、207 変換テーブル、208 音声ファイル確定部、209 音声ファイル検索用テーブル、301 気象データ、302 音声定義ファイル、302a 文定義部、302b 語句指定部、303 音声データファイル、304 音声番組ファイル、305 天気予報文章ファイル、306 音声ファイル、901 LCD、902 キーボード、903 マウス、904 FDD、905 CDD、906 プリンタ、911 CPU、912 バス、913 ROM、914 RAM、915 通信ボード、920 HDD、921 オペレーティングシステム、922 ウィンドウシステム、923 プログラム群、924 ファイル群。   100 text creation system, 110 receiving terminal, 120 on-air terminal, 130 network, 201 database registration unit, 202 weather database, 203 access unit, 204 intermediate file creation unit, 205 file transfer unit, 206 text file creation unit, 206a time counting unit 206b Sentence creation unit, 207 Conversion table, 208 Audio file determination unit, 209 Audio file search table, 301 Weather data, 302 Audio definition file, 302a Sentence definition unit, 302b Phrase specification unit, 303 Audio data file, 304 Audio program File, 305 Weather forecast text file, 306 Audio file, 901 LCD, 902 Keyboard, 903 Mouse, 904 FDD, 905 CDD, 906 Printer, 911 CPU, 9 2 bus, 913 ROM, 914 RAM, 915 communication board, 920 HDD, 921 operating system, 922 Window system, 923 Program group, 924 File group.

Claims (9)

語句が複数連結された少なくとも1つの文からなり音声で読み上げられる文章を作成する文章作成システムであって、
前記文章の読み上げ時間の上限値を定義する情報を予め記憶装置に格納する文章定義部と、
前記文章を構成する文の候補ごとに、文を前記文章に含める優先度と、文中で語句が挿入される変動部分と、文中で予め定められた語句が配置される固定部分と、文の固定部分の読み上げ時間とを定義する情報を予め記憶装置に格納する文定義部と、
語句ごとに、語句の読み上げ時間を定義する情報を予め記憶装置に格納する語句定義部と、
前記文章を構成する文の候補ごとに、文の変動部分に挿入する語句を指定する情報を予め記憶装置に格納する語句指定部と、
前記文章を構成する文の候補ごとに、前記文定義部に格納された情報から、文の固定部分の読み上げ時間を抽出し、前記語句定義部に格納された情報から、前記語句指定部に格納された情報で指定された語句の読み上げ時間を抽出し、抽出した文の固定部分の読み上げ時間と語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する時間集計部と、
前記文章定義部に格納された情報から、前記文章の読み上げ時間の上限値を抽出し、前記文章を構成する文の候補を、前記文定義部に格納された情報で定義された文の優先度が高い順に、かつ、前記時間集計部により出力された文の読み上げ時間の集計値が、抽出した上限値以下となるように処理装置によって選択し、選択した文から前記文章を作成する文章作成部と
を備えることを特徴とする文章作成システム。
A sentence creation system for creating a sentence that can be read out by voice consisting of at least one sentence in which a plurality of phrases are connected,
A sentence definition unit for preliminarily storing information defining an upper limit value of the reading time of the sentence in a storage device;
For each sentence candidate constituting the sentence, a priority for including the sentence in the sentence, a variable part in which a phrase is inserted in the sentence, a fixed part in which a predetermined phrase is arranged in the sentence, and a fixed sentence A sentence definition unit that prestores in the storage device information defining the reading time of the part;
For each word, a word definition unit that stores information that defines the reading time of the word in the storage device in advance,
For each sentence candidate constituting the sentence, a phrase designating unit that stores in advance in a storage device information that designates a phrase to be inserted into the variable part of the sentence;
For each candidate sentence constituting the sentence, the reading time of the fixed part of the sentence is extracted from the information stored in the sentence definition section, and stored in the phrase designation section from the information stored in the phrase definition section A time reading unit that extracts the reading time of the phrase specified by the specified information, totals the reading time of the fixed part of the extracted sentence and the reading time of the word by the processing device, and outputs as the reading time of the sentence;
The upper limit value of the reading time of the sentence is extracted from the information stored in the sentence definition unit, and the sentence priority that is defined by the information stored in the sentence definition unit is selected as the sentence candidate constituting the sentence. A sentence creation unit that selects the sentence by the processing device so that the aggregated value of the reading time of the sentences output by the time aggregation unit is equal to or less than the extracted upper limit value, and creates the sentence from the selected sentence A sentence creation system characterized by comprising:
前記語句定義部は、2つ以上の語句の表現対象を1つに纏めて表現する語句を当該2つ以上の語句に対応する纏め語句として、当該2つ以上の語句とは別に定義するとともに、纏め語句の読み上げ時間を定義する情報を格納し、
前記時間集計部は、前記文章を構成する文の候補のうち、文の変動部分以外が共通し、かつ、前記語句指定部に格納された情報で指定された語句が、前記語句定義部に格納された情報で同じ纏め語句に対応する文を1つの文として、前記文定義部に格納された情報から、文の固定部分の読み上げ時間を抽出し、前記語句定義部に格納された情報から、当該纏め語句の読み上げ時間を抽出し、抽出した文の固定部分の読み上げ時間と纏め語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する請求項1の文章作成システム。
The phrase definition unit defines a phrase that expresses the expression targets of two or more phrases as one as a summary phrase corresponding to the two or more phrases, separately from the two or more phrases, Stores information that defines the reading time for the summary phrase,
The time totaling unit stores, in the phrase definition unit, a phrase specified by information stored in the phrase specifying unit, which is common to the sentence candidates constituting the sentence, except for a variable part of the sentence. From the information stored in the sentence definition part, the reading time of the fixed part of the sentence is extracted from the information stored in the phrase definition part as a sentence corresponding to the same summary phrase in the information obtained, from the information stored in the phrase definition part, The sentence creation system according to claim 1, wherein the reading time of the summary phrase is extracted, and the reading time of the fixed portion of the extracted sentence and the reading time of the summary phrase are totaled by the processing device and output as the reading time of the sentence.
前記語句定義部は、語句として、地域を表現する地域語句と地域の情報を表現する情報語句とを定義する情報を格納し、
前記文定義部は、文の変動部分として、文中で地域語句と情報語句とが挿入される変動部分を定義する情報を格納し、
前記語句指定部は、語句として、地域語句を指定する情報を格納し、
前記文章作成システムは、
地域ごとに、地域の情報を示す地域データを予め記憶装置に格納する地域データ格納部と、
前記文章を構成する文の候補ごとに、前記地域データ格納部から、前記語句指定部に格納された情報で指定された地域語句が表現する地域の地域データを処理装置によって抽出する地域データ抽出部と
をさらに備え、
前記時間集計部は、前記文章を構成する文の候補ごとに、前記文定義部に格納された情報から、文の固定部分の読み上げ時間を抽出し、前記語句定義部に格納された情報から、前記語句指定部に格納された情報で指定された地域語句の読み上げ時間と、前記地域データ抽出部により抽出された地域データが示す地域の情報を表現する情報語句の読み上げ時間とを抽出し、抽出した文の固定部分の読み上げ時間と地域語句の読み上げ時間と情報語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する請求項1の文章作成システム。
The phrase definition unit stores, as a phrase, information defining an area phrase that expresses an area and an information phrase that expresses information on the area,
The sentence definition unit stores information defining a variable part in which a local phrase and an information phrase are inserted in the sentence as a variable part of the sentence,
The phrase specifying unit stores information specifying a local phrase as a phrase,
The sentence creation system includes:
For each region, a region data storage unit that stores region data indicating region information in a storage device in advance,
A regional data extraction unit that extracts, from the regional data storage unit, regional data of a region represented by the regional phrase specified by the information stored in the phrase specifying unit, by the processing device, for each sentence candidate constituting the sentence And further comprising
The time totaling unit extracts the reading time of the fixed part of the sentence from the information stored in the sentence definition unit for each sentence candidate constituting the sentence, and from the information stored in the phrase definition unit, Extracting and extracting the reading time of the local phrase specified by the information stored in the phrase specifying unit and the reading time of the information phrase representing the regional information indicated by the regional data extracted by the regional data extracting unit The sentence creation system according to claim 1, wherein the reading time of the fixed part of the sentence, the reading time of the local phrase, and the reading time of the information phrase are totaled by the processing device and output as the reading time of the sentence.
前記語句定義部は、2つ以上の地域語句の表現対象を1つに纏めて表現する語句を当該2つ以上の地域語句に対応する纏め語句として、当該2つ以上の地域語句とは別に定義するとともに、纏め語句の読み上げ時間を定義する情報を格納し、
前記時間集計部は、前記文章を構成する文の候補のうち、文の固定部分が共通し、かつ、前記地域データ抽出部により抽出された地域データが示す地域の情報が一致し、かつ、前記語句指定部に格納された情報で指定された地域語句が、前記語句定義部に格納された情報で同じ纏め語句に対応する文を1つの文として、前記文定義部に格納された情報から、文の固定部分の読み上げ時間を抽出し、前記語句定義部に格納された情報から、当該纏め語句の読み上げ時間と、当該地域の情報を表現する情報語句の読み上げ時間とを抽出し、抽出した文の固定部分の読み上げ時間と纏め語句の読み上げ時間と情報語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する請求項3の文章作成システム。
The phrase definition unit defines a phrase that expresses two or more regional phrases together as a collective phrase corresponding to the two or more regional phrases, and defines the phrases separately from the two or more regional phrases. And store information that defines the reading time for the summary phrase,
The time totaling unit has a common fixed portion of the sentence among the sentence candidates constituting the sentence, and the area information indicated by the area data extracted by the area data extracting unit matches, and From the information stored in the sentence definition section, the local phrase specified by the information stored in the phrase specification section is a sentence corresponding to the same summary phrase in the information stored in the phrase definition section, as one sentence. Extract the reading time of the fixed part of the sentence, extract the reading time of the summary phrase and the reading time of the information phrase expressing the information of the area from the information stored in the phrase definition part, and extract the sentence 4. The sentence creation system according to claim 3, wherein the reading time of the fixed part, the reading time of the summary words and the reading time of the information words are totaled by the processing device and output as the reading time of the sentence.
前記地域データ格納部は、地域の情報として、地域の天気予報を示す地域データを格納する請求項3又は4の文章作成システム。   5. The sentence creation system according to claim 3, wherein the regional data storage unit stores regional data indicating a regional weather forecast as regional information. 前記文定義部は、前記文章作成部により前記文章を構成する文の候補のいずれも選択されなかった場合に前記文章作成部に選択させる文として、固定部分のみからなる文を定義する情報を格納する請求項1から5のいずれかの文章作成システム。   The sentence definition unit stores information defining a sentence including only a fixed part as a sentence to be selected by the sentence creation unit when none of the sentence candidates constituting the sentence is selected by the sentence creation unit. The sentence creation system according to any one of claims 1 to 5. 前記文章作成システムは、前記文章作成部により作成された文章を処理装置によって音声データに変換して出力する音声データ出力部をさらに備える請求項1から6のいずれかの文章作成システム。   The sentence creation system according to any one of claims 1 to 6, further comprising an audio data output unit that converts a sentence created by the sentence creation unit into voice data by a processing device and outputs the voice data. 前記文章は音声で読み上げられる代わりに所定の画面で自動スクロール表示され、それぞれの読み上げ時間はスクロール時間に相当する請求項1から7のいずれかの文章作成システム。   8. The sentence creation system according to claim 1, wherein the sentence is automatically scroll-displayed on a predetermined screen instead of being read out by voice, and each reading time corresponds to a scrolling time. 語句が複数連結された少なくとも1つの文からなり音声で読み上げられる文章を作成する文章作成プログラムであり、前記文章の読み上げ時間の上限値を定義する情報を予め記憶装置に格納する文章定義部と、前記文章を構成する文の候補ごとに、文を前記文章に含める優先度と、文中で語句が挿入される変動部分と、文中で予め定められた語句が配置される固定部分と、文の固定部分の読み上げ時間とを定義する情報を予め記憶装置に格納する文定義部と、語句ごとに、語句の読み上げ時間を定義する情報を予め記憶装置に格納する語句定義部と、前記文章を構成する文の候補ごとに、文の変動部分に挿入する語句を指定する情報を予め記憶装置に格納する語句指定部とを備えるコンピュータにより実行される文章作成プログラムであって、
前記文章を構成する文の候補ごとに、前記文定義部に格納された情報から、文の固定部分の読み上げ時間を抽出し、前記語句定義部に格納された情報から、前記語句指定部に格納された情報で指定された語句の読み上げ時間を抽出し、抽出した文の固定部分の読み上げ時間と語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する時間集計処理と、
前記文章定義部に格納された情報から、前記文章の読み上げ時間の上限値を抽出し、前記文章を構成する文の候補を、前記文定義部に格納された情報で定義された文の優先度が高い順に、かつ、前記時間集計処理により出力された文の読み上げ時間の集計値が、抽出した上限値以下となるように処理装置によって選択し、選択した文から前記文章を作成する文章作成処理と
をコンピュータに実行させることを特徴とする文章作成プログラム。
A sentence creation program for creating a sentence that is read out by voice consisting of at least one sentence in which a plurality of words are connected, and a sentence definition unit that stores in advance in a storage device information that defines the upper limit of the reading time of the sentence; For each sentence candidate constituting the sentence, a priority for including the sentence in the sentence, a variable part in which a phrase is inserted in the sentence, a fixed part in which a predetermined phrase is arranged in the sentence, and a fixed sentence The sentence is composed of a sentence definition unit that preliminarily stores information defining the reading time of the portion in the storage device, and a phrase definition unit that preliminarily stores information defining the reading time of the phrase in the storage device for each word. A sentence creation program executed by a computer including a phrase designating unit that preliminarily stores in a storage device information for designating a phrase to be inserted into a variable part of a sentence for each sentence candidate
For each candidate sentence constituting the sentence, the reading time of the fixed part of the sentence is extracted from the information stored in the sentence definition section, and stored in the phrase designation section from the information stored in the phrase definition section A time reading process for extracting the reading time of the phrase specified by the information that has been extracted, counting the reading time of the fixed part of the extracted sentence and the reading time of the word by the processing device, and outputting the reading time of the sentence;
The upper limit value of the reading time of the sentence is extracted from the information stored in the sentence definition unit, and the sentence priority that is defined by the information stored in the sentence definition unit is selected as the sentence candidate constituting the sentence. Sentence creation processing for selecting the sentence by the processing device so that the aggregated value of the reading time of the sentence output by the time aggregation process is equal to or less than the extracted upper limit, and creating the sentence from the selected sentence A sentence creating program characterized by causing a computer to execute.
JP2010165537A 2010-07-23 2010-07-23 Sentence creation system and sentence creation program Expired - Fee Related JP5112479B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010165537A JP5112479B2 (en) 2010-07-23 2010-07-23 Sentence creation system and sentence creation program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010165537A JP5112479B2 (en) 2010-07-23 2010-07-23 Sentence creation system and sentence creation program

Publications (2)

Publication Number Publication Date
JP2012027679A true JP2012027679A (en) 2012-02-09
JP5112479B2 JP5112479B2 (en) 2013-01-09

Family

ID=45780542

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010165537A Expired - Fee Related JP5112479B2 (en) 2010-07-23 2010-07-23 Sentence creation system and sentence creation program

Country Status (1)

Country Link
JP (1) JP5112479B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9898902B2 (en) 2015-04-16 2018-02-20 Panasonic Intellectual Property Management Co., Ltd. Computer implemented method for notifying user by using a speaker
JPWO2017175432A1 (en) * 2016-04-05 2019-03-22 ソニー株式会社 INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
CN112667815A (en) * 2020-12-30 2021-04-16 北京捷通华声科技股份有限公司 Text processing method and device, computer readable storage medium and processor
CN114999446A (en) * 2022-07-18 2022-09-02 广州市保伦电子有限公司 Speech synthesis system for intelligent broadcasting
JP7203259B1 (en) 2022-03-29 2023-01-12 三菱電機Itソリューションズ株式会社 Broadcast audio transmission device, broadcast audio transmission method, and broadcast audio transmission program

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9537804B2 (en) 2014-10-22 2017-01-03 International Business Machines Corporation System for delegating the prioritization of incoming communications to trusted users

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05232982A (en) * 1992-02-24 1993-09-10 Nippon Telegr & Teleph Corp <Ntt> Time length specification type description reading method
JPH10308768A (en) * 1997-05-07 1998-11-17 Nippon Telegr & Teleph Corp <Ntt> Method and device for distributing weather information
JP2003099080A (en) * 2001-09-25 2003-04-04 Nissan Motor Co Ltd Device, system and method for vocal reading-aloud
JP2006227846A (en) * 2005-02-16 2006-08-31 Fujitsu Ten Ltd Information display system
JP2006313274A (en) * 2005-05-09 2006-11-16 Nhk Computer Service:Kk Voice production device for program and voice production program for program
JP2008022290A (en) * 2006-07-13 2008-01-31 Mitsubishi Electric Information Systems Corp Program video providing device and program

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05232982A (en) * 1992-02-24 1993-09-10 Nippon Telegr & Teleph Corp <Ntt> Time length specification type description reading method
JPH10308768A (en) * 1997-05-07 1998-11-17 Nippon Telegr & Teleph Corp <Ntt> Method and device for distributing weather information
JP2003099080A (en) * 2001-09-25 2003-04-04 Nissan Motor Co Ltd Device, system and method for vocal reading-aloud
JP2006227846A (en) * 2005-02-16 2006-08-31 Fujitsu Ten Ltd Information display system
JP2006313274A (en) * 2005-05-09 2006-11-16 Nhk Computer Service:Kk Voice production device for program and voice production program for program
JP2008022290A (en) * 2006-07-13 2008-01-31 Mitsubishi Electric Information Systems Corp Program video providing device and program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9898902B2 (en) 2015-04-16 2018-02-20 Panasonic Intellectual Property Management Co., Ltd. Computer implemented method for notifying user by using a speaker
JPWO2017175432A1 (en) * 2016-04-05 2019-03-22 ソニー株式会社 INFORMATION PROCESSING APPARATUS, INFORMATION PROCESSING METHOD, AND PROGRAM
US11016726B2 (en) 2016-04-05 2021-05-25 Sony Corporation Information processing apparatus and information processing method
CN112667815A (en) * 2020-12-30 2021-04-16 北京捷通华声科技股份有限公司 Text processing method and device, computer readable storage medium and processor
JP7203259B1 (en) 2022-03-29 2023-01-12 三菱電機Itソリューションズ株式会社 Broadcast audio transmission device, broadcast audio transmission method, and broadcast audio transmission program
JP2023146934A (en) * 2022-03-29 2023-10-12 三菱電機Itソリューションズ株式会社 Broadcasting audio transmission device, broadcasting audio transmission method and broadcasting audio transmission program
CN114999446A (en) * 2022-07-18 2022-09-02 广州市保伦电子有限公司 Speech synthesis system for intelligent broadcasting
CN114999446B (en) * 2022-07-18 2022-11-15 广州市保伦电子有限公司 Speech synthesis system for intelligent broadcasting

Also Published As

Publication number Publication date
JP5112479B2 (en) 2013-01-09

Similar Documents

Publication Publication Date Title
JP5112479B2 (en) Sentence creation system and sentence creation program
US8751502B2 (en) Visually-represented results to search queries in rich media content
US20030014252A1 (en) Information processing apparatus, information processing method, recording medium, and program
CN104205209A (en) Playback control apparatus, playback control method, and program
US20230229382A1 (en) Method and apparatus for synchronizing audio and text, readable medium, and electronic device
CN114023301A (en) Audio editing method, electronic device and storage medium
US20230109783A1 (en) Computing device and corresponding method for generating data representing text
CN112987996A (en) Information display method, information display device, electronic equipment and computer readable storage medium
US7272659B2 (en) Information rewriting method, recording medium storing information rewriting program and information terminal device
KR20150088564A (en) E-Book Apparatus Capable of Playing Animation on the Basis of Voice Recognition and Method thereof
CN101908058B (en) Computer implemented system
JP7229296B2 (en) Related information provision method and system
JP4237860B2 (en) Data reading apparatus and recording medium
TWI450113B (en) User model creation
JP7426466B2 (en) Broadcasting audio transmission device, broadcasting audio transmission method, broadcasting audio transmission program, audio transmission terminal, and receiving terminal
KR102488623B1 (en) Method and system for suppoting content editing based on real time generation of synthesized sound for video content
KR102353797B1 (en) Method and system for suppoting content editing based on real time generation of synthesized sound for video content
JP3825589B2 (en) Multimedia terminal equipment
JP2004294577A (en) Method of converting character information into speech
Catlett et al. Decoding the Reality Studio
US10339219B2 (en) Computing device and corresponding method for generating data representing text
US20160004678A1 (en) Computing device and corresponding method for generating data representing text
KR200321733Y1 (en) Mp3 player displaying graphich caption file
JP2013148795A (en) Speech processing device and program
JP2010054630A (en) Audio device, information recording method and program

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120724

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120831

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121009

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: 20121010

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

Free format text: PAYMENT UNTIL: 20151019

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Ref document number: 5112479

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees