KR100522797B1 - Apparatus and method for translating simbol code of arabic - Google Patents

Apparatus and method for translating simbol code of arabic Download PDF

Info

Publication number
KR100522797B1
KR100522797B1 KR10-2003-0027598A KR20030027598A KR100522797B1 KR 100522797 B1 KR100522797 B1 KR 100522797B1 KR 20030027598 A KR20030027598 A KR 20030027598A KR 100522797 B1 KR100522797 B1 KR 100522797B1
Authority
KR
South Korea
Prior art keywords
character
code
arabic
font
target
Prior art date
Application number
KR10-2003-0027598A
Other languages
Korean (ko)
Other versions
KR20040093780A (en
Inventor
이태종
Original Assignee
주식회사 대우일렉트로닉스
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 주식회사 대우일렉트로닉스 filed Critical 주식회사 대우일렉트로닉스
Priority to KR10-2003-0027598A priority Critical patent/KR100522797B1/en
Publication of KR20040093780A publication Critical patent/KR20040093780A/en
Application granted granted Critical
Publication of KR100522797B1 publication Critical patent/KR100522797B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • G06F40/157Transformation using dictionaries or tables

Abstract

본 발명은 아랍어 문자 코드를 표기형 아랍어 코드로 변환할 때 소모되는 메모리 용량을 절감할 수 있도록 한다는 것으로, 이를 위하여 본 발명은, 문자 코드의 위치 상관성과 관련한 3개의 맵핑 테이블과 이어쓰기 방향을 위한 1개의 방향 테이블을 이용하여 아랍어 문자 코드를 표기형 아랍어 코드로 변환하는 종래 방식과는 달리, 아랍어의 각 문자별로 문자 위치 요소와 이어쓰기 방향 요소를 갖는 하나의 문자 변환 코드로 된 하나의 2차원의 폰트 맵핑 테이블을 구성하고, 폰트 맵핑 테이블을 이용하여 변환을 위한 대상 문자에 대해 뒷 문자와 앞 문자간에 이어쓰기가 가능한지의 여부를 순차적으로 체크하여 독립형 표기인지, 시작형 표기인지, 마침형 표기인지 혹은 중간형 표기인지를 판단하는 방식으로 아랍어 문자 코드를 표기형의 아랍어 코드로 변환시킴으로써, 불필요한 메모리의 낭비를 효과적으로 억제할 수 있는 것이다.The present invention is to reduce the memory capacity consumed when converting an Arabic character code into a written Arabic code, for the purpose of the present invention, three mapping tables and position for the rewrite direction related to the position correlation of the character code Unlike the conventional method of converting Arabic character codes into notational Arabic codes using one direction table, one two-dimensional of one character conversion code having a character position element and a rewriting direction element for each character of Arabic. Configure the font mapping table of the table, and check whether the next character and the next character can be written sequentially by using the font mapping table. Arabic code in notation to determine whether it is Conversion, it is possible to effectively suppress the unnecessary waste of memory by.

Description

아랍어 문자 코드 변환 장치 및 그 변환 방법{APPARATUS AND METHOD FOR TRANSLATING SIMBOL CODE OF ARABIC}Arabic character code conversion device and its conversion method {APPARATUS AND METHOD FOR TRANSLATING SIMBOL CODE OF ARABIC}

본 발명은 아랍어 문자 코드를 변환하는 기법에 관한 것으로, 더욱 상세하게는 2차원의 폰트 맵핑 테이블을 이용하여 아랍어 문자 코드를 OSD 출력용의 아랍어 코드(즉, 표기형 아랍어 코드)로 변환하는데 적합한 아랍어 문자 코드 변환 장치 및 그 변환 방법에 관한 것이다.The present invention relates to a technique for converting Arabic character codes, and more particularly, Arabic characters suitable for converting Arabic character codes into Arabic codes for OSD output (ie, written Arabic codes) using a two-dimensional font mapping table. A code conversion device and a conversion method thereof.

잘 알려진 바와 같이, 아랍어는 영어를 포함하는 다른 문자와 반대의 표기 방향을 가지는 필기체형 문자로서 앞뒤 문자의 구분에 따라 서로를 이어서 표기하거나 끊어서 표기하는 독특한 표기법을 가진다. 이때, 아랍어를 디지털 문자 코드로 저장할 경우에는 이미 정의된 표준안을 따를 수 있으나, 저장된 아랍어를 실제로 표기할 때에는 각 문자의 위치 상관관계에 따라 별도로 마련된 표기용 문자 코드로 변환하여 출력하는 것이 필요하다.As is well known, Arabic is a handwritten character that has the opposite writing direction as other characters including English, and has a unique notation for successively writing or breaking each other according to the division of the front and rear letters. In this case, when the Arabic is stored as a digital character code, it is possible to follow a standard already defined. However, when actually storing the Arabic, it is necessary to convert it to a character code for marking separately provided according to the positional correlation of each character and output it.

즉, 아랍어는 각 글자마다 최대 4가지의 연결형 변환 글자, 즉, 시작형, 중간형, 마침형, 독립형의 연결형 변환 글자를 가지며, 또한 변환 자체가 없는 글자도 있다.That is, Arabic has a maximum of four connected type conversion letters for each letter, that is, a start type, a middle type, a finish type, and a standalone connected type conversion letter.

따라서, 아랍어 문자는 단어를 구성하는 아랍 문자의 상태를 단어의 처음, 중간, 끝의 위치로 규정하고, 이에 대해 n×n식으로 대응하는 코드 변환용 3차원 맵핑 테이블을 만들어 사용하고 있으며, 또한 각 문자별로 이어 쓸 수 있는 대상 문자의 방향을 정의하는 별도의 방향 테이블을 준비하여 코드 변환시에 이를 참조하고 있다.Therefore, the Arabic character defines the state of the Arabic characters constituting the word as the position of the beginning, middle, and end of the word, and creates and uses a three-dimensional mapping table for code conversion corresponding to n × n expressions. A separate direction table that defines the direction of the target character that can be repeated for each character is prepared and is referred to during code conversion.

도 3은 종래의 아랍어 문자 코드 변환 장치의 블록구성도로서, 입력 블록(302), 폰트 맵핑 블록(304), 처음 위치 맵핑 테이블(306), 이어쓰기 방향 테이블(308), 중간 위치 맵핑 테이블(310), 끝 위치 맵핑 테이블(312) 및 모니터(314)를 포함한다.3 is a block diagram of a conventional Arabic character code conversion device, which includes an input block 302, a font mapping block 304, an initial position mapping table 306, a rewriting direction table 308, and an intermediate position mapping table ( 310, an end position mapping table 312 and a monitor 314.

도 3을 참조하면, 입력 블록(302)은 사용자가 아랍 문자를 입력하기 위한 인터페이스 수단을 포함하는 것으로, 사용자 입력 조작에 응답하여 문자 코드를 발생하며, 여기에서 발생된 아랍어 문자 코드는 폰트 맵핑 블록(304)으로 전달된다.Referring to FIG. 3, the input block 302 includes an interface means for a user to input Arabic characters, and generates a character code in response to a user input operation, wherein the generated Arabic character code is a font mapping block. Is passed to 304.

다음에, 폰트 맵핑 블록(304)은 입력 블록(302)으로부터 제공되는 문자 코드를 모니터를 통해 디스플레이 가능한 표기형 아랍어 코드로 변환하는 것으로, 이러한 표기형 아랍어 코드로의 변환에는 4개의 테이블, 즉 처음 위치 맵핑 테이블(306), 이어쓰기 방향 테이블(308), 중간 위치 맵핑 테이블(310) 및 끝 위치 맵핑 테이블(312)을 이용한다.The font mapping block 304 then converts the character code provided from the input block 302 into a notation Arabic code that can be displayed on a monitor. The position mapping table 306, the earwriting direction table 308, the intermediate position mapping table 310, and the end position mapping table 312 are used.

즉, 폰트 맵핑 블록(304)에서는 먼저 문자 코드를 처음 위치 맵핑 테이블(306)에 맵핑시켜 대응하는 폰트를 선택하고, 다시 이어쓰기 방향 테이블(308)에 맵핑시켜 입력 문자 코드의 이어쓰기 방향(앞 문자 혹은 뒷 문자와의 이어쓰기)을 결정하며, 이어서 중간 위치 맵핑 테이블(310)에 맵핑시켜 대응하는 폰트를 선택하고, 마지막 문자 코드인 경우 끝 위치 맵핑 테이블(312)에 맵핑시켜 대응하는 폰트를 선택하는 방식으로 입력된 문자 코드를 모니터(314)를 통해 디스플레이 가능한 표기형 아랍어 코드로 변환하며, 이와 같이 변환된 표기형 아랍어 코드는 모니터(314)측으로 전달된다.That is, the font mapping block 304 first maps the character code to the first position mapping table 306 to select the corresponding font, and then maps the rewrite direction table 308 to the rewrite direction of the input character code. Character or subsequent writing with the latter character), and then maps to the intermediate position mapping table 310 to select the corresponding font, and in the case of the last character code, maps to the end position mapping table 312 for the corresponding font. The character code inputted in a selected manner is converted into a written Arabic code displayable through the monitor 314, and the converted written Arabic code is transferred to the monitor 314 side.

따라서, 모니터(314) 상에는 해당되는 아랍어 문자가 디스플레이되며, 사용자들은 이를 통해 원하는 아랍어 문자를 시각적으로 볼 수 있게 된다.Accordingly, the corresponding Arabic characters are displayed on the monitor 314, so that users can visually see the desired Arabic characters.

그러나, 상기한 바와 같은 구조를 갖는 종래의 아랍어 문자 코드 변환 장치는 4개의 맵핑 테이블을 준비해야만 하기 때문에 불필요하게 많은 메모리 소비를 야기시키며, 이로 인해 제조 비용이 상승하게 되는 문제를 갖는다.However, the conventional Arabic character code conversion apparatus having the structure as described above has a problem of unnecessarily incurring a large memory consumption because it has to prepare four mapping tables, thereby increasing the manufacturing cost.

또한, 4개의 맵핑 테이블을 이용하는 종래 방식은 표준안에 포함되지 못한 아랍 문자를 필요에 따라 선택적으로 추가할 수 없다는 문제점을 갖는다.In addition, the conventional method using four mapping tables has a problem in that Arabic characters not included in the standard cannot be selectively added as needed.

따라서, 본 발명은 상기한 종래 기술의 문제점을 해결하기 위한 것으로, 아랍어 문자 코드를 표기형 아랍어 코드로 변환할 때 소모되는 메모리 용량을 절감할 수 있는 아랍어 문자 코드 변환 장치 및 그 변환 방법을 제공하는데 그 목적이 있다.Accordingly, the present invention is to solve the problems of the prior art, to provide an Arabic character code conversion apparatus and a conversion method that can reduce the memory capacity consumed when converting an Arabic character code into a written Arabic code. The purpose is.

본 발명의 다른 목적은 필요 또는 용도에 따라 표준안에 포함되지 않은 아랍 문자의 표기형 아랍어 코드에 이용할 수 있는 문자 변환 코드를 생성할 수 있는 아랍어 문자 코드 변환 장치 및 그 변환 방법을 제공하는데 있다.Another object of the present invention is to provide an Arabic character code conversion apparatus and a conversion method thereof, which can generate a character conversion code that can be used for a written Arabic code of an Arabic character not included in a standard according to necessity or use.

상기 목적을 달성하기 위한 일 관점에 따른 본 발명은, 아랍어 문자 코드를 디스플레이 가능한 표기형 아랍어 코드로 변환하는 장치에 있어서, 코드 변환의 대상이 되는 대상 문자를 입력하는 수단; 아랍어의 각 문자별로 마침형 폰트 코드, 중간형 폰트 코드, 시작형 폰트 코드, 독립형 폰트 코드 및 이어쓰기 방향 요소를 각각 갖는 다수의 문자 변환 코드들을 저장하는 폰트 맵핑 테이블 수단; 상기 대상 문자가 입력될 때, 상기 폰트 맵핑 테이블에 맵핑시켜 대상 문자와 뒷 문자 및 앞 문자간의 이어쓰기 가능 여부를 판단하여, 상기 대상 문자가 독립형 표기인지, 시작형 표기인지, 중간형 표기인지 혹은 마침형 표기인지를 결정하는 방식으로 폰트 맵핑을 수행함으로써, 상기 대상 문자를 디스플레이 가능한 표기형 아랍어 코드로 변환하는 수단; 및 상기 변환된 표기형 아랍어 코드를 디스플레이하는 수단; 을 포함하는 아랍어 문자 코드 변환 장치를 제공한다. According to an aspect of the present invention, there is provided an apparatus for converting an Arabic character code into a displayable Arabic type code, comprising: means for inputting a target character to be converted into a code; Font mapping table means for storing a plurality of character conversion codes each having a finish font code, an intermediate font code, a start font code, a stand-alone font code, and a rewriting direction element for each character of Arabic; When the target character is input, it is mapped to the font mapping table to determine whether rewriting between the target character, the rear character, and the preceding character is possible, and whether the target character is a standalone representation, a start representation, an intermediate representation, or Means for converting the target character into a displayable notation Arabic code by performing font mapping in a manner that determines whether it is a finish notation; And means for displaying the translated notation Arabic code; Provides an Arabic character code conversion device comprising a.

상기 목적을 달성하기 위한 다른 관점에 따른 본 발명은, 아랍어 문자 코드를 디스플레이 가능한 표기형 아랍어 코드로 변환하는 방법에 있어서, 변환을 위해 입력되는 아랍어 대상 문자를 다수의 아랍 문자에 각각 대응하는 변환 문자 코드들을 갖는 폰트 멥핑 테이블에 맵핑시키는 과정; 상기 대상 문자와 뒷 문자의 이어쓰기가 가능한지의 여부를 체크하는 과정; 상기 대상 문자와 뒷 문자의 이어쓰기가 불가능할 때 상기 대상 문자와 앞 문자의 이어쓰기가 가능한지의 여부를 체크하는 과정; 상기 대상 문자와 앞 문자의 이어쓰기가 불가능할 때 상기 대상 문자를 독립형 표기로 결정하는 과정; 상기 대상 문자와 앞 문자의 이어쓰기가 가능할 때 상기 대상 문자를 시작형 표기로 결정하는 과정; 상기 대상 문자와 뒷 문자의 이어쓰기가 가능할 때 상기 대상 문자와 앞 문자의 이어쓰기가 가능한지의 여부를 체크하는 과정; 상기 대상 문자와 앞 문자의 이어쓰기가 가능할 때 상기 대상 문자를 중간형 표기로 결정하는 과정; 상기 대상 문자와 앞 문자의 이어쓰기가 불가능할 때 상기 대상 문자를 마침형 표기로 결정하는 과정; 및 상기 각 과정을 통해 상기 대상 문자를 표기형 아랍어 코드로 변환하여 디스플레이하는 과정; 을 포함하는 아랍어 문자 코드 변환 방법을 제공한다.According to another aspect of the present invention, there is provided a method of converting an Arabic character code into a displayable type Arabic code, the conversion character corresponding to a plurality of Arabic characters respectively corresponding to the Arabic target character to be converted for conversion. Mapping to a font shopping table having codes; Checking whether rewriting of the target character and the later character is possible; Checking whether rewriting of the target character and the preceding character is possible when rewriting of the target character and the rear character is impossible; Determining the target character in stand-alone notation when rewriting of the target character and the preceding character is impossible; Determining the target character as a start type notation when rewriting of the target character and the preceding character is possible; Checking whether rewriting of the target character and the preceding character is possible when rewriting of the target character and the rear character is possible; Determining the target character in an intermediate form when rewriting of the target character and the preceding character is possible; Determining the target character in a finish form when rewriting of the target character and the preceding character is impossible; And converting the target character into a written Arabic code through each process and displaying the target character. Provides Arabic character code conversion method comprising a.

본 발명의 상기 및 기타 목적과 여러 가지 장점은 이 기술분야에 숙련된 사람들에 의해 첨부된 도면을 참조하여 하기에 기술되는 본 발명의 바람직한 실시 예로부터 더욱 명확하게 될 것이다.The above and other objects and various advantages of the present invention will become more apparent from the preferred embodiments of the present invention described below with reference to the accompanying drawings by those skilled in the art.

이하 첨부된 도면을 참조하여 본 발명의 바람직한 실시 예에 대하여 상세하게 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 핵심 기술요지는, 문자 코드의 위치 상관성과 관련한 3개의 맵핑 테이블과 이어쓰기 방향을 위한 1개의 방향 테이블을 이용하여 아랍어 문자 코드를 표기형 아랍어 코드로 변환하는 전술한 종래 방식과는 달리, 아랍어의 각 문자별로 문자 위치 요소와 이어쓰기 방향 요소를 갖는 하나의 문자 변환 코드로 된 2차원의 폰트 맵핑 테이블을 구성하고, 폰트 맵핑 테이블을 이용하여 변환을 위한 대상 문자에 대해 뒷 문자와 앞 문자간에 이어쓰기가 가능한지의 여부를 순차적으로 체크하여 독립형 표기인지, 시작형 표기인지, 마침형 표기인지 혹은 중간형 표기인지를 판단하는 방식으로 아랍어 문자 코드를 표기형의 아랍어 코드로 변환시킨다는 것으로, 이러한 기술적 수단을 통해 본 발명에서 목적으로 하는 바를 쉽게 달성할 수 있다.The core technical aspect of the present invention is different from the above-described conventional method of converting an Arabic character code into a written Arabic code using three mapping tables related to the positional correlation of the character codes and one direction table for the rewriting direction. For each character in Arabic, a two-dimensional font mapping table consisting of one character conversion code having a character position element and a rewriting direction element is constructed. It converts Arabic character codes into notational Arabic codes by sequentially checking whether they can be rewritten between characters and determining whether they are stand-alone, start, end, or intermediate. Through these technical means it is possible to easily achieve the object of the present invention.

여기에서, 폰트 맵핑 테이블에 포함되는 각 문자별 문자 변환 코드들은 표준안에 포함된 아랍어 문자들을 포함하며, 필요에 따라 표준안에 포함되지 않은 문자들도 포함시킬 수 있다.Here, each character conversion code included in the font mapping table includes Arabic characters included in the standard, and may include characters not included in the standard as necessary.

도 1은 본 발명의 바람직한 실시 예에 따른 아랍어 문자 코드 변환 장치의 블록구성도로서, 입력 블록(102), 폰트 맵핑 블록(104), 폰트 맵핑 테이블(106) 및 모니터(108)를 포함한다.1 is a block diagram of an Arabic character code conversion apparatus according to an exemplary embodiment of the present invention, and includes an input block 102, a font mapping block 104, a font mapping table 106, and a monitor 108.

도 1을 참조하면, 입력 블록(102)은 사용자가 아랍 문자를 입력하기 위한 인터페이스 수단을 포함하는 것으로, 사용자 입력 조작에 응답하여 문자 코드를 발생하며, 여기에서 발생된 아랍어 문자 코드는 폰트 맵핑 블록(104)으로 전달된다.Referring to FIG. 1, the input block 102 includes interface means for a user to input Arabic characters, and generates a character code in response to a user input operation, wherein the generated Arabic character code is a font mapping block. Is passed to 104.

다음에, 폰트 맵핑 블록(104)은 입력 블록(102)으로부터 제공되는 문자 코드를 모니터를 통해 디스플레이 가능한 표기형 아랍어 코드로 변환하는 것으로, 이러한 표기형 아랍어 코드로의 변환에서는, 위치 맵핑 테이블(306), 이어쓰기 방향 테이블(308), 중간 위치 맵핑 테이블(310) 및 끝 위치 맵핑 테이블(312)로 된 4개의 맵핑 테이블을 이용하는 전술한 종래 방식과는 달리, 하나의 2차원의 폰트 맵핑 테이블(106)만을 이용한다.The font mapping block 104 then converts the character code provided from the input block 102 into a notation Arabic code that can be displayed on a monitor. In this conversion to the notation Arabic code, the location mapping table 306 In contrast to the conventional method described above, which uses four mapping tables consisting of a rewriting direction table 308, an intermediate position mapping table 310, and an end position mapping table 312, one two-dimensional font mapping table ( Use only 106).

즉, 폰트 맵핑 블록(104)에서는 대상 문자가 입력되면, 먼저 폰트 맵핑 테이블(106)을 탐색하여 대상 문자와 뒷 문자의 이어쓰기가 가능한지의 여부를 체크하고, 대상 문자와 뒷 문자의 이어쓰기가 가능하지 않을 때 다시 대상 문자와 앞 문자의 이어쓰기가 가능한지의 여부를 체크한다.That is, in the font mapping block 104, when the target character is input, the font mapping table 106 is first searched to check whether the target character and the rear character can be rewritten, and the rewriting of the target character and the rear character is performed. When not possible, check again whether the target character and the preceding character can be rewritten.

이어서, 폰트 맵핑 블록(104)에서는 대상 문자와 앞 문자의 이어쓰기가 가능하지 않으면 해당 대상 문자를 독립형 표기로 판단하고, 가능하면 시작형 표기로 판단한다.Subsequently, in the font mapping block 104, if the rewriting of the target character and the preceding character is not possible, the target character is determined as the standalone notation, and if possible, the start character notation.

또한, 폰트 맵핑 블록(104)에서는 대상 문자와 뒷 문자의 이어쓰기가 가능할 때, 다시 대상 문자와 앞 문자의 이어쓰기가 가능한지의 여부를 체크하여, 가능할 때 대상 문자를 중간형 표기로 판단하고, 가능하지 않을 때 대상 문자를 마침형 표기로 판단한다.In addition, the font mapping block 104 checks whether or not the target character and the preceding character can be rewritten when the target character and the rear character can be rewritten, and determines the target character as an intermediate form when possible. When it is not possible, the target character is judged as a final notation.

이를 위하여, 폰트 맵핑 테이블(106)에는 아랍어의 각 문자별로 문자 위치 요소(즉, 마침형 폰트 코드, 중간형 폰트 코드, 시작형 폰트 코드 및 독립형 폰트 코드)와 이어쓰기 방향 요소를 갖는 하나의 문자 변환 코드들이 준비되어 있다. 여기에서, 하나의 문자 변환 코드를 이루는 각 코드, 즉 이어쓰기 방향 코드, 마침형 폰트 코드, 중간형 폰트 코드, 시작형 폰트 코드 및 독립형 폰트 코드 각각은 1바이트로 구성된다. 즉, 하나의 문자 변환 코드는 총 5바이트로 구성되어 있다.To this end, the font mapping table 106 includes a character position element (i.e., a finish font code, an intermediate font code, a start font code, and a stand-alone font code) for each character of Arabic, and one character having an re-entry direction element. Conversion codes are prepared. Here, each code constituting one character conversion code, that is, the rewriting direction code, the finish font code, the intermediate font code, the start font code, and the standalone font code, each consists of 1 byte. That is, one character conversion code is composed of 5 bytes in total.

이러한 폰트 맵핑 테이블(106)에는 표준안에 포함된 아랍어 문자들에 각각 대응하는 문자 변환 코드들이 저장되어 있으며, 필요 또는 용도에 따라 표준안에 포함되지 않은 문자들에 대한 문자 변환 코드들도 포함시킬 수 있다.The font mapping table 106 stores character conversion codes corresponding to Arabic characters included in the standard, and may include character conversion codes for characters not included in the standard according to need or use. .

즉, 폰트 맵핑 블록(104)에서는 상기한 바와 같은 일련의 과정들을 통해 대상 문자(아랍어 문자 코드)를 모니터(108)를 통해 디스플레이 가능한 표기형 아랍어 코드로 변환하며, 이와 같이 변환된 표기형 아랍어 코드는 모니터(108)측으로 전달된다.That is, the font mapping block 104 converts the target character (Arabic character code) into a representation Arabic code that can be displayed on the monitor 108 through a series of processes as described above. Is passed to the monitor 108 side.

그 결과, 모니터(108) 상에는 해당되는 아랍어 문자가 디스플레이되며, 사용자들은 이를 통해 원하는 아랍어 문자를 시각적으로 볼 수 있게 된다.As a result, the corresponding Arabic characters are displayed on the monitor 108, so that users can visually see the desired Arabic characters.

따라서, 본 실시 예의 아랍어 문자 코드 변환 장치는, 위치 맵핑 테이블, 이어쓰기 방향 테이블, 중간 위치 맵핑 테이블 및 끝 위치 맵핑 테이블로 된 4개의 맵핑 테이블을 이용하는 전술한 종래 방식과는 달리, 단지 하나의 2차원의 폰트 맵핑 테이블만을 사용하기 때문에 불필요한 메모리의 낭비를 효과적으로 억제할 수 있다.Therefore, the Arabic character code conversion apparatus of the present embodiment differs from the above-described conventional method using four mapping tables consisting of a position mapping table, an ear writing direction table, an intermediate position mapping table, and an end position mapping table. Since only the dimension font mapping table is used, unnecessary memory waste can be effectively suppressed.

또한, 필요 또는 용도에 따라 표준안에 포함되지 않은 문자들에 대한 문자 변환 코드들도 생성하여 폰트 맵핑 테이블에 저장할 수 있기 때문에 사용자들의 서비스 이용 만족도 및 편리성을 더욱 증진시킬 수 있다.In addition, character conversion codes for characters not included in the standard may be generated and stored in the font mapping table according to needs or uses, thereby further improving user satisfaction with service use and convenience.

다음에, 상술한 바와 같은 구성을 갖는 아랍어 문자 코드 변환 장치를 이용하여 아랍어 문자 코드를 모니터를 통해 디스플레이 가능한 표기형 아랍어 코드로 변환하는 과정에 대하여 설명한다.Next, a process of converting an Arabic character code into a display type Arabic code that can be displayed on a monitor using an Arabic character code conversion device having the above-described configuration will be described.

도 2는 본 발명의 바람직한 실시 예에 따라 아랍어 문자 코드를 아랍어 코드(폰트)로 변환하는 과정을 도시한 플로우차트이다.2 is a flowchart illustrating a process of converting an Arabic character code into an Arabic code (font) according to a preferred embodiment of the present invention.

도 2를 참조하면, 입력 블록(102)으로부터 변환의 대상 문자인 문자 코드가 입력되면(단계 202), 폰트 맵핑 블록(104)에서는 폰트 맵핑 테이블(106)과 맵핑시켜 대상 문자와 뒷 문자의 이어쓰기가 가능한지의 여부를 체크하며(단계 204), 체크 결과 대상 문자와 뒷 문자의 이어쓰기가 가능하지 않을 경우, 다시 대상 문자와 앞 문자의 이어쓰기가 가능한지의 여부를 체크한다(단계 206).Referring to FIG. 2, when a character code that is a target character for conversion is input from the input block 102 (step 202), the font mapping block 104 maps the target character and the trailing character by mapping it with the font mapping table 106. It is checked whether writing is possible (step 204), and if it is not possible to continue writing the target character and the back character, it is again checked whether rewriting of the target character and the preceding character is possible (step 206).

상기 단계(206)에서의 체크 결과, 대상 문자와 앞 문자의 이어쓰기가 가능하지 않으면, 폰트 맵핑 블록(104)에서는 해당 대상 문자를 독립형 표기로 판단하고(단계 208), 체크 결과 대상 문자와 앞 문자의 이어쓰기가 가능하면 해당 대상 문자를 시작형 표기로 판단한다(단계 210).If the result of the check in step 206 does not allow rewriting of the target character and the preceding character, the font mapping block 104 determines the target character in stand-alone notation (step 208), and checks the target character and the preceding character. If the writing of the character is possible, the corresponding character is determined as the start type notation (step 210).

한편, 상기 단계(204)에서의 체크 결과, 대상 문자와 뒷 문자의 이어쓰기가 가능할 경우, 다시 폰트 맵핑 블록(104)에서는 대상 문자와 앞 문자의 이어쓰기가 가능한지의 여부를 체크한다(단계 212).On the other hand, if the result of the check in step 204 indicates that the target character and the rear character can be rewritten, the font mapping block 104 checks again whether the target character and the preceding character can be rewritten (step 212). ).

