JPH01266660A - Character processor - Google Patents

Character processor

Info

Publication number
JPH01266660A
JPH01266660A JP63096522A JP9652288A JPH01266660A JP H01266660 A JPH01266660 A JP H01266660A JP 63096522 A JP63096522 A JP 63096522A JP 9652288 A JP9652288 A JP 9652288A JP H01266660 A JPH01266660 A JP H01266660A
Authority
JP
Japan
Prior art keywords
sentence
line
input
characters
simple format
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
JP63096522A
Other languages
Japanese (ja)
Inventor
Hiroyuki Nagasawa
長澤 宏行
Junji Tanaka
淳司 田中
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.)
Sharp Corp
Original Assignee
Sharp Corp
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 Sharp Corp filed Critical Sharp Corp
Priority to JP63096522A priority Critical patent/JPH01266660A/en
Publication of JPH01266660A publication Critical patent/JPH01266660A/en
Pending legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Abstract

PURPOSE:To constitute a character processor so that a sentence which has protruded from a first line of a routine format is not cut but inputted to the next line by replacing an input sentence extending over plural lines with a series of casting symbols extending over plural lines. CONSTITUTION:In a state that a reading-out means 6 has read out a simple format from a simple format storage means 4, read-out information is inputted from an input means 1, and a sentence is determined definitely by a conversion by retrieving a dictionary means 5. Whether the sentence which has been determined definitely exceeds the number of set characters of a symbol train of one line in the simple format or not is decided by a deciding means 8. In case when the sentence which has been determined definitely exceeds the number of set characters, an assigning means 9 divides the sentence which has been determined definitely into two lines, the symbol train of the first line is replaced with the sentence of a 1-line portion which has been divided, and the remaining sentence is brought to line feed. The remaining sentence further receives the next character input, and when the character input is within the number of set characters of the symbol train of the second line, the symbol train of the second line is replaced with the remaining sentence and a character which has been inputted in the next time.

Description

【発明の詳細な説明】 (イ)産業上の利用分野 この発明は日本語ワードプロセッサなどの文字処理装置
に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application This invention relates to a character processing device such as a Japanese word processor.

(ロ)従来の技術。(b) Conventional technology.

従来この種の文字処理装置は簡易書式(流し込み)機能
を有している。この簡易書式機能とは定型文書などにお
いて住所や氏名などが入力される箇所に予め特定の記号
(以下流し込み記号と呼称する)、例えば「○」やrE
Jを入力して登録しておき、定型文書を使用する場合に
は登録された一連の流し込−み記号からなる定型文書を
呼び出し、流し込み記号を、入力した文字列と置き換え
ることによりその定型文書を完成させる機能である。
Conventionally, this type of character processing device has a simple formatting (flowing) function. This simple formatting function is used to pre-designate certain symbols (hereinafter referred to as flow symbols) in places where addresses, names, etc. are input in standard documents, such as "○" or
Enter J to register it, and when using a standard document, call up the registered standard document consisting of a series of flow symbols, and replace the flow symbols with the input character string to create the standard document. It is a function that completes the

そして上記の文字処理装置は、簡易書式を使用して文字
の入力が終わり、例えば確定キーを押すと、入力した文
字列は定型文書で記憶されるよう構成されている。
The above-mentioned character processing device is configured such that when inputting characters using the simple format is completed and, for example, a confirm key is pressed, the inputted character string is stored in a fixed form document.

(ハ)発明が解決しようとする課題 しかし上記の文字処理装置では、流し込み記号が連続し
て複数行に渡っている場合においても、確定キーを押す
ことにより流し込み記号の位置に置き換えられることが
できる入力文字列は、−行単位でしか処理しないため、
入力した文字列が一行目をはみ出る場合は、はみ出た分
の文字列はカッ斗されていた。したがって2行に渡るよ
うな文章を入力し、文章がカットされた場合は、カット
された文章と同じ文章を再度入力しなければならず文章
作成の効率を著、シく低下させていた。
(C) Problems to be Solved by the Invention However, in the above character processing device, even when a flow symbol extends over multiple lines consecutively, it can be replaced at the position of the flow symbol by pressing the enter key. The input string is only processed line by line, so
If the input string exceeded the first line, the excess string would be clipped. Therefore, if a sentence that spans two lines is input and the sentence is cut, the same sentence as the cut sentence must be input again, which significantly reduces the efficiency of writing.

