JPS6231475A - Natural language processor - Google Patents

Natural language processor

Info

Publication number
JPS6231475A
JPS6231475A JP60170821A JP17082185A JPS6231475A JP S6231475 A JPS6231475 A JP S6231475A JP 60170821 A JP60170821 A JP 60170821A JP 17082185 A JP17082185 A JP 17082185A JP S6231475 A JPS6231475 A JP S6231475A
Authority
JP
Japan
Prior art keywords
sentence
sentence analysis
analysis information
analysis
input
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.)
Pending
Application number
JP60170821A
Other languages
Japanese (ja)
Inventor
Minoru Fujita
稔 藤田
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 JP60170821A priority Critical patent/JPS6231475A/en
Publication of JPS6231475A publication Critical patent/JPS6231475A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the input efficiency of sentences by changing the grammar rules and dictionaries of natural languages for analysis with input of plural natural languages mixed and therefore attaining the quick and easy input of sentences. CONSTITUTION:A sentence supplied through a microphone 1 is recognized by a voice recognizing part 2 and held by a sentence holding part 3 to be judged. If a switch 4 is pushed in said judgement process, the procedure proceeds to a switching process for sentence analysis information. While the procedure proceeds to a sentence analysis processing if the switch 4 is not pushed. In the switching process for sentence analysis information, a sentence analysis information selecting part 7 is switched in a prescribed cycle and the next sentence analysis information held by a sentence analysis information holding part 8 is supplied to a sentence analysis part 5. When these processes are through, the procedure proceeds to sentence analysis processing to analyze the sentence held by the part 3 by a sentence analyzing part 5 via the part 7 and by means of the supplied sentence analysis information. The result of this analysis is delivered to a sentence analysis result holding part 6.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は自然言語処理装置、特に日本語、英語等の自然
言語に関連する情報の処理を行う自然言語処理装置に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a natural language processing device, and particularly to a natural language processing device that processes information related to natural languages such as Japanese and English.

[従来の技術] 一般に自然言語処理装置では、入力される文を特定の自
然言語と仮定し、その自然言語の文法規則や辞書を用い
て入力された文を処理するのが通常である。しかしなが
ら、この場合には、入力として特定の1つの自然言語を
仮定しているものであるから、複数の自然言語が混在し
て入力されたときには処理ができなくなるという欠点が
あった。
[Prior Art] In general, natural language processing devices usually assume that an input sentence is a specific natural language, and process the input sentence using the grammatical rules and dictionaries of that natural language. However, in this case, since one specific natural language is assumed as input, there is a drawback that processing cannot be performed when a plurality of natural languages are mixed and input.

[発明が解決しようとする問題点] そこで、本発明の目的は、複数種類の自然言語が混在し
て入力される場合に、入力される自然言語に合わせた文
法規則や辞書を適切に選択して自然言語を処理すること
ができるようにした自然言語処理装置を提供することに
ある。
[Problems to be Solved by the Invention] Therefore, an object of the present invention is to appropriately select grammar rules and dictionaries that match the input natural language when a mixture of multiple types of natural languages is input. An object of the present invention is to provide a natural language processing device that can process natural language using the following methods.

[問題点を解決するための手段] このような目的を達成するために、本発明では1文を保
持する文保持手段と、文保持手段に保持されている文を
解析する文解析手段と、文解析に使用する言語情報を保
持する解析用情報保持手段と、解析用情報を選択する解
析用情報選択手段と、解析用情報を切換える切換手段と
を備えたことを特徴とする。
[Means for solving the problem] In order to achieve such an objective, the present invention includes a sentence holding means for holding one sentence, a sentence analysis means for analyzing the sentence held in the sentence holding means, The present invention is characterized by comprising an analysis information holding means for holding linguistic information used for sentence analysis, an analysis information selection means for selecting the analysis information, and a switching means for switching the analysis information.

