JPH01200469A - document processing device - Google Patents

document processing device

Info

Publication number
JPH01200469A
JPH01200469A JP63024033A JP2403388A JPH01200469A JP H01200469 A JPH01200469 A JP H01200469A JP 63024033 A JP63024033 A JP 63024033A JP 2403388 A JP2403388 A JP 2403388A JP H01200469 A JPH01200469 A JP H01200469A
Authority
JP
Japan
Prior art keywords
word
sentence
uppercase
character
letters
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
JP63024033A
Other languages
Japanese (ja)
Inventor
Hideo Shibaoka
英夫 柴岡
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 JP63024033A priority Critical patent/JPH01200469A/en
Publication of JPH01200469A publication Critical patent/JPH01200469A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。
(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は作成文書中の単語中の小文字と大文字の組合せ
の誤りを自動的に一括修正することの可能な文書処理装
置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a document processing device that can automatically and collectively correct errors in combinations of lowercase and uppercase letters in words in a created document.

[従来の技術] 一般に文書処理装置は、ワードプロセッサとも呼ばれ、
文字情報をキーボードから入力して文書を作成した後、
作成文書の文字の挿入、変換、削除等の編集処理が可能
な装置として知られている。
[Prior Art] Generally, a document processing device is also called a word processor.
After creating a document by entering text information from the keyboard,
It is known as a device that can perform editing processes such as inserting, converting, and deleting characters in a created document.

このような文書処理装置を用いて、大文字と小文字を有
する文字2例えば欧文文字の文書を作成する場合には、
操作者には大文字と小文字の入力に関するキー操作が煩
雑であるという問題点があった。
When using such a document processing device to create a document containing uppercase and lowercase characters, for example, Roman characters,
There was a problem in that the key operations involved in inputting uppercase and lowercase letters were complicated for the operator.

この点について詳しく説明する。This point will be explained in detail.

文書処理装置のキーボードでは、アルファベット文字キ
ーとシフトキーの組み合わせを用いて大文字入力と小文
字入力を使い分ける。
On the keyboard of a document processing device, a combination of alphabetic character keys and a shift key is used to input uppercase letters and lowercase letters.

例えば“a”という小文字を入力する場合は“A”と表
示された文字キーを操作者が押下することで入力される
。また、“A”という大文字を入力する場合は“A”と
表示された文字キーと小文字と大文字の切り換えを指示
するシフトキーとを操作者が同時に押下する。
For example, when inputting the lowercase letter "a", the operator presses the letter key labeled "A". Further, when inputting the capital letter "A", the operator simultaneously presses the letter key displaying "A" and the shift key for instructing switching between lowercase and uppercase letters.

例えば、ドイツ語の文法規則によれば次の文字は小文字
を大文字に変換しなければならない。
For example, according to German grammar rules, the following characters must be converted from lowercase to uppercase:

(i)文の先頭の文字 (if)文中の名詞の先頭の文字 [発明が解決しようとする課題] このため、操作者は大文字を入力する毎に2つのキーを
同時押下せねばならず、そのキー操作が煩雑となり、キ
ーの誤操作により、入力したい大文字が入力されないと
いう誤入力や違う文字の入力という誤入力も生じる。こ
の結果、大文字、小文字の修正作業を操作者がキー操作
で逐次行う必要があるという解決すべき問題点が従来の
文書処理装置にはあった。
(i) The first character of a sentence (if) The first character of a noun in a sentence [Problem to be solved by the invention] Therefore, the operator must press two keys at the same time every time he inputs a capital letter. The key operations become complicated, and erroneous key operations may result in erroneous inputs such as not inputting the desired capital letter or inputting the wrong character. As a result, conventional document processing apparatuses have had the problem of requiring the operator to correct upper and lower case letters successively by key operation.

そこで、本発明の目的は、このような問題点を解決し、
小文字および大文字の入力に関するキー操作者の圧力を
軽減することのできる文書処理装置を提供することにあ
る。
Therefore, the purpose of the present invention is to solve such problems,
An object of the present invention is to provide a document processing device that can reduce pressure on a key operator regarding input of lowercase and uppercase letters.

[課題を解決するための手段] このような目的を達成するために、本発明は、文書情報
入力手段で作成された文書情報を記憶しておく記憶手段
と、記憶手段に記憶された文書情報を該文書情報中の単
語区切情報を基に単語単位で順次に読み出す単語読み出
し手段と、記憶手段から単語読み出し手段により読み出
された単語における大文字と小文字の組み合わせが予め
定められた文法規則と合致するか否かを判定する判定手
段と、判定手段による判定の結果が否定判定であるとき
には単語読み出し手段により読み出された単語に対応す
る記憶手段の単語の大文字と小文字との組み合わせを予
め定められた文法規則と合致するように修正する修正手
段とを具えたことを特徴とする。
[Means for Solving the Problems] In order to achieve such an object, the present invention provides a storage means for storing document information created by a document information input means, and a storage means for storing document information created by a document information input means. word reading means for sequentially reading word by word based on word delimiter information in the document information, and a combination of uppercase and lowercase letters in the word read by the word reading means from the storage means matches a predetermined grammatical rule. a determination means for determining whether or not the determination is made, and a combination of uppercase and lowercase letters of the word in the storage means corresponding to the word read by the word reading means when the result of the determination by the determination means is a negative determination is determined in advance; The present invention is characterized by comprising a correction means for correcting it so as to match the grammatical rules set.

[作 用] 本発明においては、記憶手段に記憶された作成文書の中
から単語を単語読み出し手段により順次読み出し、読み
出した単語が予め定められた文法規則に合致しているか
否かを判定手段により判定する。判定手段による判定の
結果に応じて修正手段が予め定められた文法規則に従っ
て読み出した単語の文字に対応する記憶手段中の単語の
文字の組み合わせを修正する。
[Function] In the present invention, the word reading means sequentially reads out words from the created document stored in the storage means, and the determining means determines whether or not the read words match a predetermined grammar rule. judge. Depending on the result of the determination by the determining means, the modifying means modifies the combination of characters of the word in the storage means corresponding to the characters of the read word according to predetermined grammar rules.

この結果、操作者は、例えば、小文字からなる文書を作
成しておくだけで、小文字と大文字が文法規則通りに修
正されるので、小文字、大文字の指示入力操作を行う必
要がなくなる。
As a result, the operator need only create a document consisting of lowercase letters, for example, and the lowercase and uppercase letters will be corrected according to the grammatical rules, eliminating the need for inputting instructions for lowercase and uppercase letters.

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

第1図は本発明実施例の機能構成を示す。FIG. 1 shows the functional configuration of an embodiment of the present invention.

第1図において100は文書情報入力手段(不図示)で
作成された文書情報を記憶しておく記憶手段である。
In FIG. 1, reference numeral 100 denotes a storage means for storing document information created by a document information input means (not shown).

200は記憶手段iooに記憶された文書情報を該文書
情報中の単語区切れ情報を基に単語単位で順次に読み出
す単語読み出し手段である。
Reference numeral 200 denotes word reading means for sequentially reading out the document information stored in the storage means ioo word by word based on the word separation information in the document information.

300は記憶手段100から単語読み出し手段200に
より読み出された単語における大文字と小文字の組み合
わせが予め定められた文法規則と合致するか否かを判定
する判定手段である。
Denoted at 300 is a determining means for determining whether the combination of uppercase and lowercase letters in the word read out from the storage means 100 by the word reading means 200 matches a predetermined grammar rule.

400は判定手段300による判定の結果が否定判定で
あるときは、単語読み出し手段により読み出された単語
に対応する記憶手段100の単語の大文字と小文字との
組み合わせを予め定められた文法規則と合致するように
修正する修正手段である。
400, when the result of the determination by the determining means 300 is a negative determination, the combination of uppercase and lowercase letters of the word in the storage means 100 corresponding to the word read by the word reading means matches a predetermined grammatical rule. This is a correction method that corrects it so that it does.

第2図は本発明実施例の具体的な回路構成を示す。FIG. 2 shows a specific circuit configuration of an embodiment of the present invention.

第2図において、1は大文字およびノ]1文字を入力可
能なキーボードである。
In FIG. 2, 1 is a keyboard that can input capital letters and one character.

