TW200414036A - Editing method for supporting multiple languages - Google Patents

Editing method for supporting multiple languages Download PDF

Info

Publication number
TW200414036A
TW200414036A TW92100848A TW92100848A TW200414036A TW 200414036 A TW200414036 A TW 200414036A TW 92100848 A TW92100848 A TW 92100848A TW 92100848 A TW92100848 A TW 92100848A TW 200414036 A TW200414036 A TW 200414036A
Authority
TW
Taiwan
Prior art keywords
editor
input
writing
languages
patent application
Prior art date
Application number
TW92100848A
Other languages
Chinese (zh)
Other versions
TW594574B (en
Inventor
Huai-Yan Chen
Shuei-Chau Tang
Original Assignee
Inventec Besta 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 Inventec Besta Co Ltd filed Critical Inventec Besta Co Ltd
Priority to TW92100848A priority Critical patent/TW594574B/en
Application granted granted Critical
Publication of TW594574B publication Critical patent/TW594574B/en
Publication of TW200414036A publication Critical patent/TW200414036A/en

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides an editing method for supporting multiple languages, which is applied in the development process of editor contained in an electronic information device having a monitor for making the editor supporting the data editing operation in any language, so that the application software engineer needs not to develop another editor for the language usage on the individual language for different country. The method combines the features of languages from multiple countries, and defines a standard editing interface with indefinitely expandable processing functions in the editor. The editing interface provides the application software engineer with the messages including the input type and the country indicated for the inputted characters, so that the application software engineer can easily develop an editor supporting multiple languages processing, and the editor can support processing on the input, display and deletion of multiple languages.

Description

200414036 五、發明說明α) 【發明所屬之技術領域】 本發明係有關於一種資料處理技術,尤指一種藉由電 子資訊裝置内部所含編輯器提供之編寫介面,對所輸入的 字串資料執行相對應處理過程之方法。 【先前技術】 隨著電子商務時代的來臨及資訊科技的蓬勃發展,個 人及公司企業使用各類型電子資訊裝置做為資料處理工具 之情形係日漸普及,期可藉由電子資訊裝置所具有的資料 編輯、處理等功能及電子資訊裝置本身所具有之準確性 高、資料處理速度快等特性,取代原本以人工作業方式進 行的資料量大且重複性高之工作,藉以提高工作效率,減 少因人為疏失所導致之時間耗費及成本損失等不利於企業 經營等因素,職是之故,隨著電子資訊裝置之使用頻率及 應用範,圍曰趨增加,各電子資訊裝置製造商無不投入大量 的時間、金錢及人力於研發製造等工作上,期可推出一滿 足消費者需求及可獲得廣大好評之電子資訊裝置,且因電 子資訊裝置大部份均係屬於全球性的消費產品,故若某一 類型電子資訊裝置於部份行銷地區獲得不錯的銷售業績, 則生產該電子資訊裝置的製造商勢必將同一類型之電子資 訊裝置轉往其他地區進行銷售,以獲取最大的商業利益, 遂因如此,各電子資訊裝置製造商尋求跨國合作及銷售通 路之機會係趨於密集,而做為一開發電子資訊裝置之製造 商,於現有的技術基礎上,為不同國別的客戶開發適用或 支援客戶所屬國家語言之電子資訊裝置的機率亦相當頻200414036 V. Description of the invention α) [Technical field to which the invention belongs] The present invention relates to a data processing technology, in particular to a writing interface provided by an editor included in an electronic information device, and executes input string data. Corresponding processing method. [Previous technology] With the advent of the e-commerce era and the vigorous development of information technology, the use of various types of electronic information devices as data processing tools by individuals and companies is becoming increasingly popular. Editing, processing, and other features of the electronic information device itself, such as high accuracy and fast data processing speed, replace the original manual work with a large amount of data and high repetitiveness, thereby improving work efficiency and reducing human-induced The time consumption and cost loss caused by negligence are not conducive to business operations and other factors. The reason is that with the use of electronic information devices and the application scope, the number of electronic information device manufacturers has increased. In terms of time, money, and manpower, in research and development and manufacturing, an electronic information device that meets consumer needs and can be widely praised can be launched. Since most electronic information devices are global consumer products, A type of electronic information device has achieved good sales performance in some marketing regions. Therefore, the manufacturer of the electronic information device is bound to transfer the same type of electronic information device to other regions for sale in order to obtain the maximum commercial benefits. Therefore, the opportunity for each electronic information device manufacturer to seek transnational cooperation and sales channels is Increasingly intensive, and as a manufacturer of electronic information devices, based on the existing technology, the probability of developing electronic information devices suitable for or supporting customers' languages in different countries is also quite frequent.