この発明は以上の事情を考慮してなされたちので、複数
行に渡って入力された文章を複数行に渡る一連の流し込
み記号と置き換えることのできる文字処理装置を提供す
ることにある。
The present invention has been made in consideration of the above circumstances, and an object of the present invention is to provide a character processing device that can replace text input over multiple lines with a series of flow symbols over multiple lines.

(ニ)課題を解決するための手段 第1図はこの発明の文字処理装置の構成を明示するブロ
ック図で、lは単語の読み情報および各種の指示を入力
する入力手段、2は入力された読み情報等を記憶する記
憶手段、3は各種データを表示する表示手段、4は文章
と置き換えられる複数の記号列からなる簡易書式を読出
し可能に記憶している簡易書式記憶手段、5は漢字を含
む多数の単語を記憶している辞書手段、6は入力手段1
から第1の指示を受け、簡易書式記憶手段4から簡易書
式を読み出して表示手段3に出力する読出手段、7は入
力手段Iから第2の指示を受け、入力された読み情報を
対応する単語に変換して文章を確定する文章確定手段、
8は確定された文章の字数が!行の記号列の設定字数を
超えるかどうか判断する判断手段、9は確定された文章
が1行の記号列の設定字数を超える際に、文章を連続す
る複数行の記号列に割り当てる割当手段、10は確定さ
れた文章の字数が!行の記号列の設定字数以下の際、お
よび確定された文章が複数行の記号列に割り当てられた
際に、記号列を確定した文章と置き換える置換手段、1
1は置き換えられた文章を記憶手段2に格納する格納手
段である。
(d) Means for Solving the Problems FIG. 1 is a block diagram showing the configuration of the character processing device of the present invention, where l is an input means for inputting word reading information and various instructions, and 2 is an input means for inputting word reading information and various instructions. Storage means for storing reading information etc. 3 is a display means for displaying various data; 4 is a simple format storage means for readably storing a simple format consisting of a plurality of symbol strings to be replaced with a sentence; 5 is a display means for storing kanji characters. Dictionary means 6 stores a large number of words including input means 1
Reading means 7 receives a first instruction from the input means I, reads out the simple format from the simple format storage means 4, and outputs it to the display means 3; A sentence confirmation means for converting the text into
8 is the confirmed number of characters in the sentence! Judgment means for determining whether the number of characters exceeds the set number of characters in a symbol string in a row; 9 is an allocation means for allocating the text to a plurality of consecutive rows of symbol strings when the determined sentence exceeds the set number of characters in a symbol string in one row; 10 is the confirmed number of characters in the sentence! Replacement means for replacing a symbol string with a confirmed sentence when the number of characters in a symbol string in a row is less than or equal to a set number of characters, and when a confirmed sentence is assigned to a symbol string in multiple lines; 1
Reference numeral 1 denotes storage means for storing replaced sentences in storage means 2.

(ホ)作用 この発明によれば、読出手段が簡易書式記憶手段から簡
易書式を読み出された状態において、入力手段から読み
情報を入力し、辞書手段の検索による変換によって文章
を確定すると、確定した文章が簡易書式における1行の
記号列の設定字数を超えているかどうか判断手段が判断
する。確定した文章が設定字数を超えている場合は割付
手段が確定した文章を2行に分割し、1行目の記号列は
分割された1行分の文章と置き換えられ、残りの文章は
改行される。残りの文章はさらに次ぎの文字入力を受け
つけ、文字入力が2行目の記号列の設定字数以内であれ
ば2行目の記号列は残りの文章および次に入力された文
字と置き換えられる。
(E) Effect According to the present invention, when reading information is input from the input means in a state where the reading means has read out the simple format from the simple format storage means and the sentence is determined by conversion by searching in the dictionary means, the sentence is determined. The determining means determines whether the written sentence exceeds the set number of characters in one line of symbol string in the simple format. If the confirmed text exceeds the set number of characters, the allocation means will divide the confirmed text into two lines, the symbol string in the first line will be replaced with the divided line's worth of text, and the remaining text will be line-broken. Ru. The remaining sentence accepts the next character input, and if the input character is within the set number of characters of the symbol string on the second line, the symbol string on the second line is replaced with the remaining sentence and the next input character.