상기 단계(212)에서의 체크 결과, 대상 문자와 앞 문자의 이어쓰기가 가능하면 폰트 맵핑 블록(104)에서는 해당 대상 문자를 중간형 표기로 판단하고(단계 214), 체크 결과 대상 문자와 앞 문자의 이어쓰기가 가능하지 않으면 해당 대상 문자를 마침형 표기로 판단한다(단계 216).If the result of the check in the step 212, the writing of the target character and the preceding character is possible, the font mapping block 104 determines the target character in the intermediate type notation (step 214), and the check result of the target character and the preceding character If rewriting is not possible, the corresponding target character is determined as a final notation (step 216).

즉, 본 발명에서는, 대상 문자와 뒷 문자 및 앞 문자의 이어쓰기가 모두 가능하지 않을 때에는 해당 대상 문자를 독립형 표기로 결정하고, 대상 문자와 뒷 문자의 이어쓰기는 불가능하지만 대상 문자와 앞 문자의 이어쓰기가 가능할 때는 해당 대상 문자를 시작형 표기로 결정하며, 대상 문자와 뒷 문자 및 앞 문자의 이어쓰기가 모두 가능할 때에는 해당 대상 문자를 중간형 표기로 결정하고, 대상 문자와 뒷 문자의 이어쓰기는 가능하지만 대상 문자와 앞 문자의 이어쓰기가 불가능할 때에는 해당 대상 문자를 마침형 표기로 결정한다.That is, in the present invention, when the rewriting of the target character, the trailing character, and the preceding character is not possible, the target character is determined by the stand-alone notation. When the writing is possible, the target character is decided as the start type. When the writing of the target character, the trailing character, and the preceding character is possible, the target character is decided as the middle type. Is possible, but if the target character and the preceding character cannot be rewritten, the target character is determined by the finish type.