[作用] 本発明によれば、複数の自然言語が混在して入力される
場合に、自然言語の分法規則や辞書を切換えて解析する
ようにしたので、速く容易に文を入力することができ、
麦入力作業を能率よく行うことができる。
[Operation] According to the present invention, when a plurality of natural languages are mixed and input, the natural language division rules and dictionaries are switched and analyzed, so it is possible to input sentences quickly and easily. I can do it,
Wheat input work can be done efficiently.

[実施例] 以下に1図面を参照して本発明の詳細な説明する。[Example] The invention will now be described in detail with reference to one drawing.

第1図は本発明の一実施例を示し、ここで、lは文を音
声入力するためのマイクロフォン、2はマイクロフォン
1より入力された音声を認識するための音声認識部、3
は音声認識部2により認識された文を保持するための文
保持部、4はマイクロフォン1に付設されており、文解
析用情報選択ll&7を制御するスイー2チ4である。
FIG. 1 shows an embodiment of the present invention, where l is a microphone for inputting a sentence by voice, 2 is a voice recognition unit for recognizing the voice input from the microphone 1, and 3 is a voice recognition unit for recognizing the voice input from the microphone 1.
1 is a sentence holding section for holding sentences recognized by the speech recognition section 2, and 4 is a switch 4 attached to the microphone 1 to control the sentence analysis information selection 11&7.

5は文保持部3に保持されている文を解析する文解析部
であり、演算処理を行うCPUや第2図のフローチャー
トに従った制御プログラムが格納されるROIIIを含
む、6は文解析部5の解析結果を保持する文解析結果保
持部、7は文解析に用いる文解析用情報の切換を行う文
解析用情報選択部である。8は自然言語の解析に必要な
文法規則、辞書などの言語情報を日米語用8J、英語用
8Eなどのように言語ごとに保持する文解析用情報保持
部である。9は表示器であり、文解析結果保持部6のデ
ータおよび文保持部3のデータを表示する。
5 is a sentence analysis unit that analyzes the sentences held in the sentence holding unit 3, and includes a CPU that performs arithmetic processing and an ROI in which a control program according to the flowchart in FIG. 2 is stored; 6 is a sentence analysis unit A sentence analysis result holding section 5 holds the analysis results, and a sentence analysis information selection section 7 switches the sentence analysis information used for sentence analysis. Reference numeral 8 denotes a sentence analysis information holding unit that holds linguistic information such as grammatical rules and dictionaries necessary for natural language analysis for each language, such as 8J for Japanese and American languages and 8E for English. Reference numeral 9 denotes a display device that displays the data of the sentence analysis result holding section 6 and the data of the sentence holding section 3.

次に第1図に示した装置の動作について、第2図に示す
動作フローを参照して説明する。
Next, the operation of the apparatus shown in FIG. 1 will be explained with reference to the operation flow shown in FIG. 2.

第2図において、先ず「スタート」よりステップSlの
ジャッジに移る。ステップSlでは、マイクロフォンl
より入力された文が音声認識部2により認識され、文保
持部3に保持されたか否かを判断し、保持された場合に
はステー7プS2のジャッジに移る。ステップStでは
1文が文保持部3に保持されていない場合にはステップ
1を繰り返す。
In FIG. 2, first, the process moves from "Start" to the judgment in step Sl. In step Sl, the microphone l
The input sentence is recognized by the speech recognition section 2, and it is determined whether or not it is held in the sentence holding section 3. If the sentence is held, the process moves to step S7 to judge. In step St, if one sentence is not held in the sentence holding unit 3, step 1 is repeated.

次に、ステップS2のジャッジでは、スイッチ4の押下
があった場合にはステップS3の文解析用情報切換処理
へ進み、スイッチ4の押下がなかった場合にはステップ
S4の文解析処理へ移る。
Next, in the judgment in step S2, if the switch 4 has been pressed, the process proceeds to step S3, which is a sentence analysis information switching process, and if the switch 4 has not been pressed, the process proceeds to step S4, which is a sentence analysis process.