これにより、定型書式の一行目よりはみ出た文章は、カ
ットされることなく次の行に入力することができる。
As a result, text that extends beyond the first line of the standard format can be input on the next line without being cut.

(へ)実施例 以下図に示す実施例に基づいてこの発明を詳述する。な
お、これによってこの発明は限定されるものではない。
(F) EXAMPLES The present invention will be described in detail below based on examples shown in the figures. Note that this invention is not limited by this.

第2図はこの発明の一実施例の構成を示すブロック図で
、21はキー入力装置であり、文字入カキ−と複数のフ
ァンクションキーと簡易書式モードを起動するための簡
易書式キー21aを有している。22は表示装置であり
、CRTやLCDなどから構成される。23は記憶装置
であり、この記憶装置23は簡易書式を記憶している簡
易書式バッファ23aと、キー入力装置21から入力さ
れた文章データを記憶するとともに流し込み記号と置換
された文字データを記憶する文章バッファ23bと、簡
易書式バッファ23aに記憶されている簡易書式を置換
する際に記憶しておく流し込み入力バッファ23cとか
ら構成されている。24は印字装置であり、熱転写式プ
リンタやドツトインパクト式プリンタなどから構成され
、作成した簡易書式による文章を印字する。25は中央
処理装置(以下CPUと呼称する)であり、例えば8ビ
ツトや16ビツトのマイクロコンピュータからなり、キ
ー入力装置21から入力されるデータを図示しないプロ
グラムに従って処理するとともに表示装置22、記憶装
置23、および印字装置24との間のデータもしくは信
号の授受を行う。
FIG. 2 is a block diagram showing the configuration of an embodiment of the present invention, and 21 is a key input device, which has a character input key, a plurality of function keys, and a simple format key 21a for starting a simple format mode. are doing. A display device 22 is composed of a CRT, LCD, or the like. 23 is a storage device, and this storage device 23 stores a simple format buffer 23a that stores simple formats, text data input from the key input device 21, and character data replaced with flow symbols. It consists of a text buffer 23b and a flow input buffer 23c which is stored when replacing the simple format stored in the simple format buffer 23a. Reference numeral 24 denotes a printing device, which is composed of a thermal transfer printer, a dot impact printer, or the like, and prints sentences in a created simple format. Reference numeral 25 denotes a central processing unit (hereinafter referred to as CPU), which is composed of, for example, an 8-bit or 16-bit microcomputer, and processes data input from the key input device 21 according to a program (not shown), as well as a display device 22 and a storage device. 23 and the printing device 24.

26は入力された読みを対応する漢字等の単語に変換す
るためのかな漢字変換辞書である。
26 is a kana-kanji conversion dictionary for converting input readings into corresponding words such as kanji.

以下にこの実施例の動作を、第3図〜第5図に基づいて
説明する。
The operation of this embodiment will be explained below based on FIGS. 3 to 5.

まず第4図a〜第4図Cにおいて簡易書式(流し込み)
機能を説明する。第4図aにおける「○」は流し込み記
号を示すOコードであり、○コードの先頭に表示される
数字■〜■は編集の意味付けを行う編集コードである。
First, in Figure 4 a to Figure 4 C, simple format (flowing)
Explain the function. "O" in FIG. 4a is an O code indicating a flow symbol, and the numbers ■ to ■ displayed at the beginning of the O code are editing codes that give meaning to editing.