따라서, 본 실시 예의 아랍어 문자 코드 변환 장치는, 위치 맵핑 테이블, 이어쓰기 방향 테이블, 중간 위치 맵핑 테이블 및 끝 위치 맵핑 테이블로 된 4개의 맵핑 테이블을 이용하는 전술한 종래 방식과는 달리, 단지 하나의 2차원의 폰트 맵핑 테이블만을 사용하기 때문에 불필요한 메모리의 낭비를 효과적으로 억제할 수 있으며, 또한 필요 또는 용도에 따라 표준안에 포함되지 않은 문자들에 대한 문자 변환 코드들도 생성하여 폰트 맵핑 테이블에 저장할 수 있기 때문에 사용자들의 서비스 이용 만족도 및 편리성을 더욱 증진시킬 수 있다.Therefore, the Arabic character code conversion apparatus of the present embodiment differs from the above-described conventional method using four mapping tables consisting of a position mapping table, an ear writing direction table, an intermediate position mapping table, and an end position mapping table. Since only the dimension font mapping table is used, unnecessary waste of memory can be effectively suppressed, and character conversion codes for characters not included in the standard can be generated and stored in the font mapping table according to needs or uses. It is possible to further enhance the user's service satisfaction and convenience.

이상 설명한 바와 같이 본 발명에 따르면, 문자 코드의 위치 상관성과 관련한 3개의 맵핑 테이블과 이어쓰기 방향을 위한 1개의 방향 테이블을 이용하여 아랍어 문자 코드를 표기형 아랍어 코드로 변환하는 전술한 종래 방식과는 달리, 아랍어의 각 문자별로 문자 위치 요소와 이어쓰기 방향 요소를 갖는 하나의 문자 변환 코드로 된 하나의 2차원의 폰트 맵핑 테이블을 구성하고, 폰트 맵핑 테이블을 이용하여 변환을 위한 대상 문자에 대해 뒷 문자와 앞 문자간에 이어쓰기가 가능한지의 여부를 순차적으로 체크하여 독립형 표기인지, 시작형 표기인지, 마침형 표기인지 혹은 중간형 표기인지를 판단하는 방식으로 아랍어 문자 코드를 표기형의 아랍어 코드로 변환시킴으로써, 불필요한 메모리의 낭비를 효과적으로 억제할 수 있으며, 또한 필요 또는 용도에 따라 표준안에 포함되지 않은 문자들에 대한 문자 변환 코드들도 생성하여 폰트 맵핑 테이블에 저장할 수 있기 때문에 사용자들의 서비스 이용 만족도 및 편리성을 더욱 증진시킬 수 있다.As described above, according to the present invention, the above-described conventional method of converting an Arabic character code into a notation type Arabic code using three mapping tables related to the positional correlation of the character codes and one direction table for the rewriting direction Alternatively, a two-dimensional font mapping table composed of one character conversion code having a character position element and a rewriting direction element for each character of Arabic is constructed, and the character mapping table is used to determine the target character for conversion. Converts Arabic character codes into notational Arabic codes by sequentially checking whether they can be rewritten between a letter and the preceding character, to determine whether it is a stand-alone, start, end, or intermediate notation. By doing so, unnecessary waste of memory can be effectively suppressed, To be because it can be stored in the font mapping table to generate the character code conversion for the text that are not included in the standard, to further improve the service experience and convenience of the user based.