17106. ptd 第5頁 200414036 五、發明說明(2) 繁·。 - 電子資訊裝置内部所含編輯器之主要功能係為可接 收、處理並顯示使用者所輸入的字串資料等,但因世界之 大,各國家地區間所用語言之特點、用法各不相同,真可 謂千差萬別;如就字元之編碼方式而言,阿拉伯文及英文 -等是屬於單位元組(B y t e)編碼,亦即以英文字母n Aπ而 言,其所佔的空間即為1個位元組,而中文和韓文等之編 碼方式則屬於雙位元組編碼,即一個中文字係由2個位元 組所組成,而泰文雖是以單位元組方式進行編碼,但一泰 #字母最多亦可由三個位元組所構成,就顯示方面而言, 阿拉伯文是從右向左顯示,而中文、韓文和泰文則是由左 至右顯示,等等如上所述之差異點,致使編輯器不能通用 於各國語言間資料編寫作業。 目.前,各電子資訊裝置製造商為能拓展國際業務,故 需開發出適用於更多語言使用之電子資訊裝置,針對此一 目的,各電子資訊裝置製造商現行的做法係由應用軟體工 程師於現有之編輯器(以下稱為Α編輯器)為基礎再另行 開發一新的編輯器(以下稱為B編輯器),若以後又要為C 國語言開發一其所適用之電子資訊裝置時,又必須於A編 春器或B編輯器的基礎上在另外開發一 C編輯器,依此類 推,不斷重複進行上述之編輯器開發過程,久而久之,遂 使得各電子資訊裝置製造商不得不為開發編輯器的工作投 —入更多的時間、人力及金錢,用以維護此些眾多不同的編 -輯器版本,此外,如應用軟體工程師修改了 A、B或者C編17106. ptd page 5 200414036 V. Description of the invention (2) Fan. -The main function of the editor included in the electronic information device is to receive, process, and display the string data entered by the user. However, due to the size of the world, the characteristics and usage of languages used in different countries and regions are different. It can be described as very different; for example, in terms of the encoding method of characters, Arabic and English-etc. belong to the unit tuple (Byte) encoding, that is, in terms of the English letter n Aπ, the space occupied by it is 1 Bytes, and Chinese and Korean encoding methods are double-byte encoding, that is, a Chinese character is composed of 2 bytes, while Thai is encoded in unit bytes, but one Thai # Letters can also consist of up to three bytes. In terms of display, Arabic is displayed from right to left, while Chinese, Korean, and Thai are displayed from left to right. As a result, the editor cannot be used universally for the compilation of data between languages. Currently, in order to expand international business, electronic information device manufacturers need to develop electronic information devices suitable for more languages. For this purpose, the current practice of each electronic information device manufacturer is by application software engineers. Based on the existing editor (hereinafter referred to as “A editor”), a new editor (hereinafter referred to as “B editor”) will be developed separately. If an electronic information device suitable for the C language is to be developed in the future , And must also develop a C editor based on the A editor or B editor, and so on, and continue to repeat the above editor development process, over time, so that all electronic information device manufacturers have to Devote more time, manpower, and money to developing editors to maintain these many different editor-editor versions. In addition, application software engineers modify A, B, or C editors.

17106. ptd 第6頁 200414036 五、發明說明(3) 輯器上的錯誤(Bug),則無法同時對所有版本之編輯器 進行修正,亦即很難達成所有編輯器版本均可同時升級之 目的,故如何發展出一可通用於各國語言間之編輯器開發 技術係為所輸入極待解決之問題。 【發明内容】 鑒於上述先前技術之缺點,本發明之主要目的在於提 供一種可支援多國語言之編寫方法,藉此一方法令應用軟 體工程師得以輕易開發一支援多語言處理之編輯器,以令 該電子資訊裝置所含之編輯器可提供不同國家之使用者編 輯應用軟體介面所顯示的内容,並可減少電子資訊裝置製 造商於重新開發編輯器上所需投入之時間及成本。 本發明之另一目的在於提供一種可支援多國語言之編 寫方法,用以令電子資訊裝置所用編輯器之處理函數得以 無限擴.充,以令編輯器可依據所編寫之處理函數分支處理 各種不同情況之輸入,增加編輯器編寫内容修改之彈性, 減少因維護編輯器版本所需投入的人力及物力,本發明所 提供之方法係結合世界上各種不同語言各別所含之特點, 並於編輯器上定義一標準且可無限擴充處理函數之編寫介 面,且此一介面係可提供所輸入字元之輸入類型及國別等 訊息予編輯器,俾令編輯器可根據此一所規劃之編寫介面 標準,輕易取得所輸入字元之輸入類型及國別等參考訊 息,爾後,編輯器遂可依據此一參考訊息編寫一分支處理 程式,以對不同之輸入類型執行相對應之處理方式;而於 顯示過程中,編輯器遂可先行定義一判別函數用以判斷所17106. ptd Page 6 200414036 V. Description of the invention (3) Editor errors (Bugs) cannot be corrected for all versions of the editor at the same time, that is, it is difficult to achieve the purpose of all editor versions being upgraded at the same time Therefore, how to develop an editor development technology that can be commonly used among languages of various countries is an input problem to be solved. [Summary of the Invention] In view of the above-mentioned shortcomings of the prior art, the main object of the present invention is to provide a writing method that can support multiple languages, thereby enabling an application software engineer to easily develop an editor that supports multilingual processing, so that the The editor included in the electronic information device can provide users from different countries to edit the content displayed by the application software interface, and can reduce the time and cost required for electronic information device manufacturers to redevelop the editor. Another object of the present invention is to provide a writing method that can support multiple languages, so that the processing functions of the editor used by the electronic information device can be infinitely expanded. So that the editor can process various branches according to the written processing function branches. The input in different situations increases the flexibility of the editor to modify the content of the editor and reduces the manpower and material resources required to maintain the editor version. The method provided by the present invention combines the characteristics of each of the different languages in the world, and The editor defines a standard and infinitely expandable writing interface for processing functions, and this interface can provide the editor with information such as the input type and country of the input characters, so that the editor can plan according to this plan. Write interface standards to easily obtain reference information such as the input type and country of the input characters, and then the editor can write a branch processing program based on this reference information to perform corresponding processing methods for different input types; During the display process, the editor can first define a discriminant function to determine all