編集コードは例えば■は○コード列の範囲内における右
ヅメ、■はOコード列の範囲内における左ヅメ、■はセ
ンタリングというように設定される。そして第4図すに
示すように数字r 1,2.3.4.5Jを入力すると
、これらの数字は予め設定された流し込み記号と置き換
えられ、かつ編集記号■によって右ヅメ表示される(第
4図C参照)。
The editing codes are set, for example, so that ■ is set to the right side within the range of the O code string, ■ is set to the left side within the range of the O code string, and ■ is set to centering. Then, as shown in Figure 4, when you enter the numbers r 1, 2, 3, 4, 5J, these numbers are replaced with the preset pouring symbols, and are displayed to the right by the editing symbol ■. (See Figure 4C).

次にこの実施例の動作の特徴について説明する。Next, the characteristics of the operation of this embodiment will be explained.

簡易書式キー21aを押すことにより流し込みモードが
起動されると(ステップ30)、CPU25は簡易書式
バッファ23aより第4図1に示す簡易書式を呼び出し
、その簡易書式を表示装置22に表示する(ステップ3
1→32)。ここで簡易書式バッファ23aに記憶され
ている既製の書式を使用しない場合はステップ30から
ステップ32に移る。呼び出された簡易書式は文章バッ
ファ23bに格納され、流し込み記号が検索される(ス
テップ33)。流し込み記号があれば簡易書式文字入力
画面となり(ステップ34−35)簡易書式文字入力を
受けつける(ステップ36)。そしてオペレータが入力
された文字列を(かな漢字変換辞書を参照することによ
り)文章として確定すると(ステップ37)、カーソル
の位置が流し込み記号の設定字数を超える位置であるか
どうかが判断され(ステップ38)、超えている場合は
まず1行目の流し込み記号設定字数分について入力文字
を格納され(ステップ39)、残りの文字は次行(2行
目)の流し込み記号設定字数分に割り当てられる。すな
わち改行される(ステップ40)。さらにステップ36
に戻り、流し込み記号2行目における次の文字入力を受
けっけ、カーソルの位置が設定字数を超えない場合は流
し込み記号を残りの文字および次の文字と置き換える変
換処理を行い(ステップ41)、ステップ36に戻る。
When the flow mode is activated by pressing the simple format key 21a (step 30), the CPU 25 calls the simple format shown in FIG. 41 from the simple format buffer 23a, and displays the simple format on the display device 22 (step 3
1 → 32). If the ready-made format stored in the simple format buffer 23a is not used, the process moves from step 30 to step 32. The called simple format is stored in the text buffer 23b, and a flow symbol is searched for (step 33). If there is a flow symbol, a simple format character input screen is displayed (steps 34-35), and input of simple format characters is accepted (step 36). When the operator confirms the input character string as a sentence (by referring to the kana-kanji conversion dictionary) (step 37), it is determined whether the cursor position exceeds the set number of characters for the flow symbol (step 38). ), if it exceeds the number of characters set for the flow symbol on the first line, the input characters are first stored for the number of characters set for the flow symbol on the first line (step 39), and the remaining characters are allocated for the number of characters set for the flow symbol on the next line (second line). In other words, a new line is inserted (step 40). Further step 36
Returns to , receives the next character input on the second line of the flow symbol, and if the cursor position does not exceed the set number of characters, performs conversion processing to replace the flow symbol with the remaining characters and the next character (step 41); Return to step 36.

実行キーを押すと(ステップ42)変換された文章を文
章バッファ23bに記憶させ、処理を完了する。
When the execution key is pressed (step 42), the converted text is stored in the text buffer 23b, and the process is completed.

なおステップ34において流し込み記号が検索されなけ
れば通常入力モードを検索し、通常入力モードがあれば
通常文章入力画面を呼び出しくステップ43)、文章入
力等の通常入力が行われる。
Note that if a flow symbol is not searched in step 34, a normal input mode is searched, and if a normal input mode is found, a normal text input screen is called up (step 43), and normal input such as text input is performed.