도 1은 본 발명의 바람직한 실시 예에 따른 아랍어 문자 코드 변환 장치의 블록구성도,1 is a block diagram of an Arabic character code conversion apparatus according to a preferred embodiment of the present invention;

도 2는 본 발명의 바람직한 실시 예에 따라 아랍어 문자 코드를 아랍어 코드(폰트)로 변환하는 과정을 도시한 플로우차트,2 is a flowchart illustrating a process of converting an Arabic character code into an Arabic code (font) according to a preferred embodiment of the present invention;

도 3은 종래의 아랍어 문자 코드 변환 장치의 블록구성도.3 is a block diagram of a conventional Arabic character code conversion device.

<도면의 주요부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

102 : 입력 블록 104 : 폰트 맵핑 블록102: input block 104: font mapping block

106 : 폰트 맵핑 테이블 108 : 모니터106: font mapping table 108: monitor

Claims (8)

아랍어 문자 코드를 디스플레이 가능한 표기형 아랍어 코드로 변환하는 장치에 있어서,An apparatus for converting an Arabic character code into a displayable Arabic code, 코드 변환의 대상이 되는 대상 문자를 입력하는 수단;Means for inputting a target character to be transcoded; 아랍어의 각 문자별로 마침형 폰트 코드, 중간형 폰트 코드, 시작형 폰트 코드, 독립형 폰트 코드 및 이어쓰기 방향 요소를 각각 갖는 다수의 문자 변환 코드들을 저장하는 폰트 맵핑 테이블 수단;Font mapping table means for storing a plurality of character conversion codes each having a finish font code, an intermediate font code, a start font code, a stand-alone font code, and a rewriting direction element for each character of Arabic; 상기 대상 문자가 입력될 때, 상기 폰트 맵핑 테이블에 맵핑시켜 대상 문자와 뒷 문자 및 앞 문자간의 이어쓰기 가능 여부를 판단하여, 상기 대상 문자가 독립형 표기인지, 시작형 표기인지, 중간형 표기인지 혹은 마침형 표기인지를 결정하는 방식으로 폰트 맵핑을 수행함으로써, 상기 대상 문자를 디스플레이 가능한 표기형 아랍어 코드로 변환하는 수단; 및When the target character is input, it is mapped to the font mapping table to determine whether rewriting between the target character, the rear character, and the preceding character is possible, and whether the target character is a standalone representation, a start representation, an intermediate representation, or Means for converting the target character into a displayable notation Arabic code by performing font mapping in a manner that determines whether it is a finish notation; And 상기 변환된 표기형 아랍어 코드를 디스플레이하는 수단;Means for displaying the translated notation Arabic code; 을 포함하는 아랍어 문자 코드 변환 장치.Arabic character code conversion device comprising a. 제 1 항에 있어서, 상기 마침형 폰트 코드, 중간형 폰트 코드, 시작형 폰트 코드, 독립형 폰트 코드 및 이어쓰기 방향 요소 각각은, 각 1바이트로 구성된 것을 특징으로 하는 아랍어 문자 코드 변환 장치.The Arabic character code conversion device according to claim 1, wherein each of the finish font code, the intermediate font code, the start font code, the standalone font code, and the rewriting direction element is composed of 1 byte each. 제 1 항에 있어서, 상기 폰트 맵핑 테이블 수단은, 아랍어 표준안에 포함되지 않는 적어도 하나의 아랍 문자에 대응하는 문자 변환 코드를 포함하는 것을 특징으로 하는 아랍어 문자 코드 변환 장치.The apparatus of claim 1, wherein the font mapping table means comprises a character conversion code corresponding to at least one Arabic character not included in an Arabic standard. 제 1 항 또는 제 2 항 또는 제 3 항에 있어서, 상기 변환 수단은, 상기 대상 문자와 뒷 문자 및 앞 문자의 이어쓰기가 모두 가능하지 않을 때 상기 대상 문자를 독립형 표기로 결정하고, 상기 대상 문자와 뒷 문자의 이어쓰기는 불가능하지만 상기 대상 문자와 앞 문자의 이어쓰기가 가능할 때 상기 대상 문자를 시작형 표기로 결정하며, 상기 대상 문자와 뒷 문자 및 앞 문자의 이어쓰기가 모두 가능할 때 상기 대상 문자를 중간형 표기로 결정하고, 상기 대상 문자와 뒷 문자의 이어쓰기는 가능하지만 상기 대상 문자와 앞 문자의 이어쓰기가 불가능할 때 상기 대상 문자를 마침형 표기로 결정하는 것을 특징으로 하는 아랍어 문자 코드 변환 장치.The said converting means determines the said target character in standalone notation, when the rewriting of the said target character, the after character, and the preceding character is not possible, The said target means is set as the said target character. While it is impossible to rewrite the letter and the letter afterward, the target letter is determined as the start type when the letter and the letter of the previous letter can be rewritten. Arabic character code, characterized in that the character is determined in the intermediate form, and the target character and the rear character is possible to rewrite, but when the target character and the preceding character is impossible to rewrite Converter. 아랍어 문자 코드를 디스플레이 가능한 표기형 아랍어 코드로 변환하는 방법에 있어서,A method for converting an Arabic character code into a displayable Arabic code, 변환을 위해 입력되는 아랍어 대상 문자를 다수의 아랍 문자에 각각 대응하는 변환 문자 코드들을 갖는 폰트 멥핑 테이블에 맵핑시키는 과정;Mapping an Arabic target character input for conversion to a font mapping table having conversion character codes respectively corresponding to a plurality of Arabic characters; 상기 대상 문자와 뒷 문자의 이어쓰기가 가능한지의 여부를 체크하는 과정;Checking whether rewriting of the target character and the later character is possible; 상기 대상 문자와 뒷 문자의 이어쓰기가 불가능할 때 상기 대상 문자와 앞 문자의 이어쓰기가 가능한지의 여부를 체크하는 과정;Checking whether rewriting of the target character and the preceding character is possible when rewriting of the target character and the rear character is impossible; 상기 대상 문자와 앞 문자의 이어쓰기가 불가능할 때 상기 대상 문자를 독립형 표기로 결정하는 과정;Determining the target character in stand-alone notation when rewriting of the target character and the preceding character is impossible; 상기 대상 문자와 앞 문자의 이어쓰기가 가능할 때 상기 대상 문자를 시작형 표기로 결정하는 과정;Determining the target character as a start type notation when rewriting of the target character and the preceding character is possible; 상기 대상 문자와 뒷 문자의 이어쓰기가 가능할 때 상기 대상 문자와 앞 문자의 이어쓰기가 가능한지의 여부를 체크하는 과정;Checking whether rewriting of the target character and the preceding character is possible when rewriting of the target character and the rear character is possible; 상기 대상 문자와 앞 문자의 이어쓰기가 가능할 때 상기 대상 문자를 중간형 표기로 결정하는 과정;Determining the target character in an intermediate form when rewriting of the target character and the preceding character is possible; 상기 대상 문자와 앞 문자의 이어쓰기가 불가능할 때 상기 대상 문자를 마침형 표기로 결정하는 과정; 및Determining the target character in a finish form when rewriting of the target character and the preceding character is impossible; And 상기 각 과정을 통해 상기 대상 문자를 표기형 아랍어 코드로 변환하여 디스플레이하는 과정;Converting and displaying the target character into a written Arabic code through each process; 을 포함하는 아랍어 문자 코드 변환 방법.Arabic character code conversion method comprising a. 제 5 항에 있어서, 상기 변환 문자 코드 각각은, 마침형 폰트 코드, 중간형 폰트 코드, 시작형 폰트 코드, 독립형 폰트 코드 및 이어쓰기 방향 요소를 포함하는 것을 특징으로 하는 아랍어 문자 코드 변환 방법.6. The method of claim 5, wherein each of the converted character codes includes a finish font code, an intermediate font code, a start font code, a standalone font code, and a rewriting direction element. 제 6 항에 있어서, 상기 마침형 폰트 코드, 중간형 폰트 코드, 시작형 폰트 코드, 독립형 폰트 코드 및 이어쓰기 방향 요소 각각은, 각 1바이트로 구성된 것을 특징으로 하는 아랍어 문자 코드 변환 방법.7. The Arabic character code conversion method according to claim 6, wherein each of the finish font code, the intermediate font code, the start font code, the standalone font code, and the rewriting direction element is composed of 1 byte each. 제 5 항 또는 제 6 항 또는 제 7 항에 있어서, 상기 폰트 맵핑 테이블은, 아랍어 표준안에 포함되지 않는 적어도 하나의 아랍 문자에 대응하는 문자 변환 코드를 포함하는 것을 특징으로 하는 아랍어 문자 코드 변환 방법.8. The method of claim 5, 6 or 7, wherein the font mapping table includes a character conversion code corresponding to at least one Arabic character not included in an Arabic standard.
KR10-2003-0027598A 2003-04-30 2003-04-30 Apparatus and method for translating simbol code of arabic KR100522797B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2003-0027598A KR100522797B1 (en) 2003-04-30 2003-04-30 Apparatus and method for translating simbol code of arabic

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2003-0027598A KR100522797B1 (en) 2003-04-30 2003-04-30 Apparatus and method for translating simbol code of arabic

