JPH05108086A - Rhythm symbol generation device - Google Patents

Rhythm symbol generation device

Info

Publication number
JPH05108086A
JPH05108086A JP3299760A JP29976091A JPH05108086A JP H05108086 A JPH05108086 A JP H05108086A JP 3299760 A JP3299760 A JP 3299760A JP 29976091 A JP29976091 A JP 29976091A JP H05108086 A JPH05108086 A JP H05108086A
Authority
JP
Japan
Prior art keywords
analysis result
word
unit
analysis
selection
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
JP3299760A
Other languages
Japanese (ja)
Other versions
JP3142159B2 (en
Inventor
Yuichi Kojima
裕一 小島
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP03299760A priority Critical patent/JP3142159B2/en
Publication of JPH05108086A publication Critical patent/JPH05108086A/en
Application granted granted Critical
Publication of JP3142159B2 publication Critical patent/JP3142159B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Machine Translation (AREA)
  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To speedily and accurately generate a rhythm symbol through easy operation even when a large-quantity document is processed. CONSTITUTION:When a document read part 1 reads in a document to be analyzed, a morpheme dictionary looking-up part 3 refers to a morpheme dictionary 2 for character strings of the read-in document, thereby obtaining node data as a morpheme analysis result. A connection certification part 5 certifies a connection between node data by referring to a connection table 4 and generate a morpheme lattice wherein the connection relation between morphemes and its score (extent of likelihood of connection) are entered. A solution generation part 6 stores the generated morpheme lattice in an analysis result storage part 7 up to specific order as an analysis result. An analysis result selection part 8 selects the most desirable analysis result among analysis results in the analysis result storage part 7 and a rhythm generation part 9 generates rhythm according to the selected analysis result.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、音声合成などに用いる
韻律記号を生成する韻律記号生成装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a prosody symbol generation device for generating a prosody symbol used for speech synthesis or the like.

【0002】[0002]

【従来の技術】一般に、音声合成を行なう場合には、文
字列を解析し、その解析結果に基づいて韻律記号を規則
的に生成する韻律記号生成装置が用いられる。この韻律
記号生成装置では、正しい韻律を得るために、正しい形
態素解析,正しい係り受け解析などが行なわれる必要が
ある。
2. Description of the Related Art Generally, in the case of performing speech synthesis, a prosody symbol generation device is used which analyzes a character string and regularly generates prosody symbols based on the analysis result. In this prosody symbol generation device, it is necessary to perform a correct morphological analysis, a correct dependency analysis, etc. in order to obtain a correct prosody.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、在来の
韻律記号生成装置においては、正しい形態素解析,正し
い係り受け解析をオペレータの操作によって行なってお
り、この際に、予め存在する大量の文書をもとに韻律記
号を生成する必要がある場合には、操作が極めて煩雑な
ものとなり、簡単な操作で大量の文書を処理することが
できないという欠点があった。
However, in the conventional prosodic symbol generation device, the correct morphological analysis and the correct dependency analysis are performed by the operation of the operator. When it is necessary to generate prosodic symbols, the operation becomes extremely complicated and there is a drawback that a large amount of documents cannot be processed by a simple operation.

【0004】本発明は、大量の文書を処理する際にも、
簡単な操作で迅速かつ正確に韻律記号を生成することの
可能な韻律記号生成装置を提供することを目的としてい
る。
The present invention, even when processing a large number of documents,
It is an object of the present invention to provide a prosody symbol generation device capable of quickly and accurately generating a prosody symbol with a simple operation.

【0005】[0005]

【課題を解決するための手段】上記目的を達成するため
に本発明は、文字列の形態素解析を行なう形態素解析手
段と、文字列の解析結果が尤度を付されて記憶される解
析結果記憶手段と、解析結果記憶手段に記憶されている
解析結果を尤度を参照して選択する解析結果選択手段と
を有し、選択された解析結果に基づいて韻律記号を生成
するようになっていることを特徴としている。
In order to achieve the above object, the present invention provides a morphological analysis means for performing morphological analysis of a character string, and an analysis result storage in which the analysis result of the character string is stored with a likelihood. Means and an analysis result selection means for selecting the analysis result stored in the analysis result storage means by referring to the likelihood, and generating a prosody symbol based on the selected analysis result. It is characterized by

【0006】[0006]

【作用】本発明の韻律記号生成装置では、文字列の形態
素解析を行なった解析結果が尤度を付されて解析結果記
憶手段に記憶される。例えば、使用者が、解析結果選択
手段により解析結果記憶手段に記憶されている解析結果
を尤度を参照して選択すると、選択された解析結果に基
づいて韻律記号が生成される。このように、本発明で
は、使用者が解析結果選択手段により解析結果を選択可
能になっているので、大量の文書であっても、これを簡
単な操作で処理することができる。
In the prosody symbol generation apparatus of the present invention, the analysis result obtained by performing the morpheme analysis of the character string is stored with the likelihood in the analysis result storage means. For example, when the user selects the analysis result stored in the analysis result storage means by the analysis result selection means with reference to the likelihood, a prosody symbol is generated based on the selected analysis result. As described above, according to the present invention, the user can select the analysis result by the analysis result selecting means, so that even a large number of documents can be processed by a simple operation.

【0007】[0007]

【実施例】以下、本発明の一実施例を図面に基づいて説
明する。図1は本発明に係る韻律記号生成装置の一実施
例のブロック図である。図1を参照すると、本実施例の
韻律記号生成装置は、解析対象となる文書を読み込む文
書読み込み部1と、読み込んだ文書の文字列に対し形態
素辞書2を参照して形態素解析結果としてのノードデー
タを得る形態素辞書引き部3と、ノードデータ間の接続
について接続テーブル4を参照しながら検定を行ない、
形態素間の接続関係とそのスコア(すなわち接続される
最もらしさの度合い:尤度)を記した形態素ラティスを
生成する接続検定部5と、生成された形態素ラティスを
順番に調べ、所定順位までの結果を解析結果として抽出
する解生成部6と、解生成部6で抽出された解析結果
(一般には複数)が記憶される解析結果記憶部7と、解
析結果記憶部7に記憶されている解析結果のうちで最も
望ましい解析結果を選択する解析結果選択部8と、選択
された解析結果に基づいて韻律を生成する韻律生成部9
とを有している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of an embodiment of a prosody symbol generation apparatus according to the present invention. Referring to FIG. 1, the prosody symbol generation apparatus according to the present exemplary embodiment refers to a document reading unit 1 that reads a document to be analyzed, and a morpheme dictionary 2 for a character string of the read document. The morpheme dictionary drawing unit 3 for obtaining data and the connection between the node data are tested with reference to the connection table 4,
A connection test unit 5 that generates a morpheme lattice that describes the connection relations between morphemes and their scores (that is, the degree of likelihood of being connected: likelihood); Is generated as an analysis result, an analysis result storage unit 7 that stores the analysis results (generally a plurality) extracted by the solution generation unit 6, and an analysis result stored in the analysis result storage unit 7. Of these, an analysis result selection unit 8 that selects the most desirable analysis result, and a prosody generation unit 9 that generates a prosody based on the selected analysis result
And have.

【0008】図2は解析結果選択部8の構成例を示す図
であり、この解析結果選択部8は、基本的には、使用者
の操作に応じて解析結果記憶部7から解析結果を読出し
て使用者に提示し、そのうちのいずれかを使用者に選択
させるように構成されている。この目的のために、図2
の解析結果選択部8は、使用者に各種の選択指示を行な
わせるための選択指示部11と、提示された解析結果の
中で使用者に所定の単語を指定させ、指定された単語に
基づき解析結果記憶部7内の解析結果を絞り込む単語指
定部12と、提示された解析結果の中で使用者に所定の
単語区切り位置を指定させ、指定された単語区切り位置
に基づき解析結果記憶部7内の解析結果を絞り込む単語
区切り位置指定部13とを備えている。
FIG. 2 is a diagram showing an example of the configuration of the analysis result selection unit 8. The analysis result selection unit 8 basically reads the analysis result from the analysis result storage unit 7 in accordance with the user's operation. It is configured to be presented to the user and to be selected by the user. To this end, FIG.
The analysis result selection unit 8 of is a selection instruction unit 11 for allowing the user to perform various selection instructions, and allows the user to specify a predetermined word in the presented analysis result, and based on the specified word. A word designation unit 12 that narrows down the analysis result in the analysis result storage unit 7, and a user designates a predetermined word division position in the presented analysis result, and the analysis result storage unit 7 is based on the designated word division position. And a word delimiter position designating unit 13 for narrowing down the analysis result in.

【0009】選択指示部11には、解析結果選択部8の
動作を行なわせるか否かを使用者に指示させるための自
動読み上げスイッチSW1,および/または現在選択さ
れている解析結果を正解と決定して次の文字列を読み込
ませるための次文スイッチSW2が設けられている。な
お、自動読み上げスイッチSW1および次文スイッチS
W2の両方が設けられている場合には、選択指示部11
は、自動読み上げスイッチSW1が指定されている時
に、操作者の指定を待たず、解析結果記憶部の第1位の
解を正解として、次の文字列の処理を行ない、自動読み
上げスイッチが指定されていないときには、次文スイッ
チSW2が指定されるまで、次の文字列の処理を行なわ
ないようになっている。
The selection instructing unit 11 determines the automatic reading switch SW1 for instructing the user whether or not to operate the analysis result selecting unit 8 and / or the currently selected analysis result as the correct answer. Then, a next sentence switch SW2 for reading the next character string is provided. The automatic reading switch SW1 and the next sentence switch S
When both W2 are provided, the selection instructing unit 11
Does not wait for the operator's designation when the automatic reading switch SW1 is specified, processes the next character string with the first solution in the analysis result storage section as the correct answer, and specifies the automatic reading switch. If not, the next character string is not processed until the next sentence switch SW2 is designated.

【0010】また、選択指示部11には、現在選択され
ている解析結果の次に最もらしい解析結果を提示するた
めの次候補スイッチSW3,および/または現在選択さ
れている解析結果の前に提示されていた解析結果を再び
提示するための前候補スイッチSW4が設けられてい
る。
Further, the selection instruction section 11 presents the next candidate switch SW3 for presenting the most likely analysis result next to the currently selected analysis result, and / or presents it before the currently selected analysis result. A front candidate switch SW4 for presenting the analyzed result again is provided.

【0011】また、単語指定部12は、使用者が提示さ
れた解析結果の中で誤まった単語を指定したときには、
誤まった単語を含んだ解析結果を解析結果記憶部7から
削除し、残りの解析結果の中から、次に提示する解析結
果を選択し、あるいは、使用者が提示された解析結果の
中で正しい単語を指定したときには、正しい単語を含ま
ない解析結果を解析結果記憶部7から削除し、残りの解
析結果の中から、次に提示する解析結果を選択するよう
になっている。
Further, when the user designates an incorrect word in the presented analysis result, the word designating section 12
The analysis result including the erroneous word is deleted from the analysis result storage unit 7, and the analysis result to be presented next is selected from the remaining analysis results, or the analysis result presented by the user is selected. When a correct word is designated, the analysis result that does not include the correct word is deleted from the analysis result storage unit 7, and the analysis result to be presented next is selected from the remaining analysis results.

【0012】また、単語区切り位置指定部13は、使用
者が提示された解析結果の中で、正しい単語区切りの位
置を指定したときには、指定された位置に単語区切りの
ない解析結果を解析結果記憶部7から削除し、残りの解
析結果の中から、次に提示する解析結果を選択し、ある
いは、使用者が提示された解析結果の中で、誤まった単
語区切りの位置を指定したときには、指定された位置に
単語区切りのある解析結果を解析結果記憶部7から削除
し、残りの解析結果の中から、次に提示する解析結果を
選択するようになっている。
Further, when the user specifies a correct word break position in the presented analysis results, the word break position specifying unit 13 stores the analysis result in which the word break does not exist at the specified position. Deleted from the section 7, select the analysis result to be presented next from the remaining analysis results, or when the user specifies the position of the incorrect word break in the presented analysis result, The analysis result having the word break at the designated position is deleted from the analysis result storage unit 7, and the analysis result to be presented next is selected from the remaining analysis results.

【0013】次に、このような構成の韻律記号生成装置
の動作について説明する。文書読み込み部1は、例えば
日本語の文書を読み込み、この文書中の日本語文字列を
調べ、日本語文字列が存在する場合には形態素解析の単
位に区切って形態素辞書引き部3に解析文字列をわた
す。形態素辞書引き部3に文字列が入力すると、形態素
辞書引き部3は、文字列のそれぞれの部分について形態
素辞書2を参照し、形態素の文法及び位置の情報を持っ
たノードデータを得て、これを接続検定部5に与える。
Next, the operation of the prosody symbol generating apparatus having such a configuration will be described. The document reading unit 1 reads, for example, a Japanese document, examines a Japanese character string in this document, and if there is a Japanese character string, divides it into units for morphological analysis and uses the morphological dictionary lookup unit 3 to analyze characters. Pass the row. When a character string is input to the morpheme dictionary lookup unit 3, the morpheme dictionary lookup unit 3 refers to the morpheme dictionary 2 for each part of the character string, obtains node data having morpheme grammar and position information, and Is given to the connection verification unit 5.

【0014】接続検定部5では、このノードデータ,す
なわち形態素の解析結果に基づき、接続テーブル4を参
照しながら形態素間の接続の妥当性を検定する。接続テ
ーブル4には、ある品詞の後に別の品詞が続く場合の接
続のスコア,すなわち尤度が記述されており、接続の妥
当性がない場合には、スコアは“0”になっている。ス
コアが“0”でなく、接続の妥当性がある所定の値とな
っているときには、接続検定部5は、前後のノードデー
タをそれぞれ接続させることを意図して、各ノードデー
タのそれぞれに接続の相手と接続のスコアとを書き込
む。
The connection verification unit 5 verifies the validity of the connection between the morphemes with reference to the connection table 4 based on the node data, that is, the analysis result of the morphemes. The connection table 4 describes the score of the connection when one part of speech is followed by another part of speech, that is, the likelihood, and the score is "0" when the connection is not valid. When the score is not “0” and is a predetermined value with the validity of the connection, the connection verification unit 5 intends to connect the preceding and following node data, and connects the respective node data. Write down your opponent and connection scores.

【0015】ここまでの処理の結果として、形態素間の
接続関係とそのスコア(尤度)とを記した形態素ラティ
スが生成される。図3はこのようにして生成された形態
素ラティスの一例を示す図であり、図中〔 〕内が接続
のスコアを表わしている。
As a result of the processing up to this point, a morpheme lattice in which the connection relation between morphemes and its score (likelihood) are described is generated. FIG. 3 is a diagram showing an example of the morpheme lattice generated in this way, in which [] indicates the connection score.

【0016】しかる後、解生成部6は、上記のように生
成された形態素ラティスをたどり、文の最後まで至るパ
スについて、それぞれのスコアのノード数による平均を
とり、例えば第50位までの結果を解析結果として解析
結果記憶部7に送り、そこに記憶させる。解析結果選択
部8は、先づ最初に、解析結果記憶部7に記憶されてい
る解析結果の中で最もスコアの平均が高い解を操作者に
提示する。例えば、この提示は、韻律生成部8を介し、
音声合成部10で音声を出力させることによってなされ
る。
After that, the solution generation unit 6 traces the morpheme lattices generated as described above and averages the scores of the paths up to the end of the sentence by the number of nodes. Is sent to the analysis result storage unit 7 as an analysis result and stored therein. First, the analysis result selection unit 8 presents the operator with a solution having the highest average score among the analysis results stored in the analysis result storage unit 7. For example, this presentation is performed through the prosody generation unit 8,
This is done by causing the voice synthesizer 10 to output a voice.

【0017】この際、自動読み上げスイッチSW1が選
択されている状態のときには、解析結果選択部8には
「自動読上」の信号が加わり、これにより、解析結果選
択部8は、最もスコアの平均が高い候補を解として自動
的に確定し、文書読み込み部1に指示を与え、次の日本
語文字列を自動的に読み込ませる。なお、この動作は、
自動読み上げスイッチSW1がオフとなるまで自動的に
なされる。これに対し、自動読み上げスイッチSW1が
設けられていないか、あるいはこれが設けられていても
選択されていない状態のときには、操作者は、所望の候
補を選択することができる。
At this time, when the automatic reading switch SW1 is selected, an "automatic reading" signal is added to the analysis result selection section 8, whereby the analysis result selection section 8 has the highest average score. A candidate with a high value is automatically determined as a solution, and the document reading unit 1 is instructed to automatically read the next Japanese character string. In addition, this operation is
It is automatically performed until the automatic reading switch SW1 is turned off. On the other hand, when the automatic reading switch SW1 is not provided, or when the automatic reading switch SW1 is provided and is not selected, the operator can select a desired candidate.

【0018】すなわち、現在の解が提示されたときに、
操作者は、現在の解が望ましいか否かを分析することが
できる。この結果、ある形態素が誤まった候補である場
合には、操作者は、単語指定部12によって誤まった単
語を指定することができる。誤まった単語の指定がある
と、解析結果選択部8は、解析結果記憶部7内の解析結
果のうち、指定された形態素を含む解を削除し、残った
解の中で最もスコアの高い候補を提示する。また、これ
とは反対に、操作者は、ある形態素が正しい候補である
場合には、単語指定部12によってこれを指定すること
もできる。この場合には、解析結果選択部8は、解析結
果記憶部7内の解析結果のうち、指定された形態素を含
まない解を削除し、さらに残った解の中で、最もスコア
の高い候補を提示する。
That is, when the current solution is presented,
The operator can analyze whether the current solution is desirable. As a result, when a certain morpheme is a wrong candidate, the operator can specify the wrong word by the word specifying unit 12. When the wrong word is specified, the analysis result selection unit 8 deletes the solution including the specified morpheme from the analysis results in the analysis result storage unit 7, and has the highest score among the remaining solutions. Present candidates. On the contrary, when a certain morpheme is a correct candidate, the operator can also specify it by the word specifying unit 12. In this case, the analysis result selection unit 8 deletes the solution that does not include the designated morpheme from the analysis results in the analysis result storage unit 7, and selects the candidate with the highest score among the remaining solutions. Present.

【0019】また、操作者は、単語の切れ目となる位置
を単語区切り位置指定部13によって指定することがで
きる。この位置の指定があると、解析結果選択部8は、
解析結果記憶部7内の解析結果のうち、指定位置に単語
の切れ目がない解を削除し、さらに残った解の中で最も
スコアの高い候補を提示する。またこれとは反対に、操
作者は、単語の切れ目とならない位置を単語区切り位置
指定部13によって指定することができる。この位置の
指定があると、解析結果選択部8は、解析結果記憶部7
内の解析結果のうち、指定位置に単語の切れ目がある解
を削除し、さらに残った解の中で最もスコアの高い候補
を提示する。
Further, the operator can specify the position of the break of the word by the word division position specifying unit 13. When this position is designated, the analysis result selection unit 8
Of the analysis results in the analysis result storage unit 7, the solution having no word break at the specified position is deleted, and the candidate with the highest score among the remaining solutions is presented. On the contrary, the operator can specify the position which does not become the break of the word by the word division position specifying unit 13. When this position is designated, the analysis result selection unit 8 causes the analysis result storage unit 7 to
Among the analysis results in, the solution with a word break at the specified position is deleted, and the candidate with the highest score among the remaining solutions is presented.

【0020】また、このような段階において、操作者
は、次候補スイッチSW3,前候補スイッチSW4を操
作して、候補の選択を行なうことができる。例えば、次
候補スイッチSW3が操作されると、解析結果選択部8
は、解析結果記憶部7内の解析結果のうち、現在提示し
ている候補の次にスコアの高い候補を提示する。これに
対し、前候補スイッチSW4が操作されると、解析結果
選択部8は、解析結果記憶部7内の解析結果のうち、現
在提示している候補の次にスコアの低い候補を提示す
る。これにより、候補の選択を容易に行なうことができ
る。
At such a stage, the operator can operate the next candidate switch SW3 and the previous candidate switch SW4 to select a candidate. For example, when the next candidate switch SW3 is operated, the analysis result selection unit 8
Of the analysis results in the analysis result storage unit 7 presents the candidate having the next highest score to the candidate currently presented. On the other hand, when the previous candidate switch SW4 is operated, the analysis result selection unit 8 presents the candidate having the next lowest score among the analysis results in the analysis result storage unit 7 after the currently presented candidate. This allows easy selection of candidates.

【0021】このようにして、操作者が所望の候補を選
択し、次の日本語文字列の解析に進ませたいときには、
操作者は、次文スイッチSW2を操作することができ
る。
In this way, when the operator wants to select a desired candidate and proceed with the analysis of the next Japanese character string,
The operator can operate the next sentence switch SW2.

【0022】すなわち、次文スイッチSW2が操作され
ると、解析結果選択部8には「次文読込」の信号が加わ
り、これにより、解析結果選択部8は、現在提示してい
る候補を正解と決定し、韻律生成部9によって解から韻
律記号を生成させ、これを韻律ファイルに格納させる。
そして、次の日本語文字列の読み込みを文書読み込み部
1に指示する。
That is, when the next-sentence switch SW2 is operated, a signal "read next sentence" is added to the analysis result selection unit 8, whereby the analysis result selection unit 8 corrects the currently presented candidate. Then, the prosody generation unit 9 generates a prosody symbol from the solution and stores it in the prosody file.
Then, the document reading unit 1 is instructed to read the next Japanese character string.

【0023】図4は、本実施例の韻律記号生成装置の具
体的なシステム構成例を示す図であり、図4の例では、
韻律記号生成装置は、全体を制御する制御装置21と、
記憶装置22と、マウス23と、ディスプレイ24とに
よって実現されている。すなわち、解析対象となる文書
データは、記憶装置22内に格納されており、また、解
析結果記憶部7,韻律ファイルも記憶装置22内に設定
されている。また、ディスプレイ24には、解析結果記
憶部7から選択された解が表示されるようになってい
る。
FIG. 4 is a diagram showing a concrete system configuration example of the prosody symbol generation apparatus of the present embodiment. In the example of FIG.
The prosody symbol generation device includes a control device 21 for controlling the whole,
It is realized by a storage device 22, a mouse 23, and a display 24. That is, the document data to be analyzed is stored in the storage device 22, and the analysis result storage unit 7 and the prosody file are also set in the storage device 22. In addition, the display 24 displays the solution selected from the analysis result storage unit 7.

【0024】本実施例の韻律記号生成装置が図4のよう
なシステムによって実現されている場合、操作者はマウ
スを操作してディスプレイ上に現れたカーソルCSを移
動させ、左右のマウスボタンのクリックによって解析結
果選択部8に指示を送る。
When the prosody symbol generator of this embodiment is realized by the system shown in FIG. 4, the operator operates the mouse to move the cursor CS appearing on the display, and clicks the left and right mouse buttons. Sends an instruction to the analysis result selection unit 8.

【0025】すなわち、図4の例では、カーソルCSの
形状が「〇」の時に、例えばマウス23の左ボタンをク
リックすると、カーソルCSの存在する位置の形態素が
正しいという情報が解析結果選択部8に送られる。これ
に対し、例えば右ボタンをクリックすると、カーソルC
Sの存在する位置の形態素が誤まりであるという情報が
解析結果選択部8に送られる。
That is, in the example of FIG. 4, when the shape of the cursor CS is “∘”, for example, when the left button of the mouse 23 is clicked, information that the morpheme at the position where the cursor CS exists is correct is displayed in the analysis result selection unit 8 Sent to. On the other hand, for example, if you click the right button, the cursor C
Information that the morpheme of the position where S exists is erroneous is sent to the analysis result selection unit 8.

【0026】このような状態において、ディスプレイ2
4の画面下の「切目」と表示された場所にカーソルCS
を移動してマウス23の左ボタンあるいは右ボタンをク
リックすると、カーソルCSの形状が「〇」から「△」
に変わる。カーソルCSの形状が「△」の時に、マウス
23の左ボタンをクリックすると、カーソルCSの存在
する位置の単語区切りが正しいという情報が解析結果選
択部8に送られる。これに対し、このときに右ボタンを
クリックすると、カーソルCSの存在する位置の単語区
切りが誤まりであるという情報が解析結果選択部に送ら
れる。
In such a state, the display 2
Cursor CS to the place where "cut" is displayed at the bottom of screen 4
Move and click the left or right button of the mouse 23 to change the shape of the cursor CS from "○" to "△".
Change to. When the left button of the mouse 23 is clicked when the shape of the cursor CS is “Δ”, information that the word delimiter at the position where the cursor CS exists is correct is sent to the analysis result selection unit 8. On the other hand, if the right button is clicked at this time, information that the word division at the position where the cursor CS exists is incorrect is sent to the analysis result selection unit.

【0027】また、ディスプレイ24の画面右下の「次
解」と表示された場所にカーソルCSがあるとき、マウ
ス23の左ボタンあるいは右ボタンをクリックすると、
次候補選択の信号が解析結果選択部8に送られ、また、
画面右下の「前解」と表示された場所にカーソルCSが
あるとき、マウス23の左ボタンあるいは右ボタンをク
リックすると、前候補選択の信号が解析結果選択部8に
送られる。
Further, when the cursor CS is located at the place where "Next solution" is displayed at the lower right of the screen of the display 24, when the left or right button of the mouse 23 is clicked,
A signal for selecting the next candidate is sent to the analysis result selection unit 8, and
When the left or right button of the mouse 23 is clicked when the cursor CS is located at the position indicated by "previous solution" in the lower right of the screen, a signal for selecting the previous candidate is sent to the analysis result selection unit 8.

【0028】また、画面右下の「次文」と表示された場
所にカーソルCSがあるとき、マウス23の左ボタンあ
るいは右ボタンをクリックすると、現在提示されている
解が正解であるという情報が解析結果選択部8に送られ
る。
If the left or right button of the mouse 23 is clicked when the cursor CS is located at the position "next sentence" at the bottom right of the screen, information that the currently presented solution is correct is displayed. It is sent to the analysis result selection unit 8.

【0029】また、画面左下の「自動」と表示された場
所を、マウス23の左ボタンあるいは右ボタンでクリッ
クすると、解析結果選択部には自動選択の信号が送ら
れ、再びクリックすると、自動解除の信号が送られる。
Further, if the left or right button of the mouse 23 is clicked on the place where "automatic" is displayed at the lower left of the screen, an automatic selection signal is sent to the analysis result selection section, and when it is clicked again, automatic cancellation is performed. Is sent.

【0030】また、画面右下の「終了」と表示された場
所にカーソルCSがあるとき、マウス23の左ボタンあ
るいは右ボタンをクリックすると、すべての動作を終了
する。
Further, when the cursor CS is located at the position indicated as "END" at the bottom right of the screen, clicking the left or right button of the mouse 23 terminates all the operations.

【0031】このように、文字列の解析結果として考え
られる複数の解を使用者の操作に応じて順次ディスプレ
イ上に提示し、使用者は、解析結果選択部の操作を行な
って解析結果を選択することによって、大量の文書をも
とに韻律記号を生成する必要がある場合にも、簡単な操
作で正解を得ることができて、大量の文書を簡単な操作
で処理することができる。
In this way, a plurality of possible solutions for the character string analysis result are sequentially presented on the display according to the user's operation, and the user operates the analysis result selection section to select the analysis result. By doing so, even when it is necessary to generate prosodic symbols based on a large number of documents, the correct answer can be obtained by a simple operation, and a large number of documents can be processed by a simple operation.

【0032】[0032]

【発明の効果】以上に説明したように本発明によれば、
文字列の形態素解析を行なった解析結果を尤度を付して
解析結果記憶手段に記憶し、解析結果記憶手段に記憶さ
れている解析結果を解析結果選択手段により尤度を参照
して選択し、選択された解析結果に基づいて韻律記号が
生成されるので、大量の文書であっても、これを簡単な
操作で迅速かつ正確に処理することができる。
As described above, according to the present invention,
The analysis result obtained by performing the morphological analysis of the character string is attached to the likelihood and stored in the analysis result storage means, and the analysis result stored in the analysis result storage means is selected by referring to the likelihood by the analysis result selection means. Since the prosodic symbol is generated based on the selected analysis result, even a large amount of documents can be processed quickly and accurately by a simple operation.

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

【図1】本発明に係る韻律記号生成装置の一実施例のブ
ロックである。
FIG. 1 is a block diagram of an embodiment of a prosody symbol generation apparatus according to the present invention.

【図2】解析結果選択部の構成例を示す図である。FIG. 2 is a diagram illustrating a configuration example of an analysis result selection unit.

【図3】形態素ラティスの一例を示す図である。FIG. 3 is a diagram showing an example of a morpheme lattice.

【図4】本発明による韻律記号生成装置の具体的なシス
テム構成例を示す図である。
FIG. 4 is a diagram showing a specific system configuration example of a prosody symbol generation device according to the present invention.

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

1 文書読み込み部 2 形態素辞書 3 形態素辞書引き部 4 接続テーブル 5 接続検定部 6 解生成部 7 解析結果記憶部 8 解析結果選択部 9 韻律生成部 10 音声合成部 21 制御装置 22 記憶装置 23 マウス 24 ディスプレイ DESCRIPTION OF SYMBOLS 1 document reading unit 2 morpheme dictionary 3 morpheme dictionary lookup unit 4 connection table 5 connection verification unit 6 solution generation unit 7 analysis result storage unit 8 analysis result selection unit 9 prosody generation unit 10 speech synthesis unit 21 control device 22 storage device 23 mouse 24 display

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 文字列の形態素解析を行なう形態素解析
手段と、文字列の解析結果が尤度を付されて記憶される
解析結果記憶手段と、解析結果記憶手段に記憶されてい
る解析結果を尤度を参照して選択する解析結果選択手段
とを有し、選択された解析結果に基づいて韻律記号を生
成するようになっていることを特徴とする韻律記号生成
装置。
1. A morpheme analysis means for performing a morpheme analysis of a character string, an analysis result storage means for storing a character string analysis result with a likelihood, and an analysis result stored in the analysis result storage means. A prosody symbol generation device comprising: an analysis result selection means for selecting with reference to the likelihood, and generating a prosody symbol based on the selected analysis result.
【請求項2】 前記解析結果選択手段は、使用者に各種
の選択指示を行なわせるための選択指示手段と、提示さ
れた解析結果の中で使用者に所定の単語を指定させるた
めの単語指定手段と、提示された解析結果の中で使用者
に所定の単語区切り位置を指定させるための単語区切り
位置指定手段との各手段のうちの、少なくとも1つの手
段を具備していることを特徴とする請求項1記載の韻律
記号生成装置。
2. The analysis result selection means is a selection instruction means for causing the user to give various selection instructions, and a word designation for allowing the user to designate a predetermined word in the presented analysis results. And at least one of a means and a word break position designating means for allowing a user to specify a predetermined word break position in the presented analysis result. The prosody symbol generation device according to claim 1.
【請求項3】 前記選択指示手段は、自動読上選択部お
よび/または次文選択部を有しており、自動読上選択部
により自動読上げの選択指示がなされているときには、
前記解析結果選択手段は、解析結果記憶手段に記憶され
ている解析結果のうち、最も尤度の高いものを正解とし
て選択し、次の文字列の処理を行なわせるようになって
おり、また、自動読上選択部が設けられていないか、設
けられている場合であっても自動読上げの選択指示がな
されていないときには、前記解析結果選択手段は、次文
選択部において次文選択が指示されたときに、現在選択
されている解析結果を正解と決定し、次の文字列を読み
込むようになっていることを特徴とする請求項2記載の
韻律記号生成装置。
3. The selection instruction means has an automatic reading selection unit and / or a next sentence selecting unit, and when the automatic reading selection unit gives an automatic reading selection instruction,
The analysis result selection unit is configured to select, as the correct answer, one of the analysis results stored in the analysis result storage unit that has the highest likelihood, and to process the next character string. If the automatic reading selection unit is not provided, or if the automatic reading selection instruction is not issued even if it is provided, the analysis result selection unit is instructed to select the next sentence by the next sentence selection unit. 3. The prosody symbol generation device according to claim 2, wherein the analysis result currently selected is determined to be the correct answer and the next character string is read.
【請求項4】 前記選択指示手段は、次候補選択部およ
び前候補選択部を有しており、次候補選択部により次候
補の選択指示がなされたときには、前記解析結果選択手
段は、解析結果記憶手段に記憶されている解析結果のう
ちで、現在選択されている解析結果の次の尤度の解析結
果を提示し、前候補選択部により前候補の選択指示がな
されたときには、前記解析結果選択手段は、現在選択さ
れている解析結果の前に提示されていた解析結果を再び
提示するようになっていることを特徴とする請求項2記
載の韻律記号生成装置。
4. The selection instructing means has a next candidate selecting section and a previous candidate selecting section, and when the next candidate selecting section issues an instruction to select the next candidate, the analysis result selecting section determines the analysis result. Among the analysis results stored in the storage means, the analysis result of the likelihood next to the currently selected analysis result is presented, and when the previous candidate selection unit instructs the selection of the previous candidate, the analysis result is 3. The prosody symbol generation device according to claim 2, wherein the selection means is adapted to present again the analysis result presented before the currently selected analysis result.
【請求項5】 前記単語指定手段は、提示された解析結
果の中で誤まった単語を使用者に指定させる誤単語指定
部,および/または、正しい単語を使用者に指定させる
正単語指定部を有し、誤単語指定部により誤まった単語
が指定されたときには、前記解析結果選択手段は、誤ま
った単語を含んだ解析結果を前記解析結果記憶手段から
削除し、残りの解析結果の中から次に提示する解析結果
を選択し、また、正単語指定部により正しい単語が指定
されたときには、前記解析結果選択手段は、正しい単語
を含まない解析結果を前記解析結果記憶手段から削除
し、残りの解析結果の中から次に提示する解析結果を選
択するようになっていることを特徴とする請求項2記載
の韻律記号生成装置。
5. The word designating unit is a false word designating unit that allows a user to designate a wrong word in the presented analysis results, and / or a correct word designating unit that allows the user to designate a correct word. When the erroneous word is designated by the erroneous word designating section, the analysis result selecting means deletes the analysis result including the erroneous word from the analysis result storing means, and When an analysis result to be presented next is selected from the inside, and when a correct word is specified by the correct word specifying unit, the analysis result selection unit deletes the analysis result that does not include the correct word from the analysis result storage unit. 3. The prosody symbol generation device according to claim 2, wherein the analysis result to be presented next is selected from the remaining analysis results.
【請求項6】 前記単語区切位置指定手段は、提示され
た解析結果の中で正しい単語区切りの位置を使用者に指
定させる正単語区切位置指定部,および/または、誤ま
った単語区切りの位置を使用者に指定させる誤単語区切
位置指定部を有し、正単語区切位置指定部により正しい
単語区切りの位置が指定されたときには、前記解析結果
選択手段は、指定された位置に単語区切りのない解析結
果を前記解析結果記憶手段から削除し、残りの解析結果
の中から次に提示する解析結果を選択し、また、誤単語
区切位置指定部により誤まった単語区切りの位置が指定
されたときには、前記解析結果選択手段は、指定された
位置に単語区切りのある解析結果を前記解析結果記憶手
段から削除し、残りの解析結果の中から次に提示する解
析結果を選択するようになっていることを特徴とする請
求項2記載の韻律記号生成装置。
6. The word delimiter position designating unit, which allows a user to designate a correct word delimiter position in the presented analysis result, and / or an erroneous word delimiter position. When the correct word segmentation position designating section designates a correct word segmentation position, the analysis result selecting means has no word segmentation at the designated position. When the analysis result is deleted from the analysis result storage means, the analysis result to be presented next is selected from the remaining analysis results, and when the position of the incorrect word break is specified by the incorrect word break position specifying unit. The analysis result selection means deletes the analysis result having a word break at the specified position from the analysis result storage means and selects the analysis result to be presented next from the remaining analysis results. The prosody symbol generation device according to claim 2, wherein
JP03299760A 1991-10-19 1991-10-19 Prosody symbol generator Expired - Fee Related JP3142159B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP03299760A JP3142159B2 (en) 1991-10-19 1991-10-19 Prosody symbol generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP03299760A JP3142159B2 (en) 1991-10-19 1991-10-19 Prosody symbol generator

Publications (2)

Publication Number Publication Date
JPH05108086A true JPH05108086A (en) 1993-04-30
JP3142159B2 JP3142159B2 (en) 2001-03-07

Family

ID=17876644

Family Applications (1)

Application Number Title Priority Date Filing Date
JP03299760A Expired - Fee Related JP3142159B2 (en) 1991-10-19 1991-10-19 Prosody symbol generator

Country Status (1)

Country Link
JP (1) JP3142159B2 (en)

Also Published As

Publication number Publication date
JP3142159B2 (en) 2001-03-07

Similar Documents

Publication Publication Date Title
CA1259410A (en) Apparatus for making and editing dictionary entries in a text-to-speech conversion system
JP3476007B2 (en) Recognition word registration method, speech recognition method, speech recognition device, storage medium storing software product for registration of recognition word, storage medium storing software product for speech recognition
US5096423A (en) Computer system for teaching abbreviations for text and data processing functions
JP2005078211A (en) Chinese input program
JPS60179817A (en) Key board input system
US6281884B1 (en) General Chinese phonetic keyboard setting apparatus
JPH05108086A (en) Rhythm symbol generation device
JP2001042996A (en) Device and method for document preparation
JP3762300B2 (en) Text input processing apparatus and method, and program
JPH08272388A (en) Device and method for synthesizing voice
JP2005044103A (en) Document creation device and method and program
JP3093498B2 (en) Document reading device
JPS61248155A (en) Word processing system
JP3249791B2 (en) Emulator for character input, character input method and recording medium
JP2001014304A (en) Document creating device, conversion processing method, and recording medium where conversion processing program is recorded
JP3391808B2 (en) Natural language input method and device
JP2000222401A (en) Data input device, data input method, and recording medium
JPH06332899A (en) Document reader
JP2000187497A (en) Language input device by voice
JPH04281558A (en) Document retrieving device
JPH05189439A (en) Device and method for document preparation
JPH10269209A (en) Device and method for character string prediction
JP2007150881A (en) Image forming apparatus
JPH05290209A (en) Character recognition method and its device
JPH0581281A (en) Chuang input device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071222

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20081222

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20081222

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20091222

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20101222

Year of fee payment: 10

LAPS Cancellation because of no payment of annual fees