以上のようにして流し込み記号か文字に置き換えられ、
作成された簡易書式は、通常入力モードで入力された文
章と同様に文章バッファ23bに格納される。なお、簡
易書式はマスクROM等に設定されたものであってもよ
いし、使用者が任意に設定できるEPROMであっても
よく、また既に段車されたものを使用者が所望の書式に
変更できる記憶装置であってもよい。
As described above, it is replaced with a flow symbol or character,
The created simple format is stored in the text buffer 23b in the same way as text input in the normal input mode. The simple format may be set in a mask ROM or the like, or it may be an EPROM that can be set arbitrarily by the user, or the user can change an already set format to a desired format. It may also be a storage device that can.

第5図は上記の各処理に対応する表示画面を示している
。第5図aは簡易書式モード表示画面であり、2行に渡
り設定された流し込み記号が表示  、されている状態
を示す。第5図すは文字入力画面であり、1行目の流し
込み記号設定字数を超えた文章が入力された状態を示し
ている。第5図Cは変換処理によって1行目の流し込み
記号が設定字数分の文章“本特許に・・・たので゛と置
き換えられた状態を示している。第5図dは残りの文章
“通知します”が文字入力画面に表示され、変換処理待
ちとなっている状態を示している。
FIG. 5 shows a display screen corresponding to each of the above processes. FIG. 5a shows the simple format mode display screen, and shows a state in which flow symbols set over two lines are displayed. FIG. 5 is a character input screen, and shows a state in which a sentence exceeding the number of characters set for the flow symbol in the first line has been input. Figure 5C shows a state in which the flow symbol in the first line has been replaced with the text ``This patent... so'' for the set number of characters due to the conversion process. Figure 5D shows the remaining text ``Notice''. ” is displayed on the character input screen, indicating that the conversion process is pending.

(ト)発明の効果 この発明によれば、簡易書式における流し込み記号に連
続して文字列を入力した場合、−行目の流し込み記号か
らはみ出した文字列をカットすることなく次の行の流し
込み記号に入力することができるので、文字列を再入力
する手間が省は文章作成効率を向上させることができる
(G) Effects of the Invention According to this invention, when a character string is input consecutively to a flow symbol in simple format, the character string that protrudes from the flow symbol on the -th line is not cut and the next line's flow symbol is entered. This saves you the trouble of re-entering character strings and improves your writing efficiency.

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

第1図はこの発明の構成を示すブロック図、第2図はこ
の発明の一実施例の構成を示すブロック図、第3図は実
施例の動作を説明するフローチャート、第4図a〜第4
図Cは実施例の簡易書式の操作を示す説明図、第5図a
〜第5図dは実施例の動作に対応する表示状態を示す説
明図である。 !・・・・・・入力手段、2・・・・・・記憶手段、3
・・・・・・表示手段、 4・・・・・・簡易書式記憶
手段、5・・・・・・辞書手段、 6・・・・・・読出
手段、7・・・・・・文章確定手段、 8・・・・・・判断手段、 9・・・・・・割当手段、  lO・・・・・・置換手
段、11・・・・・・格納手段。 第2図
FIG. 1 is a block diagram showing the configuration of the present invention, FIG. 2 is a block diagram showing the configuration of an embodiment of the invention, FIG. 3 is a flowchart explaining the operation of the embodiment, and FIGS.
Figure C is an explanatory diagram showing the operation of the simple format of the embodiment, Figure 5a
-FIG. 5d are explanatory diagrams showing display states corresponding to the operations of the embodiment. ! ...Input means, 2...Storage means, 3
... Display means, 4 ... Simple format storage means, 5 ... Dictionary means, 6 ... Reading means, 7 ... Text confirmation means, 8...determination means, 9...allocation means, lO...replacement means, 11...storage means. Figure 2

Claims (1)

