JP2899281B2 - Idiom registration device - Google Patents

Idiom registration device

Info

Publication number
JP2899281B2
JP2899281B2 JP61150291A JP15029186A JP2899281B2 JP 2899281 B2 JP2899281 B2 JP 2899281B2 JP 61150291 A JP61150291 A JP 61150291A JP 15029186 A JP15029186 A JP 15029186A JP 2899281 B2 JP2899281 B2 JP 2899281B2
Authority
JP
Japan
Prior art keywords
idiom
character
control code
storage means
stored
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 - Fee Related
Application number
JP61150291A
Other languages
Japanese (ja)
Other versions
JPS635467A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61150291A priority Critical patent/JP2899281B2/en
Publication of JPS635467A publication Critical patent/JPS635467A/en
Application granted granted Critical
Publication of JP2899281B2 publication Critical patent/JP2899281B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 産業上の利用分野 本発明はワードプロッセッサ等の文書作成装置に用い
られる熟語登録装置に関する。 従来の技術 従来よりワードプロッセッサ等の文書作成装置には使
用者が自分で作った熟語を登録する熟語登録装置が設け
られているものが多い。 ところで、このようなワードプロッセッサ等の文書作
成装置はキーボード等の文字入力装置より中央処理装置
に文字コードや各種の制御コードを送り、中央処理装置
が送られた文字コードや制御コードを種々制御してテキ
スト記憶装置に送り、テキスト記憶装置に文字コードや
制御コード(テキスト情報)を蓄積している。そして、
従来の熟語登録装置は使用者によって指定されたテキス
ト記憶装置のある先頭アドレスから別のあるアドレスま
でに含まれる文字コードおよび制御コードの内文字コー
ドのみを取り込んで記憶するようになっていた。 発明が解決しようとする問題点 従来の熟語登録装置は、以上のような技術よりなるた
め、熟語記憶装置には文字コードの列しか記憶すること
ができなかった。従って特定の書式を伴う熟語、例えば
全角文字と拡大文字を組み合わせた熟語は、全角部分の
熟語と拡大部分の熟語をそれぞれ別々に記憶させ、呼び
出す時もそれぞれ別々に呼び出して組み合わせなければ
ならず登録も呼び出しも手間が掛かるものであった。 問題点を解決するための手段 本発明は以上の問題点を解決するため、文字コードか
らなるテキスト情報を入力する文字入力手段と、文字の
出力位置に関連する制御コードを入力する制御コード入
力手段と、文字入力手段および制御コード入力手段から
入力されるデータを記憶する記憶手段と、記憶手段に記
憶されたデータのうち、指定された領域のテキスト情報
を一つの熟語として記憶する熟語記憶手段とを備え、熟
語記憶手段から熟語として記憶されたテキスト情報を取
り出すようになっている熟語登録装置であって、指定さ
れた領域内のデータに、文字の出力位置に関連する制御
コードが含まれていると、制御コードを除くテキスト情
報を熟語記憶手段に記憶させる構成とした。 作用 上記構成により本発明は、指定された領域のデータの
うち、文字の出力位置に関連する制御コードを除くテキ
スト情報を登録することができる。 実施例 以下、本発明の実施例を図に沿って詳細に説明する。 第1図は本発明の熟語登録装置のブロック図である。
ここで1はキーボード等の文字入力装置であり、文字入
力装置1はマイクロプロセッサ等の中央処理装置2に接
続されている。また、中央処理装置2には読み書き自在
メモリよりなるテキスト記憶装置3が接続されている。
4は熟語記憶手段であり、読み書き自在メモリよりな
り、熟語の文字コードとともに制御コードも記憶する。
5は熟語取り込み手段であり、テキスト記憶装置3上の
指定された区間(指定された領域)の文字を中央処理装
置2へ取り込む手段である。 また、6は制御コード識別手段であり、テキスト記憶
装置3上の指定された区間に制御コードが存在する場
合、その制御コードが改行およびタブを示す制御コード
(文字の出力位置に関連する制御コード)であるなら
ば、そのような制御コードを除去し、また一方、その制
御コードが縮小文字および拡大文字を示す制御コードで
ある場合、そのような制御コードを含んだまま取り込ま
れた制御コードを熟語記憶手段に送る手段である。7は
表示装置であり、ブラウン管等よりなりテキスト記憶装
置3に記憶されたデータを表示するものである。 本発明の熟語登録装置は以上のような構成よりなり、
次にその動作について説明する。 先ず、文書の作成に際しては、文字入力装置1を操作
して中央処理装置2へ文書を構成する各文字を入力す
る。すると中央処理装置2は入力された各文字に対応す
る文字コードを順次テキスト記憶装置3へ送り、テキス
ト記憶装置3上に作成すべき文書を構成する文字に対応
する文字コードの列が記憶される。 ここで、熟語を記憶させる方法について説明する。熟
語として「さて次は今日のニュース」という文字列の内
「今日のニュース」の文字列が拡大文字である文字列を
例として記憶される場合について説明をする。先ず、文
字入力装置1より「さて次は」という文字列を入力し、
次に文字入力装置1の拡大文字指定キーを押し、続いて
「今日のニュース」という文字列を入力する。ここで拡
大文字であることを示すコードが例えば「100」であっ
たとすると、テキスト記憶装置3上には第2図に示され
る通りの文字コードの列が記憶される。 次に、文字入力装置1の熟語領域指定キーを押して第
4図のステップaに示す通り登録したい熟語の先頭の文
字すなわち「さ」と末尾の文字すなわち「ス」を指定
し、熟語登録文字列の指定を行う。すると第4図のステ
ップbに示される通り中央処理装置2が指定された熟語
登録文字列の指定に誤り、即ち第2図に示されるように
文字のサイズ情報の中に熟語の切れ目が指定されていな
いか確認をし、文字のサイズ情報の中に熟語の切れ目が
指定されていると、指定エラーとして再度熟語登録文字
列の指定ステップへ戻る。指定に誤りがないと第4図の
ステップcで、指定を行った熟語の登録番号を指定し、
熟語記憶手段4の指定された登録番号に相当するアドレ
スに熟語の記憶を準備する。すると第4図のステップd
で登録のミスを防ぐため、指定された熟語を表示し、ス
テップeで熟語を登録しても良いか否か使用者に問い掛
け、登録してまずい場合はステップcの前へ戻り、登録
しても良い場合はステップfへ行く。第4図のステップ
fでは指定をされた熟語の中の制御コードの識別を行
い、制御コードが登録をすべき制御コードである場合ス
テップhで熟語をそのまま熟語記憶手段へ出力し、制御
コードが登録をすべき制御コードでない場合ステップg
で制御コードを熟語から除去して熟語記憶手段へ出力す
る。上記の熟語の列であると制御コードは拡大文字を示
す制御コードであるため、登録しても良い制御コードで
あり取り込んだ熟語をそのまま熟語記憶手段4へ出力す
る。 本実施例では、以上の方法によって熟語の登録が行わ
れるため、熟語の中の制御コードが登録すべき制御コー
ドである場合、熟語記憶手段4には熟語を構成する文字
列のみ記憶されるのではなく、文字列の文字サイズ等を
示す制御コードも記憶されるため、そのような制御コー
ドを含む熟語も登録することができる。 次に登録された熟語の呼出方について説明をする。ま
ず文字入力装置1より呼出たい熟語の登録番号を中央処
理装置2へ入力する。すると中央処理装置2は入力され
た登録番号に相当する熟語記憶手段4のアドレスをアク
セスし、熟語が登録されているか否かフラグが1か0か
を見て確認し、文字コードと制御情報を読み出し、文字
コードの中の制御情報に従って文字コードに相当する文
字を表示装置7に表示する。 発明の効果 以上のように本発明は、文字コードからなるテキスト
情報を入力する文字入力手段と、文字の出力位置に関連
する制御コードを入力する制御コード入力手段と、文字
入力手段および制御コード入力手段から入力されるデー
タを記憶する記憶手段と、記憶手段に記憶されたデータ
のうち、指定された領域のテキスト情報を一つの熟語と
して記憶する熟語記憶手段とを備え、熟語記憶手段から
熟語として記憶されたテキスト情報を取り出すようにな
っている熟語登録装置であって、指定された領域内のデ
ータに、文字の出力位置に関連する制御コードが含まれ
ていると、制御コードを除くテキスト情報を熟語記憶手
段に記憶させる構成としたことにより、指定された領域
のデータのうち、文字の出力位置に関連する制御コード
を除くテキスト情報を登録することができるので、登録
した熟語を文章中に取り出しても、不必要な制御コード
を除去する必要がなくなると共に、文章の体裁を崩すこ
となく挿入でき、操作性が極めて高い。
Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an idiom registration device used for a document creation device such as a word processor. 2. Description of the Related Art Conventionally, many word processing devices such as word processors are provided with a idiom registration device for registering idioms created by a user. By the way, such a document processing device such as a word processor sends a character code and various control codes from a character input device such as a keyboard to a central processing unit, and the central processing unit controls the sent character code and control code in various ways. And sends it to a text storage device, where character codes and control codes (text information) are stored. And
The conventional idiom registration device has been designed to capture and store only the character codes and the control code included in the text storage device specified by the user from one head address to another certain address. Problems to be Solved by the Invention Since the conventional idiom registration device has the above-described technology, the idiom storage device can only store character strings. Therefore, idioms with a specific format, for example, idioms that combine full-width characters and enlarged characters, must be stored separately as idioms for full-width characters and idioms for enlarged parts, and must be recalled and combined separately when recalled. And calling were also troublesome. Means for Solving the Problems In order to solve the above problems, the present invention provides a character input means for inputting text information consisting of a character code, and a control code input means for inputting a control code related to a character output position. And storage means for storing data input from the character input means and the control code input means; and idiom storage means for storing text information of a specified area as one idiom among data stored in the storage means. A idiom registration device for extracting text information stored as idioms from idiom storage means, wherein the data in the designated area includes a control code related to the output position of the character. In this case, text information excluding the control code is stored in the idiom storage means. Operation With the above configuration, the present invention can register text information excluding the control code related to the character output position in the data of the designated area. Embodiment Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram of the idiom registration apparatus of the present invention.
Here, 1 is a character input device such as a keyboard, and the character input device 1 is connected to a central processing unit 2 such as a microprocessor. Further, a text storage device 3 composed of a readable / writable memory is connected to the central processing unit 2.
Reference numeral 4 denotes a phrase storage means, which comprises a readable and writable memory, and stores a control code together with a character code of the phrase.
Numeral 5 is a phrase capturing means, which captures characters in a designated section (designated area) on the text storage device 3 into the central processing unit 2. Reference numeral 6 denotes a control code identification means. When a control code exists in a designated section on the text storage device 3, the control code indicates a control code indicating a line feed and a tab (a control code related to a character output position). )) Removes such control codes, while if the control code is a control code indicating reduced characters and enlarged characters, the control code imported including such control codes is removed. It is means to send to the idiom storage means. Reference numeral 7 denotes a display device which is composed of a cathode ray tube or the like and displays data stored in the text storage device 3. The idiom registration device of the present invention has the above configuration,
Next, the operation will be described. First, when creating a document, the character input device 1 is operated to input each character constituting the document to the central processing unit 2. Then, the central processing unit 2 sequentially sends the character codes corresponding to the input characters to the text storage device 3, and stores the character code strings corresponding to the characters constituting the document to be created on the text storage device 3. . Here, a method of storing idioms will be described. A description will be given of a case in which a character string of “today's news” in a character string of “now next to today's news” is stored as an example of a character string that is an enlarged character. First, a character string "Now is next" is input from the character input device 1,
Next, the user presses the enlarged character designation key of the character input device 1, and then inputs a character string "Today's News". Here, assuming that the code indicating the enlarged character is, for example, “100”, a character code string as shown in FIG. 2 is stored in the text storage device 3. Next, the idiom area designation key of the character input device 1 is pressed to designate the first character, ie, “sa” and the last character, ie, “su”, of the idiom to be registered as shown in step a of FIG. Is specified. Then, as shown in step b of FIG. 4, the central processing unit 2 makes an error in the designation of the designated idiom registered character string, that is, the break of the idiom is specified in the character size information as shown in FIG. Check if there is a break in the idiom in the character size information, and return to the idiom registration character string specification step again as a specification error. If there is no mistake in the specification, in step c of FIG. 4, the registration number of the specified idiom is specified,
An idiom storage is prepared at an address corresponding to the designated registration number in the idiom storage means 4. Then step d in FIG.
In order to prevent registration mistakes, the designated idiom is displayed, and in step e, the user is asked whether or not the idiom may be registered. If registration is unsatisfactory, return to step c and register. If so, go to step f. In step f of FIG. 4, the control code in the designated idiom is identified, and if the control code is the control code to be registered, the idiom is output to the idiom storage means as it is in step h. Step g if the control code is not to be registered
The control code is removed from the idiom and output to the idiom storage means. Since the control code is a control code indicating an enlarged character in the above-described idiom string, it is a control code that may be registered and the fetched idiom is output to the idiom storage means 4 as it is. In the present embodiment, the idioms are registered by the above method. Therefore, if the control code in the idiom is a control code to be registered, only the character string constituting the idiom is stored in the idiom storage means 4. Instead, a control code indicating the character size and the like of the character string is also stored, so that a idiom including such a control code can also be registered. Next, how to call the registered idiom will be described. First, the registration number of the idiom to be called is input from the character input device 1 to the central processing unit 2. Then, the central processing unit 2 accesses the address of the idiom storage means 4 corresponding to the inputted registration number, checks whether the flag is 1 or 0 or not, and checks the character code and the control information. The read out character is displayed on the display device 7 in accordance with the control information in the character code. As described above, the present invention provides character input means for inputting text information consisting of character codes, control code input means for inputting a control code related to a character output position, character input means, and control code input. A storage means for storing data input from the means, and a idiom storage means for storing text information of a specified area as one idiom among the data stored in the storage means; A phrasal word registration device adapted to retrieve stored text information, wherein when data in a designated area includes a control code related to a character output position, text information excluding the control code is excluded. Is stored in the idiom storage means, so that the data in the designated area excluding the control code related to the output position of the character can be used. Since the text information can be registered, even if the registered idiom is taken out of the sentence, unnecessary control codes do not need to be removed, and the sentence can be inserted without breaking the appearance of the sentence, and the operability is extremely high.

【図面の簡単な説明】 第1図は本発明の熟語登録装置の一実施例におけるブロ
ック図、第2図は同表示状態を示す図、第3図は同熟語
記憶手段の記憶状態を示すマップ図、第4図は同動作状
態を示すフローチャートである。 1…文字入力装置、2…中央処理装置 3…テキスト記憶装置、4…熟語記憶手段 5…熟語取り込み手段、6…制御コード識別手段
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of an embodiment of the idiom registration apparatus of the present invention, FIG. 2 is a view showing the same display state, and FIG. 3 is a map showing the storage state of the idiom storage means. FIG. 4 is a flowchart showing the same operation state. DESCRIPTION OF SYMBOLS 1 ... Character input device, 2 ... Central processing unit 3 ... Text storage device, 4 ... Phrase word storage means 5 ... Phrase word capture means, 6 ... Control code identification means

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭60−57382(JP,A) 特開 昭57−150025(JP,A) 特開 昭56−159763(JP,A) 小林みすず著「一太郎ガイド」(昭61 −4−15)、株式会社日本ソフトバンク 出版部 PP138−140   ────────────────────────────────────────────────── ─── Continuation of front page       (56) References JP-A-60-57382 (JP, A)                 JP-A-57-150025 (JP, A)                 JP-A-56-159763 (JP, A)                 Misuzu Kobayashi, "Ichitaro Guide" (Showa 61               -4-15), Nippon SoftBank Corp.               Publishing Division PP138-140

Claims (1)

(57)【特許請求の範囲】 1.文字コードからなるテキスト情報を入力する文字入
力手段と、 文字の出力位置に関連する制御コードを入力する制御コ
ード入力手段と、 前記文字入力手段および前記制御コード入力手段から入
力されるデータを記憶する記憶手段と、 前記記憶手段に記憶されたデータのうち、指定された領
域のテキスト情報を一つの熟語として記憶する熟語記憶
手段とを備え、 前記熟語記憶手段から熟語として記憶されたテキスト情
報を取り出すようになっている熟語登録装置であって、 前記指定された領域内のデータに、文字の出力位置に関
連する制御コードが含まれていると、前記制御コードを
除くテキスト情報を前記熟語記憶手段に記憶させること
を特徴とする熟語登録装置。
(57) [Claims] Character input means for inputting text information consisting of a character code; control code input means for inputting a control code relating to a character output position; and storing data input from the character input means and the control code input means. Storage means; and idiom storage means for storing text information of a designated area among the data stored in the storage means as one idiom, extracting text information stored as idioms from the idiom storage means In the idiom registration device, when the data in the designated area includes a control code related to a character output position, text information excluding the control code is stored in the idiom storage means. An idiom registration device, characterized in that it is stored in a storage device.
JP61150291A 1986-06-26 1986-06-26 Idiom registration device Expired - Fee Related JP2899281B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61150291A JP2899281B2 (en) 1986-06-26 1986-06-26 Idiom registration device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61150291A JP2899281B2 (en) 1986-06-26 1986-06-26 Idiom registration device

Publications (2)

Publication Number Publication Date
JPS635467A JPS635467A (en) 1988-01-11
JP2899281B2 true JP2899281B2 (en) 1999-06-02

Family

ID=15493777

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61150291A Expired - Fee Related JP2899281B2 (en) 1986-06-26 1986-06-26 Idiom registration device

Country Status (1)

Country Link
JP (1) JP2899281B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56159763A (en) * 1980-05-12 1981-12-09 Fujitsu Ltd "kana" japanese syllabary to "kanji" chinese character conversion system
JPS57150025A (en) * 1981-03-12 1982-09-16 Fuji Photo Film Co Ltd Input method of japanese sentence
JPS6057382A (en) * 1983-09-09 1985-04-03 キヤノン株式会社 Character processor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
小林みすず著「一太郎ガイド」(昭61−4−15)、株式会社日本ソフトバンク出版部 PP138−140

Also Published As

Publication number Publication date
JPS635467A (en) 1988-01-11

Similar Documents

Publication Publication Date Title
US5852798A (en) Machine translation apparatus and method for translating received data during data communication
JPS645344B2 (en)
JP2899281B2 (en) Idiom registration device
US7080002B1 (en) Bi-lingual system and method for automatically converting one language into another language
JPH0728829A (en) Translation supporting device
JPS6053991A (en) Document generator
JP2786260B2 (en) Kana-Kanji conversion device
JPH0615317Y2 (en) Document processor
JPH0719189B2 (en) Data input device
JP2596950B2 (en) Character processor
JP2988046B2 (en) Kana-Kanji conversion device
JPS60238967A (en) Display processing system for kana and kanji conversion result
JPH01102613A (en) Character processor
JPS59171989A (en) Extra character display control system
JPH11175528A (en) Electronic dictionary
JPH03147055A (en) Document preparation device
JPH0666065B2 (en) Document processor with furigana addition function
JPH05282113A (en) Input device for character data
JPH06250628A (en) Document processor
JPH07120353B2 (en) Document processor
JPH0628058B2 (en) Document creation device
JPS62156764A (en) Document data processor
JPH02300962A (en) Sentence editing device
JPS62156765A (en) Document data processor
JPS5843065A (en) Information retrieving device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees