JPH04177564A - Method and device for processing symbol - Google Patents

Method and device for processing symbol

Info

Publication number
JPH04177564A
JPH04177564A JP2305109A JP30510990A JPH04177564A JP H04177564 A JPH04177564 A JP H04177564A JP 2305109 A JP2305109 A JP 2305109A JP 30510990 A JP30510990 A JP 30510990A JP H04177564 A JPH04177564 A JP H04177564A
Authority
JP
Japan
Prior art keywords
symbol
string
kana
storage unit
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.)
Pending
Application number
JP2305109A
Other languages
Japanese (ja)
Inventor
Junichi Kubota
淳市 久保田
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 JP2305109A priority Critical patent/JPH04177564A/en
Publication of JPH04177564A publication Critical patent/JPH04177564A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To easily input the symbol of a Japanese language sentence by an operation being similar to the KANA (Japanese syllabary)/KANJI (Chinese character) conversion by retrieving an original symbol train of a symbol relation storage part from a character-string storage part, and replacing the retrieved original symbol train with the corresponding target symbol train in the symbol relation storage part. CONSTITUTION:The device is provided with a character-string storage part 11 for storing a Japanese language character-string, a symbol relation storage part 12 for storing an original symbol train and a target symbol train by allowing them to correspond to each other, a symbol retrieving part 13 for retrieving the original symbol train of the symbol relation storage part 12 from the character-string storage part 11, and a symbol converting part 14 for replacing the original symbol train retrieved by the symbol retrieving part 13 with the corresponding target symbol train in the symbol relation storage part 12. In such a state, the symbol retrieving part 13 retrieves the original symbol train of the symbol relation storage part 12 from the character-string storage part 11, and the symbol converting part 14 replaces the original symbol train retrieved by the symbol retrieving part 13 with the corresponding target symbol train in the symbol relation storage part 12. In such a way, the symbol in the Japanese language sentence is inputted and edited by a simple operation, and a sentence whose style is in good order and whose symbol expression is unified can be generated.

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、日本語の文章を計算機上で入力9編集する文
書処理において、文章中で使用する記号を入力・編集す
る方法およびその装置に関する。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a method and apparatus for inputting and editing symbols used in sentences in document processing in which Japanese sentences are input and edited on a computer.