【特許請求の範囲】 1、単語の読み情報および各種の指示を入力する入力手
段と、 入力された読み情報等を記憶する記憶手段と、各種情報
を表示する表示手段と、 文章と置き換えられる複数の記号列からなる簡易書式を
読出し可能に記憶している簡易書式記憶手段と、 漢字を含む多数の単語を記憶している辞書手段と、 入力手段から第1の指示を受け、簡易書式記憶手段から
簡易書式を読み出して表示手段に出力する読出手段と、 入力手段から第2の指示を受け、入力された読み情報を
対応する単語に変換して文章を確定する文章確定手段と
、 確定された文章の字数が1行の記号列の設定字数を超え
るかどうか判断する判断手段と、確定された文章が1行
の記号列の設定字数を超える際に、文章を連続する複数
行の記号列に割り当てる割当手段と、 確定された文章の字数が1行の記号列の設定字数以下の
際、および確定された文章が複数行の記号列に割り当て
られた際に、記号列を確定した文章と置き換える置換手
段と、 置き換えられた文章を記憶手段に格納する格納手段とを
備えてなる文字処理装置。
[Scope of Claims] 1. Input means for inputting word reading information and various instructions; Storage means for storing the input reading information, etc.; Display means for displaying various information; and a plurality of words that can be replaced with sentences. a simple format storage means that readably stores a simple format consisting of a symbol string; a dictionary means that stores a large number of words including kanji; and a simple format storage means that receives a first instruction from the input means. reading means for reading out the simple format from and outputting it to the display means; sentence confirmation means for receiving a second instruction from the input means and converting the input reading information into corresponding words to confirm the sentence; A means for determining whether the number of characters in a sentence exceeds the set number of characters for a symbol string in one line, and a means for determining whether or not the number of characters in a sentence exceeds the set number of characters in a symbol string in one line, and a method for converting the text into consecutive symbol strings in multiple lines when the determined sentence exceeds the set number of characters in a symbol string in one line. Assignment means to replace a symbol string with a fixed sentence when the number of characters in a fixed sentence is less than or equal to the set number of characters for a symbol string in one line, and when a fixed sentence is assigned to a symbol string in multiple lines. A character processing device comprising a replacement means and a storage means for storing the replaced sentence in a storage means.
JP63096522A 1988-04-18 1988-04-18 Character processor Pending JPH01266660A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63096522A JPH01266660A (en) 1988-04-18 1988-04-18 Character processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63096522A JPH01266660A (en) 1988-04-18 1988-04-18 Character processor

Publications (1)

Publication Number Publication Date
JPH01266660A true JPH01266660A (en) 1989-10-24

Family

ID=14167471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63096522A Pending JPH01266660A (en) 1988-04-18 1988-04-18 Character processor

Country Status (1)

Country Link
JP (1) JPH01266660A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS605330A (en) * 1983-06-23 1985-01-11 Canon Inc Word processor

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS605330A (en) * 1983-06-23 1985-01-11 Canon Inc Word processor

Similar Documents

Publication Publication Date Title
EP0052725A1 (en) Method of reducing the print element changes in a text processing system
US4727511A (en) Multitype characters processing method and terminal device
EP0315957A2 (en) Word processor
EP0313399B1 (en) Text processing apparatus
EP0449322B1 (en) Text processing apparatus with formatting of text
JPH01266660A (en) Character processor
JP2974346B2 (en) Kanji processing device
JPH0448397B2 (en)
US6133899A (en) Printing device for displaying a title of a stored text
JPS6043689A (en) Character processor
JP2634926B2 (en) Kana-Kanji conversion device
JP2535059B2 (en) Character processor
JPS62149460A (en) Character processor
JP3577741B2 (en) Character input device
JP2596950B2 (en) Character processor
JPH0666066B2 (en) Document processor with furigana addition function
JPS6389925A (en) Word processor
JP2837497B2 (en) Output control device and output control method
JPS62149459A (en) Character processor
JPH0721189A (en) Translation assisting system
JPH01288957A (en) Character processor
JPS626369A (en) Character string processing system
JPH06203031A (en) Character input device
JPH04264670A (en) Information processor
JPH08339371A (en) Document output device and character modification method