WO2007114182A1 - Data input apparatus, method, and program - Google Patents
Data input apparatus, method, and program Download PDFInfo
- Publication number
- WO2007114182A1 WO2007114182A1 PCT/JP2007/056692 JP2007056692W WO2007114182A1 WO 2007114182 A1 WO2007114182 A1 WO 2007114182A1 JP 2007056692 W JP2007056692 W JP 2007056692W WO 2007114182 A1 WO2007114182 A1 WO 2007114182A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- conversion
- conversion destination
- destination data
- input
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0489—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using dedicated keyboard keys or combinations thereof
- G06F3/04895—Guidance during keyboard input operation, e.g. prompting
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/02—Input arrangements using manually operated switches, e.g. using keyboards or dials
- G06F3/023—Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
- G06F3/0233—Character input methods
- G06F3/0237—Character input methods using prediction or retrieval techniques
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/151—Transformation
- G06F40/157—Transformation using dictionaries or tables
Definitions
- the present invention relates to a data input technique, and more particularly to a data input device, method, and program for converting data that has received user power into other data and inputting the data.
- XML is attracting attention as a format suitable for sharing data with others via a network, and applications for creating, displaying, and editing XML documents have been developed (for example, (See Patent Document 1).
- An XML document is created based on a vocabulary (tag set) defined by a document type definition or the like.
- Patent Document 1 Japanese Patent Laid-Open No. 2001-290804
- the present invention has been made in view of such circumstances, and an object thereof is to provide a technique for improving the convenience of data input.
- One embodiment of the present invention relates to a data input device.
- This data input device refers to an input receiving unit that receives input of conversion source data from a user, and a dictionary database that holds the conversion source data and conversion destination data in association with each other.
- a candidate extraction unit for extracting corresponding conversion destination data candidates, a candidate display unit for displaying the conversion destination data candidates and accepting selection of user power conversion destination data, and outputting the conversion destination data selected by the user
- the dictionary database includes data marked up in a markup language as candidates for the conversion destination data. It is characterized by that.
- the candidate extraction unit may determine whether or not the data extracted as the candidate of the conversion destination data can be inserted into the output destination with reference to the markup language schema. Good.
- the candidate display unit obtains a rendering result of the data from the application of the output destination of the conversion destination data when displaying the data marked up in a markup language as the candidate of the conversion destination data, The acquired drawing result may be displayed.
- This data input method refers to a step of accepting input of conversion source data by a user and a dictionary database that holds the conversion source data and the conversion destination data in association with each other, and converts the conversion destination corresponding to the conversion source data.
- the dictionary database includes data marked up in a markup language as candidates for the conversion destination data.
- FIG. 1 is a diagram for explaining a method of inputting data to an application using the data input device according to the embodiment.
- FIG. 2 is a diagram for explaining a method of inputting data to an application by the data input device according to the embodiment.
- FIG. 3 is a diagram showing a configuration of a data input device according to an embodiment.
- FIG. 4 is a diagram showing an example of an XML document to be input.
- FIG. 5 is a diagram showing an example of XML data that is a conversion candidate.
- a technique for selecting and switching an appropriate operation according to an output destination in a data input device that converts conversion source data input by a user into conversion destination data and outputs the converted data. For example, when converting a kana to kanji and entering it, the display order of conversion candidates is switched, the dictionary used for conversion is switched, and the data type to be input is changed according to the input position and sentence structure. Display related information and switch data calibration support methods. As a result, the convenience of data entry can be greatly improved.
- FIG. 1 and FIG. 2 are diagrams for explaining a method of inputting data to an application by the data input device according to the embodiment.
- an input form 80 is presented for entering data into a database that stores the patient's treatment history.
- the data input device converts the reading input by the user into kanji and outputs it to the database application.
- FIG. 1 shows a state in which a conversion candidate is displayed by inputting “Masu”, which is the reading, in order for the user to input the Chinese character “Masui” which is the patient's last name.
- Kanji characters corresponding to “Masu” include “Anesthesia”, “Drunken”, “Masui”, “Sakurai”, etc., but here we are trying to enter the patient's surname, so it may be used as a surname It is more convenient to display high-kanji candidates with priority. Therefore, when presenting conversion candidates to the user, the data input device sorts the “Masui” and “Sakurai”, which are most likely to be used as surnames, to display the conversion candidates.
- FIG. 2 shows a state in which a conversion candidate is displayed by inputting “Masu”, which is the reading, in order for the user to input the Chinese character “anaesthesia” which is a contraindicated item of the patient. . Since we are going to input medical practice here, the data input device can be used as medical practice. The conversion candidates are displayed by sorting them so that “ability”, “anaesthesia” and “drunkenness” are higher.
- FIG. 3 shows a configuration of the data input device 10 according to the embodiment.
- the data input device 10 supports data input to the application 50 by the user.
- the data selected by the user is also selected as the conversion target data candidate recalled from the conversion source data entered by the user via the user interface 40. Output for 50.
- the data input device 10 includes an input reception unit 12, an operation switching unit 14, a candidate extraction unit 16, an order determination unit 18, a candidate display unit 20, a calibration support unit 22, an output unit 24, a history recording unit 26, and a dictionary. Includes database 30 and history database 32.
- these components are the power that can be realized by the CPU, memory, and programs loaded in the memory of any computer.
- functional blocks that are realized by their cooperation are depicted. . Therefore, it is understood by those skilled in the art that these functional blocks can be realized in various forms by hardware only, software only, or their combination.
- the dictionary database 30 stores conversion source data and conversion destination data in association with each other.
- the dictionary database 30 used for inputting kanji into the application 50 holds kanji readings as conversion source data and kanji as conversion destination data.
- the dictionary database 30 may store a zip code as conversion source data, an address as conversion destination data, English words as conversion source data, and Japanese translations of English words as conversion destination data. You may have it.
- data marked up with a markup language such as XML may be held as conversion destination data.
- the input receiving unit 12 receives input of user force conversion source data via the user interface 40.
- the candidate extraction unit 16 refers to the dictionary database 30 and extracts conversion destination data candidates corresponding to the conversion source data received by the input reception unit 12.
- the order determination unit 18 determines the display order of the plurality of conversion destination data candidates according to a predetermined condition.
- the candidate display unit 20 displays the candidates for the conversion destination data according to the display order determined by the order determination unit 18, and the user power also accepts the selection of the conversion destination data.
- the output unit 24 outputs the conversion destination data selected by the user via the user interface 40 to the application 50.
- the dictionary database 30 holds data that is easier to input than the conversion destination data as the conversion source data, so the user inputs the conversion destination data to the application 50 by a simpler method. Can do.
- the calibration support unit 22 supports calibration of conversion source data received by the input receiving unit 12.
- the history recording unit 26 records the history of data selected by the user from the candidates for the conversion destination data displayed by the candidate display unit 20 and output by the output unit 24 in the history database 32. Learn the data to enter. This input history is used when the order determination unit 18 determines the display order of candidates.
- the operation switching unit 14 acquires the output destination of the conversion destination data, that is, information on the input target in the application 50, and based on the acquired information, the candidate extraction unit 16, the order determination unit 18, and the candidate display unit 20 Switch the operation of the calibration support unit 22 and so on. For example, the operation switching unit 14 acquires information on the data type of the input position from the application 50, and switches the operation of each component so that appropriate input support can be performed according to the data type.
- the operation switching unit 14 includes rules and algorithms for determining the data type of the input position based on the information acquired from the application 50.
- the operation switching unit 14 uses the application position or the surrounding document structure or context as an application.
- the data type of the input position may be determined. For example, in the example shown in FIG. 1, the name of the input item displayed on the application force input form 80, that is, a character string such as “first name” and “last name” is acquired, and the data type of the input position is “ It may be determined that the name is a surname. Also, in the example shown in Fig. 2, “Treatment history DB”, “Contraindications”, and “Item” are obtained and the data type of the input position is determined to be “Noun related to medical practice”. Good.
- the operation switching unit 14 acquires the element name or attribute name of the input position or the surrounding data.
- the data type may be determined by referring to the acquired element name or attribute name.
- the markup language schema and input position may be acquired, and the data type may be determined with reference to the acquired schema and position. For example, it is assumed that the data force input by the input form 80 shown in FIGS. 1 and 2 is stored in the database as the XML data shown in FIG. At this time, the operation switching unit 14 may acquire “family” that is the element name of the input position and determine that the data type is “last name”.
- the operation switching unit 14 determines the display order of a plurality of conversion destination data candidates based on the information related to the output destination of the conversion destination data. Change the conditions used to do this.
- the operation switching unit 14 switches the conditions and algorithms in the order determination unit 18 so that the display order of the data estimated to match the data type of the input position is increased.
- the history recording unit 26 may record the input history in the history database 32 for each data type.
- the operation switching unit 14 determines the data type of the input position and notifies it to the order determining unit 18, and the order determining unit 18 receives the input history of the data type notified from the operation switching unit 14 from the history database 32. get.
- the order determination unit 18 refers to the history acquired from the history database 32, and may increase the display order of the candidates selected immediately before or increase the display order of the selected candidates with high frequency. Good.
- the dictionary database 30 may further hold the data type of the conversion destination data. For example, as candidates for kanji corresponding to “Masui”, “anesthetic” may be “treatment” and “Masui” may be “last name” in association with each other.
- the operation switching unit 14 determines the data type of the input position and notifies it to the order determination unit 18, and the order determination unit 18 selects the conversion destination data candidate of the data type notified from the operation switching unit 14. Increase the display order.
- “last name”, “Masui” and “Sakurai” that should be entered as “last name” are displayed at the top, and when entering “medical practice”, “medical practice” is displayed. “Anesthesia” and “Drunkenness” to be entered are displayed at the top.
- the operation switching unit 14 may set conditions for narrowing down candidates for conversion destination data extracted by the candidate extraction unit 16 based on information regarding the output destination of the conversion destination data. For example, the operation switching unit 14 determines the data type of the input position, and extracts only the conversion destination data that matches the data type as a candidate, or the conversion destination data that matches the data type has priority. The conditions and algorithms of the candidate extraction unit 16 may be switched so that the candidates are extracted as candidates. The candidate extraction unit 16 narrows down candidates for the conversion destination data based on the conditions and algorithm set by the operation switching unit 14. For example, a dictionary data base 30 may be provided for each data type, and conversion destination data candidates may be extracted from the dictionary database 30 corresponding to the data type notified from the operation switching unit 14. As a result, only conversion destination data candidates that match the data type are displayed, so that the data input efficiency of the user can be improved. Moreover, it is possible to suppress erroneous data input that does not match the data type of the input position.
- the candidate extraction unit 16 may refer to the history database 32 and switch the dictionary database 30 to be referred to based on the history of the conversion destination data selected by the user. For example, you often select data that omits particles! If there is a feature such as the fact that the wording that is peculiar to spoken language is often selected, the candidate extracting unit 16 extracts candidates from the dictionary database 30 that stores colloquial tone conversion destination data.
- the operation switching unit 14 The dictionary database 30 may be switched by referring to information such as contained words, document structure information, and the like.
- the candidate extraction unit 16 may infer candidates for the conversion destination data when the user inputs a part of the conversion source data. In this case, the operation switching unit 14 selects the document structure, context, and data of the input position. Depending on the type and so on, the data indicating the certainty of the conversion destination data is switched, and appropriate candidates can be estimated according to the document structure and context.
- the operation switching unit 14 may further display information related to the data type of the output destination on the candidate display unit 20 based on the information related to the output destination of the conversion destination data. For example, when the data type of the input position is an address, the candidate display unit 20 further displays a map when displaying the address candidate as the conversion destination data candidate corresponding to the mail number accepted by the user. The corresponding position may be displayed. In addition, a postal code may be entered by selecting a location from the map. As a result, appropriate input support can be provided according to the data type of the input position, and the convenience of data input can be improved.
- the operation switching unit 14 may switch the operation of the calibration support unit 22 based on information regarding the output destination of the conversion destination data. For example, if the conversion destination data corresponding to the conversion source data input by the user is not registered in the dictionary database 30, it is estimated that the user has input the incorrect data, and the calibration support unit 22 determines that the dictionary database 30 Search for the correct destination data and display it. At this time, the conversion destination data can be estimated more accurately by switching the estimation algorithm according to the data type of the input position.
- the operation switching unit 14 may switch the operation of the history recording unit 26 based on information regarding the output destination of the conversion destination data. For example, conversion destination data selected by the user may be recorded for each data type. Information such as the input position and document structure may be recorded in accordance with the history database 32. The history data may be weighted according to the document structure or context of the input position. In this way, the conversion destination data can be estimated more accurately by changing the learning algorithm and the storage location of the learning result according to the document structure, context, and data type of the input position.
- the output destination of the conversion destination data that is, the application 50
- the data input device 10 may be able to output the marked up data to the application 50.
- the dictionary database 30 includes data marked up in the markup language as candidates for conversion destination data.
- the dictionary database 30 holds, for example, the XML data shown in FIG. 5 as conversion destination data corresponding to “Saisui”. Store in the dictionary database 30 that this XML data is "last name" data!
- the candidate extraction unit 16 uses the kanji characters such as “Masui”, “Sakurai”, and “anaesthesia” from the dictionary database 30 as the conversion destination data corresponding to “Masui”.
- the XML data shown in Fig. 5 is also extracted as a candidate.
- the candidate display unit 20 displays the XML data shown in FIG. 5 as a candidate, the XML data may be displayed as text data.
- the unit 20 may obtain a drawing result of XML data from the application 50 and display the obtained drawing result.
- the candidate display unit 20 may delegate the drawing of XML data to the application 50, and the application 50 may directly draw the XML data in the area for displaying candidates.
- the text with ruby shown in Fig. 5 is displayed with the kana character "Masui” and the reading kana "Masui” added as ruby.
- the XML data can be displayed as conversion candidates in a visually easy-to-understand display mode.
- the operation switching unit 14 can refer to the schema by acquiring the schema of the markup language from the application 50 or the like, the candidate extraction unit 16 is extracted as a candidate for the conversion destination data. It may be determined whether the markup data matches the schema, that is, whether the markup data can be inserted at the input position. This prevents inappropriate XML data input and keeps the document valid.
- the output unit 24 When the output unit 24 outputs XML data to the application 50, the XML data may be output as text data or may be output as DOM object data. It also outputs binary data serialized from DOM object data. May be.
- the output unit 24 may output XML data using an API such as SAX (Simple API for XML).
- a command for inserting an element is selected from commands such as a menu, and an element value and an attribute value are input.
- the data input device 10 has a function of outputting XML data
- the user can insert XML data into a document by a simple method in the same manner as inputting text data. Can do.
- the data input device 10 simply converts Japanese readings into Kanji characters and inputs them.
- the conversion source data called phantom is MathML data “ku mi> x ⁇ / mi>”. It can be applied to various input work, such as converting to input.
- the present invention is applicable to a data input device that converts and inputs data.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
- Input From Keyboards Or The Like (AREA)
- Document Processing Apparatus (AREA)
Abstract
A technique of improving the convenience of data input is provided. An input receiving section (12) receives an input of conversion source data from the user through a user interface (40). A candidate extracting section (16) extracts a candidate for a conversion destination data corresponding to the conversion source data with reference to a dictionary database (30). An order determining section (18) determines the order in which the candidates of the conversion destination data are displayed under a predetermined condition. A candidate display section (20) displays the candidate of the conversion destination data according to the displayed order determined by the order determining section (18) and receives selection of the conversion destination data by the user. An output section (24) outputs the conversion destination data selected by the user through the user interface (40) to an application (50). The dictionary database (30) also holds XML data as the conversion destination data. The output section (24) can output the XML data to the application (50).
Description
明 細 書 Specification
データ入力装置、方法、及びプログラム Data input device, method, and program
技術分野 Technical field
[0001] 本発明は、データ入力技術に関し、特に、ユーザ力も受け付けたデータを他のデ ータに変換して入力するデータ入力装置、方法、及びプログラムに関する。 TECHNICAL FIELD [0001] The present invention relates to a data input technique, and more particularly to a data input device, method, and program for converting data that has received user power into other data and inputting the data.
背景技術 Background art
[0002] XMLは、ネットワークなどを介して他者とデータを共有するのに適した形式として注 目されており、 XML文書を作成、表示、編集するためのアプリケーションが開発され ている(たとえば、特許文献 1参照)。 XML文書は、文書型定義などにより定義された ボキヤブラリ(タグセット)に基づいて作成されている。 [0002] XML is attracting attention as a format suitable for sharing data with others via a network, and applications for creating, displaying, and editing XML documents have been developed (for example, (See Patent Document 1). An XML document is created based on a vocabulary (tag set) defined by a document type definition or the like.
特許文献 1:特開 2001— 290804号公報 Patent Document 1: Japanese Patent Laid-Open No. 2001-290804
発明の開示 Disclosure of the invention
発明が解決しょうとする課題 Problems to be solved by the invention
[0003] し力しながら、任意のボキヤブラリを定義可能であるという自由度の高い設計である が故に、適切な処理系の開発が遅れ、力えって XMLの普及を阻害する要因となつ ていた。 XML文書を適切かつ簡便に編集することが可能な環境の開発が強く求めら れている。 [0003] However, because it has a high degree of freedom that it is possible to define an arbitrary vocabulary, the development of an appropriate processing system was delayed, which was a factor that hindered the spread of XML. . There is a strong demand for the development of an environment where XML documents can be edited appropriately and simply.
[0004] 本発明はこうした状況に鑑みてなされたものであり、その目的は、データ入力の利 便性を向上させる技術を提供することにある。 The present invention has been made in view of such circumstances, and an object thereof is to provide a technique for improving the convenience of data input.
課題を解決するための手段 Means for solving the problem
[0005] 本発明のある態様は、データ入力装置に関する。このデータ入力装置は、ユーザ から変換元データの入力を受け付ける入力受付部と、前記変換元データと変換先デ 一タとを対応付けて保持した辞書データベースを参照して、前記変換元データに対 応する変換先データの候補を抽出する候補抽出部と、前記変換先データの候補を 表示し、ユーザ力 変換先データの選択を受け付ける候補表示部と、ユーザにより選 択された変換先データを出力する出力部と、を備え、前記辞書データベースは、前 記変換先データの候補として、マークアップ言語によりマークアップされたデータを含
むことを特徴とする。 [0005] One embodiment of the present invention relates to a data input device. This data input device refers to an input receiving unit that receives input of conversion source data from a user, and a dictionary database that holds the conversion source data and conversion destination data in association with each other. A candidate extraction unit for extracting corresponding conversion destination data candidates, a candidate display unit for displaying the conversion destination data candidates and accepting selection of user power conversion destination data, and outputting the conversion destination data selected by the user The dictionary database includes data marked up in a markup language as candidates for the conversion destination data. It is characterized by that.
[0006] 前記候補抽出部は、前記マークアップ言語のスキーマを参照して、前記変換先デ ータの候補として抽出されたデータが前記出力先に挿入可能である力否かを判定し てもよい。前記候補表示部は、前記変換先データの候補として、マークアップ言語に よりマークアップされたデータを表示する場合、前記変換先データの出力先のアプリ ケーシヨンから、そのデータの描画結果を取得し、取得した描画結果を表示してもよ い。 [0006] The candidate extraction unit may determine whether or not the data extracted as the candidate of the conversion destination data can be inserted into the output destination with reference to the markup language schema. Good. The candidate display unit obtains a rendering result of the data from the application of the output destination of the conversion destination data when displaying the data marked up in a markup language as the candidate of the conversion destination data, The acquired drawing result may be displayed.
[0007] 本発明の別の態様は、データ入力方法に関する。このデータ入力方法は、ユーザ 力も変換元データの入力を受け付けるステップと、前記変換元データと変換先データ とを対応付けて保持した辞書データベースを参照して、前記変換元データに対応す る変換先データの候補を抽出するステップと、前記変換先データの候補を表示する ステップと、ユーザ力 変換先データの選択を受け付けるステップと、ユーザにより選 択された変換先データを出力するステップと、を含み、前記辞書データベースは、前 記変換先データの候補として、マークアップ言語によりマークアップされたデータを含 むことを特徴とする。 [0007] Another aspect of the present invention relates to a data input method. This data input method refers to a step of accepting input of conversion source data by a user and a dictionary database that holds the conversion source data and the conversion destination data in association with each other, and converts the conversion destination corresponding to the conversion source data. A step of extracting data candidates; a step of displaying the candidates for the conversion destination data; a step of receiving selection of user power conversion destination data; and a step of outputting the conversion destination data selected by the user. The dictionary database includes data marked up in a markup language as candidates for the conversion destination data.
[0008] なお、以上の構成要素の任意の組合せ、本発明の表現を方法、装置、システムな どの間で変換したものもまた、本発明の態様として有効である。 [0008] It should be noted that an arbitrary combination of the above-described components and a conversion of the expression of the present invention between a method, an apparatus, and a system are also effective as an aspect of the present invention.
発明の効果 The invention's effect
[0009] 本発明によれば、データ入力の利便性を向上させる技術を提供することができる。 [0009] According to the present invention, it is possible to provide a technique for improving the convenience of data input.
図面の簡単な説明 Brief Description of Drawings
[0010] [図 1]実施の形態に係るデータ入力装置によりアプリケーションにデータを入力する 方法を説明するための図である。 FIG. 1 is a diagram for explaining a method of inputting data to an application using the data input device according to the embodiment.
[図 2]実施の形態に係るデータ入力装置によりアプリケーションにデータを入力する 方法を説明するための図である。 FIG. 2 is a diagram for explaining a method of inputting data to an application by the data input device according to the embodiment.
[図 3]実施の形態に係るデータ入力装置の構成を示す図である。 FIG. 3 is a diagram showing a configuration of a data input device according to an embodiment.
[図 4]入力対象となる XML文書の例を示す図である。 FIG. 4 is a diagram showing an example of an XML document to be input.
[図 5]変換候補となる XMLデータの例を示す図である。 FIG. 5 is a diagram showing an example of XML data that is a conversion candidate.
符号の説明
[0011] 10 データ入力装置、 12 入力受付部、 14 動作切替部、 16 候補抽出部、 18 順序決定部、 20 候補表示部、 22 校正支援部、 24 出力部、 26 履歴記録部、 3 0 辞書データベース、 32 履歴データベース、 40 ユーザインタフェイス、 50 ァプ リケーシヨン。 Explanation of symbols [0011] 10 data input device, 12 input reception unit, 14 motion switching unit, 16 candidate extraction unit, 18 order determination unit, 20 candidate display unit, 22 calibration support unit, 24 output unit, 26 history recording unit, 30 dictionary Database, 32 history database, 40 user interface, 50 applications.
発明を実施するための最良の形態 BEST MODE FOR CARRYING OUT THE INVENTION
[0012] 実施の形態では、ユーザが入力する変換元データを変換先データに変換して出力 するデータ入力装置において、出力先に応じて適切な動作を選択して切り替える技 術を提案する。例えば、読み仮名を漢字に変換して入力する場合に、入力位置や文 章の構造などに応じて、変換候補の表示順序を切り替えたり、変換に用いる辞書を 切り替えたり、入力すべきデータ種別に関連する情報を表示したり、データの校正支 援の方法を切り替えたりする。これにより、データ入力の利便性を格段に向上させるこ とがでさる。 In the embodiment, there is proposed a technique for selecting and switching an appropriate operation according to an output destination in a data input device that converts conversion source data input by a user into conversion destination data and outputs the converted data. For example, when converting a kana to kanji and entering it, the display order of conversion candidates is switched, the dictionary used for conversion is switched, and the data type to be input is changed according to the input position and sentence structure. Display related information and switch data calibration support methods. As a result, the convenience of data entry can be greatly improved.
[0013] 図 1及び図 2は、実施の形態に係るデータ入力装置によりアプリケーションにデータ を入力する方法を説明するための図である。図 1及び図 2では、患者の治療履歴を 格納するデータベースにデータを入力するための入力フォーム 80が提示されている 。ユーザが入力フォーム 80の各項目にデータを入力する際に、データ入力装置は、 ユーザ力 入力された読みを漢字に変換してデータベースアプリケーションへ出力 する。 FIG. 1 and FIG. 2 are diagrams for explaining a method of inputting data to an application by the data input device according to the embodiment. In FIGS. 1 and 2, an input form 80 is presented for entering data into a database that stores the patient's treatment history. When the user inputs data to each item of the input form 80, the data input device converts the reading input by the user into kanji and outputs it to the database application.
[0014] 図 1は、ユーザが患者の姓である「増井」という漢字を入力するために、その読みで ある「ます 、」を入力して変換候補を表示させた状態を示して 、る。「ます 、」に対応 する漢字には、「麻酔」、「痲酔」、「増井」、「桝井」などがあるが、ここでは患者の姓を 入力しょうとしているので、姓として使われる可能性の高い漢字の候補が優先的に表 示された方が便利である。そのため、データ入力装置は、ユーザに変換候補を提示 する際に、姓として使われる可能性の高い「増井」、「桝井」が上位になるようにソート して変換候補を表示して 、る。 FIG. 1 shows a state in which a conversion candidate is displayed by inputting “Masu”, which is the reading, in order for the user to input the Chinese character “Masui” which is the patient's last name. Kanji characters corresponding to “Masu” include “Anesthesia”, “Drunken”, “Masui”, “Sakurai”, etc., but here we are trying to enter the patient's surname, so it may be used as a surname It is more convenient to display high-kanji candidates with priority. Therefore, when presenting conversion candidates to the user, the data input device sorts the “Masui” and “Sakurai”, which are most likely to be used as surnames, to display the conversion candidates.
[0015] 図 2は、ユーザが患者の禁忌項目である「麻酔」という漢字を入力するために、その 読みである「ます 、」を入力して変換候補を表示させた状態を示して 、る。ここでは医 療行為を入力しょうとしているので、データ入力装置は、医療行為として使われる可
能性の高 、「麻酔」、「痲酔」が上位になるようにソートして変換候補を表示して 、る。 [0015] FIG. 2 shows a state in which a conversion candidate is displayed by inputting “Masu”, which is the reading, in order for the user to input the Chinese character “anaesthesia” which is a contraindicated item of the patient. . Since we are going to input medical practice here, the data input device can be used as medical practice. The conversion candidates are displayed by sorting them so that “ability”, “anaesthesia” and “drunkenness” are higher.
[0016] 従来、ユーザの入力履歴や入力位置近傍の入力済み文字列などを学習する技術 はあったが、直前に入力された内容が再現されるため、複数の文脈において入力作 業を行っている場合などには有益な結果が得られないこともある。例えば、上述した 例の場合、ある患者の禁忌項目として「麻酔」を入力した後に、患者の姓として「増井 」を入力しょうとしたとき、変換候補として、直前の入力済み文字列である「麻酔」が最 上位に表示される。しかし、本実施の形態で提案するように、文書構造や文脈などに より入力すべきデータの種別を推定し、それに応じて変換候補の表示順序を切り替 えることにより、ユーザが入力しょうとしているデータをより精確に推定することができ るよつになる。 [0016] Conventionally, there has been a technique for learning a user's input history, an input character string near the input position, etc., but since the contents input immediately before are reproduced, the input work is performed in a plurality of contexts. In some cases, you may not get useful results. For example, in the case of the above example, when “Anesthetic” is entered as a contraindication item for a patient and “Masui” is entered as the patient's last name, “Anesthetic” is the input character string immediately before as a conversion candidate. "Is displayed at the top. However, as proposed in this embodiment, the type of data to be input is estimated by estimating the type of data to be input depending on the document structure and context, and switching the display order of conversion candidates accordingly. Can be estimated more accurately.
[0017] 図 3は、実施の形態に係るデータ入力装置 10の構成を示す。データ入力装置 10 は、ユーザによるアプリケーション 50に対するデータの入力を支援する。すなわち、 ユーザがアプリケーション 50に対してデータを入力する際に、ユーザがユーザインタ フェイス 40を介して入力した変換元データカゝら想起される変換先データの候補の中 力もユーザが選択したデータをアプリケーション 50に対して出力する。 FIG. 3 shows a configuration of the data input device 10 according to the embodiment. The data input device 10 supports data input to the application 50 by the user. In other words, when the user inputs data to the application 50, the data selected by the user is also selected as the conversion target data candidate recalled from the conversion source data entered by the user via the user interface 40. Output for 50.
[0018] データ入力装置 10は、入力受付部 12、動作切替部 14、候補抽出部 16、順序決 定部 18、候補表示部 20、校正支援部 22、出力部 24、履歴記録部 26、辞書データ ベース 30、及び履歴データベース 32を含む。これらの構成は、ハードウェアコンポ 一ネントでいえば、任意のコンピュータの CPU、メモリ、メモリにロードされたプログラ ムなどによって実現される力 ここではそれらの連携によって実現される機能ブロック を描いている。したがって、これらの機能ブロックがハードウェアのみ、ソフトウェアの み、またはそれらの糸且合せによっていろいろな形で実現できることは、当業者には理 解されるところである。 [0018] The data input device 10 includes an input reception unit 12, an operation switching unit 14, a candidate extraction unit 16, an order determination unit 18, a candidate display unit 20, a calibration support unit 22, an output unit 24, a history recording unit 26, and a dictionary. Includes database 30 and history database 32. In terms of hardware components, these components are the power that can be realized by the CPU, memory, and programs loaded in the memory of any computer. Here, functional blocks that are realized by their cooperation are depicted. . Therefore, it is understood by those skilled in the art that these functional blocks can be realized in various forms by hardware only, software only, or their combination.
[0019] 辞書データベース 30は、変換元データと変換先データとを対応付けて保持する。 The dictionary database 30 stores conversion source data and conversion destination data in association with each other.
例えば、アプリケーション 50に漢字を入力するために使用する辞書データベース 30 は、変換元データとして漢字の読みを、変換先データとして漢字を保持する。辞書デ ータベース 30は、変換元データとして郵便番号を、変換先データとして住所を保持 してもよいし、変換元データとして英単語を、変換先データとして英単語の和訳を保
持してもよい。また、後述するように、変換先データとして XMLなどのマークアップ言 語によりマークアップされたデータを保持してもよ 、。 For example, the dictionary database 30 used for inputting kanji into the application 50 holds kanji readings as conversion source data and kanji as conversion destination data. The dictionary database 30 may store a zip code as conversion source data, an address as conversion destination data, English words as conversion source data, and Japanese translations of English words as conversion destination data. You may have it. Moreover, as described later, data marked up with a markup language such as XML may be held as conversion destination data.
[0020] 入力受付部 12は、ユーザインタフェイス 40を介して、ユーザ力 変換元データの入 力を受け付ける。候補抽出部 16は、辞書データベース 30を参照して、入力受付部 1 2が受け付けた変換元データに対応する変換先データの候補を抽出する。順序決定 部 18は、候補抽出部 16により複数の変換先データの候補が抽出された場合、所定 の条件にしたがって、複数の変換先データの候補の表示順序を決定する。候補表示 部 20は、順序決定部 18により決定された表示順序にしたがって変換先データの候 補を表示し、ユーザ力も変換先データの選択を受け付ける。出力部 24は、ユーザィ ンタフェイス 40を介してユーザにより選択された変換先データをアプリケーション 50 に出力する。通常、辞書データベース 30には、変換元データとして、変換先データよ りも入力の容易なデータが保持されているので、ユーザは、より簡便な方法により変 換先データをアプリケーション 50に入力することができる。 The input receiving unit 12 receives input of user force conversion source data via the user interface 40. The candidate extraction unit 16 refers to the dictionary database 30 and extracts conversion destination data candidates corresponding to the conversion source data received by the input reception unit 12. When a plurality of conversion destination data candidates are extracted by the candidate extraction unit 16, the order determination unit 18 determines the display order of the plurality of conversion destination data candidates according to a predetermined condition. The candidate display unit 20 displays the candidates for the conversion destination data according to the display order determined by the order determination unit 18, and the user power also accepts the selection of the conversion destination data. The output unit 24 outputs the conversion destination data selected by the user via the user interface 40 to the application 50. Normally, the dictionary database 30 holds data that is easier to input than the conversion destination data as the conversion source data, so the user inputs the conversion destination data to the application 50 by a simpler method. Can do.
[0021] 校正支援部 22は、入力受付部 12が受け付けた変換元データの校正を支援する。 The calibration support unit 22 supports calibration of conversion source data received by the input receiving unit 12.
例えば、ユーザが誤った変換元データを入力していると推定される場合に、誤りを指 摘し、正 U、変換先データの候補を辞書データベース 30から抽出する。 For example, when it is estimated that the user has input wrong conversion source data, the error is pointed out, and the correct U and conversion destination data candidates are extracted from the dictionary database 30.
[0022] 履歴記録部 26は、候補表示部 20が表示した変換先データの候補の中からユーザ により選択され出力部 24により出力されたデータの履歴を履歴データベース 32に記 録し、ユーザがよく入力するデータを学習する。この入力履歴は、順序決定部 18が 候補の表示順序を決定するときに利用される。 [0022] The history recording unit 26 records the history of data selected by the user from the candidates for the conversion destination data displayed by the candidate display unit 20 and output by the output unit 24 in the history database 32. Learn the data to enter. This input history is used when the order determination unit 18 determines the display order of candidates.
[0023] 動作切替部 14は、変換先データの出力先、すなわち、アプリケーション 50における 入力対象に関する情報を取得し、取得した情報に基づいて、候補抽出部 16、順序 決定部 18、候補表示部 20、校正支援部 22などの動作を切り替える。動作切替部 14 は、例えば、アプリケーション 50から入力位置のデータ種別に関する情報を取得し、 データ種別に応じて適切な入力支援を行うことができるように各構成の動作を切り替 える。動作切替部 14は、アプリケーション 50から取得した情報に基づいて、入力位 置のデータ種別を判定するためのルールやアルゴリズムを含む。 [0023] The operation switching unit 14 acquires the output destination of the conversion destination data, that is, information on the input target in the application 50, and based on the acquired information, the candidate extraction unit 16, the order determination unit 18, and the candidate display unit 20 Switch the operation of the calibration support unit 22 and so on. For example, the operation switching unit 14 acquires information on the data type of the input position from the application 50, and switches the operation of each component so that appropriate input support can be performed according to the data type. The operation switching unit 14 includes rules and algorithms for determining the data type of the input position based on the information acquired from the application 50.
[0024] 動作切替部 14は、入力位置又はその周辺の文書構造や文脈などをアプリケーショ
ン 50から取得して、入力位置のデータ種別を判定してもよい。例えば、図 1に示した 例において、アプリケーション力 入力フォーム 80に表示されている入力項目の名称 、すなわち、「氏名」、「姓」などの文字列を取得して、入力位置のデータ種別が「姓」 であると判定してもよい。また、図 2に示した例において、「治療履歴 DB」、「禁忌」、「 項目」を取得して、入力位置のデータ種別が「医療行為に関連する名詞」であると判 定してちよい。 [0024] The operation switching unit 14 uses the application position or the surrounding document structure or context as an application. The data type of the input position may be determined. For example, in the example shown in FIG. 1, the name of the input item displayed on the application force input form 80, that is, a character string such as “first name” and “last name” is acquired, and the data type of the input position is “ It may be determined that the name is a surname. Also, in the example shown in Fig. 2, “Treatment history DB”, “Contraindications”, and “Item” are obtained and the data type of the input position is determined to be “Noun related to medical practice”. Good.
[0025] 変換先データの出力先が XMLなどのマークアップ言語によりマークアップされたデ ータである場合、動作切替部 14は、入力位置又はその周辺のデータの要素名又は 属性名を取得し、取得した要素名又は属性名を参照してデータ種別を判定してもよ い。また、マークアップ言語のスキーマと入力位置を取得し、取得したスキーマと位置 を参照してデータ種別を判定してもよい。例えば、図 1及び図 2に示した入力フォー ム 80により入力されたデータ力 図 4に示した XMLデータとしてデータベースに格納 されるとする。このとき、動作切替部 14は、入力位置の要素名である「family」を取得 して、そのデータ種別が「姓」であると判定してもよ 、。 [0025] When the output destination of the conversion destination data is data marked up by a markup language such as XML, the operation switching unit 14 acquires the element name or attribute name of the input position or the surrounding data. The data type may be determined by referring to the acquired element name or attribute name. Alternatively, the markup language schema and input position may be acquired, and the data type may be determined with reference to the acquired schema and position. For example, it is assumed that the data force input by the input form 80 shown in FIGS. 1 and 2 is stored in the database as the XML data shown in FIG. At this time, the operation switching unit 14 may acquire “family” that is the element name of the input position and determine that the data type is “last name”.
[0026] 動作切替部 14は、図 1及び図 2に示したように、変換先データの出力先に関する情 報に基づいて、順序決定部 18が複数の変換先データの候補の表示順序を決定する ために用いる条件を切り替える。動作切替部 14は、入力位置のデータ種別に合致し ていると推定されるデータの表示順序が高くなるように、順序決定部 18における条件 やアルゴリズムを切り替える。 [0026] As shown in FIG. 1 and FIG. 2, the operation switching unit 14 determines the display order of a plurality of conversion destination data candidates based on the information related to the output destination of the conversion destination data. Change the conditions used to do this. The operation switching unit 14 switches the conditions and algorithms in the order determination unit 18 so that the display order of the data estimated to match the data type of the input position is increased.
[0027] 例えば、履歴記録部 26がデータ種別ごとに入力履歴を履歴データベース 32に記 録するようにしておいてもよい。この場合、動作切替部 14は、入力位置のデータ種別 を判定して順序決定部 18に通知し、順序決定部 18は、動作切替部 14から通知され たデータ種別の入力履歴を履歴データベース 32から取得する。順序決定部 18は、 履歴データベース 32から取得した履歴を参照して、直前に選択された候補の表示 順序を高くしてもよいし、選択された頻度の高い候補の表示順序を高くしてもよい。こ れにより、「姓」を入力する場合には、「姓」として入力された頻度の高い「増井」や「桝 井」が上位に表示され、「医療行為」を入力する場合には、「医療行為」として入力さ れた頻度の高 、「麻酔」や「痲酔」が上位に表示される。
[0028] 別の例として、辞書データベース 30に、変換先データのデータ種別を更に保持し ておいてもよい。例えば、「ますい」に対応する漢字の候補として、「麻酔」は「治療行 為」であり、「増井」は「姓」であることを対応づけて保持してもよい。この場合、動作切 替部 14は、入力位置のデータ種別を判定して順序決定部 18に通知し、順序決定部 18は、動作切替部 14から通知されたデータ種別の変換先データの候補の表示順序 を高くする。これにより、「姓」を入力する場合には、「姓」として入力されるべき「増井」 や「桝井」が上位に表示され、「医療行為」を入力する場合には、「医療行為」として入 力されるべき「麻酔」や「痲酔」が上位に表示される。 For example, the history recording unit 26 may record the input history in the history database 32 for each data type. In this case, the operation switching unit 14 determines the data type of the input position and notifies it to the order determining unit 18, and the order determining unit 18 receives the input history of the data type notified from the operation switching unit 14 from the history database 32. get. The order determination unit 18 refers to the history acquired from the history database 32, and may increase the display order of the candidates selected immediately before or increase the display order of the selected candidates with high frequency. Good. As a result, when entering “last name”, “Masui” and “Sakurai” that are frequently entered as “last name” are displayed at the top, and when entering “medical practice”, “ “Anesthesia” and “Drunkenness” that are frequently input as “medical practice” are displayed at the top. As another example, the dictionary database 30 may further hold the data type of the conversion destination data. For example, as candidates for kanji corresponding to “Masui”, “anesthetic” may be “treatment” and “Masui” may be “last name” in association with each other. In this case, the operation switching unit 14 determines the data type of the input position and notifies it to the order determination unit 18, and the order determination unit 18 selects the conversion destination data candidate of the data type notified from the operation switching unit 14. Increase the display order. As a result, when entering “last name”, “Masui” and “Sakurai” that should be entered as “last name” are displayed at the top, and when entering “medical practice”, “medical practice” is displayed. “Anesthesia” and “Drunkenness” to be entered are displayed at the top.
[0029] このような技術により、複数の文脈において入力作業を行う場合であっても、文脈に 応じて適切な変換候補が優先的に表示されるので、ユーザの入力作業の効率を向 上させることができる。 [0029] With such a technique, even when input work is performed in a plurality of contexts, appropriate conversion candidates are preferentially displayed according to the context, so that the efficiency of the user's input work is improved. be able to.
[0030] 動作切替部 14は、変換先データの出力先に関する情報に基づいて、候補抽出部 16が抽出する変換先データの候補を絞り込むための条件を設定してもよい。例えば 、動作切替部 14は、入力位置のデータ種別を判定し、そのデータ種別に合致する 変換先データのみを候補として抽出するように、又は、そのデータ種別に合致する変 換先データを優先的に候補として抽出するように、候補抽出部 16の条件やアルゴリ ズムを切り替えてもよい。候補抽出部 16は、動作切替部 14により設定された条件や アルゴリズムに基づいて、変換先データの候補を絞り込む。例えば、辞書データべ一 ス 30をデータ種別ごとに設けておき、動作切替部 14から通知されたデータ種別に対 応する辞書データベース 30から変換先データの候補を抽出してもよい。これにより、 データ種別に合致した変換先データの候補のみが表示されるので、ユーザのデータ 入力の効率を向上させることができる。また、入力位置のデータ種別に合致しない誤 つたデータの入力を抑止することができる。 [0030] The operation switching unit 14 may set conditions for narrowing down candidates for conversion destination data extracted by the candidate extraction unit 16 based on information regarding the output destination of the conversion destination data. For example, the operation switching unit 14 determines the data type of the input position, and extracts only the conversion destination data that matches the data type as a candidate, or the conversion destination data that matches the data type has priority. The conditions and algorithms of the candidate extraction unit 16 may be switched so that the candidates are extracted as candidates. The candidate extraction unit 16 narrows down candidates for the conversion destination data based on the conditions and algorithm set by the operation switching unit 14. For example, a dictionary data base 30 may be provided for each data type, and conversion destination data candidates may be extracted from the dictionary database 30 corresponding to the data type notified from the operation switching unit 14. As a result, only conversion destination data candidates that match the data type are displayed, so that the data input efficiency of the user can be improved. Moreover, it is possible to suppress erroneous data input that does not match the data type of the input position.
[0031] 候補抽出部 16は、履歴データベース 32を参照し、ユーザが選択した変換先デー タの履歴に基づいて参照する辞書データベース 30を切り替えてもよい。例えば、助 詞を省 ヽたデータを選択することが多!ヽ、話し言葉に特有な言い回しを選択すること が多い、などの特徴があれば、候補抽出部 16は、口語調の変換先データを格納した 辞書データベース 30から候補を抽出する。動作切替部 14は、入力している文書に
含まれる単語などの情報や、文書の構造情報などを参照して、辞書データベース 30 を切り替えてもよい。候補抽出部 16は、ユーザが変換元データの一部を入力したとき に、変換先データの候補を推測してもよぐこの場合、動作切替部 14は、入力位置の 文書構造や文脈、データ種別などに応じて、変換先データの確からしさを示すデー タを切り替え、文書構造や文脈などに応じて適切な候補を推測可能とする。 The candidate extraction unit 16 may refer to the history database 32 and switch the dictionary database 30 to be referred to based on the history of the conversion destination data selected by the user. For example, you often select data that omits particles! If there is a feature such as the fact that the wording that is peculiar to spoken language is often selected, the candidate extracting unit 16 extracts candidates from the dictionary database 30 that stores colloquial tone conversion destination data. The operation switching unit 14 The dictionary database 30 may be switched by referring to information such as contained words, document structure information, and the like. The candidate extraction unit 16 may infer candidates for the conversion destination data when the user inputs a part of the conversion source data. In this case, the operation switching unit 14 selects the document structure, context, and data of the input position. Depending on the type and so on, the data indicating the certainty of the conversion destination data is switched, and appropriate candidates can be estimated according to the document structure and context.
[0032] 動作切替部 14は、変換先データの出力先に関する情報に基づいて、出力先のデ ータ種別に関連する情報を更に候補表示部 20に表示させてもよい。例えば、入力位 置のデータ種別が住所である場合に、候補表示部 20が、ユーザ力 受け付けた郵 便番号に対応する変換先データの候補として住所の候補を表示するときに、地図を 更に表示させて対応する位置を表示するようにしてもよい。また、地図から位置を選 択することにより、郵便番号を入力することができるようにしてもよい。これにより、入力 位置のデータ種別に応じて適切な入力支援を行うことができ、データ入力の利便性 を向上させることができる。 The operation switching unit 14 may further display information related to the data type of the output destination on the candidate display unit 20 based on the information related to the output destination of the conversion destination data. For example, when the data type of the input position is an address, the candidate display unit 20 further displays a map when displaying the address candidate as the conversion destination data candidate corresponding to the mail number accepted by the user. The corresponding position may be displayed. In addition, a postal code may be entered by selecting a location from the map. As a result, appropriate input support can be provided according to the data type of the input position, and the convenience of data input can be improved.
[0033] 動作切替部 14は、変換先データの出力先に関する情報に基づいて、校正支援部 22の動作を切り替えてもよい。例えば、ユーザが入力した変換元データに対応する 変換先データが辞書データベース 30に登録されていな力つた場合、ユーザが誤つ たデータを入力したと推定して、校正支援部 22が辞書データベース 30を検索し、正 しい変換先データを推測して表示する。このとき、入力位置のデータ種別に応じて、 推測のアルゴリズムを切り替えることにより、より精確に変換先データを推測することが できる。 [0033] The operation switching unit 14 may switch the operation of the calibration support unit 22 based on information regarding the output destination of the conversion destination data. For example, if the conversion destination data corresponding to the conversion source data input by the user is not registered in the dictionary database 30, it is estimated that the user has input the incorrect data, and the calibration support unit 22 determines that the dictionary database 30 Search for the correct destination data and display it. At this time, the conversion destination data can be estimated more accurately by switching the estimation algorithm according to the data type of the input position.
[0034] 動作切替部 14は、変換先データの出力先に関する情報に基づいて、履歴記録部 26の動作を切り替えてもよい。例えば、データ種別ごとに、ユーザにより選択された 変換先データを記録してもよい。また、入力位置や文書構造などの情報を履歴デー タベース 32に合わせて記録してもよい。また、入力位置の文書構造や文脈などに応 じて、履歴データに重み付けしてもよい。このように、入力位置の文書構造や文脈、 データ種別などに応じて、学習のアルゴリズムや学習結果の格納場所などを変化さ せることにより、より精確に変換先データを推測することができる。 The operation switching unit 14 may switch the operation of the history recording unit 26 based on information regarding the output destination of the conversion destination data. For example, conversion destination data selected by the user may be recorded for each data type. Information such as the input position and document structure may be recorded in accordance with the history database 32. The history data may be weighted according to the document structure or context of the input position. In this way, the conversion destination data can be estimated more accurately by changing the learning algorithm and the storage location of the learning result according to the document structure, context, and data type of the input position.
[0035] 図 4に示した例のように、変換先データの出力先、すなわち、アプリケーション 50に
おける入力位置のデータ力 マークアップ言語によりマークアップされたデータである 場合、データ入力装置 10は、マークアップされたデータをアプリケーション 50に対し て出力可能としてもよい。この場合、辞書データベース 30は、変換先データの候補と して、マークアップ言語によりマークアップされたデータを含む。 [0035] As in the example shown in FIG. 4, the output destination of the conversion destination data, that is, the application 50 Data power of input position in the case of data marked up in a markup language, the data input device 10 may be able to output the marked up data to the application 50. In this case, the dictionary database 30 includes data marked up in the markup language as candidates for conversion destination data.
[0036] 上述した例では、患者の姓は要素「family」に格納される力 ここに、ルビ付きのテキ ストとして、図 5に示したような XMLデータを格納する場合を例にとって説明する。こ の場合、辞書データベース 30は、例えば、「ますい」に対応する変換先データとして 、図 5に示した XMLデータを保持している。この XMLデータが「姓」のデータである ことを辞書データベース 30に格納してお!、てもよ!/、。 In the example described above, the patient's last name is stored in the element “family”. Here, an example in which XML data as shown in FIG. 5 is stored as text with ruby will be described. In this case, the dictionary database 30 holds, for example, the XML data shown in FIG. 5 as conversion destination data corresponding to “Saisui”. Store in the dictionary database 30 that this XML data is "last name" data!
[0037] 図 1に示した例において、候補抽出部 16は、「ますい」に対応する変換先データと して、辞書データベース 30から、「増井」、「桝井」、「麻酔」などの漢字の他に、図 5に 示した XMLデータも候補として抽出する。候補表示部 20が、図 5に示した XMLデ ータを候補として表示する場合に、 XMLデータをテキストデータとして表示してもよ いが、より分力りやすい表示とするために、候補表示部 20は、アプリケーション 50か ら XMLデータの描画結果を取得し、取得した描画結果を表示してもよい。また、候 補表示部 20がアプリケーション 50に XMLデータの描画を委譲し、候補を表示する 領域にアプリケーション 50が直接 XMLデータを描画してもよい。図 1の例では、図 5 に示したルビ付きテキストが、漢字「増井」に読み仮名「ますい」がルビとして付加され た状態で表示されている。これにより、視覚的に分かりやすい表示態様で XMLデー タを変換候補として表示することができる。 In the example shown in FIG. 1, the candidate extraction unit 16 uses the kanji characters such as “Masui”, “Sakurai”, and “anaesthesia” from the dictionary database 30 as the conversion destination data corresponding to “Masui”. In addition, the XML data shown in Fig. 5 is also extracted as a candidate. When the candidate display unit 20 displays the XML data shown in FIG. 5 as a candidate, the XML data may be displayed as text data. The unit 20 may obtain a drawing result of XML data from the application 50 and display the obtained drawing result. Further, the candidate display unit 20 may delegate the drawing of XML data to the application 50, and the application 50 may directly draw the XML data in the area for displaying candidates. In the example of Fig. 1, the text with ruby shown in Fig. 5 is displayed with the kana character "Masui" and the reading kana "Masui" added as ruby. As a result, the XML data can be displayed as conversion candidates in a visually easy-to-understand display mode.
[0038] 動作切替部 14がアプリケーション 50などからマークアップ言語のスキーマを取得す るなどして、スキーマを参照することができる場合は、候補抽出部 16は、変換先デー タの候補として抽出されたマークアップデータがスキーマに合致する力 すなわち、 入力位置に挿入可能であるカゝ否かを判定してもよい。これにより、不適当な XMLデ ータの入力を防ぎ、文書の正当性を保つことができる。 [0038] If the operation switching unit 14 can refer to the schema by acquiring the schema of the markup language from the application 50 or the like, the candidate extraction unit 16 is extracted as a candidate for the conversion destination data. It may be determined whether the markup data matches the schema, that is, whether the markup data can be inserted at the input position. This prevents inappropriate XML data input and keeps the document valid.
[0039] 出力部 24がアプリケーション 50に対して XMLデータを出力する場合、 XMLデー タをテキストデータとして出力してもよいし、 DOMのオブジェクトデータとして出力し てもよい。また、 DOMのオブジェクトデータをシリアライズしたバイナリデータを出力し
てもよい。また、出力部 24は、 SAX (Simple API for XML)などの APIを利用して XM Lデータを出力してもよい。 [0039] When the output unit 24 outputs XML data to the application 50, the XML data may be output as text data or may be output as DOM object data. It also outputs binary data serialized from DOM object data. May be. The output unit 24 may output XML data using an API such as SAX (Simple API for XML).
[0040] 一般的な XMLデータの編集アプリケーションでは、 XMLデータを挿入する際に、 メニューなどのコマンドから要素を挿入するコマンドを選択し、要素値や属性値を入 力する。しかし、上述したように、データ入力装置 10が XMLデータを出力する機能 を有していれば、ユーザはテキストデータを入力するのと同様にして、簡易な方法で XMLデータを文書に挿入することができる。このように、データ入力装置 10は、単に 、 日本語の読みを漢字に変換して入力するだけでなぐ例えば「幻という変換元デー タを「く mi〉x〈/mi〉」という MathMLのデータに変換して入力するなど、様々な入力作 業に応用することができる。 [0040] In a general XML data editing application, when inserting XML data, a command for inserting an element is selected from commands such as a menu, and an element value and an attribute value are input. However, as described above, if the data input device 10 has a function of outputting XML data, the user can insert XML data into a document by a simple method in the same manner as inputting text data. Can do. In this way, the data input device 10 simply converts Japanese readings into Kanji characters and inputs them. For example, the conversion source data called phantom is MathML data “ku mi> x </ mi>”. It can be applied to various input work, such as converting to input.
[0041] 以上、本発明を実施の形態をもとに説明した。この実施の形態は例示であり、それ らの各構成要素や各処理プロセスの組合せに 、ろ 、ろな変形例が可能なこと、また そうした変形例も本発明の範囲にあることは当業者に理解されるところである。 [0041] The present invention has been described based on the embodiments. This embodiment is an exemplification, and it is obvious to those skilled in the art that various modifications can be made to the combination of each component and each treatment process, and such modifications are also within the scope of the present invention. It is understood.
産業上の利用可能性 Industrial applicability
[0042] 本発明は、データを変換して入力するデータ入力装置に利用可能である。
The present invention is applicable to a data input device that converts and inputs data.
Claims
[1] ユーザから変換元データの入力を受け付ける入力受付部と、 [1] An input receiving unit that receives input of conversion source data from a user;
前記変換元データと変換先データとを対応付けて保持した辞書データベースを参 照して、前記変換元データに対応する変換先データの候補を抽出する候補抽出部と 前記変換先データの候補を表示し、ユーザ力 変換先データの選択を受け付ける 候補表示部と、 A candidate extraction unit that extracts candidates for conversion destination data corresponding to the conversion source data and a candidate for the conversion destination data are displayed with reference to a dictionary database that holds the conversion source data and conversion destination data in association with each other. A candidate display unit that accepts selection of user power conversion destination data,
ユーザにより選択された変換先データを出力する出力部と、を備え、 An output unit for outputting the conversion destination data selected by the user,
前記辞書データベースは、前記変換先データの候補として、マークアップ言語によ りマークアップされたデータを含むことを特徴とするデータ入力装置。 The dictionary database includes data marked up in a markup language as candidates for the conversion destination data.
[2] 前記候補抽出部は、前記マークアップ言語のスキーマを参照して、前記変換先デ ータの候補として抽出されたデータが前記変換先データの出力先に挿入可能である か否かを判定することを特徴とする請求項 1に記載のデータ入力装置。 [2] The candidate extraction unit refers to the markup language schema to determine whether or not the data extracted as the candidate for the conversion destination data can be inserted into the output destination of the conversion destination data. The data input device according to claim 1, wherein the determination is performed.
[3] 前記候補表示部は、前記変換先データの候補として、マークアップ言語によりマー クアップされたデータを表示する場合、前記変換先データの出力先のアプリケーショ ンから、そのデータの描画結果を取得し、取得した描画結果を表示することを特徴と する請求項 1又は 2に記載のデータ入力装置。 [3] When the candidate display unit displays data marked up in a markup language as a candidate for the conversion destination data, the candidate display unit obtains a rendering result of the data from an application to which the conversion destination data is output. The data input device according to claim 1, wherein the acquired drawing result is displayed.
[4] ユーザ力も変換元データの入力を受け付けるステップと、 [4] The step of accepting input of conversion source data by the user power,
前記変換元データと変換先データとを対応付けて保持した辞書データベースを参 照して、前記変換元データに対応する変換先データの候補を抽出するステップと、 前記変換先データの候補を表示するステップと、 Extracting a candidate of conversion destination data corresponding to the conversion source data with reference to a dictionary database holding the conversion source data and conversion destination data in association with each other; and displaying the candidates of the conversion destination data Steps,
ユーザ力 変換先データの選択を受け付けるステップと、 A step of accepting selection of user power conversion destination data;
ユーザにより選択された変換先データを出力するステップと、を含み、 Outputting the conversion destination data selected by the user, and
前記辞書データベースは、前記変換先データの候補として、マークアップ言語によ りマークアップされたデータを含むことを特徴とするデータ入力方法。 The data input method according to claim 1, wherein the dictionary database includes data marked up in a markup language as candidates for the conversion destination data.
[5] ユーザ力 変換元データの入力を受け付ける機能と、 [5] User power A function that accepts input of conversion source data,
前記変換元データと変換先データとを対応付けて保持した辞書データベースを参 照して、前記変換元データに対応する変換先データの候補を抽出する機能と、
前記変換先データの候補を表示する機能と、 A function of referring to a dictionary database that holds the conversion source data and the conversion destination data in association with each other, and extracts conversion destination data candidates corresponding to the conversion source data; A function for displaying candidates for the conversion destination data;
ユーザ力 変換先データの選択を受け付ける機能と、 User power A function to accept selection of conversion destination data,
ユーザにより選択された変換先データを出力する機能と、 A function for outputting the conversion destination data selected by the user;
をコンピュータに実現させ、 Is realized on a computer,
前記辞書データベースは、前記変換先データの候補として、マークアップ言語によ りマークアップされたデータを含むことを特徴とするデータ入力プログラム。
The dictionary database includes data marked up in a markup language as candidates for the conversion destination data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008508571A JPWO2007114182A1 (en) | 2006-03-31 | 2007-03-28 | Data input device, method, and program |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006-100678 | 2006-03-31 | ||
JP2006100678 | 2006-03-31 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2007114182A1 true WO2007114182A1 (en) | 2007-10-11 |
Family
ID=38563450
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2007/056692 WO2007114182A1 (en) | 2006-03-31 | 2007-03-28 | Data input apparatus, method, and program |
Country Status (2)
Country | Link |
---|---|
JP (1) | JPWO2007114182A1 (en) |
WO (1) | WO2007114182A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009276818A (en) * | 2008-05-12 | 2009-11-26 | Omron Corp | Character input program, character input device, and character input method |
JP2012103780A (en) * | 2010-11-08 | 2012-05-31 | Nec System Technologies Ltd | Device and method for inputting character |
JP2021117592A (en) * | 2020-01-23 | 2021-08-10 | 株式会社デンソー | Action plan making support device and program |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004046849A (en) * | 2002-06-27 | 2004-02-12 | Microsoft Corp | System and method for verifying xml document and reporting violation of schema |
JP2004164134A (en) * | 2002-11-11 | 2004-06-10 | Just Syst Corp | Electronic document creation device and method, as well as program for making computer execute the same method |
-
2007
- 2007-03-28 JP JP2008508571A patent/JPWO2007114182A1/en active Pending
- 2007-03-28 WO PCT/JP2007/056692 patent/WO2007114182A1/en active Application Filing
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004046849A (en) * | 2002-06-27 | 2004-02-12 | Microsoft Corp | System and method for verifying xml document and reporting violation of schema |
JP2004164134A (en) * | 2002-11-11 | 2004-06-10 | Just Syst Corp | Electronic document creation device and method, as well as program for making computer execute the same method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009276818A (en) * | 2008-05-12 | 2009-11-26 | Omron Corp | Character input program, character input device, and character input method |
US8307281B2 (en) | 2008-05-12 | 2012-11-06 | Omron Corporation | Predicting conversion candidates based on the current context and the attributes of previously selected conversion candidates |
JP2012103780A (en) * | 2010-11-08 | 2012-05-31 | Nec System Technologies Ltd | Device and method for inputting character |
JP2021117592A (en) * | 2020-01-23 | 2021-08-10 | 株式会社デンソー | Action plan making support device and program |
Also Published As
Publication number | Publication date |
---|---|
JPWO2007114182A1 (en) | 2009-08-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6173253B1 (en) | Sentence processing apparatus and method thereof,utilizing dictionaries to interpolate elliptic characters or symbols | |
JP4929704B2 (en) | Computer processing method and computer processing apparatus | |
US9032285B2 (en) | Selective content extraction | |
JP2008276766A (en) | Form automatic filling method and device | |
JPH10124413A (en) | Method for priority order down loading of buried web object and device therefor | |
WO2009007181A1 (en) | A method, system and computer program for intelligent text annotation | |
JP2005135041A (en) | Document search/browse method and document search/browse system | |
CN101561725B (en) | Method and system of fast handwriting input | |
JP5065247B2 (en) | Data input device, method, and program | |
EP2191396B1 (en) | An apparatus for preparing a display document for analysis | |
US7505903B2 (en) | Speech recognition dictionary creation method and speech recognition dictionary creating device | |
WO2007114182A1 (en) | Data input apparatus, method, and program | |
JP2011065255A (en) | Data processing apparatus, data name generation method and computer program | |
KR20020052142A (en) | Converting method for converting documents between different locales | |
EP1530135A2 (en) | Data processing method, data processing apparatus, storage medium and program | |
JP2004240859A (en) | Paraphrasing system | |
JP2003296327A (en) | Translation server, genre-classified online machine translation method, and program therefor | |
CN111444716A (en) | Title word segmentation method, terminal and computer readable storage medium | |
JP5398638B2 (en) | Symbol input support device, symbol input support method, and program | |
JP2000353159A (en) | Notation-reading correspondence device, notation- reading dictionary generating method, text reading arranging device, text reading arranging method, and recording medium | |
CN117391045B (en) | Method for outputting file with portable file format capable of copying Mongolian | |
WO2024189934A1 (en) | Information processing system, information processing device, information processing method, and program | |
JP3362036B2 (en) | Machine translation method and apparatus | |
CN107679043A (en) | Data processing method, device and terminal device | |
JP2007249420A (en) | Automatic web page document detection device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 07740130 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2008508571 Country of ref document: JP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 07740130 Country of ref document: EP Kind code of ref document: A1 |