2はキーボード1から入力された文字を文章メモリ4a
に記憶する中央演算処理装置(MPU)である。
2 stores the characters input from the keyboard 1 in the text memory 4a.
It is a central processing unit (MPU) that stores data in the computer.

キーボード1には文章メモリ4aに記憶された文字情報
における所定の小文字を大文字に変換するように指示す
る指示キー11が設けられている。
The keyboard 1 is provided with an instruction key 11 for instructing to convert predetermined lowercase letters in character information stored in the text memory 4a to uppercase letters.

MPt12は第5図〜第9図に示す制御手順を実行して
、作成された文章に対して大文字および小文字に対する
スペルチエ・ンクを行う。
The MPt 12 executes the control procedure shown in FIGS. 5 to 9 to spell check the uppercase and lowercase letters of the created text.

3は第5図〜第9図に示す制御手順の他、文章編集に関
する公知の制御手順を予め格納したり一ドオンリメモリ
(ROM>である。
Reference numeral 3 denotes a one-drive only memory (ROM) which stores in advance known control procedures related to text editing in addition to the control procedures shown in FIGS. 5 to 9.

ROM3にはMPt12が実行する制御手順を格納する
制御プログラム記憶部3aと、複数の単語それぞれのス
ペル(大文字と小文字の組み合わせ)を記憶する辞書記
憶部3bが設けれられている。
The ROM 3 is provided with a control program storage section 3a that stores control procedures executed by the MPt 12, and a dictionary storage section 3b that stores spellings (combinations of uppercase and lowercase letters) of each of a plurality of words.

4はランダムアクセスメモリ(RAM)であり、キーボ
ード1から入力された文字情報および文字処理された文
字情報を格納する。また、RAM4はMPU2の演算処
理に必要な入出力情報をも記憶する。さらに、RAM4
には作成された文章情報を記憶する作成文字記憶部4a
(記憶手段)を有する。
A random access memory (RAM) 4 stores character information input from the keyboard 1 and character information subjected to character processing. Further, the RAM 4 also stores input/output information necessary for the arithmetic processing of the MPU 2. Furthermore, RAM4
is a created character storage section 4a that stores created text information.
(storage means).

5はキーボード1から入力された文字情報や作成された
文意情報を表示する表示装置であり、陰極管を用いた表
示装置(CRT)を用いることができる。
Reference numeral 5 denotes a display device for displaying character information input from the keyboard 1 and created sentence information, and a display device using a cathode tube (CRT) can be used.

6は文章メモリに記憶された作成文章を出力するプリン
タである。
6 is a printer that outputs the created text stored in the text memory.

表示装置5およびプリンタ6はMPU2の制御の基に所
定のフォーマットで文章メモリ4aの記憶内容を出力す
る。
The display device 5 and the printer 6 output the contents stored in the text memory 4a in a predetermined format under the control of the MPU 2.

第3図は辞書記憶部3bの記憶内容の一部を示す。FIG. 3 shows part of the contents stored in the dictionary storage section 3b.

第3図において、辞書記憶部3bには名詞、形容詞等品
詞単位で単語が記憶されており、かつ、各単語の先頭文
字は大文字および小文字の単語が用意されている。
In FIG. 3, words such as nouns and adjectives are stored in the dictionary storage unit 3b by part of speech, and the first letter of each word is an uppercase letter or a lowercase letter.

また、各単語をアルファベット類に並べ、各単語の品詞
を示す情報を各単語に記憶するようにしてもよい。
Alternatively, each word may be arranged in alphabetical order, and information indicating the part of speech of each word may be stored in each word.

辞書記憶部3bに記憶された単語情報は次の処理に用い
られる。
The word information stored in the dictionary storage section 3b is used for the next process.

(1)作成された文章中の単語のスペルチェック(2)
作成された文章中の単語の品詞の判別以下、本実施例に
おける単語のスペルチェックおよび大文字、小文字の修
正手順について説明する。
(1) Spell check of words in created sentences (2)
Determining the part of speech of a word in a created sentence Below, a procedure for checking the spelling of a word and correcting uppercase and lowercase letters in this embodiment will be explained.

操作者によりキーボード1から順次入力された文字情報
がMPU2を介して作成文章記憶部4aに記憶され、作
成文章記憶部4aに記憶された文章が第4図示の表示品
のように表示装置5に表示されているものとする。また
、作成された文章はドイツ語の文章とし、作成された単
語の中の先頭文字を大文字とすべき文法規則は a) 単語が名詞である場合 b)単語が文の先頭に位置する場合 とする。
Character information input sequentially from the keyboard 1 by the operator is stored in the created text storage unit 4a via the MPU 2, and the text stored in the created text storage unit 4a is displayed on the display device 5 as shown in the fourth figure. Assume that it is displayed. In addition, the created sentences are German sentences, and the grammar rules that require the first letter of the created words to be capitalized are a) when the word is a noun, b) when the word is located at the beginning of a sentence, and when the word is a noun. do.