従来の技術 従来の記号処理方法および装置としては、記号入力に関
するものがある。現在、文字入力手段としては、かな漢
字変換が広(使われている。しかし、記号のように「読
み」と対応付けられない文字に対しては、特別の入力機
構を別に備えているのが普通である。
BACKGROUND OF THE INVENTION Conventional symbol processing methods and apparatus relate to symbol input. Currently, kana-kanji conversion is widely used as a means of inputting characters. However, for characters that cannot be associated with a reading, such as symbols, it is common to have a separate special input mechanism. It is.

例えば、別に準備されたコードと記号の対応表を見て、
対応するコードを番号で直接指定する方法、また、グル
ープ化された記号の一覧を表示させメニュー選択方式で
記号を指定する方法などが用いられており、これらの補
助入力手段を組み合わせて、各種の記号の入力を行って
いた。
For example, if you look at the correspondence table of codes and symbols prepared separately,
Methods such as directly specifying the corresponding code with a number, or displaying a list of grouped symbols and specifying the symbol using a menu selection method are used.By combining these auxiliary input methods, various types of I was inputting symbols.

発明が解決しようとする問題点 しかしながら、以上のような従来の記号処理方法および
装置では、特別の入力操作や記号−覧表を使用者が記憶
しなければならないという問題があった。
Problems to be Solved by the Invention However, with the conventional symbol processing method and device as described above, there is a problem in that the user must memorize special input operations and symbol lists.

このため、本来、記号文字が定義されているにも関わら
ず、代用文字で済ませるようなことも多かった。例えば
、継続を意味する記号「・・・」はJIS  X020
8で標準コードとして定義されているが、代用記号とし
て「・・・」のような使い方をされることが多い。結果
として、書の体裁が汚くなってしまうという問題が発生
していた。
For this reason, even though symbolic characters were originally defined, substitute characters were often used. For example, the symbol "..." which means continuation is specified in JIS X020.
Although it is defined as a standard code in 8, it is often used as a substitute symbol like "...". As a result, a problem occurred in that the appearance of the calligraphy became sloppy.

また、代用記号と本来の記号が交ざって使われると文章
の表現の統一性が損なわれるという問題も生じていた。
In addition, if substitute symbols and original symbols were used together, there was a problem in that the consistency of the expression of the text was lost.

また、パーソナル・コンピュータなどの情報機器では、
特殊用途の記号を定義するための外字定義機能などを用
い各システムごとに独自の外字記号を使用しているのが
普通である。しかし、今日、各種媒体ないし通信回線を
通して相互に文章データを交換する必要が増してくると
、あるシステムで用いられた外字記号が伯のシステムで
は読めなくなるという互換性の問題が生じている。
In addition, in information devices such as personal computers,
It is common for each system to use its own custom character symbols using a custom character definition function to define special purpose symbols. However, today, as the need to mutually exchange text data through various media or communication lines increases, a compatibility problem has arisen in which external characters used in one system cannot be read by another system.

本発明は、従来の記号処理方法および装置が有していた
前記問題に鑑み、日本語文章中の記号を簡単な操作で入
力・編集し、体裁の整った、記号表現が統一された文章
を作成する記号処理方法および装置、さらに文章データ
の互換性を保証することのできる記号処理方法および装
置を提供することを目的とする。
In view of the above-mentioned problems with conventional symbol processing methods and devices, the present invention has been developed to input and edit symbols in Japanese sentences with simple operations, and to create sentences that are well-formed and have unified symbolic expressions. It is an object of the present invention to provide a symbol processing method and device that can guarantee the compatibility of text data.

問題を解決するための手段 本発明は、日本語文字列を記憶する文字列記憶部と、元
記号列と目的記号列を対応付けて記憶する記号関係記憶
部と、前記文字列記憶部から前記記号関係記憶部の元記
号列を検索する記号検索部と、前記記号検索部が検索し
た元記号列を前記記号関係記憶部内の対応する目的記号
列に置換する記号変換部を備えることを特徴とする記号
処理装置である。
Means for Solving the Problem The present invention provides a character string storage unit that stores Japanese character strings, a symbol relationship storage unit that stores source symbol strings and target symbol strings in association with each other, and a The present invention is characterized by comprising a symbol search unit that searches for an original symbol string in the symbol relationship storage unit, and a symbol conversion unit that replaces the source symbol string searched by the symbol relationship storage unit with a corresponding target symbol string in the symbol relationship storage unit. It is a symbol processing device.

また、本発明は日本語文字列を記憶する文字列記憶部と
、元記号列と目的記号列を対応付けて記憶する記号関係
記憶部と、前記文字列記憶部から前記記号関係記憶部の
元記号列を検索する記号検索部と、前記記号検索部が検
索した元記号列を前記記号関係記憶部内の対応する目的
記号列に置換する記号変換部と前記記号関係記憶部内の
記号列の対応関係を更新する記号関係更新部を備えるこ
とを特徴とする記号処理装置である。
The present invention also provides a character string storage unit that stores Japanese character strings, a symbol relationship storage unit that stores source symbol strings and target symbol strings in association with each other, and an origin of the symbol relationship storage unit from the character string storage unit. A symbol search unit that searches for a symbol string, a symbol conversion unit that replaces the source symbol string searched by the symbol search unit with a corresponding target symbol string in the symbol relationship storage unit, and a correspondence relationship between the symbol strings in the symbol relationship storage unit. This is a symbol processing device characterized by comprising a symbol relationship updating unit that updates the symbol relationship.

本発明は、日本語文字列を記憶する文字列記憶部と、元
記号列と目的記号列を対応付けて記憶する記号関係記憶
部と、前記文字列記憶部から前記記号関係記憶部の元記
号列を検索する記号検索部と、前記記号検索部が検索し
た元記号列を前記記号関係記憶部内の対応する目的記号
列に置換する記号変換部と、前記文字列記憶部内のかな
文字列を漢字かな交じり列に変換するかな漢字変換部を
持つことを特徴とする記号処理装置である。
The present invention provides a character string storage unit that stores Japanese character strings, a symbol relationship storage unit that stores source symbol strings and target symbol strings in association with each other, and source symbols from the character string storage unit to the symbol relationship storage unit. a symbol search unit that searches for a string; a symbol conversion unit that replaces the source symbol string searched by the symbol search unit with a corresponding target symbol string in the symbol relationship storage unit; This is a symbol processing device characterized by having a kana-kanji conversion unit that converts into a kana-mixed string.

また、本発明は日本語文字列を記憶する文字列記憶部と
、標準コードのみからなる目的記号列を元記号列と対応
付けて記憶する記号関係記憶部と、前記文字列記憶部か
ら前記記号関係記憶部の元記号列を検索する記号検索部
と、前記記号検索部が検索した元記号列を前記記号関係
記憶部内の対応する目的記号列に置換する記号変換部を
備えることを特徴とする記号処理装置である。
The present invention also provides a character string storage unit that stores Japanese character strings, a symbol relationship storage unit that stores a target symbol string consisting only of standard codes in association with an original symbol string, and a The present invention is characterized by comprising a symbol search unit that searches for an original symbol string in the relational storage unit, and a symbol conversion unit that replaces the original symbol string searched by the symbol search unit with a corresponding target symbol string in the symbol relational storage unit. It is a symbol processing device.

作用 本発明は前記した構成により、記号検索部が文字列記憶
部から記号関係記憶部の元記号列を検索する。次に、記
号変換部は記号検索部が検索した元記号列を記号関係記
憶部内の対応する目的記号列に置換する。
Operation According to the present invention, the symbol search unit searches the character string storage unit for the original symbol string in the symbol relationship storage unit, using the above-described configuration. Next, the symbol conversion section replaces the source symbol string searched by the symbol search section with the corresponding target symbol string in the symbol relation storage section.

また、本発明は前記した構成により、記号検索部が文字
列記憶部から記号関係記憶部の元記号列を検索する。次
に、記号変換部は記号検索部が検索した元記号列を記号
関係記憶部内の対応する目的記号列に置換する。その一
方、記号関係更新部は記号関係記憶部の記号列の対応関
係を更新する。
Further, according to the present invention, with the above-described configuration, the symbol search section searches the character string storage section for the original symbol string in the symbol relation storage section. Next, the symbol conversion section replaces the source symbol string searched by the symbol search section with the corresponding target symbol string in the symbol relation storage section. On the other hand, the symbol relation updating section updates the correspondence of symbol strings in the symbol relation storage section.

また、本発明は前記した構成により、記号検索部が文字
列記憶部から記号関係記憶部の元記号列を検索する。次
に、記号変換部は記号検索部が検索した元記号列を記号
関係記憶部内の対応する目的記号列に置換する。その後
、かな漢字変換部は文字列記憶内のかな列を対応する漢
字かな交じり列に変換する。
Further, according to the present invention, with the above-described configuration, the symbol search section searches the character string storage section for the original symbol string in the symbol relation storage section. Next, the symbol conversion section replaces the source symbol string searched by the symbol search section with the corresponding target symbol string in the symbol relation storage section. Thereafter, the kana-kanji converter converts the kana string in the character string memory into a corresponding kanji-kana mixed string.

また、本発明は前記した構成により、かな漢字変換部が
文字列記憶部内のかな列を対応する漢字かな交じり列に
変換する。次に、記号検索部は文字列記憶部から記号関
係記憶部の元記号列を検索し、その記号検索部が検索し
た元記号列を記号変換部は記号関係記憶部内の対応する
目的記号列に置換する。
Further, according to the present invention, with the above-described configuration, the kana-kanji conversion unit converts a kana string in the character string storage unit into a corresponding kanji-kana mixed string. Next, the symbol search section searches the character string storage section for the source symbol string in the symbol relation storage section, and the symbol conversion section converts the source symbol string searched by the symbol search section into the corresponding target symbol string in the symbol relation storage section. Replace.

実施例 第一の実施例 第1図は本発明の第一の実施例における記号処理装置の
構成を表すブロック図である。
First Embodiment FIG. 1 is a block diagram showing the configuration of a symbol processing device in a first embodiment of the present invention.

11は文字列記憶部であり、漢字、かな、カタカナ、記
号などからなる日本語のテキスト文字列を文字符号列と
して格納する。
Reference numeral 11 denotes a character string storage section, which stores Japanese text strings consisting of kanji, kana, katakana, symbols, etc. as character code strings.

12は記号関係記憶部であり、同一の意味を持つ記号列
同志を相互に対応付けて記憶する。本実施例では、記号
関係記憶部12としては書換え可能半導体記憶装置(R
AM)上の固定長の記号関係レコードの集合として実現
する。記号関係レコードには元記号と目的記号のフィー
ルドを定義し、対応する記号列を格納する。この際、記
号関係レコードは元記号をキーとしてソートしておく。
Reference numeral 12 denotes a symbol relationship storage section, which stores symbol strings having the same meaning in association with each other. In this embodiment, the symbol relationship storage unit 12 is a rewritable semiconductor memory device (R
AM) is realized as a set of fixed-length symbolic relationship records. The symbol relationship record defines fields for source symbol and target symbol, and stores the corresponding symbol string. At this time, symbol-related records are sorted using the original symbol as a key.

13は記号検索部で、文字列記憶部11上の文字列の中
に記号関係記憶部12の元記号フィールド内の記号列が
存在するかどうか2分探索により検索する。存在する場
合、後述する記号変換部を起動し、検索された文字列記
憶部11上の位置情報、および記号関係記憶部12上の
該当レコードの位置情報を出力する。
Reference numeral 13 denotes a symbol search unit which searches by binary search to see if a symbol string in the original symbol field of the symbol relationship storage unit 12 exists in the character string in the character string storage unit 11. If it exists, a symbol converter, which will be described later, is activated and outputs the searched position information on the character string storage section 11 and the position information of the corresponding record on the symbol relationship storage section 12.

14は記号変換部で、記号検索部13から与えられる文
字列記憶部11上の元記号の位置情報と記号関係記憶部
12上の記号関係レコードの位置情報を基にして、記号
関係レコード内の目的記号列を取り出し、文字列記憶部
11上の元記号と置換する。
Reference numeral 14 denotes a symbol conversion unit, which converts the information in the symbol relationship record based on the position information of the original symbol on the character string storage unit 11 given from the symbol search unit 13 and the position information of the symbol relationship record on the symbol relationship storage unit 12. The target symbol string is extracted and replaced with the original symbol on the character string storage section 11.

15は記号関係更新部で記号関係記憶部12上の記号関
係レコードを後述する入力装置から入力されるオペレー
タの指示に従い、記号関係記憶部12の内容を後述する
表示装置に表示しながら、書き換える。この記号関係更
新部15の制御方法などは従来のテキスト編集装置と同
様であり詳細の説明は省略する。
Reference numeral 15 denotes a symbol relation updating section which rewrites the symbol relation record on the symbol relation storage section 12 while displaying the contents of the symbol relation storage section 12 on a display device which will be described later, according to an operator's instruction inputted from an input device which will be described later. The control method of this symbol relationship updating section 15 is the same as that of a conventional text editing device, and detailed explanation will be omitted.

16は表示装置であり、指示された文字コードに対応す
る文字をCRTデイスプレィ上に表示する。
A display device 16 displays characters corresponding to the designated character code on a CRT display.

17は入力装置であり、オペレータの指示に応じて文字
コードや制御コードを発生する。入力装置17はキーボ
ード装置で実現されており、オペレータがキーを打鍵す
ると対応するコードを発生する。
Reference numeral 17 denotes an input device, which generates character codes and control codes in accordance with instructions from the operator. The input device 17 is implemented as a keyboard device, and when the operator presses a key, a corresponding code is generated.

実際にはこれ以外にも漢字入力や表示・入力の制御機能
や対話型インターフェースの機能などを実現するために
種々の構成要素を必要とするが、本発明の主眼でないの
で説明を割愛する。
In reality, various other constituent elements are required to realize kanji input, display/input control functions, interactive interface functions, etc., but they are not the main focus of the present invention, so their explanations will be omitted.

以上のように構成された本実施例の記号処理装置につい
て、以下その動作を説明する。
The operation of the symbol processing device of this embodiment configured as described above will be explained below.

[記号列変換1 (1)オペレータは入力装置[17より記号検索部13
を起動するため、記号列変換を意味するキーボード上の
「記号変換キー」を打鍵する。
[Symbol string conversion 1 (1) The operator is the input device [17 from the symbol search unit 13]
To start , press the "symbol conversion key" on the keyboard, which means symbol string conversion.

(2)記号検索部13は文字列記憶部11中に記号関係
記憶部12の元記号フィールドの記号列が存在するかど
うが検索する。存在する場合、記号変換部14に対し、
検索した元記号の文字列記憶部11上の位置情報、およ
び記号関係記憶部12上の該当レコードの位置情報を出
力する。存在しない場合は、処理を終了する。
(2) The symbol search unit 13 searches the character string storage unit 11 to see if the symbol string of the original symbol field of the symbol relationship storage unit 12 exists. If it exists, for the symbol conversion unit 14,
The position information of the searched original symbol on the character string storage unit 11 and the position information of the corresponding record on the symbol relationship storage unit 12 are output. If it does not exist, the process ends.

(3)記号変換814は記号関係記憶部12上の指定レ
コード中から元記号列と目的記号列を取り出し、文字列
記憶部11の指定位置の元記号列を目的記号列に置換す
る。
(3) The symbol conversion 814 extracts the source symbol string and the target symbol string from the designated record on the symbol relationship storage section 12, and replaces the source symbol string at the designated position in the character string storage section 11 with the target symbol string.

この文字列記憶部11のテキスト中の記号列を対応する
記号列に変換する様子を第3図を用いて説明する。
The manner in which a symbol string in the text in the character string storage section 11 is converted into a corresponding symbol string will be explained with reference to FIG.

3−a、3−bは文字列記憶部11内の文字列の一例を
示す説明図である。3−cは記号関係記憶部12内の記
号関係レコードの一例を示す説明図である。オペレータ
の指示で3−aの文字列に対し、3−cの記号関係記憶
部12の内容で「記憶変換」を指示すると、記号検索部
13は3−aの2行目および3行目の「メートル」およ
びrミリバール」という記号列を検出する。次に、記号
変換部14が対応する「ト」および「I4」という目的
記号列に置換し、その結果文字列記憶部11の内容は3
−bのように変化する。
3-a and 3-b are explanatory diagrams showing examples of character strings in the character string storage section 11. FIG. 3-c is an explanatory diagram showing an example of symbol relationship records in the symbol relationship storage unit 12. When the operator instructs "memory conversion" for the character string 3-a using the contents of the symbol relation storage unit 12 of 3-c, the symbol search unit 13 converts the character string 3-a from the second and third lines of 3-a. The symbol strings "meter" and "r millibar" are detected. Next, the symbol conversion unit 14 replaces the target symbol strings “G” and “I4”, and as a result, the contents of the character string storage unit 11 become 3.
- Changes like b.

なお、本実施例では、元記号列としてJIS等で規定さ
れている標準の符号を用いた記号列を、目的記号列とし
て各種パソコン等で独自に定義されている記号列を用い
ているが、これを逆に設定してもよい。この場合、元記
号列と目的記号列が入れ替わるだけであるから、動作の
説明は省略する。この場合には、3−bの文章が3−a
のように変換され、システム独自の外字記号’ fx 
Jおよび「号」は標準のカタカナコードに置換されるの
で、結果として互換性の高い文章データが作成される。
In this example, a symbol string using standard codes defined by JIS etc. is used as the source symbol string, and a symbol string uniquely defined by various personal computers etc. is used as the target symbol string. This setting may be reversed. In this case, since the source symbol string and the target symbol string are simply interchanged, a description of the operation will be omitted. In this case, the sentence 3-b becomes 3-a
The system-specific external character symbol ' fx
Since J and "go" are replaced with standard katakana codes, highly compatible text data is created as a result.

[記号関係更新] (1)オペレータが入力装置17がら記号関係更新部1
5に対し、記号関係更新部15を起動するため、記号列
関係情報の更新を指示する「記号関係更新キー」を打鍵
する。
[Symbol relationship update] (1) The operator uses the input device 17 to update the symbol relationship update unit 1.
5, in order to start the symbol relationship update section 15, the user presses the "symbol relationship update key" which instructs the update of the symbol string relationship information.

(2)  ia号関係更新部15は記号関係記憶部12
の内容を記号関係更新部15内のメモリに複写したのち
、表示装置16上にその内容を表示し、オペレータから
の「カーソルキー」押下に応じ、画面上で更新対象レコ
ードを示す反転行を移動する。
(2) The ia relationship update unit 15 is the symbol relationship storage unit 12
After copying the contents to the memory in the symbol relation update unit 15, display the contents on the display device 16, and move the inverted line indicating the record to be updated on the screen in response to the press of the "cursor key" by the operator. do.

(3)更新対象が決まるとオペレータは「更新レコード
情報」を入力装置17がら入力する。
(3) Once the update target is determined, the operator inputs "update record information" using the input device 17.

レコードを追加する場合は「追加指示キー」を打鍵した
後に、「更新レコード情報」を入力する。この結果新し
い記号関係レコードの集合が記号関係更新部15上のメ
モリに作成される。
When adding a record, press the "addition instruction key" and then input "updated record information". As a result, a new set of symbol relationship records is created in the memory on the symbol relationship update unit 15.

また、記号関係レコードを削除する場合は入力装置17
上の「削除指示キー」を打鍵する。この場合、該当する
レコードが削除され新しい記号関係レコードの集合が記
号関係更新部15上のメモリに作成される。
In addition, when deleting a symbol-related record, the input device 17
Press the "Delete instruction key" above. In this case, the corresponding record is deleted and a new set of symbol relationship records is created in the memory on the symbol relationship update unit 15.

(4)最後にオペレータは更新の確定を指示するために
入力装置17上の「記号関係確定キー」牛−を打鍵する
(4) Finally, the operator presses the "symbol relationship confirmation key" on the input device 17 to instruct confirmation of the update.

(5)記号関係更新部15は更新後の内容を元記号列を
キーとしてソートし、その結果を記号関係記憶部12に
書き込む。
(5) The symbol relationship updating unit 15 sorts the updated contents using the original symbol string as a key, and writes the result to the symbol relationship storage unit 12.

この記号関係記憶部12中の記号関係レコードを更新す
る様子を第3図を用いて説明する。
How the symbol relationship record in the symbol relationship storage section 12 is updated will be explained with reference to FIG.

3〜C,3−dは記号関係記憶部12内の記号関係レコ
ードの一例を示す。記号関係更新部15が起動されると
これと同様の内容が表示装置16上に表示される。図中
反転している行が更新対象レコードであり、入力装置1
7の「カーソルキー」押下に応じて上下に移動する。現
在は先頭の「(株式会社)」の箇所にある。このレコー
ドの元記号列を更新する場合は、更新後レコードの内容
すなわち、「(株)■」を入力する。この結果表示装置
16上の表示は3−dのように変化する。入力装置17
から更新確定を意味する「記号関係確定キー」を打鍵す
ると、記号関係更新部15は更新後の記号関係レコード
群の内容を元記号列をキーとしてソートするが、この場
合ソートしても同じ順序なので、このままのイメージで
記号関係レコード群が記号関係記憶部12に格納される
3 to 3C and 3-d show examples of symbol relationship records in the symbol relationship storage unit 12. When the symbol relationship updating unit 15 is activated, similar content is displayed on the display device 16. The highlighted row in the figure is the record to be updated, and input device 1
It moves up and down in response to the pressing of the "cursor key" 7. Currently, it is located at the beginning of the page with "(Co., Ltd.)". When updating the original symbol string of this record, input the contents of the updated record, that is, "Corporation ■". As a result, the display on the display device 16 changes as shown in 3-d. Input device 17
When you press the "symbol relationship confirmation key" which means to confirm the update, the symbol relationship update unit 15 sorts the contents of the updated symbol relationship record group using the original symbol string as a key. Therefore, the symbol relationship record group is stored in the symbol relationship storage unit 12 as it is.

第二の実施例 第2図は本発明の第二の実施例における記号処理装置の
構成を表すブロック図である。
Second Embodiment FIG. 2 is a block diagram showing the configuration of a symbol processing device in a second embodiment of the present invention.

この図の11.12,13.14,15,16゜17は
第一の実施例と同一番号の構成要素なので説明を省略す
る。
Reference numerals 11, 12, 13, 14, 15, 16, and 17 in this figure have the same numbers as in the first embodiment, so the explanation thereof will be omitted.

18はかな漢字変換部で、文字列記憶部11上のかな列
を漢字かな交じり列に変換する。かな漢字変換の方式に
は様々なものがあるが、本実施例では連文節−括の変換
方式を用いる。かな漢字変換自体の詳細の説明は、本発
明の趣旨には関係しないので省略する。
A kana-kanji conversion section 18 converts the kana string on the character string storage section 11 into a kanji-kana mixed string. There are various methods of kana-kanji conversion, but in this embodiment, a continuous clause-baku conversion method is used. A detailed explanation of the kana-kanji conversion itself will be omitted since it is not related to the gist of the present invention.

以上のように構成された本実施例の記号処理装置につい
て、以下その動作をかな漢字変換が完了する前に記号変
換を実施する「確定前変換」とかな漢字変換が完了した
後で記号変換を実施する「確定後変換」に分けて説明す
る。
Regarding the symbol processing device of this embodiment configured as described above, its operation will be described below as ``conversion before confirmation'' in which symbol conversion is performed before kana-kanji conversion is completed, and symbol conversion is performed after kana-kanji conversion is completed. This will be explained separately in "conversion after confirmation."

[確定前変換] (1)オペレータが入力装置17から、キーボード上に
定義された、かな、英数字、その他生数の記号文字を打
鍵入力すると、かな漢字変換部18はまず対応する文字
コードをそのまま文字列記憶部11上に蓄積する。また
同時にその内容を表示装置16上に表示する。
[Conversion before confirmation] (1) When the operator inputs kana, alphanumeric, or other raw number symbol characters defined on the keyboard from the input device 17, the kana-kanji conversion unit 18 first converts the corresponding character code as is. It is stored on the character string storage section 11. At the same time, the contents are displayed on the display device 16.

(2)次に、オペレータが入力装置17の「記号変換キ
ー」を打鍵すると記号検索部13は文字列記憶部11上
の中に記号関係記憶部120元記号フィールドの記号列
が存在するがどうか検索する。存在する場合、記号変換
部14に対し、検索した元記号列の文字列記憶部11上
での位置情報、および記号関係記憶部12上の該当レコ
ードの位置情報を出力する。存在しない場合は記号変換
処理を終了しく4)へ制御を移す。
(2) Next, when the operator presses the "symbol conversion key" on the input device 17, the symbol search section 13 detects whether the symbol string in the symbol field of the symbol relation storage section 120 exists in the character string storage section 11. search for. If it exists, the position information of the searched original symbol string on the character string storage section 11 and the position information of the corresponding record on the symbol relationship storage section 12 are output to the symbol conversion section 14 . If it does not exist, the symbol conversion process is terminated and control is transferred to 4).

(3)該当する記号が存在する場合、記号変換部14は
記号関係記憶部12上の指定レコードから元記号列と目
的記号列を取り出し、文字列記憶部11の指定位置の元
記号列を目的記号列と置換する。
(3) If the corresponding symbol exists, the symbol conversion unit 14 extracts the source symbol string and the target symbol string from the specified record on the symbol relationship storage unit 12, and converts the source symbol string at the specified position in the character string storage unit 11 into the target symbol string. Replace with symbol string.

(4)次にオペレータが入力装置17上の「かな漢字変
換キー」を押下すると、かな漢字変換部18は文字列記
憶部11中のかな列を対象としてそれらを対応する漢字
かな交じり列に変換し、結果を表示装置16に表示する
(4) Next, when the operator presses the "kana-kanji conversion key" on the input device 17, the kana-kanji conversion section 18 converts the kana strings in the character string storage section 11 into corresponding kanji-kana mixed strings, The results are displayed on the display device 16.

(5)かな漢字変換部18はオペレータからの「次候補
キー」打鍵に応じて、次々とかな漢字変換結果の候補を
提示し、最終的にかな漢字変換の「確定キー」打鍵で文
字列を確定して文字列記憶部11上に格納し、かな漢字
変換の処理を完了する。
(5) The kana-kanji conversion unit 18 presents candidates for the kana-kanji conversion result one after another in response to the "next candidate key" pressed by the operator, and finally finalizes the character string by pressing the "decision key" for kana-kanji conversion. The data is stored in the character string storage unit 11, and the kana-kanji conversion process is completed.

この確定前変換の様子を第4図を用いて説明する。4−
aから4−cは、変換途中の文字列記憶部11内に格納
されている文字列を示す説明図である。
The state of this pre-confirmation conversion will be explained using FIG. 4. 4-
4-c are explanatory diagrams showing character strings stored in the character string storage unit 11 during conversion.

当初、入力装置17から入力された文字は4−aの形式
で格納されている。(2)、(3)のステップを完了し
記号変換が終わると、文字列記憶部11の内容は4−b
のように変化する。最後に(4)、(5ンのかな漢字変
換のステップを完了すると目的の文字列が4−cのよう
に文字列記憶部11中に完成する。
Initially, characters input from the input device 17 are stored in the format 4-a. When steps (2) and (3) are completed and the symbol conversion is completed, the contents of the character string storage section 11 are 4-b.
It changes like this. Finally, in (4), after completing the kana-kanji conversion step (5), the target character string is completed in the character string storage unit 11 as shown in 4-c.

[確定後変換] (1)オペレータが入力装置17がら、キーボード上に
定義された、がな、英数字、その他生数の記号文字を打
鍵入力すると、がな漢字変換部18はまず対応する文字
コードをそのまま文字列記憶部11上に蓄積する。また
同時にその内容を表示装置16上に表示する。
[Conversion after Confirmation] (1) When the operator inputs Gana, alphanumeric characters, and other raw number symbol characters defined on the keyboard using the input device 17, the Gana-Kanji converter 18 first converts them into the corresponding characters. The code is stored as it is on the character string storage section 11. At the same time, the contents are displayed on the display device 16.

(2)  次にオペレータが入力装置17上の「がな漢
字変換キー」を押下すると、かな漢字変換部18は文字
列記憶部11中のかな列を対象としてそれらを対応する
漢字かな交じり列に変換し、結果を表示装置16に表示
する。
(2) Next, when the operator presses the "Kana-Kanji conversion key" on the input device 17, the Kana-Kanji conversion section 18 converts the Kana strings in the character string storage section 11 into corresponding Kanji-Kana-mixed strings. and display the results on the display device 16.

(3)かな漢字変換部18はオペレータからの「次候補
キー」打鍵に応じて、次々とかな漢字変換結果の候補を
提示し、最終的にかな漢字変換の「確定キー」打鍵で文
字列を確定して文字列記憶部11上に格納し、かな漢字
変換の処理を完了する。
(3) The kana-kanji conversion unit 18 presents candidates for the kana-kanji conversion result one after another in response to the "next candidate key" pressed by the operator, and finally finalizes the character string by pressing the "decision key" for kana-kanji conversion. The data is stored in the character string storage unit 11, and the kana-kanji conversion process is completed.

(4)次に、オペレータが入力装置17の「記号変換キ
ー」を打鍵すると記号検索部13は文字列記憶部11上
の中に記号関係記憶部12の元記号フィールドの記号列
が存在するかどうか検索する。存在する場合、記号変換
部14に対し、検索した元記号列の文字列記憶部11上
での位置情報、および記号関係記憶部12上の該当レコ
ードの位置情報を出力する。存在しない場合は処理を終
了する。
(4) Next, when the operator presses the "symbol conversion key" on the input device 17, the symbol search section 13 checks whether the symbol string of the original symbol field of the symbol relationship storage section 12 exists in the character string storage section 11. Please search. If it exists, the position information of the searched original symbol string on the character string storage section 11 and the position information of the corresponding record on the symbol relationship storage section 12 are output to the symbol conversion section 14 . If it does not exist, the process ends.

(5)該当する記号が存在する場合、記号変換部14は
記号関係記憶部12上の指定レコードから元記号列と目
的記号列を取り出し、文字列記憶部110指定位置の元
記号列番目的記号列と置換する。
(5) If the corresponding symbol exists, the symbol conversion unit 14 extracts the source symbol string and the target symbol string from the specified record on the symbol relationship storage unit 12, and extracts the source symbol string number symbol at the specified position in the character string storage unit 110. Replace with column.

この確定径変換の様子を第5図を用いて説明する。5−
aから5−cは、変換途中の文字列記憶部11内に格納
されている文字列を示す説明図である。
The state of this definite diameter conversion will be explained using FIG. 5. 5-
FIGS. 5A to 5C are explanatory diagrams showing character strings stored in the character string storage unit 11 during conversion.

当初、入力装置17から入力された文字は5−aの形式
で格納されている。(2)、(3)のステップを完了し
かな漢字変換が終わると、文字列記憶部11の内容は5
−bのように変化する。最後に(4)、(5)の記号変
換のステップを完了すると目的の文字列が5−cのよう
に文字列記憶部11中に完成する。
Initially, characters input from the input device 17 are stored in the format 5-a. After completing steps (2) and (3), the contents of the character string storage unit 11 will be 5.
- Changes like b. Finally, when the symbol conversion steps (4) and (5) are completed, the target character string is completed in the character string storage unit 11 as shown in 5-c.

以上のように本実施例によれば、かな漢字変換と記号変
換を順序を変えて実施することができる。
As described above, according to this embodiment, kana-kanji conversion and symbol conversion can be performed in different orders.

なお、本実施例における確定前変換ではかな漢字変換起
動前に記号変換しているが、かな漢字変換が完了する前
の途中段階で行って良い。
In the pre-confirmation conversion in this embodiment, the symbol conversion is performed before starting the kana-kanji conversion, but it may be performed at an intermediate stage before the kana-kanji conversion is completed.

発明の詳細 な説明したように、本発明によれば日本語文章の記号を
かな漢字変換と類似の操作で簡単に入力することができ
る。
As described in detail, according to the present invention, symbols of Japanese text can be easily inputted by operations similar to kana-kanji conversion.

また、文章テキスト中の代用記号表現を正規の形式に変
え、体裁を整えることができる。
It is also possible to change the substitute symbolic expressions in the text into regular formats to improve the appearance.

また、文章テキスト中に存在する代用記号表現と正規の
表現の記号を一定の形式に統一することができる。
Furthermore, the symbols of substitute symbolic expressions and regular expressions present in the text can be unified into a fixed format.

また、非標準の記号を標準の記号に変換することで、文
章データの互換性を保証することができる。
Furthermore, by converting non-standard symbols to standard symbols, compatibility of text data can be guaranteed.

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

第1図は本発明における第一の実施例の記号処理装置の
ブロック図、第2図は本発明における第二の実施例の記
号処理装置のブロック図、第3図は本発明の第一の実施
例の動作を説明する説明図、第4図と第5図は本発明の
第二の実施例の動作を説明する説明図である。 11・・・・・・文字列記憶部、12・・・・・・記号
関係記憶部、13・・・・・・記号検索部、14・・・
・・・記号変換部。 代理人の氏名 弁理士小鍜治明 はが2名嬉1図   
       !7 第2N 第 31−1 −a3−b 3−C3−d
FIG. 1 is a block diagram of a symbol processing device according to a first embodiment of the present invention, FIG. 2 is a block diagram of a symbol processing device according to a second embodiment of the present invention, and FIG. 3 is a block diagram of a symbol processing device according to a first embodiment of the present invention. FIG. 4 and FIG. 5 are explanatory diagrams explaining the operation of the second embodiment of the present invention. 11...Character string storage unit, 12...Symbol relationship storage unit, 13...Symbol search unit, 14...
...Symbol conversion section. Name of agent: Patent attorney Haruaki Ogata, 2 people, 1 picture
! 7 2nd N 31-1 -a3-b 3-C3-d

Claims (8)

【特許請求の範囲】[Claims] (1)日本語文字列を記憶する文字列記憶部と、元記号
列と目的記号列を対応付けて記憶する記号関係記憶部を
持つ記号処理装置において、前記文字列記憶部から前記
記号関係記憶部の元記号列を検索する記号検索段階と、
前記記号検索段階で検索した元記号列を前記記号関係記
憶部内の対応する目的記号列に置換する記号変換段階を
備えることを特徴とする記号処理方法。
(1) In a symbol processing device having a character string storage unit that stores Japanese character strings, and a symbol relationship storage unit that stores a source symbol string and a target symbol string in association with each other, the character string storage unit a symbol search stage of searching for the original symbol string of the part;
A symbol processing method, comprising a symbol conversion step of replacing the source symbol string searched in the symbol search step with a corresponding target symbol string in the symbol relationship storage section.
(2)本発明は、日本語文字列を記憶する文字列記憶部
と、元記号列と目的記号列を対応付けて記憶する記号関
係記憶部と、前記文字列記憶部から前記記号関係記憶部
の元記号列を検索する記号検索部と、前記記号検索部が
検索した元記号列を前記記号関係記憶部内の対応する目
的記号列に置換する記号変換部を備えることを特徴とす
る記号処理装置。
(2) The present invention provides a character string storage unit that stores Japanese character strings, a symbol relationship storage unit that stores source symbol strings and target symbol strings in association with each other, and a symbol relationship storage unit that stores Japanese character strings in association with each other. A symbol processing device comprising: a symbol search unit that searches for an original symbol string; and a symbol conversion unit that replaces the source symbol string searched by the symbol search unit with a corresponding target symbol string in the symbol relationship storage unit. .
(3)前記記号関係記憶部内の記号列の対応関係を更新
する記号関係更新段階を備えることを特徴とする請求項
1項記載の記号処理方法。
2. The symbol processing method according to claim 1, further comprising: (3) a symbol relationship updating step of updating a correspondence relationship between symbol strings in said symbol relationship storage unit.
(4)前記記号関係記憶部内の記号列の対応関係を更新
する記号関係更新部を備えることを特徴とする請求項2
項記載の記号処理装置。
(4) Claim 2, further comprising a symbol relationship updating unit that updates the correspondence of symbol strings in the symbol relationship storage unit.
The symbol processing device described in Section 1.
(5)前記文字列記憶部内のかな文字列を対応する漢字
かな交じり列に変換するかな漢字変換部を有し、記号変
換段階の後にかなを漢字かな交じり列に変換するかな漢
字変換段階を有することを特徴とする請求項1項記載の
記号処理方法。
(5) It has a kana-kanji conversion unit that converts the kana character string in the character string storage unit into a corresponding kanji-kana mixture string, and has a kana-kanji conversion stage that converts kana into a kanji-kana mixture string after the symbol conversion step. The symbol processing method according to claim 1, characterized in that:
(6)前記文字列記憶部内のかな文字列を漢字かな交じ
り列に変換するかな漢字変換部を有し、記号変換段階に
先立ちかなを漢字かな交じり列に変換するかな漢字変換
段階を有することを特徴とする請求項1項記載の記号処
理方法。
(6) It has a kana-kanji conversion unit that converts the kana character string in the character string storage unit into a kanji-kana mixture string, and includes a kana-kanji conversion step that converts kana into a kanji-kana mixture string prior to the symbol conversion step. The symbol processing method according to claim 1.
(7)前記文字列記憶部内のかな文字列を漢字かな交じ
り列に変換するかな漢字変換部を持つことを特徴とする
請求項2項記載の記号処理装置。
(7) The symbol processing device according to claim 2, further comprising a kana-kanji conversion unit that converts the kana character string in the character string storage unit into a kanji-kana mixed string.
(8)前記記号関係記憶部内の目的記号列として標準コ
ードのみからなる記号列を用いることを特徴とする請求
項2項記載の記号処理装置。
(8) The symbol processing device according to claim 2, wherein a symbol string consisting only of standard codes is used as the target symbol string in the symbol relationship storage section.
JP2305109A 1990-11-09 1990-11-09 Method and device for processing symbol Pending JPH04177564A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2305109A JPH04177564A (en) 1990-11-09 1990-11-09 Method and device for processing symbol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2305109A JPH04177564A (en) 1990-11-09 1990-11-09 Method and device for processing symbol

Publications (1)

Publication Number Publication Date
JPH04177564A true JPH04177564A (en) 1992-06-24

Family

ID=17941210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2305109A Pending JPH04177564A (en) 1990-11-09 1990-11-09 Method and device for processing symbol

Country Status (1)

Country Link
JP (1) JPH04177564A (en)

Similar Documents

Publication Publication Date Title
CN1928865B (en) Method and apparatus for synchronizing, displaying and manipulating text and image documents
EP0180047B1 (en) Text editor for speech input
US5557794A (en) Data management system for a personal data base
US5982365A (en) System and methods for interactively generating and testing help systems
JPS61120275A (en) Japanese word processor
JPS646497B2 (en)
JPH04177564A (en) Method and device for processing symbol
JPH0236019B2 (en)
JPS5969829A (en) Device for documentation
JPH0822470A (en) Information preparation supporting system
JPS5965347A (en) Japanese sentence forming device
JP3313483B2 (en) Keyword creation device
JPH10198667A (en) Character string conversion device and program recording medium for the device
JP2023114935A (en) Kana-kanji conversion/kearm conversion style japanese language input system
JP3457035B2 (en) Document creation support device
JPS59208635A (en) Document formation device
JP3313482B2 (en) Keyword creation device
JPH08185401A (en) Document retrieving device
JPH0561911A (en) Data management device
JPH06119321A (en) Document preparing device
JPH08287072A (en) Machine translation system
JPH06168286A (en) Method and device for extracting cad drawing comment
JPS62282364A (en) Character string retrieval system
JPH08161336A (en) Document preparation device and its item management method
JPH1097536A (en) User dictionary registration system in machine translation