17106. ptd 第7頁 200414036 五、發明說明(4) 輸入欲顯示字串資料之方向,藉以令編輯器可根據此一判 別函數所判定之結果正確顯示使用者所輸入的字串資料之 顯示方向;另一方面,對於處理刪除、插入及移動游標等 常規性之操作,編輯器則需另行編寫一操作函數以對所輸 入字元所占之位元組數進行判斷,編輯器係可藉由所判定 -之位元組數,正確回應使用者的操作指令。 由上述可知,本發明之可支援多國語言之編寫方法, 係用以結合世界上各個地區國家所使用之不同語言間各別 具有之特點,定義一標準並可無限擴充處理函數之編寫介 g,用以實現處理多國語言輸入、顯示及刪除等操作之設 計目的,利用本發明所提供之方法係可令應用軟體工程師 輕易開發出一種可支援多國語言處理的編輯器,藉以解決 各語言所用編輯器間無法通用之缺失及所有不同版本編輯 器無法.同步進行升級之問題,藉以免除重新開發編輯器所 需付出之人、物力資源,進而使得編輯器之開發及後續管 理工作亦得以較簡化之方式執行。 【實施方式】 於以下實施方式中,本發明之可支援多國語言之編寫 方法係應用於一個人數位助理(P e r s〇n a 1 D i g i t a 1 •s s i s t a n t ; P D A)内部所含編輯器的開發過程中,俾使編 輯器於執行資料編寫作業時,所需依循之處理函數得以無 限擴充,以令應用軟體工程師得以輕易開發出一種可支援 '多國語言輸入處理之編輯器,藉此實現編輯器可處理多國 -語言之輸入、顯示及刪除等操作之設計目的,然而於此首17106. ptd Page 7 200414036 V. Description of the invention (4) Enter the direction of the string data to be displayed, so that the editor can correctly display the display direction of the string data entered by the user based on the result determined by this discriminant function. ; On the other hand, for routine operations such as deleting, inserting, and moving cursors, the editor needs to write another operation function to determine the number of bytes occupied by the input characters. The editor can use The number of bytes determined-correctly responds to the user's operation instructions. As can be seen from the above, the multi-language writing method of the present invention is used to combine the characteristics of different languages used by countries in various regions of the world, to define a standard and to extend the writing function of the processing function infinitely. , Used to achieve the design purpose of processing multi-language input, display, and delete operations. Using the method provided by the present invention allows application software engineers to easily develop an editor that can support multi-language processing to solve each language. The editors used cannot be shared among all editors, and all different versions of the editors cannot be synchronized. The problem of upgrading is synchronized, so as to avoid the human and material resources required to redevelop the editor, thereby making the development and subsequent management of the editor easier. Simplified implementation. [Embodiment] In the following embodiments, the multi-language writing method of the present invention is applied to the development process of an editor included in a personal assistant (Persona 1 Digita 1 • ssistant; PDA) In order to enable the editor to perform the data writing operation, the processing functions that it needs to follow can be infinitely expanded, so that application software engineers can easily develop an editor that can support 'multi-language input processing, so that the editor can Designed to handle multi-language input, display, and delete operations, but this is the first

17106.ptd 第8頁 200414036 五、發明說明(5) 先需注意的是,本發明之可支援多國語言之編寫方法並不 限定僅可應用於個人數位助理之編輯器開發過程中;廣義 而言,本發明可適用於任何可顯示文字及圖像資訊的電子 資訊裝置之編輯器開發過程中,特別是可攜帶式電子資訊 裝置,如行動電話、掌上型電腦(Pocket PC)等,用以 對撰寫該可攜帶式電子資訊裝置所用之應用軟體工程師提 供一可支援多國語言處理之編輯器的開發方法。 第1圖係為一應用本發明之個人數位助理1内存編輯器 2之基本架構示意圖,如圖所示,應用本發明之個人數位 助理1係包括一編輯器2、一編寫介面1 0,一字元空間判別 模組2 0,以及一資料輸出模組3 0,其中該編寫介面1 0另包 含一處理模組1 1、一輸入類型判別模組1 2,以及一語言屬 性及函數存放單元1 3 ;此處之基本架構中僅顯示與本發明 有關之.主要模組,其餘之單元模組,如操作按鍵、微處理 器等並未顯示於本圖示中。 該編輯器2係為使用者與個人數位助理1間溝通之媒 介,用以供使用者藉由該個人數位助理1而完成某一些特 定工作,如應用軟體介面所顯示内容(如文字、符號及圖 像資料等内容)之編輯、插入、刪除,以及改變行號等, 應用軟體工程師於開發編輯器2之過程中係先行於編輯器2 中規劃一標準並可無限擴充處理函數之編寫介面1 0,並於 編寫介面1 0内所含的語言屬性及函數存放單元1 3中存放日 後可供編輯器2於執行資料編寫作業過程所需之字元輸入 類型及字元對應國別等參考資料及相關之處理函數,以利17106.ptd Page 8 200414036 V. Description of the invention (5) It should be noted that the method for writing multi-language languages of the present invention is not limited to the editor development process that can only be applied to personal digital assistants; In other words, the present invention can be applied to the editor development process of any electronic information device that can display text and image information, especially portable electronic information devices, such as mobile phones, Pocket PCs, etc. An application software engineer for writing the portable electronic information device is provided with a development method of an editor capable of supporting multi-language processing. FIG. 1 is a schematic diagram of a basic structure of a memory editor 2 of a personal digital assistant 1 to which the present invention is applied. As shown in the figure, the personal digital assistant 1 to which the present invention is applied includes an editor 2, a writing interface 10, a Character space discrimination module 20 and a data output module 30, wherein the writing interface 10 further includes a processing module 11, an input type discrimination module 12, and a language attribute and function storage unit 1 3; Only the main modules related to the present invention are shown in the basic architecture here, and the remaining unit modules, such as operation buttons and microprocessors, are not shown in this illustration. The editor 2 is a communication medium between the user and the personal digital assistant 1, and is used by the user to complete some specific tasks through the personal digital assistant 1, such as the content displayed on the application software interface (such as text, symbols, and Image data, etc.) for editing, inserting, deleting, and changing line numbers, etc. During the process of developing editor 2, the application software engineer first planned a standard in editor 2 and could extend the writing interface of the processing function indefinitely. 1 0, and the language attribute and function storage unit 1 contained in the writing interface 1 0. It stores reference materials such as character input types and character corresponding countries that can be used by the editor 2 in the process of writing data in the future. And related processing functions to facilitate