第5図は第2図示のMPIJ2が実行する、制御手順の
主構成を示す。
FIG. 5 shows the main configuration of the control procedure executed by the MPIJ2 shown in the second diagram.

第5図において、ステップ5100は作成文章記憶部4
aに記憶された文章情報の中から単語単位の文字列情報
を抽出する処理を示す。本制御手順が単語読み出し手段
200に相当する。
In FIG. 5, step 5100 is the created text storage unit 4.
The process of extracting character string information in units of words from the text information stored in a is shown. This control procedure corresponds to the word reading means 200.

ステップ5200は抽出された単語が文の先頭の位置に
あるか否かを判別し、文の先頭位置にある単語の先頭文
字を大文字に修正する処理を示す。
Step 5200 shows a process of determining whether the extracted word is at the beginning of the sentence and correcting the first letter of the word at the beginning of the sentence to an uppercase letter.

ステップ5300は抽出された単語中に大文字が存在し
ているか否かを判別し、先頭文字を除く単語中の文字を
tJz文字に変換する処理を示す。
Step 5300 shows a process of determining whether or not a capital letter exists in the extracted word, and converting the characters in the word except the first character into tJz characters.

ステップ5400は抽出された単語が名詞であるか否か
を判別し、名詞の単語の先頭の文字を大文字に修正する
処理を示す。
Step 5400 indicates processing for determining whether the extracted word is a noun and correcting the first letter of the noun word to an uppercase letter.

