JPH0664571B2 - Character processing method - Google Patents

Character processing method

Info

Publication number
JPH0664571B2
JPH0664571B2 JP60017168A JP1716885A JPH0664571B2 JP H0664571 B2 JPH0664571 B2 JP H0664571B2 JP 60017168 A JP60017168 A JP 60017168A JP 1716885 A JP1716885 A JP 1716885A JP H0664571 B2 JPH0664571 B2 JP H0664571B2
Authority
JP
Japan
Prior art keywords
character
character string
input
code information
kanji
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
JP60017168A
Other languages
Japanese (ja)
Other versions
JPS61175851A (en
Inventor
秀志 市村
健司 前田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP60017168A priority Critical patent/JPH0664571B2/en
Publication of JPS61175851A publication Critical patent/JPS61175851A/en
Publication of JPH0664571B2 publication Critical patent/JPH0664571B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 [技術分野] 本発明は電子タイプライタ、及びワードプロセッサ等の
文字処理装置において、極めて効率的に音声入力処理を
行うことができる文字処理方法に関するものである。
Description: TECHNICAL FIELD The present invention relates to a character processing method capable of extremely efficiently performing voice input processing in a character processing device such as an electronic typewriter and a word processor.

[従来技術] 従来、日本語ワードプロセッサ等の文字処理装置におい
て、キーボード装置からの文字入力方式の他に、操作者
の音声による入力方式を備えたものが知られている。
[Prior Art] Conventionally, there is known a character processing device such as a Japanese word processor which is provided with an input system based on an operator's voice in addition to a character input system from a keyboard device.

音声入力方式の利点は熟練を要するキーボード入力操作
の代わりに文書を入力することができることであるが、
文節の終わりの句読点は、キーボードから入力するか、
音声によって「てん」や「まる」と発声し、「、」
や「。」に変換するといった、本来入力したい文字列の
他の入力操作を必要とした。
The advantage of the voice input method is that you can input a document instead of the keyboard input operation that requires skill,
Enter the punctuation at the end of the phrase using the keyboard or
Say "ten" or "maru" by voice, and then ","
Another input operation of the character string that you originally wanted to input, such as converting to or ".", Was required.

また、表記としては「は」であるが、音声としては
「わ」である格助詞等は、音声認識した後にキーボード
により入力し直すことを必要とした。
In addition, a case particle or the like, which is written as “ha” but is written as “wa” as a voice, needs to be re-input by the keyboard after the voice recognition.

[発明が解決しようとする課題] 従来の音声入力方式を適用した文字処理方法において
は、例えば文節の終わりに句読点を付ける、格助詞に該
当する発音(例えば「わ」)を当該格助詞に該当する文
字(例えば「は」)に変換する、等の作業を単に音声入
力だけで行うことは困難であった。
[Problems to be Solved by the Invention] In a character processing method to which a conventional voice input method is applied, for example, a punctuation mark is added to the end of a phrase, and a pronunciation corresponding to a case particle (for example, "wa") corresponds to the case particle It has been difficult to perform operations such as converting to characters (for example, "ha") that are performed using only voice input.

[目的] 本発明の目的は、以上のような課題を解消すべく、入力
された音声から文字列の切れ目を認識し、認識された文
字列の切れ目の前の文字列の種類を判断して、その種類
に応じて、認識結果のコード情報を変換することによっ
て、入力音声を認識して得られる情報以上の、文書の表
記に適した情報を得られる、きわめて効率的に音声入力
が行える文字処理方法を提供することにある。
[Object] To solve the above problems, an object of the present invention is to recognize a break in a character string from an input voice and determine the type of the character string before the break in the recognized character string. , By converting the code information of the recognition result according to its type, it is possible to obtain more information suitable for the notation of the document than the information obtained by recognizing the input voice. It is to provide a processing method.

[実施例] 以下に図面を参照して本発明を詳細に説明する。EXAMPLES The present invention will be described in detail below with reference to the drawings.

第1図は本発明文字処理装置の構成の一例を示す。ここ
で、1は例えば、マイクロプロセッサ形態の処理ユニッ
ト(MPU)、2は各入出力メモリの番地を指定するため
のアドレスバス、3は各種データの転送に用いる双方向
性のデータバス、4は各メモリ等のリード、ライト、イ
ンタラプトの受付け、データセットのタイミング等を伝
送するために用いるコントロールバスである。MPU1はタ
イマを内蔵する。
FIG. 1 shows an example of the configuration of the character processing device of the present invention. Here, 1 is, for example, a microprocessor type processing unit (MPU), 2 is an address bus for specifying the address of each input / output memory, 3 is a bidirectional data bus used for transferring various data, and 4 is This is a control bus used to read, write, accept interrupts from each memory, and transmit data set timing. MPU1 has a built-in timer.

5はアルファベットキー、平仮名キー、数字キー、リコ
ールキー、入力,編集,保存,印刷キー等の各種キーを
配設したキーボードである。6はキーボード5を制御す
るためのキーボードコントローラであり、キーボード5
によって入力したデータをエンコードすると共に、イン
タラプト信号をコントロールバス4に送出する。なお、
デコードされたキーデータは、キーバッファ6Aに一時格
納され、MPU1のアクセスに応じてコントローラ6により
エンコードされてMPU1に読込まれる。
Reference numeral 5 is a keyboard provided with various keys such as an alphabet key, a hiragana key, a numeric key, a recall key, an input, edit, save, and print key. Reference numeral 6 denotes a keyboard controller for controlling the keyboard 5.
The input data is encoded and the interrupt signal is sent to the control bus 4. In addition,
The decoded key data is temporarily stored in the key buffer 6A, encoded by the controller 6 according to the access of the MPU1, and read into the MPU1.

7はCRTコントローラであって、これによりCRTディスプ
レイ装置8、表示コントローラ9、キャラクタジェンネ
レータ10、リフレッシュメモリ11、リフレッシュメモリ
コントローラ12を制御する。表示コントローラ9は、キ
ャラクタジェネレータ10からのパターン信号を、リフレ
ッシュメモリ11内に記憶されている輝度,反転,アンダ
ーライン,点滅などの表示制御信号に従って処理し、そ
の処理ずみ出力をCRTディスプレイ装置8に供給して表
示パターンを出力する。
Reference numeral 7 denotes a CRT controller, which controls the CRT display device 8, the display controller 9, the character generator 10, the refresh memory 11, and the refresh memory controller 12. The display controller 9 processes the pattern signal from the character generator 10 according to display control signals such as brightness, inversion, underline, and blink stored in the refresh memory 11, and outputs the processed output to the CRT display device 8. Supply and output the display pattern.

キャラクタジェネレータ10は、格納されている文字パタ
ーンのうち、文字コード、文字パターンの行アドレスな
どのコード入力により指定された行についての文字パタ
ーンを順次に出力する。
The character generator 10 sequentially outputs a character pattern for a line designated by a code input such as a character code and a line address of the character pattern among the stored character patterns.

リフレッシュメモリ11は、CRTディスプレイ装置8上に
表示する文字コードおよび表示制御コードを記憶して、
CRTコントローラ7からの表示の指示に応じて、その文
字コードおよび表示制御コードを繰返し出力する。リフ
レッシュメモリコントローラ12は、CRTコントローラ7
からの指示に応じてCRT表示のための上述したリフレッ
シュサイクルとMPU1からのデータの書込みおよび読出し
を制御する。
The refresh memory 11 stores a character code and a display control code to be displayed on the CRT display device 8,
In response to a display instruction from the CRT controller 7, the character code and the display control code are repeatedly output. The refresh memory controller 12 is the CRT controller 7
In response to an instruction from, the above-mentioned refresh cycle for CRT display and the writing and reading of data from MPU1 are controlled.

13は読出し専用メモリ(ROM)であって、後述する制御
手順を格納すると共に、文字処理等各種の処理手順を記
憶する。14はそのROM13の制御を行うコントローラであ
る。
A read-only memory (ROM) 13 stores a control procedure described later and various processing procedures such as character processing. 14 is a controller for controlling the ROM 13.

31は操作者が音声入力を行うためのマイクロフォンであ
り、このマイクロフォン31を介して入力された音声につ
いて音声認識装置30は周波数分析,特徴抽出,パターン
マッチング等の処理を行って単音節を認識して、音声信
号を文字コードに変換して装置本体内に取り込む。な
お、音声認識装置30は、周波数分析において、ある単音
節の周波数帯域がそれまでに入力された複数の連続した
単音節の周波数帯域に比して高い場合には出力文字コー
ドにアクセントフラグを立てて出力する。
Reference numeral 31 is a microphone for the operator to input a voice, and the voice recognition device 30 performs processing such as frequency analysis, feature extraction, and pattern matching on the voice input through the microphone 31 to recognize a single syllable. Then, the voice signal is converted into a character code and taken into the main body of the apparatus. In the frequency analysis, the voice recognition device 30 sets an accent flag on the output character code when the frequency band of a certain single syllable is higher than the frequency bands of a plurality of consecutive single syllables input so far. Output.

15Aはランダムアクセスメモリ(RAM)であって、各種デ
ータの一時記憶を行うと共に、仮名漢字変換のための辞
書を所定領域に展開する。また、15Bは作成された文書
を格納するためのRAMである。15Cはキーバッファ6A,音
声認識部30から送出されてきたデータの格納領域(変換
用バッファ)、後述の文法処理,編集処理および作表処
理のルーチンの格納領域ならびに作業用領域を有するRA
M、16はRAM15A,RAM15BおよびRAM15Cの出力を一時格納す
る出力バッファである。17はRAM15A,RAM15BおよびRAM15
Cのコントローラである。
15A is a random access memory (RAM), which temporarily stores various data and develops a dictionary for Kana-Kanji conversion in a predetermined area. Further, 15B is a RAM for storing the created document. Reference numeral 15C is an RA having a key buffer 6A, a storage area (conversion buffer) for data sent from the voice recognition unit 30, a storage area for routines for grammar processing, editing processing, and tabulation processing described later and a work area.
M and 16 are output buffers for temporarily storing the outputs of RAM15A, RAM15B and RAM15C. 17 is RAM15A, RAM15B and RAM15
It is a C controller.

18は必要に応じて設けられた、辞書情報,文法処理ルー
チン,および作成された文書等を保存するフロッピーデ
ィスク、19はフロッピーディスク駆動装置、20はフロッ
ピーディスク駆動装置19のコントローラ、21はプリン
タ、22はプリンタ21のコントローラである。
18 is a floppy disk for storing dictionary information, grammar processing routines, created documents, etc. provided as necessary, 19 is a floppy disk drive, 20 is a controller of the floppy disk drive 19, 21 is a printer, 22 is a controller of the printer 21.

以上の構成の本発明文字処理装置は、キーボード5,図
示しないOCR(光学的読取手段)またはマイクロフォ
ン31からの入力によって作動する。すなわち、キーボー
ド5やマイクロフォン31から入力がなされると、キーボ
ードコントローラ6や音声認識部30からインタラプト信
号がコントロールバス4を介してMPU1に供給され、ROM1
3内に記憶されている制御手順に従って文字処理に必要
な各種の制御動作を行う。なお、本発明は、後述するよ
うに音声入力による文字処理を行うことに特徴を有する
が、もちろん音声入力によっては処理できない作業は例
えばキーボード5からの入力作業によって行われる。
The character processing apparatus of the present invention having the above-described configuration operates by input from the keyboard 5, an OCR (optical reading means) (not shown) or the microphone 31. That is, when an input is made from the keyboard 5 or the microphone 31, an interrupt signal is supplied from the keyboard controller 6 or the voice recognition unit 30 to the MPU 1 via the control bus 4, and the ROM 1
Performs various control operations required for character processing in accordance with the control procedure stored in 3. Although the present invention is characterized in that character processing is performed by voice input as will be described later, of course work that cannot be processed by voice input is performed by input work from the keyboard 5, for example.

第2図はキーボード5のキー配置構成の一例を示す。こ
こで、5Aは文字,数字の入力キー群、5Bは文書について
の処理モードの選択を行うためのキー群であり、例え
ば、“印刷”キーの押下に応じてプリンタ21を用いた印
刷処理がなされるようにする。また、“音声入力”キー
の押下により音声認識装置30の出力がデータバスとつな
がるように入力モードスイッチ32が閉じる(オンにな
る)。入力モードスイッチ32はMPU1によってオンオフが
制御される。5Cはスペースキー、5dはCRT画面上のカー
ソル移動キー群である。
FIG. 2 shows an example of the key arrangement of the keyboard 5. Here, 5A is a group of input keys for letters and numbers, and 5B is a group of keys for selecting a processing mode for a document. For example, when a "print" key is pressed, a printing process using the printer 21 is performed. To be done. Further, when the "voice input" key is pressed, the input mode switch 32 is closed (turned on) so that the output of the voice recognition device 30 is connected to the data bus. On / off of the input mode switch 32 is controlled by the MPU 1. 5C is a space key, and 5d is a cursor movement key group on the CRT screen.

第3図は本発明文字処理装置の音声入力動作の一例を示
す。第3図に示すように、ステップS1において、音声入
力があるか否かを判断する。例えば発音で“わ”“た”
“し”“わ”と入力されると、音声認識装置30から入力
に対応したかな文字コード列(わたしわ)が出力され、
ステップS2にすすむ。同様に例えば発音“は”“な”
“お”の場合は文字コード列(はなお)が出力され、ス
テップS2にすすむ。
FIG. 3 shows an example of a voice input operation of the character processing device of the present invention. As shown in FIG. 3, in step S1, it is determined whether or not there is a voice input. For example, pronunciation "wa""ta"
When "shi""wa" is entered, the kana character code string (Iwa) corresponding to the input is output from the voice recognition device 30,
Proceed to step S2. Similarly, for example, pronunciation “wa” “na”
In the case of "o", the character code string (still) is output, and the process proceeds to step S2.

ステップS2において音声認識装置30からの文字コードが
RAM15C内の変換用バッファ領域に入力される。このバッ
ファ領域は例えば8文字分の容量持つ。ついでステップ
S3にすすみ、MPU1内のタイマ(retrigavable型)を起動
する。ついでステップS4にすすみ、変換用バッファ内全
部の番地に文字コードが入力されているか否かを判断す
る。バッファ内全部に文字コードが入力されている場合
はステップS5にすすみ、そうでない場合はステップS1に
もどる。前述の例では変換用バッファ内全部の番地に文
字コードが入力されていないから、ステップS1にもど
る。そして、次の入力がなければステップS6にすすみ、
タイマがタイムアウトしたかを判断する。タイマが起動
してからタイムアウトするまでの時間は、例えば1〜2
秒程度とすることができる。ステップS6においてタイム
アウトしていない場合はステップS1にもどり、タイムア
ウトした場合にはステップS7にすすむ。
In step S2, the character code from the voice recognition device 30
It is input to the conversion buffer area in RAM15C. This buffer area has a capacity of, for example, 8 characters. Then step
Go to S3 and start the timer (retrigavable type) in MPU1. Next, in step S4, it is determined whether or not the character code is input to all the addresses in the conversion buffer. If character codes have been entered in all of the buffer, proceed to step S5. If not, return to step S1. In the above example, since character codes have not been input to all addresses in the conversion buffer, the process returns to step S1. If there is no next input, proceed to step S6,
Determine if the timer has timed out. The time from the start of the timer to the time-out is, for example, 1 to 2
It can be on the order of seconds. If it has not timed out in step S6, it returns to step S1, and if it has timed out, it proceeds to step S7.

ステップS7においては変換用バッファ内の最後の文字コ
ードの次にタイムアウトコード を入力し、ステップS5にすすむ。
In step S7, a timeout code follows the last character code in the conversion buffer. Enter, and proceed to step S5.

ステップS5においては、変換用バッファ内の文字コード
列をとり出してRAM15A内の辞書を参照してかな漢字変換
する。例えば文字コード列(わたしわ)は漢字かな混じ
り文(私わ)に変換され、同様に文字コード列(はな
お)は漢字かな混じり文(花お)に変換される。
In step S5, the character code string in the conversion buffer is extracted, and the kana-kanji conversion is performed by referring to the dictionary in the RAM 15A. For example, a character code string (Iwa) is converted into a kanji / Kana mixed sentence (Iwa), and similarly, a character code string (Hana) is converted into a Kanji / Kana mixed sentence (Hanao).

ついでステップS8にすすみ、ステップS5において得られ
た漢字かな混じり文にアクセントフラグが付いているか
を判断する。アクセントフラグがついていればステップ
S9にすすみ、ついていなればステップS10にすすむ。例
えば単音節の連続的な発音で“わ”“た”“し”“で”
“す”“か”と音声入力し、その後タイマがタイムアウ
トするまで音声入力がなく(タイムアウトコード付
加)、しかも最後の“か”の発音のそれまでより高いア
クセントをつけた場合には(このような場合には、通常
“か”の発音の後が途切れる)、ステップS5において漢
字かな混じり文(私ですか)が得られ、ついでステップ
S8からステップS9にすすみ、そこで漢字かな混じり文
(私ですか)の後のタイムアウトコード を削除してマーク“?”を漢字かな混じり文の後に付け
(すなわち、例えば(私ですか?))、ステップS10に
すすむ。
Next, in step S8, it is determined whether the kanji / kana mixed sentence obtained in step S5 has an accent flag. Step if accent flag is attached
Proceed to S9, and if not, proceed to step S10. For example, continuous pronunciation of a single syllable means “wa” “ta” “shi” “de”
If you type in "su""ka" and then there is no voice input until the timer times out (timeout code added), and if you add a higher accent to the last "ka" pronunciation (such as In this case, the pronunciation of "ka" is usually interrupted), and in step S5 a kanji / kana mixed sentence (is it me) is obtained, and then step
Proceed from S8 to step S9, where the timeout code after the kanji-kana mixed sentence (I am) Is deleted and the mark “?” Is added after the kana-kana mixed sentence (that is, for example, (Is it?)), And the process proceeds to step S10.

ステップS10においては、漢字かな混じり分の最後が
“わ”,“お”または“え”かを判断し、そうであれば
(Yes)ステップS11にすすみ、そうでなければ(No)ステッ
プS12にすすむ。例えば漢字かな混じり文が(私わ),
(花お)の場合は、ステップS11にすすみ、(私ですか
?)の場合は、ステップS12にすすむ。
In step S10, it is determined whether the end of the kanji and kana mixture is "wa,""o," or "e."
(Yes) proceeds to step S11, and (No) proceeds to step S12. For example, a kanji-kana mixed sentence (I),
In the case of (Hanao), proceed to step S11, and in the case of (Is it?) Proceed to step S12.

ステップS11においては、漢字かな混じり文の後がタイ
ムアウトコード またはマーク“?”かを判断し、該当する場合はステッ
プS13にすすみ、該当しない場合はステップS14にすす
む。
In step S11, the time-out code is after the kanji-kana mixed sentence. Alternatively, it is determined whether the mark is "?", And if it is applicable, the process proceeds to step S13, and if not, the process proceeds to step S14.

例えば漢字かな混じり文(私わ)+タイムアウトコード の場合は、該当するので、ステップS13にすすむ。For example, kanji and kana mixed sentences (I) + timeout code In the case of No, since it corresponds, proceed to step S13.

ステップS13においては漢字かな混じり文の最後の文字
“お”,“わ”および“え”をそれぞれ文字“を”,
“は”および“へ”に変換し、ステップS14にすすむ。
例えば漢字かな混じり文(私わ)の場合は(私は)に変
換され、(花お)の場合は(花を)に変換される。
In step S13, the last characters "O", "Wa", and "E" of the kanji-kana mixed sentence are the characters "o",
Convert to "ha" and "to" and proceed to step S14.
For example, a kanji-kana mixed sentence (I) is converted into (I), and a (Hanao) is converted into (Hana).

ステップS12においては、漢字かな混じり文の後がタイ
ムアウトコード かを判断し、そうであれば(Yes)ステップS15にすすみ、
そうでなければ(No)ステップS14にすすむ。例えば、前
述の(私ですか?)の場合はNoであるのでステップS14
にすすむ。また例えば、高音声入力(発音)が“ゆ”
“か”“に”の場合であって、その後タイムアウトする
まで入力が途切れた場合は、文字コードにタイムアウト
コード が付加され(ステップS7)、かな漢字変換されて(ステ
ップS5)、漢字かな混じり文 が得られ、ついでステップS10を経て、ステップS12にす
すみ、そこで、漢字かな混じり分の後が であると判断されてステップS15にすすむ。
In step S12, the time-out code follows the kana-kana mixed sentence. If yes, proceed to (Yes) step S15,
Otherwise (No), proceed to Step S14. For example, in the case of the above (Is it?), No, so step S14
I will proceed. Also, for example, high voice input (pronunciation) is "Yu"
In the case of "or""to", if the input is interrupted until it times out after that, the timeout code is added to the character code. Is added (step S7), kana-kanji conversion is performed (step S5), and kanji-kana mixed sentences are added. Then, after step S10, proceed to step S12, where the kanji and kana mixture Is determined to proceed to step S15.

ステップS15においては、タイムアウトコード の前の文が名詞,格助詞,接続助詞または副助詞かを判
断し、そうであれば(Yes)ステップS16にすすみ、そうで
なければ(No)ステップS17にすすむ。例えば漢字かな混
じり文 の場合は、(に)が格助詞であるのでYesでありステッ
プS16にすすむ。
In step S15, the timeout code It is judged whether the sentence before is a noun, a case particle, a connecting particle or an adverb, and if so (Yes), it proceeds to step S16, and if not, it proceeds to (No) step S17. For example, kanji and kana mixed sentences In the case of, since (ni) is a case particle, it is Yes and the process proceeds to step S16.

ステップS16においては漢字かな混じり文の後のタイム
アウトコード を読点“、”に変換して、ステップS14にすすむ。例え
ば漢字かな混じり文 の場合は、漢字かな混じり文(床に、)が得られる。
In step S16, the time-out code after the kanji-kana mixed sentence Is converted into a reading mark "," and the process proceeds to step S14. For example, kanji and kana mixed sentences In the case of, a kanji-kana mixed sentence (on the floor) is obtained.

ステップS17においては漢字かな混じり文の後のタイム
アウトコード を句点“。”に変換して、ステップS14にすすむ。例え
ば、音声入力(発音)が“お”“く”の場合であって、
その後タイマがタイムアウトするまで入力がなかった場
合は、文字コードにタイムアウトコード が付加され(ステップS7、かな漢字変換されて(ステッ
プS5)、漢字かな混じり文 が得られ、ついでステップS10を経てステップS15にすす
み、そこで の前の漢字かな混じり文が名詞、格助詞、接続助詞また
は副助詞でないと判断されて、ステップS17にすすみ、
ステップS17において、 の前が終止形であると判断され、 を句点“。”に変換して、漢字かな混じり文(置く。)
が得られる。
In step S17, the time-out code after the kanji-kana mixed sentence Is converted to a punctuation mark ".", And the process proceeds to step S14. For example, when the voice input (pronunciation) is "O" or "Ku",
After that, if there is no input until the timer times out, the timeout code is added to the character code. Is added (step S7, kana-kanji conversion is performed (step S5), kanji-kana mixed sentence Is obtained, and then proceeds to step S15 through step S10, where It is determined that the kanji-kana mixed sentence in front of is not a noun, case particle, connecting particle or sub particle, and the procedure proceeds to step S17.
In step S17, Is judged to be the final form, Is converted to a punctuation mark ".", And a kanji-kana mixed sentence (put.)
Is obtained.

ステップS14においては、以上のようにして得られた漢
字かな混じり文を出力バッファ16に出力,CRTに表示等
の出力処理を行ってステップS1にもどる。以上の作業に
よって、例えば、音声入力(発音)として“わ”“た”
“し”“わ”/タイマがタイムアウトする時間/“は”
“な”“お”/タイマがタイムアウトする時間/“ゆ”
“か”“に”/タイマがタイムアウトする時間/“お”
“く”とするだけで、漢字かな混じり文(私は花を床
に、置く。)が得られる(第5図参照)。また、発音
“わ”“た”“し”“で”“す”“か”(ただし、
“か”にアクセントがついた場合)を入力すると、漢字
かな混じり文(私ですか?)が得られる(第6図参
照)。
In step S14, the kanji-kana mixed sentence obtained as described above is output to the output buffer 16, and output processing such as display on the CRT is performed, and the process returns to step S1. Through the above work, for example, "wa" and "ta" as voice input (pronunciation)
"Shi""wa" / timeout of timer / "wa"
"Na""o" / time out of timer / "yu"
"A" or "to" / Timer time out / "O"
You can get a kanji-kana mixed sentence (I put flowers on the floor) just by typing "ku" (see Fig. 5). In addition, pronunciation “wa” “ta” “shi” “de” “su” “ka” (however,
If you input "ka" with an accent), you will get a kanji-kana mixed sentence (I am?) (See Figure 6).

第4図は本発明文字処理装置の動作の他の一例を示す。
第4図に示すようにステップS41において、入力モード
スイッチがオンかを判断し、オンならばステップS42に
すすみ、オフならばもとにもどる。ステップS2において
は、MPU1に内蔵のタイマをスタートさせ、ステップS43
にすすむ。ステップS43においては、第3図において説
明した音声入力処理を行い(ステップS1からステップS1
4まで)、ついでステップS44にすすむ。ステップS44に
おいては音声入力ありかを判断し、ありの場合はステッ
プS45にすすんでタイマをリセットし、ステップS42に戻
る。音声入力なしの場合はステップS46にすすんで、タ
イマスタートからの経過時間tが所定の時間T(例
えば30秒〜1分)より大きいかを判断する。大きければ
ステップS47にすすんで入力モードスイッチをオフす
る。大きくなければステップS44にもどる。
FIG. 4 shows another example of the operation of the character processing device of the present invention.
As shown in FIG. 4, in step S41, it is determined whether the input mode switch is on. If it is on, the process proceeds to step S42, and if it is off, the process returns to the original state. In step S2, the timer built into MPU1 is started, and in step S43
I will proceed. In step S43, the voice input process described in FIG. 3 is performed (steps S1 to S1).
4), and then proceed to step S44. In step S44, it is determined whether or not there is a voice input. If yes, the process proceeds to step S45 to reset the timer, and the process returns to step S42. If there is no voice input, the process proceeds to step S46, and it is determined whether the elapsed time t 1 from the timer start is longer than a predetermined time T 1 (for example, 30 seconds to 1 minute). If it is larger, the process proceeds to step S47 and the input mode switch is turned off. If not larger, the process returns to step S44.

以上によって、音声入力が一定時間以上なかった場合に
は音声入力モードを自動的にオフにすることができ、し
たがって、マイクロホン周囲雑音等によって誤入力する
おそれを有効に回避することができる。
As described above, the voice input mode can be automatically turned off when the voice input has not been performed for a certain period of time or more, and therefore the possibility of erroneous input due to microphone ambient noise or the like can be effectively avoided.

なお、以上の入力モードの自動オフ動作は、例えば、音
声入力情報が、終止形かを判断し、そうであるときはタ
イマをスタートさせ、一定時間次の終止形の音声入力情
報が入力されなければ入力モードスイッチをオフにする
ようにすることもできる。
Note that, in the above-described automatic off operation of the input mode, for example, it is determined whether the voice input information is the end type, and if so, the timer is started, and the voice input information of the next end type must be input for a certain period of time. For example, the input mode switch can be turned off.

[効果] 以上説明したように、本発明によれば、入力された音声
から文字列の切れ目を認識し、認識された文字列の切れ
目の前の文字列の種類を判断して、その種類に応じて認
識結果のコード情報を変換する文字処理方法によって、
入力音声を認識して得られる情報以上の、文書の表記に
適した情報を得られ、きわめて効率的な音声入力が可能
となるという効果がある。
[Effect] As described above, according to the present invention, the break of a character string is recognized from the input voice, the type of the character string before the break of the recognized character string is determined, and the type is determined. Depending on the character processing method that converts the code information of the recognition result according to
There is an effect that information more suitable than the information obtained by recognizing the input voice can be obtained for the notation of the document, and the voice input can be performed extremely efficiently.

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

第1図は本発明文字処理装置の構成の一例を示す図、 第2図はキーボードの配置構成を示す図、 第3図は本発明文字処理装置の音声入力動作の一例を示
す図、 第4図は本発明文字処理装置の音声入力動作の他の一例
を示す図、 第5図および第6図は本発明による音声入力作業態様を
示す図である。 1…MPU、 13…ROM、 15A,15B,15C…RAM、 30…音声認識装置。
FIG. 1 is a diagram showing an example of the configuration of a character processing device of the present invention, FIG. 2 is a diagram showing an arrangement configuration of a keyboard, FIG. 3 is a diagram showing an example of a voice input operation of the character processing device of the present invention, and FIG. The figure shows another example of the voice input operation of the character processing device of the present invention, and FIGS. 5 and 6 are diagrams showing the voice input work mode according to the present invention. 1 ... MPU, 13 ... ROM, 15A, 15B, 15C ... RAM, 30 ... Speech recognition device.

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】入力された音声情報から文字列と文字列の
切れ目を認識し、 前記認識された文字列と文字列の切れ目を表すコード情
報を記憶し、 前記記憶された文字列の切れ目を表すコード情報の前に
記憶されているコード情報が表す文字列の種類を判断
し、 前記判断に応じて前記記憶されているコード情報を変換
することを特徴とする文字処理方法。
1. A character string and a break in a character string are recognized from input voice information, and the recognized character string and code information representing the break in the character string are stored, and the break in the stored character string is stored. A character processing method, comprising: determining a type of a character string represented by code information stored before the represented code information, and converting the stored code information according to the determination.
【請求項2】前記文字列の種類が所定の文字列であると
判断される場合、該文字列を対応して予め定められた他
の文字列を表すコード情報に変換することを特徴とする
特許請求の範囲第1項記載の文字処理方法。
2. When the type of the character string is determined to be a predetermined character string, the character string is converted into code information representing another predetermined character string corresponding thereto. The character processing method according to claim 1.
【請求項3】前記文字列の種類に応じて、前記文字列の
切れ目を表すコード情報を、句点を表すコード情報に変
換することを特徴とする特許請求の範囲第1項記載の文
字処理方法。
3. The character processing method according to claim 1, wherein the code information representing a break in the character string is converted into code information representing a punctuation mark according to the type of the character string. .
【請求項4】前記文字列の種類に応じて、前記文字列の
切れ目を表すコード情報を、読点を表すコード情報に変
換することを特徴とする特許請求の範囲第1項記載の文
字処理方法。
4. The character processing method according to claim 1, wherein code information representing a break in the character string is converted into code information representing a reading point according to the type of the character string. .
JP60017168A 1985-01-31 1985-01-31 Character processing method Expired - Lifetime JPH0664571B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60017168A JPH0664571B2 (en) 1985-01-31 1985-01-31 Character processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60017168A JPH0664571B2 (en) 1985-01-31 1985-01-31 Character processing method

Publications (2)

Publication Number Publication Date
JPS61175851A JPS61175851A (en) 1986-08-07
JPH0664571B2 true JPH0664571B2 (en) 1994-08-22

Family

ID=11936425

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60017168A Expired - Lifetime JPH0664571B2 (en) 1985-01-31 1985-01-31 Character processing method

Country Status (1)

Country Link
JP (1) JPH0664571B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63111568A (en) * 1986-10-29 1988-05-16 Nec Corp Kana/kanji converter with voice input
JPH0778791B2 (en) * 1987-02-17 1995-08-23 シャープ株式会社 Character processor

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5962949A (en) * 1982-09-30 1984-04-10 Sharp Corp Voice input type japanese document processor
JPS6184772A (en) * 1984-10-03 1986-04-30 Hitachi Ltd Audio typewriter

Also Published As

Publication number Publication date
JPS61175851A (en) 1986-08-07

Similar Documents

Publication Publication Date Title
US4891786A (en) Stroke typing system
US7080002B1 (en) Bi-lingual system and method for automatically converting one language into another language
JPS634206B2 (en)
JPH0664571B2 (en) Character processing method
JPS61175849A (en) Character processor
JP2786260B2 (en) Kana-Kanji conversion device
JPS61175850A (en) Character processor
JPS5832418B2 (en) Kanji-mixed sentence input device
JPH0241696Y2 (en)
JPH0154744B2 (en)
JPH10143503A (en) Speech word processor
JPH0319005Y2 (en)
JPS60238967A (en) Display processing system for kana and kanji conversion result
JPH06103457B2 (en) Voice typewriter
JPS6325762A (en) Voice output word processor
JPS6022387B2 (en) small electronic translator
JPS60245074A (en) Automatic agate display system
JPH0340418B2 (en)
JPH0477856A (en) Character processor containing ruby converting function
JPH028956A (en) Document processor
JPH027161A (en) Character processor
JPH0727359B2 (en) Character processor
JPH0355588A (en) Learning assisting device
JPH08329065A (en) Character processor
JPS61175767A (en) Japanese word processor

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term