17106. ptd 第9頁 200414036 五、發明說明(6) 編輯器2得以順暢進行多國語言輸入處理之作業;當使用 者藉由個人數助理1所附設之操作介面(未圖式)輸入一 由複數個字元(如文字、數字及符號等)所組成之字串資 料至編輯器2時,係先由編寫介面1 0所含之處理模組1 1對 、吏用者所輸入的字串資料進行分析與處理,以決定欲令編 輯器2對此一字串資料進行分支處理或者執行刪除、插入 及顯示等一般性操作,若欲使編輯器2對此一字串資料進 行分支處理,則處理模組1 1遂令輸入類型判別模組1 2判定 該字串資料之輸入類型係屬於產生一新字元或為替換所輸 •字 元,亦或者為替換所輸入字元並另行產生一新的字元 等其中一項,隨後,編輯器2係可根據上述編寫介面1 0之 規劃標準藉由處理模組1 1編寫一分支處理程式,以針對上 述各種不同之輸入類型執行相對應之處理工作。 此外,因每個國家、地區所屬之語言係均有其各自之 特點,就如編碼方式而言,阿拉伯文之編碼方式係為單位 元組編碼,亦即一個字元使用一位元組,而韓文及中文等 之編碼方式則為雙位元組;而就顯示而言,阿拉伯文是由 右向左輸出顯示,而韓文和中文則是從左至右顯示,故為 正確顯示使用者所輸入的字串資料,遂於決定編輯器2所 執行之工作後,隨即必須由處理模組1 1根據此一字串資 料内所含之有效字元於語言屬性及函數存放單元1 3中進行 檢索,藉以判定出/此一字串資料所屬之國別,方可令編輯 器2決定此一字串資料之編碼方式及對最後字串資料的顯 .示方向有一明確之參考依據,接著,資料處理模組1 1遂提17106. ptd Page 9 200414036 V. Explanation of the invention (6) The editor 2 can smoothly perform multi-language input processing operations; when the user enters the input through the operation interface (not shown) attached to the personal data assistant 1 When string data composed of a plurality of characters (such as text, numbers, symbols, etc.) is sent to the editor 2, the processing module 1 1 included in the writing interface 10 is firstly the string input by the user The data is analyzed and processed to determine whether the editor 2 is required to perform branch processing or delete, insert, and display general operations on this string of data. If the editor 2 is to perform branch processing on this string of data, Then the processing module 1 1 causes the input type discrimination module 12 to determine that the input type of the string data belongs to generating a new character or replacing the input character, or replacing the input character and generating another A new character and one of them. Subsequently, the editor 2 can write a branch processing program by the processing module 11 according to the above-mentioned programming standard of the programming interface 10, so as to perform relative operations for the various input types described above. The processing work. In addition, because the language system of each country and region has its own characteristics, as for the encoding method, the Arabic encoding method is unit tuple encoding, that is, one character uses one tuple, and The encoding methods for Korean and Chinese are double-byte; as far as the display is concerned, Arabic is output from right to left, while Korean and Chinese are displayed from left to right, so the user input is displayed correctly. After determining the work performed by the editor 2, the processing module 11 must then retrieve it in the language attribute and function storage unit 13 based on the valid characters contained in this string data. In order to determine the country of the string data, the editor 2 can determine the encoding method of the string data and the display of the last string data. There is a clear reference for the display direction. Then, the data Processing module 1 1