ステップ5200〜5400の制御手順が判定手段30
0および修正手段400に相当する。
The control procedure of steps 5200 to 5400 is
0 and the correction means 400.

ステップ5500は抽出された単語が作成文章記憶部4
aに記憶された文末の単語か否かを判定する処理を示す
In step 5500, the extracted words are stored in the created sentence storage unit 4.
The process of determining whether the word stored in a is the last word of the sentence is shown.

このような手順に基いて、作成文章の先頭の単語から文
末の単語まで順次大文字に関するスペルチェックが行な
われる。
Based on such a procedure, spell checking for uppercase letters is performed sequentially from the first word of the created sentence to the last word.

第6図は第5図示のステップ5100の単語の切出し処
理に関する具体的な制御手順を示す。
FIG. 6 shows a specific control procedure regarding the word extraction process in step 5100 shown in FIG.

本制御手順はよく知られている制御手順なので、簡単な
説明に留める。
Since this control procedure is a well-known control procedure, a brief explanation will be provided.

MPU2は作成文章記憶部4aの先頭文字(第4図参照
)“d”を読み出す。次に読み出した文字“d”が単語
の区切れを示す文字であるか否かを判定する(ステップ
5107)。単語の区切れを示す文字としては空白文字
等が知られている。
The MPU 2 reads out the first character "d" (see FIG. 4) in the created text storage section 4a. Next, it is determined whether the read character "d" is a character indicating a word break (step 5107). Space characters and the like are known as characters that indicate word breaks.

次に読み出した文字をMPII2内の単語レジスタに加
算する。この段階で単語レジスタの内容は“d”となる
、(ステップ5108)。
Next, the read character is added to the word register in MPII2. At this stage, the content of the word register becomes "d" (step 5108).

次に、MPt12は読み出しアドレスを更新して次の文
字を作成文章記憶部4aから読み出す。(ステップ51
02)。以下上述の手順(ステップ5102→5103
→5106叫5107叫5108叫5102)を繰り返
し、単語レジスタの記憶内容が“diE”となったとき
に、次の空白文字がステップ5107において検出され
、単語レジスタに単語“diE”が抽出される。
Next, the MPt 12 updates the read address and reads the next character from the created text storage section 4a. (Step 51
02). Following the above steps (steps 5102→5103)
→5106, 5107, 5108, 5102) is repeated, and when the stored content of the word register becomes "diE", the next blank character is detected in step 5107, and the word "diE" is extracted into the word register.

