JPH01250123A - Character data processor - Google Patents
Character data processorInfo
- Publication number
- JPH01250123A JPH01250123A JP63079485A JP7948588A JPH01250123A JP H01250123 A JPH01250123 A JP H01250123A JP 63079485 A JP63079485 A JP 63079485A JP 7948588 A JP7948588 A JP 7948588A JP H01250123 A JPH01250123 A JP H01250123A
- Authority
- JP
- Japan
- Prior art keywords
- character
- input
- data
- order
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 abstract description 3
- 238000004458 analytical method Methods 0.000 abstract description 2
- 230000004044 response Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 5
- 230000008707 rearrangement Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Landscapes
- Document Processing Apparatus (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、個々の文字が一以上の文字コードにより表さ
れる文字系列の文字データ、特にタイ文字データの処理
に利用する。特に、このような文字データの入力に関す
る。本発明は、特に電報交換装置に利用される。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention is utilized for processing character data of a character series, in particular Thai character data, in which each character is represented by one or more character codes. In particular, it relates to the input of such character data. The invention is particularly applicable to telegraph exchange equipment.
本発明は、複数の文字コードで表される文字データを入
力可能な文字データ処理装置において、入力された文字
コードに対応してレベル値を発生し、このレベル値の順
に文字コードを並べ替えることにより、
文字コードの入力順序に依存せずに正しい文字データを
得るものである。The present invention provides a character data processing device capable of inputting character data represented by a plurality of character codes, which generates a level value corresponding to the input character code and rearranges the character codes in the order of the level value. This allows correct character data to be obtained without depending on the input order of character codes.
タイ文字は1文字が1〜3 (tillの部分により表
される。このため、このような文字を許容する文字デー
タ処理装置、特に電報交換装置では、それぞれの部分に
異なる文字コードを割り当て、その組み合わせにより文
字データを表している。In Thai characters, each character is represented by 1 to 3 (till) parts. Therefore, in character data processing equipment that allows such characters, especially telegram exchange equipment, a different character code is assigned to each part and the Character data is represented by a combination.
しかし、従来のタイ文字用文字データ処理装置では、文
字コードの入力順序によって、同一文字(または語)で
あっても、別な文字(譜)のデー夕として認識してしま
うことがあった。例えば三つの部分、すなわちノーマル
、ハイおよびスーパーハイ (normal、 hig
h、 5uper high) 、またはノーマル、ロ
ーおよびスーパーハイ (normal、 low 。However, in conventional Thai character data processing devices, depending on the input order of character codes, even the same character (or word) may be recognized as data of different characters (staves). For example, three parts: normal, high and super high.
h, 5upper high), or normal, low and super high (normal, low).
5uper high) により構成されるタイ文字の
場合には、ハイまたはローとスーパーハイとのどちらを
先に入力するかによって、同一文字(桁)であっ力順は
、ト→d −+ lと、2→1→dとの二通りがあり、
マた、ノーマル、ローおよびスーパーハイ−1との二通
りがある。これらの文字は、入力順が異なると、同一文
字でありながら別文字としてJ忍識されてしまう。In the case of Thai characters composed of There are two ways, 2 → 1 → d,
There are two types: high, normal, low and super high-1. If these characters are input in a different order, they will be recognized as different characters even though they are the same character.
このため、操作者は一定の入力順序を厳守しなければな
らず、入力作業が面倒であり、入力ミスの原因となり、
運用効率が悪い欠点があった。For this reason, the operator must strictly adhere to a certain input order, making input work cumbersome and causing input errors.
It had the disadvantage of poor operational efficiency.
本発明は、以上の問題点を解決し、文字コードの入力順
序に依存せずに文字データを認識する文字データ処理装
置を提供することを目的と、する。SUMMARY OF THE INVENTION An object of the present invention is 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.
本発明の文字データ処理装置は、入力された文字コード
に対応するレベル値を発生する手段と、このレベル値の
順に上記入力された文字コードの順序を並べ替える手段
とを備えたことを特徴とする。The character data processing device of the present invention is characterized by comprising means for generating a level value corresponding to an input character code, and means for rearranging the input character codes in the order of the level value. do.
本発明の文字データ処理装置は、任意の順序で入力され
た文字コードをレベル値の順に並べかえることにより、
入力順序は任意でも、装置内では文字コードが一定順序
の文字データを処理できる。The character data processing device of the present invention rearranges character codes input in an arbitrary order in the order of level values.
Even if the input order is arbitrary, the device can process character data whose character codes are in a fixed order.
第1図は本発明実施例文字データ処理装置のブロック構
成図である。この実施例は、本発明を電報交換装置にお
ける電報局端末で実施したものである。FIG. 1 is a block diagram of a character data processing apparatus according to an embodiment of the present invention. In this embodiment, the present invention is implemented in a telegram station terminal in a telegram exchange apparatus.
この装置は、複数の文字コードで表される文字データ、
特にタイ文字データの入力が可能な入力手段としてキイ
ボード1を備え、入力された文字コードに対応するレベ
ル値を発生する手段として入力インタフェイス2を備え
、このレベル値の順に入力された文字コードの順序を並
べ替える手段として中央処理部3およびメモリ4を備え
る。さらにこの装置は、順序が並べ替えられた文字コー
ドを電報交換網に送出するための出力インタフェイス5
を備える。キイボードlは入力インタフェイス2に接続
され、入力インクフェイス2、中央処理部3、メモリ4
および出力インタフェイス5は互いにバス接続される。This device handles character data represented by multiple character codes,
In particular, a keyboard 1 is provided as an input means capable of inputting Thai character data, and an input interface 2 is provided as a means for generating level values corresponding to input character codes. A central processing unit 3 and a memory 4 are provided as means for rearranging the order. Furthermore, this device has an output interface 5 for sending the rearranged character codes to the telegraph exchange network.
Equipped with. The keyboard l is connected to the input interface 2, and includes an input ink face 2, a central processing unit 3, and a memory 4.
and output interface 5 are connected to each other by a bus.
第2図は実施例装置の制御の流れを示す。FIG. 2 shows the control flow of the embodiment device.
操作者がキイボード1からタイ文字を入力すると、1バ
イト単位の文字コードが入力インクフェイス2に出力さ
れる。タイ文字では、1文字が1〜3バイトのいずれか
の文字コードで表される。When the operator inputs Thai characters from the keyboard 1, a character code in 1-byte units is output to the input ink face 2. In Thai characters, one character is represented by a character code of 1 to 3 bytes.
入力インタフェイス2は、入力された文字コードに対応
してそれぞれレベル値、例えば「ノーマル=1」、「ハ
イまたはロー=2J、rスーパーハイ=3」を発生する
。このレベル値は、その文字コードと共にメモリ4に蓄
えられる。このデータを以下「初期入力データ」という
。The input interface 2 generates level values, for example, "normal=1", "high or low=2J, r super high=3" in response to the input character code. This level value is stored in the memory 4 along with its 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 level values. The data obtained by this will be referred to as "normalized input data" hereinafter. This normalized input data is used as forwarding 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, (b) and (
C) shows initial input data and normalized input data corresponding to that character, respectively.
第4図は中央処理部3による並べ替え制御の流れを示す
。ここで、入力された文字コードが全部でmバイトであ
り、nバイト目の文字コードに対するレベル値がf (
n)であるとする。FIG. 4 shows the 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バイト目のデータのレ
ベル値が1以上であり、n−1バイト目のデータのレベ
ル値がnバイト目のデータのレベルより大きければ、n
−1バイト目をnバイト目のデータと入れ替える。この
処理をデータの終了まで繰り返す。The central processing unit 3 sequentially compares the initial input data with adjacent data starting from the first byte. If the level value of the nth byte of data is greater than or equal to 1, and the level value of the n-1st byte of data is greater than the level of the nth byte of data, then n
- Replace the 1st byte with the nth byte data. This process is repeated until the end of the data.
以上の処理により、初期入力データが正規化入力データ
に置き換えられる。このようにして、1文字を構成する
部分が3個の文字入力の場合に、ハイまたはローとスー
パーハイとの入力順序が逆になっても、ノーマルに続い
てハイ、またはローに続いてハイが入力された正規化入
力データが得られ、同一文字データを別データとして認
識されることがない。Through the above processing, the initial input data is replaced with the normalized input data. In this way, if three characters are input to make up one character, even if the input order of high or low and super high is reversed, normal will be followed by high, or low will be followed by high. Normalized input data is obtained, and the same character data is not recognized as different data.
以上説明したように、本発明の文字データ処理装置は、
個々の文字が一以上の文字コードにより表される文字系
列の文字データについて、1文字を表す文字コードの入
力順序に影響されることなく、同一文字または同一デー
タとして正規化できる。したがって、運用効率および操
作性が向上し、文字解析を正しく行うことができる効果
がある。As explained above, the character data processing device of the present invention has the following features:
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 data without being affected by the input order of character codes representing one character. Therefore, operational efficiency and operability are improved, and character analysis can be performed correctly.
本発明は、タイ文字用の装置、特にタイ文字を許容する
電報交換装置に利用して大きな効果がある。INDUSTRIAL APPLICABILITY The present invention can be applied to a device for Thai characters, particularly a telegram exchange device that accepts Thai characters, to great effect.
第1図は本発明実施例文字データ処理装置のブロック構
成図。
第2図はこの装置の制御の流れを示す図。
第3図は初期入力データと正規化入力データとの関係を
示す図。
第4図は並べ替え制御の流れを示す図。
1・・・キイボード、2・・・入力インクフェイス、3
・・・中央処理部、4・・・メモリ、5・・・出力イン
タフェイス。FIG. 1 is a block diagram of a character data processing apparatus according to an embodiment of the present invention. FIG. 2 is a diagram showing the 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 the flow of rearrangement control. 1... Keyboard, 2... Input ink face, 3
...Central processing unit, 4...Memory, 5...Output interface.
Claims (1)
な入力手段を備えた文字データ処理装置において、 入力された文字コードに対応するレベル値を発生する手
段と、 このレベル値の順に上記入力された文字コードの順序を
並べ替える手段と を備えたことを特徴とする文字データ処理装置。[Claims] 1. In a character data processing device equipped with an input means capable of inputting character data represented by a plurality of character codes, means for generating a level value corresponding to the input character code; A character data processing device comprising means for rearranging the input character codes in order of level value.
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 true JPH01250123A (en) | 1989-10-05 |
JPH0760366B2 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) |
-
1988
- 1988-03-30 JP JP63079485A patent/JPH0760366B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
JPH0760366B2 (en) | 1995-06-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4099257A (en) | Markov processor for context encoding from given characters and for character decoding from given contexts | |
JPS5810236A (en) | Interface circuit | |
JPH01250123A (en) | Character data processor | |
JPH07146810A (en) | Computer system | |
JP2757525B2 (en) | Mutual conversion system for multiple character code systems | |
SU602949A1 (en) | Processor | |
WO2003071744A1 (en) | Information communication controller interface apparatus and method | |
JP2905552B2 (en) | Keyboard control method | |
JPH0591114A (en) | Data communication system | |
JPS6134620A (en) | Inputting method to computer | |
JPS62274458A (en) | Code conversion system | |
JP2564881B2 (en) | Bit string comparison method | |
JPS605981B2 (en) | Syndrome generation circuit for error correction code creation | |
JPH0922371A (en) | Test data generator | |
JPH02182056A (en) | Message selection processing system | |
JPH0340415B2 (en) | ||
JPH086690A (en) | Data processor | |
JPH0476725A (en) | Printing device | |
JPH06121004A (en) | Communication controller | |
JPH02306725A (en) | Method and apparatus for code conversion | |
JPH03265277A (en) | Decoding system for signal | |
JP2001184137A (en) | Method for expressing information of computer | |
JPH02143752A (en) | Data communication system | |
JPH02309842A (en) | Network processing system | |
JPH05216822A (en) | Command input system in computer |