17106.ptd 第10頁 200414036 五、發明說明(7) 供一自語言屬性及函數存放單元1 3所搜尋出係先前由應用 軟體工程師所撰寫之判別函數予字元空間判別模組2 0,該 判別函數係建立於綜合分析各語言文法特點之基礎上,俾 使該字元空間判別模組2 0可對所輸入字串資料所含字元所 佔之位元數及其所使用之編碼方式係為單字元、雙字元亦 或者為其他編碼方式(如阿拉伯文為早位元編碼,中文為 雙位元編碼等)進行判別,以使編輯器2可依該字元空間判 別模組2 0所判定出之正確位元組數值,以令編輯器2可就 刪除、插入及移動游標等常規性的操作正確回應客戶之執 行目的。 於此同時,處理模組1 1亦透過字元空間判別模組2 0, 提供一由應用軟體工程師先前所編寫之顯示函數予資料輸 出模組3 0,該顯示函數係用以判別所輸入所欲顯示字串資 料的顯.示方向,該顯示函數亦需建立於綜合分析欲顯示字 串特點之基礎上,如此一字串資料是以阿拉伯字元開頭, 則字串係由右至左寫,若以中文、英文、韓文及泰文等, 字串遂為從左自右排列,隨後,編輯器2係可根據資料輸 出模組3 0所判定的顯示方向正確顯示用戶所輸入的字串資 料方向。 第2 A及第2 B圖係為一流程圖,用以表示本發明之個人 數位助理1於開發一可支援多國語言輸入編輯器2過程之步 驟程序,首先,係先由應用軟體工程師針對輸入法及編輯 器2規劃一可提供所輸入字元的輸入類型(如產生一個新 字元、替換所輸入字元及替換所輸入字元並產生一個新字17106.ptd Page 10 200414036 V. Description of the invention (7) A search function for the language attribute and function storage unit 1 3 is a discrimination function previously written by an application software engineer for the character space discrimination module 2 0, which The discriminant function is based on a comprehensive analysis of the grammatical characteristics of each language, so that the character space discrimination module 20 can determine the number of bits occupied by the characters contained in the input string data and the encoding method used Discrimination is single-character, double-character, or other encoding methods (such as Arabic for early bit encoding, Chinese for double bit encoding, etc.), so that editor 2 can determine module 2 based on the character space The correct byte value determined by 0, so that the editor 2 can correctly respond to the client's execution purpose with regard to the conventional operations such as deleting, inserting, and moving the cursor. At the same time, the processing module 11 also provides a display function previously written by the application software engineer to the data output module 30 through the character space discrimination module 20. The display function is used to determine the input input. To display the display direction of the string data, the display function must also be based on a comprehensive analysis of the characteristics of the string to be displayed. If a string of data starts with Arabic characters, the string is written from right to left In Chinese, English, Korean, Thai, etc., the strings are arranged from left to right. Subsequently, the editor 2 can correctly display the string data entered by the user according to the display direction determined by the data output module 30. direction. Figures 2A and 2B are flowcharts showing the steps and procedures of the personal digital assistant 1 of the present invention in the process of developing a multi-language input editor 2. First, the application software engineer The input method and editor 2 plan an input type that can provide the input characters (such as generating a new character, replacing the input character, and replacing the input character and generating a new character

17106. ptd 第11頁 200414036 五、發明說明(8) 元等)及字元所屬國別等訊息且可無限擴充處理函數之標 準編寫介面1 0,並將編輯器於字串資料處理過程_中所需參 考之各類型處理函數預先存放於語言屬性及函數存放單元 1 3中,隨後並進至步驟S2。 於步驟S 2中,使用者藉由輸入法所提供的輸入方式, -透過個人數位助理所設之操作介面(未圖示)輸入一由複 數個字元所組成之字串資料至編輯器2所含之編寫介面1 0 中進行資料編寫之工作,隨後並進至步驟S 3。 於步驟S 3中,當該字串資料輸入至編寫介面1 0内時, g由處理模組1 1對該字串資料之所欲進行處理之項目進行 判別,藉以決定下一步所需進行之程序,若該字串資料欲 進行分支處理則進行至步驟S 4,如該字串資料之處理項目 為執行刪除、插入及顯示等一般常規性操作則直接進至步 驟 S 7 〇, 於步驟S4中,處理模組1 1即根據該字串資料所含之有 效字元於語言屬性及函數存放單元1 3中進行檢索,以判斷 該字串資料所屬之國家類別,隨後處理模組1 1亦將該字串 資料的有效字元提供予輸入類型判定模組1 1進行判別,藉 以判斷出該字串資料之輸入類型係屬於產生一個新字元或 馨換所輸入字元亦或者為替換所輸入字元並產生一個新字 元之其中一種,隨後並進至步驟S 5。 於步驟S5,編輯器2所含之處理模組1 1遂依步驟S4中 判定所得之該字串資料所屬國家類別及輸入類型等資訊, 以應用軟體工.程師所規劃之編寫介面1 0之標準為架構,編17106. ptd Page 11 200414036 V. Description of the invention (8 yuan, etc.) and the country to which the character belongs, etc. The standard writing interface 10 that can infinitely expand the processing function, and the editor is in the process of string data processing _ Each type of processing function to be referenced is stored in the language attribute and function storage unit 13 in advance, and then proceeds to step S2. In step S2, the user uses the input method provided by the input method to input a string data composed of a plurality of characters into the editor 2 through an operation interface (not shown) provided by the personal digital assistant. The work of writing data in the included writing interface 10 then proceeds to step S3. In step S3, when the string data is input into the writing interface 10, the processing module 11 determines the items to be processed in the string data in order to determine the next step. Program, if the string data is to be branched, proceed to step S4. If the processing items of the string data are to perform general routine operations such as deletion, insertion, and display, proceed directly to step S7. In step S4 In the processing module 11, the language attributes and function storage units 13 are searched according to the valid characters contained in the string data to determine the country category to which the string data belongs, and then the processing module 11 also The valid characters of the string data are provided to the input type determination module 11 to determine whether the input type of the string data belongs to generating a new character or replacing the input character or replacing the input character. Enter the character and generate one of the new characters, and then proceed to step S5. In step S5, the processing module 1 1 included in the editor 2 then uses the information such as the country type and input type determined by the string data determined in step S4 to apply software programming. The programming interface planned by the engineer 1 0 The standard is architecture