本制御手順における文の先頭および文末の単語を検出す
る手順について次に説明する。
Next, a procedure for detecting words at the beginning and end of a sentence in this control procedure will be described.

本例においては1つの文の文末を示すピリオド文字“°
 、”を検出し、空白文字を除く次の先頭の単語を文頭
の単語としている。このために、ピリオド文字” 、”
を持つ単語を検出した時点で文末フラグを設定する。文
末フラグは単語レジスタに記憶された単語が文末である
ことを示す情報を記憶するレジスタである。
In this example, the period character “°” indicates the end of a sentence.
,” is detected, and the next first word excluding the blank character is used as the first word of the sentence.For this, the period character “,”
Set the end-of-sentence flag when a word with is detected. The end of sentence flag is a register that stores information indicating that the word stored in the word register is the end of a sentence.

本例においては、また、文末フラグおよび単語レジスタ
に記憶されている単語が文頭にあることを示す情報を記
憶する文頭フラグがMPII2内に設けられている。
In this example, the MPII 2 also includes an end-of-sentence flag and a beginning-of-sentence flag for storing information indicating that the word stored in the word register is at the beginning of the sentence.

例えば、第4図示の文末の単語(W−10)“Li5c
h”が単語レジスタに格納され、次にピリオド文字” 
、”がMPU2により読み出されると(ステップ510
2.注この時点で文末フラグは0″)、ステップ51G
2−5103−5106−5107と手順が進み、MP
U2は文末フラグに“1”を設定する。単語レジスタに
記憶された単語情報“tisch“のスペルチェック(
後述)が行なわれた後、次の空白文字が読み出される。
For example, the word (W-10) at the end of the sentence shown in Figure 4 “Li5c
h” is stored in the word register, then the period character “
,” are read by the MPU 2 (step 510
2. Note: At this point, the end-of-sentence flag is 0''), step 51G
The procedure progresses to 2-5103-5106-5107, and MP
U2 sets the end of sentence flag to "1". Spell check of the word information “tisch” stored in the word register (
(described later), the next blank character is read.

(ステップ5101−45102)。(Steps 5101-45102).

読み出された文字は空白文字であり、ステップ5103
の制御時に文末フラグは“1”となフているので、手順
はステップ5102−5103−5104−5102と
進み次の文字“A” (第4図参照)が読み出される。
The read character is a blank character, and step 5103
Since the end-of-sentence flag is set to "1" during control, the procedure proceeds to steps 5102-5103-5104-5102 and the next character "A" (see FIG. 4) is read out.

文末フラグは“1”のままであり、かつ読み出された文
字は空白文字ではないので、読み出された文字は文頭の
文字であると判断し、MPU2は文末フラグを“0”に
設定し、単語レジスタに記憶されている単語が文頭の単
語であることを示す“ビを文頭フラグに設定する。以下
上述の単語の切出しく抽出)に関する手順が実行され、
先頭の単語がMPt12により読み出される。
Since the end of sentence flag remains "1" and the read character is not a blank character, the MPU 2 determines that the read character is the first character of the sentence and sets the end of sentence flag to "0". , "B" indicating that the word stored in the word register is the first word of the sentence is set as the beginning of sentence flag.The steps related to the word extraction described above are executed,
The first word is read out by MPt12.

本例において、文末を検出するための文字をピリオド“
 、′としているがその他にも感嘆符“ビや疑問符“?
”などが文末検出のため文字として知られているので、
これらの文字を検出したときにもピリオド文字を検出し
たときと同じ処理を行うようにすればよい。
In this example, the character used to detect the end of a sentence is a period “
, ', but there are also exclamation marks "bi" and question marks?
” etc. are known as characters to detect the end of a sentence, so
The same processing as when detecting a period character may be performed when these characters are detected.

第7図は第5図示のステップ5200における文の先頭
文字を大文字に変更する制御手順を示す。
FIG. 7 shows a control procedure for changing the first letter of a sentence to an uppercase letter in step 5200 shown in FIG.

