JPH0760366B2 - Character data processor - Google Patents

Character data processor

Info

Publication number
JPH0760366B2
JPH0760366B2 JP63079485A JP7948588A JPH0760366B2 JP H0760366 B2 JPH0760366 B2 JP H0760366B2 JP 63079485 A JP63079485 A JP 63079485A JP 7948588 A JP7948588 A JP 7948588A JP H0760366 B2 JPH0760366 B2 JP H0760366B2
Authority
JP
Japan
Prior art keywords
character
input
data
level value
character data
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 - Lifetime
Application number
JP63079485A
Other languages
Japanese (ja)
Other versions
JPH01250123A (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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP63079485A priority Critical patent/JPH0760366B2/en
Publication of JPH01250123A publication Critical patent/JPH01250123A/en
Publication of JPH0760366B2 publication Critical patent/JPH0760366B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Input From Keyboards Or The Like (AREA)
  • Document Processing Apparatus (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、個々の文字が一以上の文字コードにより表さ
れる文字系列の文字データ、特にタイ文字データの処理
に利用する。特に、このような文字データの入力に関す
る。本発明は、特に電報交換装置に利用される。
DETAILED DESCRIPTION OF THE INVENTION [Industrial field of application] The present invention is used for processing character data of a character series in which each character is represented by one or more character codes, particularly Thai character data. In particular, it relates to the input of such character data. The present invention is particularly applicable to a telegram exchange device.

〔概要〕〔Overview〕

本発明は、複数の文字コードで表される文字データを入
力可能な文字データ処理装置において、 入力された文字コードに対応してレベル値を発生し、こ
のレベル値の順に文字コードを並べ替えることにより、 文字コードの入力順序に依存せずに正しい文字データを
得るものである。
The present invention, in a character data processing device capable of inputting character data represented by a plurality of character codes, generates a level value corresponding to the input character code, and rearranges the character codes in order of this level value. By doing so, correct character data can be obtained without depending on the input order of character codes.

〔従来の技術〕[Conventional technology]

タイ文字は1文字が1〜3個の部分により表される。こ
のため、このような文字を許容する文字データ処理装
置、特に電報交換装置では、それぞれの部分に異なる文
字コードを割り当て、その組み合わせにより文字データ
を表している。
One Thai character is represented by 1 to 3 parts. Therefore, in a character data processing device that allows such characters, particularly a telegram exchange device, different character codes are assigned to the respective parts, and the character data is represented by the combination.

〔発明が解決しようとする問題点〕[Problems to be solved by the invention]

しかし、従来のタイ文字用文字データ処理装置では、文
字コードの入力順序によって、同一文字(または語)で
あっても、別な文字(語)のデータとして認識してしま
うことがあった。例えば三つの部分、すなわちノーマ
ル、ハイおよびスーパーハイ(normal、high、super hi
gh)、またはノーマル、ローおよびスーパーハイ(norm
al、low、super high)により構成されるタイ文字の場
合には、ハイまたはローとスーパーハイとのどちらを先
に入力するかによって、同一文字(桁)であっても異な
るデータとして認識される。例えばノーマル、ハイおよ
びスーパーハイ構成の文字 の入力順は、 との二通りがあり、また、ノーマル、ローおよびスーパ
ーハイ構成の文字 の入力順は、 との二通りがある。これらの文字は、入力順が異なる
と、同一文字でありながら別文字として認識されてしま
う。
However, in the conventional Thai character data processing device, the same character (or word) may be recognized as different character (word) data depending on the input order of the character codes. For example, there are three parts: normal, high and super high.
gh), or normal, low and super high (norm
Thai characters composed of al, low, super high) are recognized as different data even if they are the same character (digit) depending on whether high or low and super high are input first. . Characters in normal, high and super high configurations, for example The input order of There are two types, and characters of normal, low and super high composition. The input order of There are two ways. If the input order is different, these characters are recognized as different characters even though they are the same character.

このため、操作者は一定の入力順序を厳守しなければな
らず、入力作業が面倒であり、入力ミスの原因となり、
運用効率が悪い欠点があった。
For this reason, the operator must strictly adhere to a certain input sequence, which makes the input work troublesome and causes an input error.
There was a drawback that operational efficiency was poor.

本発明は、以上の問題点を解決し、文字コードの入力順
序に依存せずに文字データを認識する文字データ処理装
置を提供することを目的とする。
It is an object of the present invention to solve the above problems and provide a character data processing device that recognizes character data without depending on the input order of character codes.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の文字データ処理装置は、個々の文字が1または
複数の文字コードで表される文字データを入力可能な入
力手段を備えた文字データ処理装置において、入力され
た文字コードが文字のどの部分を表すものであるかを示
すレベル値を発生する手段と、このレベル値があらかじ
め定められた値であるとき、その文字コードに続いて入
力された前記あらかじめ定められた値とはレベル値の異
なる文字コードをそのレベル値に対応する順に並べ替え
る手段とを備えたことを特徴とする。
The character data processing device of the present invention is a character data processing device having an input means capable of inputting character data in which each character is represented by one or a plurality of character codes. Means for generating a level value indicating whether or not the level value is a predetermined value, and when the level value is a predetermined value, the level value is different from the predetermined value input following the character code. And a means for rearranging the character codes in the order corresponding to the level value.

〔作用〕[Action]

本発明の文字データ処理装置は、あらかじめ定められた
値のレベル値の文字コードが入力されると、それに続く
その値とはレベル値の異なる文字コードを並べ替える。
これにより、入力順序は任意でも、装置内では文字コー
ドが一定順序の文字データを処理できる。
When the character code of the level value having a predetermined value is input, the character data processing device of the present invention rearranges the character codes having different level values from the subsequent value.
As a result, even if the input order is arbitrary, the character data whose character codes are in a fixed order can be processed in the apparatus.

タイ文字の場合について説明すると、タイ文字では、個
々の文字が1〜3個の部分により表される。複数の部分
を含む文字を文字データ処理装置に入力する場合には、
最初にノーマルまたはその左の部分がある場合にはノー
マルの前にその部分の文字コードを入力し、その後にハ
イ、ローまたはスーパーハイの文字コードを入力するこ
とになる。左の部分の文字コードの次には必ずノーマル
の文字コードが入力されるので、これについては入力順
が問題となることはなく、以下では説明を省略する。し
たがって、ノーマルの文字コードが入力された場合に、
それに続くハイ、ローまたはスーパーハイの文字コード
について、装置内で所定の順序となるように順番を並べ
替える。これにより、他の処理装置、例えば電報交換装
置で利用できるようになる。
Explaining the case of Thai characters, in Thai characters, each character is represented by 1 to 3 parts. When inputting a character containing multiple parts to the character data processor,
When there is a normal or the left part first, the character code of the part is input before the normal, and then the high, low or super high character code is input. Since the normal character code is always input after the character code in the left part, the input order does not matter for this, and the description thereof is omitted below. Therefore, when the normal character code is entered,
The high, low, or super high character codes that follow are rearranged in a predetermined order in the device. This allows it to be used in other processing devices, such as telegram exchanges.

すなわち、本発明の文字データ処理装置でタイ文字を処
理する場合には、ノーマルの文字コードに対してあらか
じめ定められた値のレベル値を割り当て、ハイ、ロー、
スーパーローにはそれ以外のレベル値を割り当てる。特
に、ノーマルの文字コードに最大または最小のレベル値
を割り当てることがよい。このようにすると、単にレベ
ル値の大小により文字コードを並べ替えるだけで、ノー
マルの文字コードの位置をそのままに、入力データを正
規化することができる。
That is, when a Thai character is processed by the character data processing device of the present invention, a level value of a predetermined value is assigned to a normal character code, and high, low,
Assign any other level value to the super row. Particularly, it is preferable to assign the maximum or minimum level value to the normal character code. By doing so, the input data can be normalized while the positions of the normal character codes remain unchanged by simply rearranging the character codes according to the level values.

〔実施例〕〔Example〕

第1図は本発明実施例文字データ処理装置のブロック構
成図である。この実施例は、本発明を電報交換装置にお
ける電報局端末で実施したものである。
FIG. 1 is a block diagram of a character data processing device according to an embodiment of the present invention. In this embodiment, the present invention is carried out by a telegram station terminal in a telegram exchange device.

この装置は、複数の文字コードで表される文字データ、
特にタイ文字データの入力が可能な入力手段としてキイ
ボード1を備え、入力された文字コードに対応するレベ
ル値を発生する手段として入力インタフェイス2を備
え、このレベル値の順に入力された文字コードの順序を
並べ替える手段として中央処理部3およびメモリ4を備
える。さらにこの装置は、順序が並べ替えられた文字コ
ードを電報交換網に送出するための出力インタフェイス
5を備える。キイボード1は入力インタフェイス2に接
続され、入力インタフェイス2、中央処理部3、メモリ
4および出力インタフェイス5は互いにバス接続され
る。
This device, character data represented by multiple character codes,
In particular, the keyboard 1 is provided as an input means capable of inputting Thai character data, and the input interface 2 is provided as a means for generating a level value corresponding to the input character code. The central processing unit 3 and the memory 4 are provided as means for rearranging the order. Furthermore, the device comprises an output interface 5 for sending out the rearranged character codes to the telegram switching network. The keyboard 1 is connected to the input interface 2, and the input interface 2, the central processing unit 3, the memory 4 and the output interface 5 are bus-connected to each other.

第2図は実施例装置の制御の流れを示す。FIG. 2 shows a control flow of the apparatus of the embodiment.

操作者がキイボード1からタイ文字を入力すると、1バ
イト単位の文字コードが入力インタフェイス2に出力さ
れる。タイ文字では、1文字が1〜3バイトのいずれか
の文字コードで表される。入力インタフェイス2は、入
力された文字コードに対応してそれぞれレベル値、例え
ば「ノーマル=1」、「ハイまたはロー=2」、「スー
パーハイ=3」を発生する。このレベル値は、その文字
コードと共にメモリ4に蓄えられる。このデータを以下
「初期入力データ」という。
When the operator inputs a Thai character from the keyboard 1, a character code in 1-byte units is output to the input interface 2. In Thai characters, one character is represented by a character code of 1 to 3 bytes. The input interface 2 generates a level value corresponding to the input character code, for example, "normal = 1", "high or low = 2", and "super high = 3". This level value is stored in the memory 4 together with the character code. This data is hereinafter referred to as "initial input data".

中央処理部3は、レベル値により初期入力データを並べ
替える。これにより得られたデータを以下「正規化入力
データ」という。この正規化入力データは、電報交換装
置における転送先住所その他のデータとして利用され
る。
The central processing unit 3 sorts the initial input data according to the level value. The data obtained by this is hereinafter referred to as "normalized input data". This normalized input data is used as a transfer destination address and other data in the telegram exchange device.

第3図は初期入力データと正規化入力データとの関係を
示す。(a)は5個のタイ文字を示し、(b)および
(c)は、それぞれその文字に対応する初期入力データ
および正規化入力データを示す。
FIG. 3 shows the relationship between initial input data and normalized input data. (A) shows five Thai characters, and (b) and (c) show initial input data and normalized input data corresponding to the characters, respectively.

第4図は中央処理部3による並べ替え制御の流れを示
す。ここで、入力された文字コードが全部でmバイトで
あり、nバイト目の文字コードに対するレベル値がf
(n)であるとする。
FIG. 4 shows a flow of rearrangement control by the central processing unit 3. Here, the input character code is m bytes in total, and the level value for the nth byte character code is f.
(N).

中央処理部3は、初期入力データを1バイト目から順番
に隣のデータと比較する。もしnバイト目のデータのレ
ベル値が2以上であり、n-1バイト目のデータのレベル
値がnバイト目のデータのレベルより大きければ、n-1
バイト目をnバイト目のデータと入れ替える。この処理
をデータの終了まで繰り返す。
The central processing unit 3 compares the initial input data with the adjacent data in order from the first byte. If the level value of the nth byte data is 2 or more and the level value of the n-1th byte data is higher than the level of the nth byte data, n-1
The byte data is replaced with the n-byte data. This process is repeated until the end of data.

以上の処理により、初期入力データが正規化入力データ
に置き換えられる。このようにして、1文字を構成する
部分が3個の文字入力の場合に、ハイまたはローとスー
パーハイとの入力順序が逆になっても、ノーマルに続い
てハイ、またはローに続いてハイが入力された正規化入
力データが得られ、同一文字データを別データとして認
識されることがない。
Through the above processing, the initial input data is replaced with the normalized input data. In this way, if the input sequence of high or low and super high is reversed when inputting three characters in one character, normal is followed by high or low followed by high. The normalized input data in which is input is obtained, and the same character data is not recognized as different data.

〔発明の効果〕〔The invention's effect〕

以上説明したように、本発明の文字データ処理装置は、
個々の文字が一以上の文字コードにより表される文字系
列の文字データについて、1文字を表す文字コードの入
力順序に影響されることなく、同一文字または同一デー
タとして正規化できる。したがって、運用効率および操
作性が向上し、文字解析を正しく行うことができる効果
がある。
As described above, the character data processing device of the present invention is
Character data of a character series in which each character is represented by one or more character codes can be normalized as the same character or the same data without being affected by the input order of the character code representing one character. Therefore, there is an effect that operational efficiency and operability are improved, and character analysis can be performed correctly.

本発明は、タイ文字用の装置、特にタイ文字を許容する
電報交換装置の入力装置として利用して大きな効果があ
る。
INDUSTRIAL APPLICABILITY The present invention has a great effect when used as an input device of a device for Thai characters, particularly a telegram exchange device that allows Thai characters.

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

第1図は本発明実施例文字データ処理装置のブロック構
成図。 第2図はこの装置の制御の流れを示す図。 第3図は初期入力データと正規化入力データとの関係を
示す図。 第4図は並べ替え制御の流れを示す図。 1……キイボード、2……入力インタフェイス、3……
中央処理部、4……メモリ、5……出力インタフェイ
ス。
FIG. 1 is a block diagram of a character data processing device according to an embodiment of the present invention. FIG. 2 is a diagram showing a control flow of this device. FIG. 3 is a diagram showing the relationship between initial input data and normalized input data. FIG. 4 is a diagram showing a flow of rearrangement control. 1 ... Keyboard, 2 ... Input interface, 3 ...
Central processing unit, 4 ... Memory, 5 ... Output interface.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】個々の文字が1または複数の文字コードで
表される文字データを入力可能な入力手段を備えた文字
データ処理装置において、 入力された文字コードが文字のどの部分を表すものであ
るかを示すレベル値を発生する手段と、 このレベル値があらかじめ定められた値であるとき、そ
の文字コードに続いて入力された前記あらかじめ定めら
れた値とはレベル値の異なる文字コードをそのレベル値
に対応する順に並べ替える手段と を備えたことを特徴とする文字データ処理装置。
1. A character data processing apparatus comprising an input means capable of inputting character data in which each character is represented by one or a plurality of character codes, wherein the input character code represents which part of the character. Means for generating a level value indicating whether or not there is a character code having a different level value from the predetermined value input subsequent to the character code when the level value is a predetermined value. And a means for rearranging in an order corresponding to the level value.
JP63079485A 1988-03-30 1988-03-30 Character data processor Expired - Lifetime JPH0760366B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63079485A JPH0760366B2 (en) 1988-03-30 1988-03-30 Character data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63079485A JPH0760366B2 (en) 1988-03-30 1988-03-30 Character data processor

Publications (2)

Publication Number Publication Date
JPH01250123A JPH01250123A (en) 1989-10-05
JPH0760366B2 true JPH0760366B2 (en) 1995-06-28

Family

ID=13691198

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63079485A Expired - Lifetime JPH0760366B2 (en) 1988-03-30 1988-03-30 Character data processor

Country Status (1)

Country Link
JP (1) JPH0760366B2 (en)

Also Published As

Publication number Publication date
JPH01250123A (en) 1989-10-05

Similar Documents

Publication Publication Date Title
US4991133A (en) Specialized communications processor for layered protocols
US4099257A (en) Markov processor for context encoding from given characters and for character decoding from given contexts
JPS5810236A (en) Interface circuit
WO1991010191A1 (en) Object oriented distributed processing system
SE414086B (en) SETTING TO CONTROL THE DATA EXCHANGE BETWEEN A CENTRAL COMPUTER AND AT LEAST ONE OF MULTIPLE TO A COMMON TRANSFER ROAD CONNECTED DATA TERMINALS AND IN A PERFORMANCE OF THE SET DATA TRANSFER SYSTEM
EP0253940A1 (en) Method and system of routing data blocks in data communication networks
JPH0752420B2 (en) I/O device addressing
EP0118669B1 (en) Channel subsystem
EP0520116A1 (en) Method and apparatus for performing pattern search functions
JPH01250123A (en) Character data processor
JP2625815B2 (en) Code conversion device
EP1476986A1 (en) Information communication controller interface apparatus and method
JP2564318B2 (en) Communication processing device
JPS61138333A (en) Arithmetic module
JPS607293B2 (en) How to create a code table
JPS62140136A (en) data storage device
WO2022248348A1 (en) Communication node for data networks and busses
Walker An MPI version of the BLACS
JPH0340415B2 (en)
JPS605981B2 (en) Syndrome generation circuit for error correction code creation
JP2001184137A (en) Computer information representation method
Tzeng et al. On Resources Allocation in Binary n-Cube Network Systems
JPH0646376B2 (en) Input control method
JPH0476725A (en) Printing device
JPS62285547A (en) Message exchange processor