17106. ptd 第12頁 200414036 五、發明說明(9) 寫出一分支處理程式,藉此針對不同的輸入類型做出相對 應之處理方式,隨後並進至步驟S 6。 於步驟S 6中,編輯器2所含之處理模組1 1,係先根據 之前所判斷之該字串資料所屬國家類別於語言屬性及函數 存放單元1 3中進行檢索,以另行判別出該字串資料之有效 字元所代表之國家碼(例如判別得之結果,該字串資料所 屬的國別碼為韓國),隨後遂並進至步驟S 6 -1。 於步驟S 6 - 1中,編輯器2所編寫之分支處理程式係對 經由輸入類型判定模組1 1所判別之輸入類型進行相對應之 處理,若輸入類型為產生一個新字元,則進行步驟 S 6 - 1 1,為替換所輸入字元,進行步驟S 6 - 1 2,為替換所輸 入字元並產生一個新字元,遂進至步驟S6-1 3執行,若為 其他更多新類型,則進行步驟S 6 - 1 4。 於涉驟S 6 - 1 1中,分支處理程式於編輯器2中產生一個 新字元,並對此一新字元設置國別屬性標記,以利隨後的 顯示作業可循此一國別屬性標記,以符合該國別文字顯示 方向之畫面輸出,接著遂進至步驟S9。 於步驟S 6 - 1 2中,分支處理程式於編輯器2中替換所輸 入字元,並於替換後設置一國別屬性標記,以利隨後的顯 示作業可循此一國別屬性標記,以符合該國別文字顯示方 向之晝面輸出,接著遂並進至步驟S9。 於步驟S 6 - 1 3中,分支處理程式於編輯器2中替換所輸 入字元並產生一個新字元,並對此一新字元設置國別屬性 標記,以利隨後的顯示作業可循此一國別屬性標記,以符17106. ptd page 12 200414036 V. Description of the invention (9) Write a branch processing program to make corresponding processing methods for different input types, and then proceed to step S6. In step S6, the processing module 11 included in the editor 2 is first searched in the language attribute and function storage unit 13 according to the country category of the string data previously determined to determine the The country code represented by the valid characters of the string data (for example, as a result of the determination, the country code to which the string data belongs is South Korea), and then proceed to step S 6 -1. In step S 6-1, the branch processing program written by the editor 2 performs corresponding processing on the input type determined by the input type determination module 11, and if the input type is to generate a new character, it performs Step S 6-1 1 is to replace the input characters, and step S 6-1 2 is performed to replace the input characters and generate a new character, then proceed to step S 6-1 3 to execute, if it is other more For new types, proceed to steps S 6-1 4. In step S 6-1 1, the branch processing program generates a new character in the editor 2 and sets a country attribute flag for the new character so that subsequent display operations can follow this country attribute. The mark is output in a screen that conforms to the display direction of the country text, and then proceeds to step S9. In step S 6-12, the branch processing program replaces the input characters in the editor 2 and sets a country attribute flag after the replacement so that subsequent display operations can follow this country attribute flag to The day-to-day output that conforms to the display direction of the text of the country, then proceeds to step S9. In step S 6-13, the branch processing program replaces the input character in the editor 2 and generates a new character, and sets a country attribute flag for the new character, so that subsequent display operations can be followed. This country attribute is marked with a symbol

17106.ptd 第13頁 200414036 五、發明說明(10) 合該國別文字顯示方向之晝面輸出,接著遂並進至步驟 S9 ° ; 於步驟S 6 - 1 4中,分支處理程式於編輯器2對其他更多 新類型新字元設置國別屬性標記,以利隨後的顯示作業可 ^盾此一國別屬性標記,以符合該國別文字顯示方向之畫面 -輸出,接著遂並進至步驟S 9。 於步驟S7中,編輯器2内部所含之處理模組1 1係依該 字串資料所屬的處理類型,對該字串資料進行刪除、插入 及移動游標等常規性操作,隨後並進至步驟S 8。 | 於步驟S 8中,該處理模組1 1係令字元空間判別模組2 0 依據先前經由應用軟體工程師所撰寫並存放於語言屬性及 函數存放單元1 3中之處理函數中所含之判別函數,針對組 成該字串資料之每一字元所佔之位元組進行判別,並將判 定之結,果提供予編輯器2,以供編輯器2於顯示該字串資料 時,可依據此一判別得知每一字元所占之位元組數,正確 顯示使用者的輸入,隨後並進至步驟S 9。 於步驟S 9中,編輯器2遂透過處理模組1 1將所處理及 判定完成之結果予以匯總整理,隨後並進至步驟S 1 0。 於步驟S 1 0中,該處理模組1 1係令資料輸出模組3 0依 籲字串資料所含之國別屬性標記,判別該字串資料正確之 顯示方向,俟資料輸出模組3 0判別完成後,編輯器2亦透 過資料輸出模組3 0將使用者所輸入的字串資料顯示於個人 數位助理1所設之顯示器(未圖示)上。 綜合上述,本發明之可支援多國語言之編寫方法係可17106.ptd Page 13 200414036 V. Description of the invention (10) Daytime output in accordance with the display direction of the country's text, and then proceed to step S9 °; In steps S 6-14, the branch processing program is in the editor 2 Set the country attribute mark for other more new types and new characters so that subsequent display operations can shield this country attribute mark to match the screen-output of the country text display direction, and then proceed to step S 9. In step S7, the processing module 11 included in the editor 2 performs normal operations such as deleting, inserting, and moving cursors on the string data according to the processing type to which the string data belongs, and then proceeds to step S 8. In step S8, the processing module 1 1 is the character space discrimination module 2 0 according to the processing function contained in the processing function written in the language attribute and function storage unit 13 previously written by the application software engineer. The discriminant function discriminates the bytes occupied by each character constituting the string data, and provides the result of the determination to the editor 2 for the editor 2 to display the string data, Based on this judgment, the number of bytes occupied by each character is known, the user's input is correctly displayed, and then the process proceeds to step S9. In step S9, the editor 2 then summarizes the processed and judged results through the processing module 11 and then proceeds to step S10. In step S 10, the processing module 11 is to instruct the data output module 30 to determine the correct display direction of the string data according to the country attribute mark contained in the string data. 俟 Data output module 3 After the judgment of 0 is completed, the editor 2 also displays the string data input by the user on the display (not shown) provided by the personal digital assistant 1 through the data output module 30. To sum up, the writing method capable of supporting multiple languages of the present invention is applicable.