第7図において、MPU2は文頭フラグが1°°である
か否かを判断し、文頭フラグが“1”となっているとき
には単語レジスタに記憶されている単語が文頭の単語で
あると識別する。(ステップ5201)。
In FIG. 7, the MPU 2 determines whether or not the beginning of sentence flag is 1°°, and when the beginning of sentence flag is "1", it identifies that the word stored in the word register is the word at the beginning of the sentence. . (Step 5201).

文頭の単語は、単語レジスタの先頭文字およびこの文字
と対応する作成文章記憶部4a内の文字がMPt12に
より大文字に書き換えられる。
For the word at the beginning of a sentence, the first character of the word register and the corresponding character in the created sentence storage section 4a are rewritten to uppercase letters by the MPt12.

また、MPII2は単語レジスタに、次に記憶される単
語が文中の単語であることを制御するために、文頭フラ
グを“0”に設定する。文頭フラグが“0”であるとき
は、本制御手順を終了し、ステップ5300の制御手順
に進む。
Furthermore, the MPII 2 sets a sentence beginning flag to "0" in the word register to control that the next word to be stored is a word in a sentence. When the sentence head flag is "0", this control procedure is ended and the control procedure proceeds to step 5300.

第8図は第5図示のステップ5300における単語のス
ペルチェックの制御手順を示す。
FIG. 8 shows the control procedure for checking the spelling of words in step 5300 shown in FIG.

第8図において、MPU2は単語レジスタの記憶文字を
順次読み出して、読み出し文字が全て大文字であるか否
かを判定する。
In FIG. 8, the MPU 2 sequentially reads out the characters stored in the word register and determines whether all the read characters are capital letters.

単語レジスタに記憶された文字が全て大文字である場合
は、入力文章が大文字により入力されていると判断し、
後述の名詞に対するスベルチェッりを行わず、水制御手
順を終了し、第5図のステップ5100に戻る。
If all the characters stored in the word register are uppercase letters, it is determined that the input sentence is input using uppercase letters.
The water control procedure is ended without performing a smooth check on the noun described later, and the process returns to step 5100 in FIG.

単語レジスタに記憶された文字が全て大文字でないとき
は、上記レジスタ内の2番目以降の文字が全て小文字で
あるか否かをMPU2によりチエツクする(ステップ5
302)。
If all the characters stored in the word register are not uppercase, the MPU 2 checks whether the second and subsequent characters in the register are all lowercase (step 5).
302).

2番目以降の文字に大文字が含まれているときは、単語
レジスタ内の大文字を、対応する小文字に変更すると共
に、この大文字に対応し、作成文章記憶部4aに記憶さ
れている文字も大文字に変更する。(ステップ5303
)。
When the second and subsequent characters include uppercase letters, the uppercase letters in the word register are changed to the corresponding lowercase letters, and the characters corresponding to the uppercase letters stored in the created sentence storage unit 4a are also changed to uppercase letters. change. (Step 5303
).

第9図は第5図示におけるステップ5400における名
詞のスペルチェックの制御手順を示す。
FIG. 9 shows the noun spell check control procedure in step 5400 in FIG.

第9図において、MPU2は単語レジスタに記憶された
単語が、辞書記憶部3bの名詞グループの中にあるかを
調査する。この調査によって単語レジスタ内の単語が名
詞であることが判明するとMPU2は単語レジスタ内の
先頭の文字が大文字であるか否かを確認し、この先頭文
字が小文字であるときに単語レジスタおよび作成文章記
憶部4a内の小文字を大文字に変更する(ステップ54
03)。
In FIG. 9, the MPU 2 investigates whether the word stored in the word register is in a noun group in the dictionary storage section 3b. When the word in the word register is found to be a noun through this investigation, the MPU 2 checks whether the first letter in the word register is an uppercase letter or not. Change the lowercase letters in the storage section 4a to uppercase letters (step 54)
03).

また、単語レジスタ内の単語が辞書記憶部3bの名詞グ
ループの中にないときは、MPU2は先頭の文字が大文
字か小文字かを調べ、単語が名詞であり、かつ、先頭の
文字が小文字のときは、大文字に変更する(ステップ5
411→5412)。
Furthermore, when the word in the word register is not in the noun group in the dictionary storage section 3b, the MPU 2 checks whether the first letter is an uppercase letter or a lowercase letter, and if the word is a noun and the first letter is a lowercase letter, (Step 5)
411→5412).