ステップS3では1文解析用情報選択部7を所定周期で
サイクリックに切換えて、文解析用情報保持部8に保持
されている次の文解析用情報を文解析部5に供給する。
In step S3, the one-sentence analysis information selection unit 7 is cyclically switched at a predetermined period to supply the next sentence analysis information held in the sentence analysis information holding unit 8 to the sentence analysis unit 5.

ステップS3におけるこのような文解析用情報切換処理
が終了すると、ステップS4の文解析処理に移る。
When such sentence analysis information switching processing in step S3 is completed, the process moves to sentence analysis processing in step S4.

ステップS4では、文保持部3に保持されている文を、
文解析情報選択部7を介して供給されている文解析用情
報を用いて、文解析部5において文解析処理を行い、そ
の結果を文解析結果保持部Bに出力する0以上の文解析
処理が終了すると、ステップSlのジャッジに戻る。
In step S4, the sentence held in the sentence holding unit 3 is
Zero or more sentence analysis processes that perform sentence analysis processing in the sentence analysis section 5 using the sentence analysis information supplied via the sentence analysis information selection section 7, and output the results to the sentence analysis result holding section B. When the process is completed, the process returns to the judgment in step Sl.

なお、上記実施例においては、文解析用情報はサイクリ
ックに切換えられる場合について説明したが、日本語ス
イッチ、英語スイー2チなど文解析用情報に対応したス
イッチを設けてこれを直接指定して文解析用情報を切換
えてもよい。
In the above embodiment, the sentence analysis information is switched cyclically, but it is also possible to provide a switch corresponding to the sentence analysis information, such as a Japanese switch or an English switch, and directly specify it. The sentence analysis information may also be switched.

また、上記実施例においては1文解析用情報はサイクリ
ックに切換えられる場合について説明したが、文解析用
情報が2種類だけでよいときにはスイー2千の押下して
いるときのみ第2番目の文解析用情報に切換り、押下さ
れていないときは第1番目の文解析用情報に接続されて
いるとしてもよい。
In addition, in the above embodiment, the case where the one-sentence analysis information is switched cyclically has been explained, but when only two types of sentence analysis information are required, the second sentence is switched only when the Sweep 2000 button is pressed. The button may be switched to the analysis information and connected to the first sentence analysis information when the button is not pressed.

あるいはまた、上記実施例において1文解析用情報が日
本語と英語であるとして説明してきたが、その他、例え
ば1日本語の話し言葉と書き言葉、あるいは標準語と方
言としてもよいものである。
Alternatively, in the above embodiment, the information for one sentence analysis has been described as being Japanese and English, but it may also be one Japanese spoken and written, or one standard language and dialect.

さらに、上記実施例においては、文解析用情報が2つで
ある場合について説明したが、3つ以上の場合でもよい
ことは勿論である。
Further, in the above embodiment, the case where there are two pieces of sentence analysis information has been described, but it goes without saying that there may be three or more pieces of information.

さらにまた、上記実施例においては文解析用情報を選択
するスイッチ4をマイクロフォン1に付設した場合につ
いて説明したが、その他に、例えば専用のキーボードを
別個に設けてもよい。
Furthermore, in the above embodiment, a case has been described in which the switch 4 for selecting sentence analysis information is attached to the microphone 1, but in addition to this, for example, a dedicated keyboard may be separately provided.

さらに加えて、上記実施例においては、文をマイクロフ
ォンから入力する場合についてのみ説明したが、未発明
は、キーボード、文字認識装置などを用いて入力しても
よいこと勿論である。
Additionally, in the above embodiments, only the case where sentences are input through a microphone has been described, but it is of course possible to input sentences using a keyboard, a character recognition device, etc.

[発明の効果] 以上のように、本発明によれば、複数の自然言語が混在
して入力される場合に、自然言語の分法規則や辞書を切
換えて解析するようにしたので、速く容易に文を入力す
ることができ、文人力作業を催事よく行うことができる
[Effects of the Invention] As described above, according to the present invention, when a plurality of natural languages are mixed and input, analysis is performed by switching the natural language division rules and dictionaries. You can enter sentences into the computer, and you can perform literary works well.

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

