Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0360440B2 - - Google Patents
[go: Go Back, main page]

JPH0360440B2 - - Google Patents

Info

Publication number
JPH0360440B2
JPH0360440B2 JP57007603A JP760382A JPH0360440B2 JP H0360440 B2 JPH0360440 B2 JP H0360440B2 JP 57007603 A JP57007603 A JP 57007603A JP 760382 A JP760382 A JP 760382A JP H0360440 B2 JPH0360440 B2 JP H0360440B2
Authority
JP
Japan
Prior art keywords
character
kanji
buffer
code
reading
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.)
Expired - Lifetime
Application number
JP57007603A
Other languages
Japanese (ja)
Other versions
JPS58125100A (en
Inventor
Akira Nakajima
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP57007603A priority Critical patent/JPS58125100A/en
Publication of JPS58125100A publication Critical patent/JPS58125100A/en
Publication of JPH0360440B2 publication Critical patent/JPH0360440B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 (1) 発明の利用分野 本発明は、日本文ワードプロセツサにおいて、
既に作成された文章を音声として発声する機能が
漢字や熟語を読む場合においても、正しい読み方
を実現できるようにした音声読合せ機能に関する
ものである。
[Detailed Description of the Invention] (1) Field of Application of the Invention The present invention provides a Japanese word processor for
The present invention relates to an audio read-aloud function that enables the correct reading of kanji or idioms, even when reading kanji or idioms.

(2) 従来技術 既に作成された文章を音声として発声する方法
は従来、文章中に漢字が現われる場合、漢字には
予めユニークな読みを与えておき、発声させてい
た。この方法によれば、漢字は場合によつて異な
る読みを持つにもかかわらず常に一通りの読み方
の発声に限られ、正しい読み方からはへだたりが
あつた。
(2) Prior Art Conventionally, when a kanji character appears in a sentence, a unique reading is given to the kanji character beforehand and the kanji character is uttered aloud. According to this method, even though kanji have different readings depending on the case, the readings were always limited to one reading, and there was a deviation from the correct reading.

(3) 発明の目的 本発明は、漢字かな混りの日本文の入力確認用
として、漢字の部分についても、自然な読みで発
声するような音声読合せ機能を実現することを目
的としている。
(3) Purpose of the Invention The purpose of the present invention is to realize a voice reading function that allows kanji parts to be uttered in a natural manner, for checking the input of Japanese sentences containing kanji and kana.

(4) 発明の総括説明 既に入力され作成された文章の内容が正しいか
どうかの確認をするために、音声によつて文章を
次々に読上げていく。ひらがなやカタカナ、英数
字や記号などは読み方が一通りしかないので予め
その読みを与えておけば、正しい読合せができ
る。一方、漢字は、読み方が必ずしも一通りでな
く、多いものでは、「下」の読みのように11種類
もあるものがある。読合せの場合、どの読みを与
えたらよいかは、自動的には定まらないが、次の
ような傾向が見られる。
(4) General explanation of the invention In order to check whether the contents of the sentences that have already been input and created are correct, the sentences are read out one after another by voice. Hiragana, katakana, alphanumeric characters, symbols, etc. can only be read in one way, so if you give them the reading in advance, you can read them correctly. On the other hand, kanji do not necessarily have one reading; some have as many as 11 different readings, such as the ``lower'' reading. In the case of reading aloud, it is not automatically determined which reading should be given, but the following trends can be observed.

1 漢字が孤立して存在し、前後にはカナが続く
ときは、その漢字は訓読みをすることが多い。
1. When a kanji exists in isolation and is preceded and followed by kana, that kanji is often read in kun-yomi.

2 漢字が孤立して存在しても、後にカナ以外の
英字や記号などが続くときは音読みが多い。
2 Even if a kanji exists in isolation, when it is followed by an alphabetic character or symbol other than kana, it is often read on-yomi.

3 漢字が2字以上連続するときは、それらの漢
字はいずれも音読みをすることが多い。
3. When two or more kanji appear in a row, they are often read on-yomi.

本発明は、以上のようなルールによつて、既に
作成された文章の読み合せをすることを特徴とす
るものである。
The present invention is characterized in that already created sentences are read together according to the above-described rules.

(5) 実施例 以上本発明の一実施例を第1図により説明す
る。
(5) Embodiment An embodiment of the present invention will be described above with reference to FIG.

第1図において、テキスト・バツフア2には既
に作成された日本語の漢字カナ混り文等のテキス
トが文字のコード列として貯えられている。
CPU(中央処理装置)4は、上記テキスト・バツ
フア2より順次文字のコードを読み出し、該コー
ドをCRTデイスプレイ1内のリフレツシユ・メ
モリへ書き込む。CRTデイスプレイ1は該リフ
レツシユ・メモリを一定時間ごとに走査し、上記
文字コードに対応する、キヤラクタ・ジエネレー
タ5中の文字パタンを表示する。また、前記
CRTデイスプレイ1上に文字の位置示すカーソ
ルが表示されており、該カーソル位置の情報はカ
ーソル位置レジスタ3により監視されている。上
記カーソルは、キーボード22上にあるカーソル
キーを操作することにより移動させることもでき
る。
In FIG. 1, a text buffer 2 stores previously created Japanese texts such as sentences containing kanji and kana characters as character code strings.
A CPU (central processing unit) 4 sequentially reads character codes from the text buffer 2 and writes the codes to a refresh memory within the CRT display 1. The CRT display 1 scans the refresh memory at regular intervals and displays the character pattern in the character generator 5 that corresponds to the character code. Also, the above
A cursor indicating the position of a character is displayed on the CRT display 1, and information on the cursor position is monitored by a cursor position register 3. The cursor can also be moved by operating cursor keys on the keyboard 22.

以上の動作は、本発明の内容を実施する以前に
既になされているものであり、本発明の内容の実
施の開始は、キーボード22上の例えば音声読合
せキーを押すことにより実現される。
The above-mentioned operations have already been performed before implementing the contents of the present invention, and the start of implementing the contents of the present invention is realized by pressing, for example, the voice reading key on the keyboard 22.

本発明の内容を実施例を開始する指令がキーボ
ード22よりCPU4に送られると、CPU4はま
ずフラグ・レジスタ6の内容を0にする。次に、
CPU4はCRTデイスプレイ1のカーソル位置に
対応する文字のコードを、テキスト・バツフア2
より得、カーソル位置文字バツフア7へ格納す
る。また、CPU4はCRTデイスプレイ1のカー
ソル位置の次の(1文字後方へずれた)文字のコ
ードを、テキスト・バツフア2より得、次位置文
字バツフア8へ格納する。
When a command to start the embodiment of the present invention is sent from the keyboard 22 to the CPU 4, the CPU 4 first sets the contents of the flag register 6 to 0. next,
The CPU 4 sends the code of the character corresponding to the cursor position on the CRT display 1 to the text buffer 2.
, and stores it in the character buffer 7 at the cursor position. Further, the CPU 4 obtains the code of the character next to the cursor position on the CRT display 1 (shifted one character backward) from the text buffer 2, and stores it in the next position character buffer 8.

CPU4は、カーソル位置文字バツフア7中の
文字コードを調べ、該文字コードの種類によつて
次に述べるような動作をする。すなわち、 (1) 該文字コードが、漢字、カナ以外の英字、数
字、記号等であつた場合は、フラグレジスタ6
の内容を0にし、文字数1、文字長1、および
上記文字コードをコード・バツフア13に格納
し、同時に、カーソル位置レジスタ3内のカー
ソル位置の情報を1つ進める。
The CPU 4 checks the character code in the character buffer 7 at the cursor position, and performs the following operations depending on the type of character code. That is, (1) If the character code is an alphabet other than kanji or kana, a number, a symbol, etc., the flag register 6
The content of is set to 0, the number of characters is 1, the character length is 1, and the above character code are stored in the code buffer 13, and at the same time, the cursor position information in the cursor position register 3 is advanced by one.

(2) 上記カーソル位置文字バツフア7中の文字コ
ードが、ひらがな、カタカナのいずれかであつ
た場合は、CPU4は次位置文字バツフア8に
格納されている文字コードを参照し、該文字コ
ードが、カナの小文字を表わすものであれば、
フラグ・レジスタ6の内容を0にし、文字数
1、文字長2、カーソル位置文字バツフア7中
の文字コード、および次位置文字バツフア8中
の文字コードをコード・バツフア13に格納
し、同時にカーソル位置レジスタ3内のカーソ
ル位置の情報を2つ進める。また上記次位置文
字バツフア8に格納されている文字コードがカ
ナの小文字を表わすものでなかつたならは、
CPU4は、フラグ・レジスタ6の内容を0に
し、文字数1、文字長1、およびカーソル位置
文字バツフア7中の文字コードを、コード・バ
ツフア13に格納し、同時に、カーソル位置レ
ジスタ3内のカーソル位置の情報を1つ進め
る。
(2) If the character code in the cursor position character buffer 7 is either Hiragana or Katakana, the CPU 4 refers to the character code stored in the next position character buffer 8, and if the character code is If it represents a lowercase kana character,
Set the contents of flag register 6 to 0, store the number of characters 1, character length 2, character code in cursor position character buffer 7, and character code in next position character buffer 8 to code buffer 13, and at the same time store the cursor position register Advances the information at the cursor position in 3 by two. Also, if the character code stored in the next position character buffer 8 does not represent a lowercase kana character, then
The CPU 4 sets the contents of the flag register 6 to 0, stores the number of characters 1, character length 1, and the character code in the cursor position character buffer 7 in the code buffer 13, and at the same time stores the cursor position in the cursor position register 3. Advance the information by one.

(3) 上記カーソル位置文字バツフア7中の文字コ
ードが漢字であつた場合。
(3) When the character code in character buffer 7 at the cursor position is a kanji.

CPU4は、該カーソル位置文字バツフア7
中の文字コードを後述する読み発生回路9へ送
る。読み発生回路9は、CPU4より、フラ
グ・レジスタ6の内容および位置文字バツフア
8内の文字コードを受け取り、送られてきた前
記カーソル位置文字バツフア7中の文字(漢
字)に対する読みを決定し、文字数、文字長、
および該読みのコードを読みバツフア12へ送
り、同時に、カーソル位置レジスタ3内のカー
ソル位置レジスタ3内のカーソル位置の情報を
1つ進め、CPU4に動作終了の合図パルスを
送る。
The CPU 4 stores the character buffer 7 at the cursor position.
The character code inside is sent to a reading generation circuit 9, which will be described later. The reading generation circuit 9 receives the contents of the flag register 6 and the character code in the position character buffer 8 from the CPU 4, determines the reading for the character (kanji) in the sent cursor position character buffer 7, and calculates the number of characters. , character length,
The reading code is sent to the reading buffer 12, and at the same time, the cursor position information in the cursor position register 3 is advanced by one, and a signal pulse indicating the end of the operation is sent to the CPU 4.

以上、CPU4が、コードバツフア13へ信号
を送出する(動作(1)または(2))か、または、読み
発生回路9から動作終了のパルスを受け取ると、
CPU4は、音声アドレス変換回路14へ指令を
送る。音声アドレス変換回路14は、CPU4よ
り、フラグ・レジスタ6の情報を受け、該内容が
0であつたなら、コード・バツフア13より、ま
た、該内容が1であつたなら読みバツフア12よ
り、文字数、文字長および文字コードを受け取
り、上記文字数に相当する数だけの、上記読みの
文字コードに対応する音声アドレステーブル15
中のアドレスを得、前記文字数および該アドレス
を、アドレス・バツフア16へ格納し、動作終了
のパルスをCPU4へ送る。
As described above, when the CPU 4 sends a signal to the code buffer 13 (operation (1) or (2)) or receives an operation end pulse from the reading generation circuit 9,
The CPU 4 sends a command to the voice address conversion circuit 14. The voice address conversion circuit 14 receives the information of the flag register 6 from the CPU 4, and if the content is 0, it calculates the number of characters from the code buffer 13, and if the content is 1, it calculates the number of characters from the reading buffer 12. , receives the character length and character code, and creates a voice address table 15 corresponding to the character code of the reading as many as the number of characters.
The number of characters and the address are stored in the address buffer 16, and a pulse indicating the end of the operation is sent to the CPU 4.

CPU4は、上記アドレス・バツフア16中の
アドレス情報を順次、音声LSIインタフエース1
7を介して音声合成LSI18へ送る。音声合成
LSI18は、上記アドレス情報に従い、音声パラ
メータROM19から音声パラメータを取り出
し、該音声LSI18中の音声合成回路へ送ると、
合成された音声のデジタル信号が得られる。音声
合成LSIは、該デジタル信号をDA変換器20へ
送つてアナログ信号に変換し、スピーカー21を
通すと、音声が発声される。上記音声パラメータ
ROM19中の各発声単位(本実施例ではカナ1
文字または、英字、数字、信号の1発声)の末尾
は、発声の終わりを示すデータが付加されてお
り、前記音声合成LSI18がこれを検知すると、
音声合成LSI終了ビツトが立つ。
The CPU 4 sequentially transfers the address information in the address buffer 16 to the audio LSI interface 1.
7 to the speech synthesis LSI 18. speech synthesis
The LSI 18 extracts the audio parameters from the audio parameter ROM 19 according to the address information and sends them to the audio synthesis circuit in the audio LSI 18.
A digital signal of the synthesized voice is obtained. The voice synthesis LSI sends the digital signal to the DA converter 20 to convert it into an analog signal, and when the signal is passed through the speaker 21, a voice is produced. Above audio parameters
Each utterance unit in the ROM 19 (in this example, kana 1)
Data indicating the end of the utterance is added to the end of the utterance of a character, alphabet, number, signal, and when the speech synthesis LSI 18 detects this,
The speech synthesis LSI end bit is set.

CPU4は、音声LSIインタフエース17を通し
て該ビツトを感知するたびに、1文字分のアドレ
スを音声LSIインタフエース17へ送る。所定の
文字分のアドレスを送り終わると、CPU4は、
テキスト・バツフア2より、CRTデイスプレイ
1上のカーソルで示されている文字のコードを取
り出してカーソル位置文字バツフア7に、カーソ
ル位置の1文字分あとの文字のコードを次位置文
字バツフア8に格納して以上述べたような動作の
くり返しを行なう。
Each time the CPU 4 senses the bit through the audio LSI interface 17, it sends an address for one character to the audio LSI interface 17. When the address for the predetermined number of characters has been sent, the CPU 4
The code of the character indicated by the cursor on the CRT display 1 is extracted from the text buffer 2 and stored in the cursor position character buffer 7, and the code of the character one character after the cursor position is stored in the next position character buffer 8. Then repeat the operations described above.

CPUは、キーボード22からの入力を常に監
視しており、該キーボード22から読合せを中止
する信号が到着すると、以上述べた動作の実行を
中止する。
The CPU constantly monitors input from the keyboard 22, and when a signal to stop reading arrives from the keyboard 22, it stops executing the operations described above.

以上のような動作により、前記テキスト・バツ
フア2中の漢字カナ混りの日本文をより自然な読
み方で読み上げることがでできる。
By the above-described operation, the Japanese text containing Kanji and Kana characters in the text buffer 2 can be read out in a more natural way.

第2図は、第1図で示した読み発生回路9の内
容をブロツク図で表わしたものである。第2図に
おいて、CPU4は、漢字のコードを漢字コー
ド・バツフア901へ送り、減算回路902へ送
ると、減算回路902は送られてきた該漢字コー
ドから所定の値を差し引くと、該漢字コードは、
漢字の順序を表わす数になり、これは、バツフア
903へ送られる。CPU4は、フラグレジスタ
6の内容を参照し、該内容が1であつたならば、
メモリサーチ回路904へ音読みの指令を送る
と、メモリサーチ回路904は、ブツフア903
内の番号に相当する音読みメモリ10内の読みの
文字数、読みの文字長、読みのコードを取り出し
て読みバツフア12へ格納する。また、上記フラ
グレジスタ6の内容が0であつたならば、CPU
4は更に、次位置文字バツフア8の内容を参照
し、該内容が、漢字であつたならば、メモリ・サ
ーチ回路904へ音読みの指令を送ると、メモリ
サーチ回路904は、バツフア903内の番号に
相当する音読みメモリ10内の読みの文字数、読
みの文字長、読みのコードを取り出して読みバツ
フア12へ格納する。また上記次位置文字バツフ
ア8の内容が漢字でなかつたならば、CPU4は、
メモリ・サーチ回路904へ訓読みの指令を送る
と、メモリサーチ回路904は、バツフア903
内の番号に相当する訓読みメモリ11内の読みの
文字数、読みの文字長、読みのコードを取り出
し、読みバツフア12へ格納する。
FIG. 2 is a block diagram showing the contents of the reading generation circuit 9 shown in FIG. In FIG. 2, the CPU 4 sends a kanji code to a kanji code buffer 901 and then to a subtraction circuit 902. When the subtraction circuit 902 subtracts a predetermined value from the sent kanji code, the kanji code is ,
This becomes a number representing the order of the kanji, and this is sent to the buffer 903. The CPU 4 refers to the contents of the flag register 6, and if the contents are 1,
When a command to read aloud is sent to the memory search circuit 904, the memory search circuit 904
The number of characters in the pronunciation, the character length in the pronunciation, and the code in the pronunciation in the on-yomi memory 10 corresponding to the number in the above are taken out and stored in the pronunciation buffer 12. Also, if the contents of the flag register 6 above are 0, the CPU
4 further refers to the contents of the next position character buffer 8, and if the contents are kanji, sends an on-yomi instruction to the memory search circuit 904, and the memory search circuit 904 reads the number in the buffer 903. The number of characters in the pronunciation, the character length in the pronunciation, and the code in the pronunciation in the on-yomi memory 10 corresponding to the above are taken out and stored in the pronunciation buffer 12. Also, if the content of the next position character buffer 8 is not a kanji, the CPU 4
When the memory search circuit 904 sends a command for reading, the memory search circuit 904 sends a command to the buffer 903.
The number of characters in the pronunciation, the character length in the pronunciation, and the code in the pronunciation in the kun-yomi memory 11 corresponding to the number in the above are taken out and stored in the pronunciation buffer 12.

第3図は第1図におけるCPU4の処理をフロ
ーチヤートで表わしたものである。
FIG. 3 is a flowchart representing the processing of the CPU 4 in FIG. 1.

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

第1図は本発明の一実施例を示すブロツク図で
ある。第2図は第1図における読み発生回路9の
内容を説明するブロツク図。第3図は第1図にお
けるCPUの動作を説明するフローチヤートであ
る。
FIG. 1 is a block diagram showing one embodiment of the present invention. FIG. 2 is a block diagram illustrating the contents of the reading generation circuit 9 in FIG. 1. FIG. 3 is a flowchart explaining the operation of the CPU in FIG. 1.

Claims (1)

【特許請求の範囲】[Claims] 1 記憶された文字列を単音ごとの系列に変換す
る装置と、該単音を音声として発声する装置を備
え、該発生装置は前記文字列中に漢字のコードが
少なくとも2つ連続して現われたならば、該漢字
の音読みの読みを与え、前記文字列中に漢字のコ
ードが孤立して存在し、かつ、該漢字の次の文字
がカナであつたならば、該漢字の訓読みの語幹を
与えて音声として発声することを特徴とする音声
読合せ装置。
1.Equipped with a device that converts a stored character string into a series of single sounds, and a device that utters the single sound as a sound, and the generating device generates a sound when at least two Kanji codes appear consecutively in the character string. For example, if the onyomi reading of the kanji is given, and the kanji code exists isolated in the character string, and the next character of the kanji is a kana, then the kunyomi stem of the kanji is given. A voice reading device characterized in that it utters a voice as a voice.
JP57007603A 1982-01-22 1982-01-22 Voice collating apparatus Granted JPS58125100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57007603A JPS58125100A (en) 1982-01-22 1982-01-22 Voice collating apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57007603A JPS58125100A (en) 1982-01-22 1982-01-22 Voice collating apparatus

Publications (2)

Publication Number Publication Date
JPS58125100A JPS58125100A (en) 1983-07-25
JPH0360440B2 true JPH0360440B2 (en) 1991-09-13

Family

ID=11670371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57007603A Granted JPS58125100A (en) 1982-01-22 1982-01-22 Voice collating apparatus

Country Status (1)

Country Link
JP (1) JPS58125100A (en)

Also Published As

Publication number Publication date
JPS58125100A (en) 1983-07-25

Similar Documents

Publication Publication Date Title
JPS61107430A (en) Editing unit for voice information
JPH10269204A (en) Automatic Chinese document proofing method and device
JP2002132282A (en) Electronic text reading aloud system
JP3366253B2 (en) Speech synthesizer
JPH0360440B2 (en)
JP2002123281A (en) Speech synthesizer
JPS60189069A (en) Kana and kanji converting device
JP2016197184A (en) Pronunciation learning content providing device, system, program, and method
JPH0155507B2 (en)
JP3414326B2 (en) Speech synthesis dictionary registration apparatus and method
KR200212381Y1 (en) Ortho phonic hangul inputting apparatus
JPS6037510B2 (en) Romaji-kanji conversion method
JPH0229797A (en) Text voice converting device
JPS6373298A (en) Sentence-voice converter
JPH0319005Y2 (en)
JPS6349799A (en) Voice output device
JPS59121425A (en) Chinese phonetic alphabet of kanji converter
JPH0350668A (en) character processing device
JP2000010579A (en) Speech synthesizer and computer readable recording medium
JPH07160685A (en) Text-to-speech device
JP2000330998A (en) Pronouncing electronic dictionary
JPH0664571B2 (en) Character processing method
JPS6391736A (en) reading device
JPH06208560A (en) Ambiguous kanji converter
JPH0833737B2 (en) Audio output device