なお、上述したように、単語が文頭にある場合は、既に
大文字変換しているので、この単語が名詞でなくても小
文字変更を行わない。
Note that, as described above, when a word is at the beginning of a sentence, it has already been converted to uppercase letters, so even if this word is not a noun, it is not changed to lowercase letters.

本例においてはドイツ語のように名詞の先頭文字を大文
字変換する例について説明したが、英語の場合は固有名
詞の先頭の文字が大文字となる。
In this example, an example in which the first letter of a noun is converted to uppercase like in German has been explained, but in the case of English, the first letter of a proper noun is capitalized.

したがって、英語用の文書処理装置に本発明を適用する
場合は辞書記憶部3bに固有名詞の単語をまとめて記憶
しておけばよい。
Therefore, when the present invention is applied to a document processing device for English, words of proper nouns may be stored together in the dictionary storage section 3b.

また、JISに規定されているように文字コードは一般
に大文字のアルファベット類、小文字のアルファベット
類に集合化されてコード付けられているので、例えば、
スペルチェックを行うべき文字コードが大文字グループ
のコード範囲にある場合に大文字と判別すればよい。
In addition, as stipulated in JIS, character codes are generally grouped into uppercase alphabets and lowercase alphabets, so for example,
If the character code to be spell-checked is within the code range of the upper case group, it can be determined that it is an upper case letter.

さらに、辞書記憶部3bに名詞以外の単語を記憶してお
き、本実施例の第9図示における作成文章中の単語が辞
書記憶部3bに有るか否かの判定処理手順を行うことに
より、辞書記憶部3bにない単語はスペルまちがいと判
別1表示することも可能である。
Further, words other than nouns are stored in the dictionary storage unit 3b, and the dictionary storage unit 3b stores words other than nouns, and performs the process of determining whether or not the words in the created sentence in the ninth diagram of this embodiment exist in the dictionary storage unit 3b. It is also possible to display a word that is not in the storage section 3b as being incorrectly spelled.