第1図はこの発明の一実施例を示す自然言語処理装置の
ブロック図、 第2図は第1図の実施例の制御手順の一例を示すフロー
チャートである。 ■・・・マイクロフォン。 2・・・音声認識部、 3・・・文保持部、 4・・・スイッチ、 5・・・文解析部、 6・・・文解析結果保持部、 7・・・文解析用情報選択部、 8・・・文解析用情報保持部。
FIG. 1 is a block diagram of a natural language processing device showing an embodiment of the present invention, and FIG. 2 is a flowchart showing an example of a control procedure of the embodiment of FIG. ■...Microphone. 2... Speech recognition section, 3... Sentence holding section, 4... Switch, 5... Sentence analysis section, 6... Sentence analysis result holding section, 7... Sentence analysis information selection section , 8... Sentence analysis information holding unit.

Claims (1)

【特許請求の範囲】 文を保持する文保持手段と、 該文保持手段に保持されている文を解析する文解析手段
と、 前記文解析に使用する言語情報を保持する解析用情報保
持手段と、前記解析用情報を選択する解析用情報選択手
段と、 前記解析用情報を切換える切換手段とを備えたことを特
徴とする自然言語処理装置。
[Scope of Claims] Sentence holding means for holding sentences; sentence analysis means for analyzing sentences held in the sentence holding means; and analysis information holding means for holding linguistic information used in the sentence analysis. A natural language processing device comprising: an analysis information selection means for selecting the analysis information; and a switching means for switching the analysis information.
JP60170821A 1985-08-02 1985-08-02 Natural language processor Pending JPS6231475A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60170821A JPS6231475A (en) 1985-08-02 1985-08-02 Natural language processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60170821A JPS6231475A (en) 1985-08-02 1985-08-02 Natural language processor

Publications (1)

Publication Number Publication Date
JPS6231475A true JPS6231475A (en) 1987-02-10

Family

ID=15911954

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60170821A Pending JPS6231475A (en) 1985-08-02 1985-08-02 Natural language processor

Country Status (1)

Country Link
JP (1) JPS6231475A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63211463A (en) * 1987-02-27 1988-09-02 Canon Inc Natural language processor
JPH04167176A (en) * 1990-10-31 1992-06-15 Nec Corp Speech recognition device
JPH0950442A (en) * 1995-08-08 1997-02-18 Fuji Xerox Co Ltd Multilanguage document registration retrieval device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63211463A (en) * 1987-02-27 1988-09-02 Canon Inc Natural language processor
JPH04167176A (en) * 1990-10-31 1992-06-15 Nec Corp Speech recognition device
JPH0950442A (en) * 1995-08-08 1997-02-18 Fuji Xerox Co Ltd Multilanguage document registration retrieval device

Similar Documents

Publication Publication Date Title
KR910008456B1 (en) Machine translation processing apparatus
EP1986107A2 (en) Translation system, translation program, and bilingual data generation method
JP2002169588A (en) Text display device, text display control method, storage medium, program transmission device, and reception supporting method
JPS61184685A (en) Translation information adding system
JPS6231475A (en) Natural language processor
JP2993872B2 (en) Multimodal information integration analyzer
JP3762300B2 (en) Text input processing apparatus and method, and program
JP2007212658A (en) Character input device
JPS63211463A (en) Natural language processor
JPS62115572A (en) Natural language processor
JPH04232997A (en) System for displaying result of recognition in speech recognition device
JPH03244077A (en) Translation assisting device
JPH03282874A (en) Document preparation device
JPH09198379A (en) Chinese language processor
JPH05342197A (en) Japanese word processor
JPH03110672A (en) Machine translation device
JPH0612449A (en) System and method for machine translation
JPS62272358A (en) Display system for interruption of translation in translating device
JPH04152458A (en) Word processor
JPH06187370A (en) Document read assisting device
JPH03201058A (en) Japanese sentence processor
JPH03221999A (en) Voice recognizing device
JPH07219583A (en) Method and device for speech processing
JPH01181152A (en) Document production back-up device
JPH03253937A (en) Speech recognizing system