Publications (2)

Publication Number Publication Date
KR20040093780A KR20040093780A (en) 2004-11-09
KR100522797B1 true KR100522797B1 (en) 2005-10-18

Family

ID=37373620

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2003-0027598A KR100522797B1 (en) 2003-04-30 2003-04-30 Apparatus and method for translating simbol code of arabic

Country Status (1)

Country Link
KR (1) KR100522797B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4986475B2 (en) 2006-02-20 2012-07-25 キヤノン株式会社 Information processing apparatus, control method therefor, and program

Also Published As

Publication number Publication date
KR20040093780A (en) 2004-11-09

Similar Documents

Publication Publication Date Title
AU2003200547B2 (en) Method for selecting a font
US20060181532A1 (en) Method and system for pixel based rendering of multi-lingual characters from a combination of glyphs
RU2008112550A (en) METHOD OF INPUT IN DIFFERENT LANGUAGES USING SYMBOLS LOCATED ON THE KEYBOARD OF THE USER TERMINAL
KR20070003418A (en) Method for providing mobile webpage by employing to dynamic template
JP2003044035A (en) Irreversible compression and storage method for font
KR20080094850A (en) Arrangement for the scaling of fonts
CN109375962A (en) The implementation method of chinese character mixing output display based on embedded OS
KR100522797B1 (en) Apparatus and method for translating simbol code of arabic
JP2006163651A (en) Display device, control method of display device, program and font data
JP4803218B2 (en) Information output device and information output processing program
US8669888B2 (en) Hangeul input keypad and method using the same
KR100620737B1 (en) Apparatus and method for converting arabic character of mobile communication terminal
CN110164399B (en) 8-bit depth type matrix storage optimization method
JPH02244376A (en) Universal language display system
JP2504867B2 (en) Display method in text processing device
WO2007132287A2 (en) Text composition
KR20070001515A (en) Apparatus and method for electronic documents reproducing
JPS59106033A (en) Furigana (japanese syllabary attached to chinese character) adding system of text processor
JP4922252B2 (en) Effect expression presentation apparatus and method
JP2019096173A (en) Japanese character conversion program and Japanese character conversion device
JPH0950267A (en) Information processing device
JP2007140827A (en) Input device
KR20060018565A (en) An input method for a keyboard in an information communication device
JPH04362770A (en) Method and device for document processing
KR20050059530A (en) Method for transacting korean alphabet expression and apparatus thereof

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20111004

Year of fee payment: 7

LAPS Lapse due to unpaid annual fee