[発明の効果コ 以上、説明したように、本発明によれば、記憶手段に記
憶された作成文書の中から単語を単詰読み出し手段によ
り順次読み出し、読み出した単語が予め定められた文法
規則に合致しているか否かを判定手段により判定する。
[Effects of the Invention] As explained above, according to the present invention, words are sequentially read out from a prepared document stored in a storage means by a single reading means, and the read words conform to predetermined grammatical rules. A determining means determines whether or not they match.

判定手段による判定の結果に応じて修正手段が予め定め
られた文法規則に従って読み出した単語の文字に対応す
る記憶手段中の単語の文字の組み合わせを修正する。
Depending on the result of the determination by the determining means, the modifying means modifies the combination of characters of the word in the storage means corresponding to the characters of the read word according to predetermined grammar rules.

この結果、操作者は、例えば、小文字からなる文書を作
成しておくだけで、小文字と大文字を文法規則通りに修
正されるので、小文字、大文字の指示入力操作を行う必
要がなくなる。
As a result, the operator only needs to create a document consisting of lowercase letters, for example, and the lowercase and uppercase letters are corrected according to the grammatical rules, so there is no need to input instructions for lowercase and uppercase letters.

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

第1図は本発明実施例の機能構成を示すブロック図、 第2図は本発明実施例の具体的構成を示すブロック図、 第3図は第2図の辞書記憶部3bの内容を示す説明図、 第4図は本発明実施例の表示例を示す説明図、第5図〜
第9図は第2図示のMPU2が実行する制御手順を示す
フローチャートである。 l・・・キーボード、 2・・・MPII。 3・・・ROM 。 3a・・・制御プログラム記憶部、 3b・・・辞書記憶部、 4・・・RAM  。 4a・・・作成文章記憶部、 5・・・表示装置、 6・・・プリンタ。 冬危日月叡Iゲ乞イアjIJ 0フ゛ロック図第2図 4く資5θ月冥。ILg月a’sn言し吊鱈音干 3b
0円享をかす會ン明図AA表ホ 4≦、A5 リカ )S 1々乙イダ’J  /)イ(
水了列やホ1卜す式日月rβ第4図 、≠r・を口月□ジく一宅邑停弓りフロー七ヤード第5
図 Aト宅す月笑゛万ギもイ列0フローヤヤート第7図 #宅り月′莢、宏邑イ列0フロー千ヤード第8図 、¥范明莢北イ列0フロー七ヤード 第9図
FIG. 1 is a block diagram showing a functional configuration of an embodiment of the present invention, FIG. 2 is a block diagram showing a specific configuration of an embodiment of the present invention, and FIG. 3 is an explanation showing the contents of the dictionary storage section 3b in FIG. 2. Figure 4 is an explanatory diagram showing a display example of the embodiment of the present invention, and Figures 5-
FIG. 9 is a flowchart showing a control procedure executed by the MPU 2 shown in the second figure. l...Keyboard, 2...MPII. 3...ROM. 3a... Control program storage unit, 3b... Dictionary storage unit, 4... RAM. 4a...Created text storage unit, 5...Display device, 6...Printer. 0 block diagram 2nd figure 4 capital 5theta moon mei. ILg month a'sn saying hanging cod sound dry 3b
0 yen enjoyment meeting diagram AA table 4 ≦, A5
Water row row and ho 1 pusu ceremony sun moon rβ Fig. 4, ≠ r, mouth moon □ Jiku Ichiyake-ebu bow bow flow 7th yard 5th
Diagram A To Tsuki lol゛Mangimo I Row 0 Flow Yat Figure 7 figure

Claims (1)

【特許請求の範囲】 文書情報入力手段で作成された文書情報を記憶しておく
記憶手段と、 該記憶手段に記憶された文書情報を該文書情報中の単語
区切情報を基に単語単位で順次に読み出す単語読み出し
手段と、 前記記憶手段から前記単語読み出し手段により読み出さ
れた単語における大文字と小文字の組み合わせが予め定
められた文法規則と合致するか否かを判定する判定手段
と、 該判定手段による判定の結果が否定判定であるときには
前記単語読み出し手段により読み出された単語に対応す
る前記記憶手段の単語の大文字と小文字との組み合わせ
を前記予め定められた文法規則と合致するように修正す
る修正手段と を具えたことを特徴とする文書処理装置。
[Scope of Claims] A storage means for storing document information created by a document information input means; a determining means for determining whether a combination of uppercase and lowercase letters in the word read by the word reading means from the storage means matches a predetermined grammar rule; and the determining means When the result of the determination is negative, the combination of uppercase and lowercase letters of the word in the storage means corresponding to the word read out by the word reading means is corrected so as to match the predetermined grammar rule. A document processing device characterized by comprising a correction means.
JP63024033A 1988-02-05 1988-02-05 document processing device Pending JPH01200469A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63024033A JPH01200469A (en) 1988-02-05 1988-02-05 document processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63024033A JPH01200469A (en) 1988-02-05 1988-02-05 document processing device

Publications (1)

Publication Number Publication Date
JPH01200469A true JPH01200469A (en) 1989-08-11

Family

ID=12127202

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63024033A Pending JPH01200469A (en) 1988-02-05 1988-02-05 document processing device

Country Status (1)

Country Link
JP (1) JPH01200469A (en)

Similar Documents

Publication Publication Date Title
EP0370774B1 (en) Machine translation system
JPS61107430A (en) Editing unit for voice information
JPS61217863A (en) electronic dictionary
JP2004220616A (en) Machine translation system for simultaneously displaying and editing three or more parallel translation screens
JPH0211934B2 (en)
JPH01200469A (en) document processing device
JPH07105217A (en) Input character automatic correction device
JPH08190561A (en) Document correction device
JP3103179B2 (en) Document creation device and document creation method
JPS62212871A (en) Sentence reading correcting device
JPS6277669A (en) Automatic proofreading system for input document
JPS60201467A (en) Japanese processing device
JP2002351868A (en) Electronic dictionary
JPH0721171A (en) Key input correction device
JPH0350668A (en) character processing device
JPS60251460A (en) string processing device
JPH06119325A (en) Word correction device
JP2000067046A (en) Word input supporting device and method therefor
JPH03229359A (en) Japanese sentence correcting device
JPS6370373A (en) Character processor
JPS60196868A (en) Kana/kanji converter
JPS63115263A (en) Proofreading device for japanese sentence
JPH05101216A (en) Character recognizer
JPH01177161A (en) Document processing method
JPS6365566A (en) 'kana' to 'kanji' converter