JP2012027679A - Text creating system and text creating program - Google Patents
Text creating system and text creating program Download PDFInfo
- 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
Links
Images
Landscapes
- Document Processing Apparatus (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
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).
天気予報番組は放送時間が固定されているため、放送時間に合わせて番組内で話す内容を調整する必要がある。このような目的に、前述した従来の装置を利用することはできない。そこで、気象データの内容により話す内容を予め決定し、番組の時間内に入らなければ優先度の低いものから削除し、調整する方法をプログラム上で固定のロジックにより実現することが考えられる。また、地点による纏め処理(例えば北部と南部で同じ天気の場合、「北部・南部とも」と話す)も固定のロジックにより実現することが考えられる。しかし、固定のロジックを用いる方法では、汎用性が低いという課題がある。例えば、纏め方の変更や少し違う言い回し等を実現するためには、その都度プログラムの改修が必要になるという課題がある。 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.
以下、本発明の実施の形態について、図を用いて説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
実施の形態1.
図1は、本実施の形態に係る文章作成システム100の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a
図1において、文章作成システム100は、語句が複数連結された少なくとも1つの文からなり音声で読み上げられる文章を作成するシステムであり、受信端末110とオンエア端末120の2つの端末装置で構成されている。本実施の形態において、文章作成システム100は、文章の一例として、テレビ放送の天気予報番組で画面ごとに読み上げられる天気予報の文章を作成する。なお、文章作成システム100は、ラジオ放送やインターネット(ウェブ)放送の天気予報番組で読み上げられる天気予報の文章、テレビ放送等のニュース番組等で読み上げられる交通情報の文章、あるいは、その他の文章を作成してもよい。また、文章作成システム100は、2つの端末装置でなく、全体で1つの端末装置として構成されてもよいし、3つ以上の端末装置に分けて構成されてもよい。
In FIG. 1, a
受信端末110は、データベース登録部201、気象データベース202、アクセス部203、中間ファイル作成部204、ファイル転送部205を備える。オンエア端末120は、文章ファイル作成部206、変換テーブル207(データベース)、音声ファイル確定部208、音声ファイル検索用テーブル209(データベース)を備える。図1に示していないが、各端末装置(受信端末110とオンエア端末120)は、処理装置、記憶装置、入力装置、出力装置等のハードウェアを備える。ハードウェアは各端末装置の各部によって利用される。例えば、処理装置は、各部でデータや情報の演算、加工、読み取り、書き込み等を行うために利用される。記憶装置は、そのデータや情報を記憶するために利用される。また、入力装置は、そのデータや情報を入力するために、出力装置は、そのデータや情報を出力するために利用される。
The receiving
受信端末110のデータベース登録部201は、外部のサーバ装置(例えば、日本気象協会のサーバ)から最新の気象データ301(ファイルプロダクト)を取得し、必要に応じてデータ形式を変換した上で気象データベース202に登録する。
The
ここで、気象データ301は、地域データの一例であり、地域の情報として、時刻(例えば、日、時、日時、曜日、午前/午後、時間帯)ごとの地域の天気予報(例えば、晴れ/曇り/雨/雪といった空模様、気温、気圧、湿度、降水量、風速、風向、注意報、警報)を示すデータである。なお、気象データ301の代わりに、時刻ごとの地域の交通情報(例えば、道路の渋滞や交通規制、鉄道やバスや航空機等の運行状況)を示すデータ、あるいは、地域の他の情報を示すデータを用いてもよい。
Here, the
受信端末110の気象データベース202は、地域データ格納部の一例であり、データベース登録部201から気象データ301の入力を受け付け、地域ごとに気象データ301を予め記憶装置に格納する。例えば、気象データベース202は、時刻を示す数値又は文字列、地域を示す識別子、天気予報を示す数値又は文字列を対応付けて格納する。
The
受信端末110のアクセス部203は、例えばDLL(ダイナミックリンクライブラリ)である。アクセス部203には、気象データベース202から気象データ301を抽出するための関数であるアクセス関数が実装されている。
The
受信端末110の中間ファイル作成部204は、地域データ抽出部の一例であり、音声定義ファイル302(音声テンプレート)に記載されたアクセス関数を実行して気象データベース202から気象データ301を取得し、音声データファイル303に書き込む。
The intermediate
ここで、音声定義ファイル302は、画面ごとに音声として読み上げられる文章の定義を行うファイルであり、予め受信端末110とオンエア端末120の両方の記憶装置に格納されている。音声定義ファイル302は、文定義部302a、語句指定部302bを含む。なお、音声定義ファイル302は、画面ごとに1つのファイルとして作成されてもよいし、2つ以上のファイルに分けて(例えば文定義部302aに対応するファイルと、語句指定部302bに対応するファイルと、その他のファイルに分けて)作成されてもよい。
Here, the
音声定義ファイル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
音声定義ファイル302の語句指定部302bは、天気予報の文章を構成する文の候補ごとに、文の変動部分に挿入する語句を指定する情報を格納する。
The
音声データファイル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
受信端末110のファイル転送部205は、音声データファイル303を記憶装置から読み出し、ネットワーク130を介してオンエア端末120に転送する。なお、本実施の形態では、受信端末110とオンエア端末120がネットワーク130に接続されているが、単にケーブル等で接続されていてもよい。
The
オンエア端末120の文章ファイル作成部206は、受信端末110から音声データファイル303を受信する。そして、文章ファイル作成部206は、受信した音声データファイル303のほか、音声番組ファイル304(画面の秒数指定)、音声定義ファイル302を読み込み、変換テーブル207を利用して天気予報文章ファイル305を作成する。
The text
ここで、音声番組ファイル304は、番組ごとに作成され、番組で放送される画面ごとの設定を記録するファイルであり、予めオンエア端末120の記憶装置に格納されている。音声番組ファイル304は、文章定義部の一例であり、画面ごとに、画面の放送時間(表示時間)を、その画面の表示中に読み上げられる天気予報の文章の読み上げ時間の上限値として定義する情報を格納する。なお、この情報は音声定義ファイル302に格納されてもよい。即ち、音声定義ファイル302に文章定義部が含まれてもよい。
Here, the
オンエア端末120の変換テーブル207は、語句定義部の一例であり、語句ごとに、語句の読み上げ時間を定義する情報を予め記憶装置に格納する。変換テーブル207に格納される情報で定義される語句としては、時刻語句、地域語句、情報語句がある。また、変換テーブル207は、2つ以上の語句(主に、地域語句)の表現対象を1つに纏めて表現する語句を当該2つ以上の語句に対応する纏め語句として、当該2つ以上の語句とは別に定義するとともに、纏め語句の読み上げ時間を定義する情報を格納する。
The conversion table 207 of the on-
天気予報文章ファイル305は、画面ごとに作成され、画面の表示中に読み上げられる文章を記録したファイルであり、文章ファイル作成部206によってオンエア端末120の記憶装置に格納される。なお、天気予報文章ファイル305は、番組ごとに作成されてもよい。
The weather
文章ファイル作成部206は、時間集計部206a、文章作成部206bを有する。
The text
文章ファイル作成部206の時間集計部206aは、音声定義ファイル302で定義された文の候補ごとに、以下の処理を行う。
(1)時間集計部206aは、音声定義ファイル302の文定義部302aに格納された情報から、文の固定部分の読み上げ時間を処理装置によって抽出する。
(2)時間集計部206aは、変換テーブル207に格納された情報から、音声定義ファイル302の語句指定部302bに格納された情報で指定された語句の読み上げ時間を処理装置によって抽出する。
(3)(1)で抽出した文の固定部分の読み上げ時間と(2)で抽出した語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する。
The
(1) The
(2) The
(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
音声定義ファイル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
(1) The
(2 ′) The
(3 ′) The
例えば、音声定義ファイル302で定義された文の候補ごとに、語句指定部302bで指定された語句が地域語句であり、この地域語句が表現する地域の気象データ301が音声データファイル303に記録されていて、文の候補の中に、文の固定部分が共通し、かつ、音声データファイル303に記録された気象データ301が示す天気予報が一致し、かつ、語句指定部302bで指定された地域語句が、変換テーブル207で同じ纏め語句に対応する文がある場合、(2’)において、時間集計部206aは、該当する文の候補を1つの文として、変換テーブル207に格納された情報から、その気象データ301が示す天気予報を表現する情報語句の読み上げ時間も抽出する。
For example, for each sentence candidate defined in the
文章ファイル作成部206の文章作成部206bは、音声番組ファイル304に格納された情報から、天気予報の文章の読み上げ時間の上限値を処理装置によって抽出する。そして、文章作成部206bは、音声定義ファイル302で定義された文の候補を、音声定義ファイル302の文定義部302aに格納された情報で定義された文の優先度が高い順に、かつ、時間集計部206aにより出力された文の読み上げ時間の集計値が、抽出した上限値以下となるように処理装置によって選択し、選択した文から天気予報の文章を作成する。文章作成部206bは、作成した文章を天気予報文章ファイル305に記録する。
The
オンエア端末120の音声ファイル確定部208は、音声データ出力部の一例であり、音声ファイル検索用テーブル209を利用して、天気予報文章ファイル305に記載された文章を構成する文の各々に対応する音声ファイル306(音片)を取得する。そして、音声ファイル確定部208は、取得した音声ファイル306を結合して1つの音声ファイル306を作成し、その音声ファイル306を再生するか、あるいは、外部の端末装置(例えば、テレビ放送のオンエアを制御する端末)へ出力する。なお、音声ファイル確定部208は、市販の音声合成ソフトウェアを利用して音声ファイル306を作成してもよい。この場合、音声ファイル検索用テーブル209は不要となり、予め音声ファイル306を用意しておく必要もなくなる。
The voice
音声ファイル306は、音声データの一例であり、例えばWAVEファイルである。
The
音声ファイル確定部208は、文章ファイル作成部206により作成された文章を処理装置によって音声ファイル306に変換して出力する。
The voice
図2は、各端末装置(受信端末110とオンエア端末120)のハードウェア構成例を示す図である。
FIG. 2 is a diagram illustrating a hardware configuration example of each terminal device (receiving
図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
各端末装置は、プログラムを実行する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
RAM914は、揮発性メモリの一例である。ROM913、FDD904、CDD905、HDD920は、不揮発性メモリの一例である。これらは、記憶装置の一例である。通信ボード915、キーボード902、マウス903、FDD904、CDD905は、入力装置の一例である。また、通信ボード915、LCD901、プリンタ906は、出力装置の一例である。
The
通信ボード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
HDD920には、オペレーティングシステム921(OS)、ウィンドウシステム922、プログラム群923、ファイル群924が記憶されている。プログラム群923のプログラムは、CPU911、オペレーティングシステム921、ウィンドウシステム922により実行される。プログラム群923には、本実施の形態の説明において「〜部」として説明する機能を実行するプログラムが含まれている。プログラムは、CPU911により読み出され実行される。ファイル群924には、本実施の形態の説明において、「〜データ」、「〜情報」、「〜ID(識別子)」、「〜フラグ」、「〜結果」として説明するデータや情報や信号値や変数値やパラメータが、「〜ファイル」や「〜データベース」や「〜テーブル」の各項目として含まれている。「〜ファイル」や「〜データベース」や「〜テーブル」は、RAM914やHDD920等の記憶媒体に記憶される。RAM914やHDD920等の記憶媒体に記憶されたデータや情報や信号値や変数値やパラメータは、読み書き回路を介してCPU911によりメインメモリやキャッシュメモリに読み出され、抽出、検索、参照、比較、演算、計算、制御、出力、印刷、表示といったCPU911の処理(動作)に用いられる。抽出、検索、参照、比較、演算、計算、制御、出力、印刷、表示といったCPU911の処理中、データや情報や信号値や変数値やパラメータは、メインメモリやキャッシュメモリやバッファメモリに一時的に記憶される。
The
本実施の形態の説明において用いるブロック図やフローチャートの矢印の部分は主としてデータや信号の入出力を示す。データや信号は、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
本実施の形態の説明において「〜部」として説明するものは、「〜回路」、「〜装置」、「〜機器」であってもよく、また、「〜ステップ」、「〜工程」、「〜手順」、「〜処理」であってもよい。即ち、「〜部」として説明するものは、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
以下、文章作成システム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
図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
図4は、オンエア端末120の動作を示すフローチャートである。
FIG. 4 is a flowchart showing the operation of the on-
図4において、オンエア端末120側では、文章ファイル作成部206が音声データファイル303、音声番組ファイル304、音声定義ファイル302を記憶装置から読み取り、これらのファイルと変換テーブル207に基づき、天気予報文章ファイル305を処理装置によって作成する(ステップS201:文章ファイル作成処理)。そして、音声ファイル確定部208が天気予報文章ファイル305を基に、音声ファイル検索用テーブル209で音声ファイル306を検索し、再生用の音声ファイル306を処理装置によって作成する(ステップS202:音声ファイル確定処理)。その後、音声ファイル確定部208又は別の端末が音声ファイル306により音声の再生を行う。なお、音声の再生においては、市販の音声合成ソフトウェアを利用して、天気予報の文章をそのまま読ませてもよい。
In FIG. 4, on the on-
このように、本実施の形態では、アクセス関数を実行して気象データベース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
以下、本実施の形態で用いるデータの例を示す。 Hereinafter, examples of data used in the present embodiment will be shown.
図5は、音声番組ファイル304の例を示す図である。
FIG. 5 is a diagram showing an example of the
図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
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
図6の例において、音声定義ファイル302では、[Com]セクションで画面に関する設定等が、[Sound_FIX]セクションで最も優先度が低い文の候補の定義が、[Soundxx]セクションでxx番目に優先度が高い文の候補の定義が行われている。例えば、音声定義ファイル302のファイル名は、画面番号と同じか(画面番号が001なら、例えば“001.voc”)、又は、画面番号を含むものとする。
In the example of FIG. 6, in the
[Com]セクションでは、以下の項目が定義される。 In the [Com] section, the following items are defined.
◆SeanNo:音声定義ファイル302に対応する画面番号を指定する。例えば、001〜999が指定される。
◆ SeaNo: Designates the screen number corresponding to the
◆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
◆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
[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
(2) Time element variable (% T): The intermediate
(3) Weather element variable (% Wx (x: 1 to 3)): The intermediate
図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
◆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
◆P_ChgTbl(語句指定部302bの一部):“P_KEY”で指定された地点番号をテンプレート(文の変動部分)に設定する際に参照する変換テーブル207を指定する。例えば、図7(a)に示したような変換テーブル207が指定される。
P_ChgTbl (part of the
図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
◆T_FUNC(語句指定部302bの一部):“%T”で指定された変数に対し、アクセス関数とME番号を設定する。例えば、“GetTelop/ME=1”と指定すると、ME番号“1”に対応する時刻の情報(別途取得する天気予報の情報がいつの天気に関するものかを示す情報)を気象データベース202から取得するよう指定したことになる。
T_FUNC (part of the
◆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
図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
図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
図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
図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
図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
◆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
図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
図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
図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
図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
◆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
図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
◆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
(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
図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
図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
文章ファイル作成部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
図10(a)〜(c)は、天気予報文章ファイル305の例を示す図である。
10A to 10C are diagrams showing examples of the weather
図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
図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
以下、本実施の形態の効果について説明する。 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
実施の形態2.
本実施の形態について、主に実施の形態1との差異を説明する。
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
以下、実施の形態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
図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
(1) The intermediate
(2) The intermediate
(3) The intermediate
(4) The intermediate
(5) Similar to (3), the intermediate
(6) Every time the telop number is extracted in (5), the intermediate
受信端末110のファイル転送部205は、(1)〜(6)により作成された音声データファイル303を、ネットワーク130を介してオンエア端末120に転送する。
The
図12は、文章作成システム100の変換テーブル207及び天気予報文章ファイル305を示す図である。
FIG. 12 is a diagram showing the conversion table 207 and the weather
図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
(7) The
(8) The
(9) The
(10) The
(11) The
(12) Since “/ continue” is specified in the [Sound02] section of the
(13) Whenever the point element is extracted in (12), the
(14) The
(15) The
(16) The
(17) The
オンエア端末120の音声ファイル確定部208は、音声ファイル検索用テーブル209を参照して、(17)により出力された天気予報文章ファイル305に記録された文章を1つ又は複数の音声ファイル306に変換して出力する。
The audio
実施例2.
図13は、本実施例に係る文章作成システム100の音声定義ファイル302及び音声データファイル303を示す図である。
Example 2
FIG. 13 is a diagram showing an
図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
(1) The intermediate
(2) The intermediate
(3) Similar to (2), the intermediate
(4) The intermediate
(5) Similarly to (2) and (3), the intermediate
(6) The intermediate
受信端末110のファイル転送部205は、(1)〜(6)により作成された音声データファイル303を、ネットワーク130を介してオンエア端末120に転送する。
The
図14は、文章作成システム100の変換テーブル207及び天気予報文章ファイル305を示す図である。
FIG. 14 is a diagram showing the conversion table 207 and the weather
図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
(7) The
(8) The
(9) The
(10) The
(11) The
(12) Since “/ continue” is specified in the [Sound02] section of the
(13) The
(14) The
(15) Similar to the first embodiment, the
(16) The
オンエア端末120の音声ファイル確定部208は、音声ファイル検索用テーブル209を参照して、(16)により出力された天気予報文章ファイル305に記録された文章を1つ又は複数の音声ファイル306に変換して出力する。
The voice
実施例3.
図15は、本実施例に係る文章作成システム100の音声定義ファイル302を示す図である。図16は、文章作成システム100の音声データファイル303を示す図である。
Example 3
FIG. 15 is a diagram illustrating the
図15の例において、受信端末110の中間ファイル作成部204は、音声定義ファイル302を記憶装置から読み込んで、実施例1,2と同様に、図16のような音声データファイル303を作成する。受信端末110のファイル転送部205は、中間ファイル作成部204により作成された音声データファイル303を、ネットワーク130を介してオンエア端末120に転送する。
In the example of FIG. 15, the intermediate
図17は、文章作成システム100の変換テーブル207及び天気予報文章ファイル305を示す図である。
FIG. 17 is a diagram showing the conversion table 207 and the weather
図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
実施例4.
図18は、本実施例に係る文章作成システム100の音声定義ファイル302及び音声データファイル303を示す図である。
Example 4
FIG. 18 is a diagram illustrating the
図18の例において、受信端末110の中間ファイル作成部204は、音声定義ファイル302を記憶装置から読み込んで、実施例1〜3と同様に、音声データファイル303を作成する。受信端末110のファイル転送部205は、中間ファイル作成部204により作成された音声データファイル303を、ネットワーク130を介してオンエア端末120に転送する。
In the example of FIG. 18, the intermediate
図19は、文章作成システム100の変換テーブル207及び天気予報文章ファイル305を示す図である。
FIG. 19 is a diagram showing the conversion table 207 and the weather
図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
実施例5.
図20は、本実施例に係る文章作成システム100の音声定義ファイル302及び音声データファイル303を示す図である。
Example 5 FIG.
FIG. 20 is a diagram illustrating the
図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
(1) The intermediate
(2) Similar to (1), the intermediate
(3) The intermediate
(4) Similar to (1) and (2), the intermediate
(5) For each spot number, the intermediate
受信端末110のファイル転送部205は、(1)〜(5)により作成された音声データファイル303を、ネットワーク130を介してオンエア端末120に転送する。
The
図21は、文章作成システム100の変換テーブル207及び天気予報文章ファイル305を示す図である。
FIG. 21 is a diagram showing the conversion table 207 and the weather
図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
(6) The
(7) The
(8) The
(9) Since “/ continue” is specified in the [Sound01] section of the
(10) Whenever the point element is extracted in (9), the
(11) The
(12) The
(13) As in the first to fourth embodiments, the
(14) The
オンエア端末120の音声ファイル確定部208は、音声ファイル検索用テーブル209を参照して、(14)により出力された天気予報文章ファイル305に記録された文章を1つ又は複数の音声ファイル306に変換して出力する。
The audio
実施例6.
図22は、本実施例に係る文章作成システム100の音声定義ファイル302及び音声データファイル303を示す図である。
Example 6
FIG. 22 is a diagram showing an
図22の例において、受信端末110の中間ファイル作成部204は、音声定義ファイル302を記憶装置から読み込んで、実施例5と同様に、図22のような音声データファイル303を作成する。受信端末110のファイル転送部205は、中間ファイル作成部204により作成された音声データファイル303を、ネットワーク130を介してオンエア端末120に転送する。
In the example of FIG. 22, the intermediate
図23は、文章作成システム100の変換テーブル207及び天気予報文章ファイル305を示す図である。
FIG. 23 is a diagram showing the conversion table 207 and the weather
図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
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
Claims (9)
前記文章の読み上げ時間の上限値を定義する情報を予め記憶装置に格納する文章定義部と、
前記文章を構成する文の候補ごとに、文を前記文章に含める優先度と、文中で語句が挿入される変動部分と、文中で予め定められた語句が配置される固定部分と、文の固定部分の読み上げ時間とを定義する情報を予め記憶装置に格納する文定義部と、
語句ごとに、語句の読み上げ時間を定義する情報を予め記憶装置に格納する語句定義部と、
前記文章を構成する文の候補ごとに、文の変動部分に挿入する語句を指定する情報を予め記憶装置に格納する語句指定部と、
前記文章を構成する文の候補ごとに、前記文定義部に格納された情報から、文の固定部分の読み上げ時間を抽出し、前記語句定義部に格納された情報から、前記語句指定部に格納された情報で指定された語句の読み上げ時間を抽出し、抽出した文の固定部分の読み上げ時間と語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する時間集計部と、
前記文章定義部に格納された情報から、前記文章の読み上げ時間の上限値を抽出し、前記文章を構成する文の候補を、前記文定義部に格納された情報で定義された文の優先度が高い順に、かつ、前記時間集計部により出力された文の読み上げ時間の集計値が、抽出した上限値以下となるように処理装置によって選択し、選択した文から前記文章を作成する文章作成部と
を備えることを特徴とする文章作成システム。 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:
前記時間集計部は、前記文章を構成する文の候補のうち、文の変動部分以外が共通し、かつ、前記語句指定部に格納された情報で指定された語句が、前記語句定義部に格納された情報で同じ纏め語句に対応する文を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.
前記時間集計部は、前記文章を構成する文の候補のうち、文の固定部分が共通し、かつ、前記地域データ抽出部により抽出された地域データが示す地域の情報が一致し、かつ、前記語句指定部に格納された情報で指定された地域語句が、前記語句定義部に格納された情報で同じ纏め語句に対応する文を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.
前記文章を構成する文の候補ごとに、前記文定義部に格納された情報から、文の固定部分の読み上げ時間を抽出し、前記語句定義部に格納された情報から、前記語句指定部に格納された情報で指定された語句の読み上げ時間を抽出し、抽出した文の固定部分の読み上げ時間と語句の読み上げ時間とを処理装置によって集計し、文の読み上げ時間として出力する時間集計処理と、
前記文章定義部に格納された情報から、前記文章の読み上げ時間の上限値を抽出し、前記文章を構成する文の候補を、前記文定義部に格納された情報で定義された文の優先度が高い順に、かつ、前記時間集計処理により出力された文の読み上げ時間の集計値が、抽出した上限値以下となるように処理装置によって選択し、選択した文から前記文章を作成する文章作成処理と
をコンピュータに実行させることを特徴とする文章作成プログラム。 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.
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)
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)
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)
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 |
-
2010
- 2010-07-23 JP JP2010165537A patent/JP5112479B2/en not_active Expired - Fee Related
Patent Citations (6)
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)
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 |