17106. ptd 第14頁 200414036 五、發明說明(11) 令個人數位助理所含之編輯器支援多語言之處理工作,並 可令應用軟體工程師因應不同國家地區之語言屬性,定義 並無限擴充該編輯器之儲存函數,俾使應用軟體工程師得 以輕易撰寫出一支援多語言編輯器程式,免除因針對不同 國家而需另外開發該國家語言用法所適用之編輯器所造成 之時間耗費,節省開發新編輯器所需支出的成本。 以上所述僅為本發明之較佳實施例而已,並非用以限 定本發明之實質技術内容之範圍。本發明之實質技術内容 係廣義地定義於下述之申請專利範圍中,任何他人所完成 之技術實體或方法,若是與下述之申請專利範圍所定義者 完全相同,或是為同一等效之變更,均將被視為涵蓋於此 專利範圍之中。17106. ptd Page 14 200414036 V. Description of the invention (11) Make the editor included in the personal digital assistant support multilingual processing, and allow application software engineers to define and expand the editor in accordance with the language attributes of different countries and regions. Storage function of the browser, so that application software engineers can easily write a program that supports multi-language editors, eliminating the time and cost caused by the need to develop an appropriate editor for the language usage of that country, saving the development of new editor Cost of the device. The above are only preferred embodiments of the present invention, and are not intended to limit the scope of the essential technical content of the present invention. The essential technical content of the present invention is broadly defined in the scope of patent application described below. Any technical entity or method completed by others is completely the same as that defined in the scope of patent application described below, or is the same equivalent Changes are deemed to be covered by this patent.

17106. ptd 第15頁 200414036 圖式簡單說明 時 業 作 寫,料 資圖, 行 執 ' 二 力Tt·3 明 編 說 部 為 口彐一 口 1 ΛΡ 圖 簡1理 式第助 圖位 ί '數 人 個 之 明· 發 本 用 應 明 說 以 用 架 組 模 各 人 個 之 明 發 本 用 應 示 顯 係 其 圖 程 流 - 及為 以圖 Β , 2 形及 A 情 2 合第 配 之 施 實 各 之 時 ίι 處 入 輸 古口 語 國 多 行 執 於 器 輯 之 内 Β\ 一 S 助。 位序 數程 1 個 人 數 位 助 理 編 寫 介 面 11 處 理 模 組 12 料j 入 類 型 判 斷 模 組 13 語 言 屬 性 及 函 數 存放單元 2 編 ,輯 器 20 字 元 空 間 判 定 模 組 30 資 料 輸 出 模 組17106. ptd Page 15 200414036 Schematic description of the time of writing, material maps, and implementation of the 'two force Tt · 3 editor's department for the mouth of a mouth 1 ΛΡ diagram 1 grammatical assisted map position' 'number Everyone ’s personal use of the book should clearly show that each individual's personal use of the book should be clearly shown in the flow chart-and for the implementation of the figure B, 2 and A 2 At each time, the entry into the ancient speaking country is performed in multiple lines. Bit sequence number 1 person digital assistant editing interface 11 processing module group 12 input type judgment module group 13 language attribute and function storage unit 2 series, editor 20-character space determination module group 30 data output module group

17106.ptd 第16頁17106.ptd Page 16

Claims (1)

200414036 六、申請專利範圍 1. 一種可支援多國語言之編寫方法,其係用以令一具有 顯示器之電子資訊裝置内部編輯器於資料編寫過程中 ,可對任一國別使用者所輸入之由複數個字元組成的 字串資料進行處理,此一編寫方法係包含: (1) 規劃一標準且可無限擴充處理函數之編輯介 面予編輯器及其所用之輸入法使用; (2) 令該編輯器依據所規劃之編輯介面,編寫一 分支處理程式;以及 (3) 令該編輯器編寫一函數,用以判斷所輸入所 欲顯示字串資料之顯示方向及所輸入字元所占之位元 組空間。 2. 如申請專利範圍第1項之可支援多國語言之編寫方法, 其中,該電子資訊裝置係為一手持式電子資訊裝置。 3. 如申請專利範圍第1項之可支援多國語言之編寫方法, 其中,該字元之係代表文字、數字、標點符號及特殊 符號所組群組之一者。 4. 如申請專利範圍第1項之可支援多國語言之編寫方法, 其中,該編輯介面係包含所輸入字元之輸入類型資料 〇 5. 如申請專利範圍第4項之可支援多國語言之編寫方法, 其中,該輸入類型資料提供予編輯器的訊息係包含產 生一新的字元、替換所輸入的字元及替換所輸入字元 並產生一新字元中之一者。 6 .如申請專利範圍第1項之可支援多國語言之編寫方法,200414036 VI. Scope of Patent Application 1. A method for writing in multiple languages, which is used to enable an internal editor of an electronic information device with a display to edit data entered by users in any country during the data writing process. String data composed of multiple characters is processed. This writing method includes: (1) planning a standard and infinitely expandable processing function editing interface to the editor and the input method used by it; (2) order The editor writes a branch processing program according to the planned editing interface; and (3) causes the editor to write a function to determine the display direction of the input string data to be displayed and the occupied characters of the input characters. Byte space. 2. If the method for writing a multi-language language can be supported in item 1 of the patent application, wherein the electronic information device is a handheld electronic information device. 3. For the method of writing in multiple languages that can support multi-languages under item 1 of the scope of patent application, the character represents one of the groups of characters, numbers, punctuation marks, and special symbols. 4. For the method of writing in multi-languages that can support multi-languages in item 1 of the scope of patent application, where the editing interface contains input type data of the characters entered 5. In case of the application of patents in item 4, the multi-languages that can be supported A writing method, wherein the information provided to the editor by the input type data includes one of generating a new character, replacing the input character, and replacing the input character and generating a new character. 6. If the writing method of item 1 in the scope of patent application can support multiple languages, 17106.ptd 第17頁 200414036 _六、申請專利範圍 其中,該編輯介面另定義有輸入字元所代表之國別代 • 碼。 7.如申請專利範圍第1項之可支援多國語言之編寫方法, 其中,該分支處理程式係用以針對不同之輸入類型執 行相對應的處理。 -8.如申請專利範圍第1項之可支援多國語言之編寫方法, 其中,該處理函數係用以判斷所輸入字元所佔之位元 數,以令編輯器可根據該資料内容判別函數所判定之 位元組數,正確回應使用者所執行之一般常規操作。 如申請專利範圍第8項之可支援多國語言之編寫方法, 其中,該一般常規操作係指刪除、複製及移動游標所 組群組之一者。 1 0 .如申請專利範圍第1項之可支援多國語言之編寫方法, 其中,該處理函數於判斷所輸入欲顯示字串之方向後 ,將結果提供予編輯器,以令編輯器於執行資料顯示 作業時,可依據此一處理函數所判定之顯示方向於顯 示器上正確顯示使用者的所輸入的字_資料。17106.ptd Page 17 200414036 _VI. Scope of patent application Among them, the editing interface also defines the country code represented by the input character. 7. As for the method of writing in multiple languages that can support multiple languages in the first patent application scope, the branch processing program is used to perform corresponding processing for different input types. -8. If the method for writing multi-language languages is supported in item 1 of the scope of the patent application, the processing function is used to determine the number of bits occupied by the input characters so that the editor can judge based on the content of the data The number of bytes determined by the function correctly responds to the general routine operations performed by the user. For example, the multi-language writing method that can support multi-languages in the scope of patent application No. 8 in which the general routine operation refers to deleting, copying and moving one of the groups of cursors. 10. If the method for writing multiple languages can be supported according to item 1 of the scope of patent application, wherein the processing function provides the result to the editor after determining the direction of the input string to be displayed, so that the editor can execute During data display operation, the user's input word_data can be correctly displayed on the display according to the display direction determined by this processing function. 17106.ptd 第18頁17106.ptd Page 18
TW92100848A 2003-01-16 2003-01-16 Editing method for supporting multiple languages TW594574B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW92100848A TW594574B (en) 2003-01-16 2003-01-16 Editing method for supporting multiple languages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW92100848A TW594574B (en) 2003-01-16 2003-01-16 Editing method for supporting multiple languages

Publications (2)

Publication Number Publication Date
TW594574B TW594574B (en) 2004-06-21
TW200414036A true TW200414036A (en) 2004-08-01

Family

ID=34075938

Family Applications (1)

Application Number Title Priority Date Filing Date
TW92100848A TW594574B (en) 2003-01-16 2003-01-16 Editing method for supporting multiple languages

Country Status (1)

Country Link
TW (1) TW594574B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336686A (en) * 2013-06-05 2013-10-02 福建星网视易信息系统有限公司 Editing device and editing method for terminal playing template of digital signage system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103336686A (en) * 2013-06-05 2013-10-02 福建星网视易信息系统有限公司 Editing device and editing method for terminal playing template of digital signage system
CN103336686B (en) * 2013-06-05 2016-10-05 福建星网锐捷通讯股份有限公司 The editing device of the terminal plays template of digital signage system and edit methods thereof

Also Published As

Publication number Publication date
TW594574B (en) 2004-06-21

Similar Documents

Publication Publication Date Title
US7496230B2 (en) System and method for automatic natural language translation of embedded text regions in images during information transfer
US6964018B1 (en) Document editing processing method and apparatus and program furnishing medium
US7149971B2 (en) Method, apparatus, and system for providing multi-language character strings within a computer
US6957233B1 (en) Method and apparatus for capturing and rendering annotations for non-modifiable electronic content
JP2000048016A (en) Format and display method for text executable on computer processor, computer device capable of formatting and displaying text and computer readable storage medium storing program capable of formatting and displaying text, and method for adding new style to text editor capable of formatting and displaying text
US8160865B1 (en) Systems and methods for managing coordinate geometry for a user interface template
US7945541B1 (en) Version set of related objects
US20110080409A1 (en) Formula input method using a computing medium
US20080052619A1 (en) Spell Checking Documents with Marked Data Blocks
TW201308108A (en) System and method for integrating menus and toolbars
CN109960547A (en) The multi-lingual interpretation method of software and system
CN101504639A (en) Electronic note reading method and system
US7503036B2 (en) Testing multi-byte data handling using multi-byte equivalents to single-byte characters in a test string
TW594574B (en) Editing method for supporting multiple languages
CN103136177B (en) There is provided with the system and method for paraphrasing data editing files content
JP6076285B2 (en) Translation apparatus, translation method, and translation program
JP4415768B2 (en) Address table generation support method, apparatus and program
Manashty et al. Armrayan multimedia mobile cms: a simplified approach towards content-oriented mobile application designing
US8451294B2 (en) Partial window visibility
KR20030021345A (en) Method for compression and restoration of data
JP2004537793A (en) Control / Display Unit Page Builder Software Tool
JPH06314274A (en) Document preparing device and document information input method
Wempen Special Edition Using Microsoft Office Word 2007
CN118013034A (en) Medical professional accurate mark corpus construction method and system based on large language model
JP2009059348A (en) Input system and its method for edited translation word/phrase

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees