JP3033133B2 - Text editing device - Google Patents
Text editing deviceInfo
- Publication number
- JP3033133B2 JP3033133B2 JP2148278A JP14827890A JP3033133B2 JP 3033133 B2 JP3033133 B2 JP 3033133B2 JP 2148278 A JP2148278 A JP 2148278A JP 14827890 A JP14827890 A JP 14827890A JP 3033133 B2 JP3033133 B2 JP 3033133B2
- Authority
- JP
- Japan
- Prior art keywords
- character string
- replaced
- replacement
- text
- character
- 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
Links
Landscapes
- Document Processing Apparatus (AREA)
Description
【発明の詳細な説明】 産業上の利用分野 本発明は、文字列置換機能を備えた文章編集装置に関
するものである。Description: BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a text editing device having a character string replacement function.
従来の技術 従来の文章編集装置における文字列置換は、被置換文
字列および置換文字列を1つずつ有しており、1つの文
字列を他の1つの文字列に置換するものであった。2. Description of the Related Art In a conventional text editing apparatus, character string replacement has one character string to be replaced and one character string to be replaced, and replaces one character string with another character string.
発明が解決しようとする課題 上記の構成では名詞などの固定的な文字列を固定的な
文字列に置き換える場合には十分であったが、動詞など
の活用する文字列や言い回しの置き換えは、置換操作を
複数回繰り返す必要があり操作が煩雑になるという問題
点を有していた。Problems to be Solved by the Invention With the above configuration, it was sufficient to replace a fixed character string such as a noun with a fixed character string. There was a problem that the operation had to be repeated a plurality of times and the operation became complicated.
本発明はこのような煩雑な言葉の置き換え、言い回し
の置き換え操作を簡略化する文集編集装置を提供するこ
とを目的とする。An object of the present invention is to provide a textbook editing apparatus that simplifies such complicated word replacement and wording replacement operations.
課題を解決するための手段 請求項1は文字および編集を行うためのコマンドを入
力する入力手段と、文章および編集処理に必要なプログ
ラムやデータを記憶するメモリと、文章および編集を行
うためのコマンドや文章の状態等を表示する表示手段
と、置換する元の文字列を記憶する複数の被置換文字列
記憶部と、編集する文章の文字列と被置換文字列記憶部
の内容を比較する複数の文字列比較器と、被置換文字列
記憶部に対応した置換される文字列を記憶する複数の置
換文字列記憶部と、編集する文章と置換文字列記憶部の
内容を置き換える文字列置換器と、これらのすべての構
成要素を制御し文章編集の基本処理を行う中央処理装置
を備えた文章編集装置である。Means for Solving the Problems Claim 1 is an input means for inputting characters and commands for editing, a memory for storing programs and data necessary for text and editing processing, and a command for text and editing. Display means for displaying the status of text and text, a plurality of character string storage units for storing the original character string to be replaced, and a plurality of character strings for the text to be edited and the contents of the character string storage unit for comparison. A character string comparator, a plurality of replacement character string storage units for storing character strings to be replaced corresponding to the character string storage unit to be replaced, and a character string replacement unit for replacing the text to be edited and the contents of the replacement character string storage unit And a text editing device provided with a central processing unit that controls all of these components and performs basic processing of text editing.
作 用 本発明の請求項1は前記した構成により、被置換文字
列と置換文字列が複数組設定でき一度に複数組の文字列
置換ができるので、動詞などの活用する言葉の置き換え
が簡単になる。According to the first aspect of the present invention, a plurality of sets of a character string to be replaced and a replacement character string can be set and a plurality of character string replacements can be performed at one time. Become.
実施例 第1図は本発明請求項1の一実施例を示すブロック図
である。第1図において、1はキーボードで、文字およ
び編集を行うためのコマンドを入力する。2は中央処理
装置で他の構成要素を制御し、文書編集の基本処理を行
う。3はメモリで、文章データや文章編集に必要なプロ
グラムやデータを格納する。4は文章や文章の状態、コ
マンド等を表示する表示装置である。10と11は置換され
る元の文字列を格納しておく被置換文字列記憶部であ
る。20と21は置換される文字列を編集する文章の中から
検索するために用いる文字列比較器である。30と31は置
き換える文字列を格納する置換文字列記憶部で、40は文
字列を置き換える文字列置換器である。50と51は文字列
比較器から出力される一致信号である。FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a keyboard for inputting characters and commands for editing. Reference numeral 2 denotes a central processing unit that controls other components and performs basic processing of document editing. A memory 3 stores text data and programs and data necessary for text editing. A display device 4 displays a sentence, a sentence state, a command, and the like. Reference numerals 10 and 11 denote character strings to be replaced storing units for storing character strings to be replaced. Reference numerals 20 and 21 denote character string comparators used to search the text to be replaced for editing. 30 and 31 are replacement character string storage units for storing character strings to be replaced, and 40 is a character string replacement unit for replacing character strings. 50 and 51 are coincidence signals output from the character string comparator.
第1図に従って文字列置換の動作を説明する。まず置
換する元の文字列を被置換文字列記憶部10と11に、置換
後の文字列を置換文字列記憶部30と31に操作者が設定す
る。ここで被置換文字列記憶部(1)10と、文字列比較
器(1)20と、置換文字列記憶部(1)30と、一致信号
(1)50は対応関係を持つ。また同様に被置換文字列記
憶部(2)11と、文字列比較器(2)21と、置換文字列
記憶部(2)31と、一致信号(2)51は対応関係を持
つ。The operation of character string replacement will be described with reference to FIG. First, the operator sets the original character string to be replaced in the replaced character string storage units 10 and 11, and the replaced character string in the replacement character string storage units 30 and 31. Here, the replacement character string storage unit (1) 10, the character string comparator (1) 20, the replacement character string storage unit (1) 30, and the coincidence signal (1) 50 have a correspondence relationship. Similarly, the replacement character string storage unit (2) 11, the character string comparator (2) 21, the replacement character string storage unit (2) 31, and the coincidence signal (2) 51 have a corresponding relationship.
文字列置換の開始が指示されると、文字列比較器20と
21には、被置換文字列記憶部10と11から置き換えるべき
文字列と、中央処理装置2から編集対象の文章が与えら
れる。文章中で置き換えるべき文字列が見つかったなら
ば、文字列比較器20もしくは21から一致信号50もしくは
51が出力される。一致信号50と51は文字列置換器40に加
えられる。一致信号50または51が出力されたならば、一
致信号50または51に対応する置換文字列記憶部30または
31の内容を文字列置換器40が編集対象の文章の文字列と
置き換える。When the start of the character string replacement is instructed, the character string comparator 20
To 21, a character string to be replaced is provided from the replaced character string storage units 10 and 11, and a sentence to be edited is provided from the central processing unit 2. If a character string to be replaced is found in the text, a match signal 50 or
51 is output. The match signals 50 and 51 are applied to the character string replacer 40. When the match signal 50 or 51 is output, the replacement character string storage unit 30 or 30 corresponding to the match signal 50 or 51 is output.
The character string replacer 40 replaces the contents of 31 with the character string of the text to be edited.
以上のように本実施例によれば異なった2つの文字列
を対応する異なった2つの文字列に一度で置き換えるこ
とができ、活用する動詞や言い回しを一度に変更するこ
とができる。As described above, according to the present embodiment, two different character strings can be replaced with the corresponding two different character strings at a time, and the verb and wording to be used can be changed at a time.
なお、本実施例では被置換文字列記憶部,文字列比較
器,置換文字列記憶部を2組としたが、これをより多く
すればなお一層複雑な文章の置き換えが可能である。ま
た、本実施例では比較器を複数持つ構成としたが、被置
換文字列記憶部と文字列比較器の間に被置換文字列を選
択する選択器を設け、比較器を1つにすることができ
る。この場合は比較を時系列的に行うことになる。In the present embodiment, the replacement character string storage unit, the character string comparator, and the replacement character string storage unit are two sets. However, if the number of the replacement units is increased, more complicated sentences can be replaced. In this embodiment, a plurality of comparators are provided. However, a selector for selecting a character string to be replaced is provided between the character string storage unit to be replaced and the character string comparator, and the number of comparators is reduced to one. Can be. In this case, the comparison is performed in chronological order.
発明の効果 以上説明したように、本発明によれば意味解釈を含む
ような複雑な構成を必要とせず動詞や形容詞などの活用
する単語の置き換えや、言い回し等のより複雑な文章の
編集が容易にでき、その実用的効果は大きい。Effect of the Invention As described above, according to the present invention, it is easy to replace words to be utilized such as verbs and adjectives and to edit more complicated sentences such as wording without requiring a complicated structure including semantic interpretation. And its practical effect is great.
第1図は本発明の第1の実施例における文章編集装置の
ブロック図である。 1……キーボード、2……中央処理装置、3……メモ
リ、4……表示装置、10……被置換文字列記憶部
(1)、11……被置換文字列記憶部(2)、13……被置
換文字列生成部、20……文字列比較器(1)、21……文
字列比較器(2)、30……置換文字列記憶部(1)、31
……置換文字列記憶部(2)、40……文字列置換器、50
……一致信号(1)、51……一致信号(2)。FIG. 1 is a block diagram of a text editing apparatus according to a first embodiment of the present invention. DESCRIPTION OF SYMBOLS 1 ... Keyboard, 2 ... Central processing unit, 3 ... Memory, 4 ... Display device, 10 ... Replacement character string storage part (1), 11 ... Replacement character string storage part (2), 13 ... Character string generator to be replaced, 20 ... Character string comparator (1), 21 ... Character string comparator (2), 30 ... Character string storage part (1), 31
...... Replacement character string storage unit (2), 40 ... Character string replacer, 50
... Match signal (1), 51... Match signal (2).
Claims (1)
と、文章およびプログラムやデータを記憶するメモリ
と、文章およびコマンドや文章の状態を表示する表示手
段と、置換する元の文字列を記憶する複数の被置換文字
列記憶部と、編集する文章の文字列と前記被置換文字列
記憶部の内容を比較する複数の文字列比較器と、前記被
置換文字列記憶部に対応した置換される文字列を記憶す
る複数の置換文字列記憶部と、編集する文章と前記置換
文字列記憶部の内容を置き換える文字列置換器と、上記
の各構成要素を制御し文章編集の基本処理を行う中央処
理装置を備えることを特徴とする文章編集装置。An input means for inputting characters and commands, a memory for storing texts, programs and data, a display means for displaying texts, commands and textual states, and a plurality of characters for storing original character strings to be replaced A plurality of character string comparators for comparing a character string of a sentence to be edited with the contents of the character string to be replaced, and a character to be replaced corresponding to the character string to be replaced storage part. A plurality of replacement character string storage units for storing strings; a character string replacement unit for replacing the text to be edited and the contents of the replacement character string storage unit; A text editing device comprising a device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2148278A JP3033133B2 (en) | 1990-06-05 | 1990-06-05 | Text editing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2148278A JP3033133B2 (en) | 1990-06-05 | 1990-06-05 | Text editing device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPH0439763A JPH0439763A (en) | 1992-02-10 |
JP3033133B2 true JP3033133B2 (en) | 2000-04-17 |
Family
ID=15449191
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2148278A Expired - Fee Related JP3033133B2 (en) | 1990-06-05 | 1990-06-05 | Text editing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3033133B2 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7877728B2 (en) | 2005-05-10 | 2011-01-25 | Fanuc Ltd | Sequence program editing apparatus |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP6592378B2 (en) * | 2016-02-26 | 2019-10-16 | 日本電信電話株式会社 | Rewriting device, method, and program |
-
1990
- 1990-06-05 JP JP2148278A patent/JP3033133B2/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7877728B2 (en) | 2005-05-10 | 2011-01-25 | Fanuc Ltd | Sequence program editing apparatus |
Also Published As
Publication number | Publication date |
---|---|
JPH0439763A (en) | 1992-02-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR900009120B1 (en) | Machine translation system | |
CN103853813A (en) | FOREIGN LANGUAGE WRITING SUPPORT APPARATUS, METHOD And Program | |
KR900000608B1 (en) | Translation display device | |
JP3033133B2 (en) | Text editing device | |
JPS5969829A (en) | Device for documentation | |
JPS62197864A (en) | Language information offering device | |
JPS6010348B2 (en) | Automatic conversion method for half-width and full-width characters | |
JPS58123124A (en) | Documentation device | |
JPS60200369A (en) | Mechanical translation device | |
JP2862236B2 (en) | Character processor | |
JPS6132440Y2 (en) | ||
JPH06149790A (en) | Document processor | |
JPS63106070A (en) | Chinese sentence input system | |
JPH0424759A (en) | Document processor | |
JPH0340063A (en) | Word processor | |
JPS6320677A (en) | Document editing device | |
JP2000029878A (en) | Method and device for learning translation knowledge and method and device for machine translation | |
JPH05314172A (en) | Machine translation device | |
JPH0223901B2 (en) | ||
JPH0776965B2 (en) | Kana-Kanji conversion processor | |
JPH11232268A (en) | Document processor, agate arranging method and storage medium | |
JPH04158477A (en) | Machine translation device | |
JPS6217266B2 (en) | ||
JPS6265162A (en) | Kana-kanji converting system | |
JPH08202710A (en) | Technical term converting device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
LAPS | Cancellation because of no payment of annual fees |