Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5193894B2 - Data editing apparatus, data editing method, and program - Google Patents
[go: Go Back, main page]

JP5193894B2 - Data editing apparatus, data editing method, and program - Google Patents

Data editing apparatus, data editing method, and program Download PDF

Info

Publication number
JP5193894B2
JP5193894B2 JP2009020599A JP2009020599A JP5193894B2 JP 5193894 B2 JP5193894 B2 JP 5193894B2 JP 2009020599 A JP2009020599 A JP 2009020599A JP 2009020599 A JP2009020599 A JP 2009020599A JP 5193894 B2 JP5193894 B2 JP 5193894B2
Authority
JP
Japan
Prior art keywords
tag
data
appearance pattern
information
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2009020599A
Other languages
Japanese (ja)
Other versions
JP2010176559A (en
Inventor
博 植野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ProField Co Ltd
Original Assignee
ProField 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 ProField Co Ltd filed Critical ProField Co Ltd
Priority to JP2009020599A priority Critical patent/JP5193894B2/en
Publication of JP2010176559A publication Critical patent/JP2010176559A/en
Application granted granted Critical
Publication of JP5193894B2 publication Critical patent/JP5193894B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Document Processing Apparatus (AREA)

Description

本発明は、データを編集可能なデータ編集装置等に関し、特に、タグ付けしたデータを編集可能なデータ編集装置等に関するものである。   The present invention relates to a data editing device that can edit data, and more particularly to a data editing device that can edit tagged data.

従来のデータ編集装置として、例えば、XML形式のデータ等の、タグ付けしたデータを用いて、レイアウト等を行えるようにしたことにより、データを様々な用途において再利用できるようにしたものが知られていた(例えば、非特許文献1参照)。   As a conventional data editing apparatus, for example, a data editing apparatus that can perform layout and the like by using tagged data such as XML format data can be reused for various purposes. (For example, refer nonpatent literature 1).

"ADOBE INDESIGN CS4:製品概要(印刷用)"、[online]、アドビシステムズ株式会社、[2008年12月16日検索]、インターネット、(URL:http://www.adobe.com/jp/products/indesign/printable_overview.html)"ADOBE INDSIGN CS4: Product Overview (for printing)", [online], Adobe Systems, Inc., [December 16, 2008 search], Internet, (URL: http://www.adobe.com/jp/products) /Inddesign/printable_overview.html)

しかしながら、従来のデータ編集装置としては、タグ付けしたデータを効率的に入力できるものや、効率的に編集できるようにしたものがない、という課題があった。   However, the conventional data editing apparatus has a problem that there is no device that can efficiently input tagged data or one that can be efficiently edited.

本発明のデータ編集装置は、文字または画像の入力データの入力を受け付ける入力受付部と、入力データを指定する情報である指定情報と、当該指定情報に対応付けられたタグとが格納され得る対応タグ格納部と、前記入力受付部の受け付けた入力データが、前記指定情報のいずれかにより指定される入力データである場合に、当該指定情報に対応付けられたタグを前記対応タグ格納部から取得する対応タグ取得部と、前記入力受付部が受け付けた入力データと、当該入力データに対応付けられたタグとが格納され得る作成データ格納部と、前記入力受付部が受け付けた入力データと、前記対応タグ取得部が取得したタグとを対応付けて前記作成データ格納部に蓄積する作成データ蓄積部と、前記作成データ格納部に格納された入力データを出力するデータ出力部と、タグの出現パターンを示す情報である出現パターン情報が格納され得る出現パターン情報格納部と、前記作成データ格納部に格納されたタグの出現パターンである作成タグパターンを含む出現パターンを示す出現パターン情報を、前記出現パターン情報格納部から検出し、当該検出した出現パターン情報が示す出現パターンの中から、前記作成タグパターンの、次に出現するタグである次タグを検出する次タグ検出部と、タグと、当該タグに対応した入力候補となる入力データである次候補データとが、対応付けられて格納され得る次候補データ格納部と、前記次タグ検出部が検出した次タグに一致するタグと対応付けられた一以上の次候補データを、前記次候補データ格納部から取得する次候補データ取得部と、前記次候補データ取得部が取得した一以上の次候補データを、入力データの入力候補として出力する入力候補出力部と、前記入力候補出力部が出力した次候補データのうちの一の入力データの選択を受け付ける選択受付部と、前記選択受付部が選択を受け付けた入力データと、前記次タグ検出部が検出した次タグとを対応付けて前記作成データ格納部に蓄積する選択データ蓄積部とを備えたデータ編集装置である。   The data editing apparatus according to the present invention can store an input receiving unit that receives input of character or image input data, specification information that is information specifying input data, and a tag associated with the specification information When the input data received by the tag storage unit and the input reception unit is input data specified by any of the designation information, a tag associated with the designation information is acquired from the corresponding tag storage unit The corresponding tag acquisition unit, the input data received by the input receiving unit, the creation data storage unit that can store the tag associated with the input data, the input data received by the input receiving unit, A creation data storage unit that associates the tags acquired by the corresponding tag acquisition unit with each other and stores them in the creation data storage unit; and input data stored in the creation data storage unit An output pattern information storage unit that can store appearance pattern information that is information indicating an appearance pattern of a tag, and a creation tag pattern that is an appearance pattern of a tag stored in the creation data storage unit Appearance pattern information indicating an appearance pattern is detected from the appearance pattern information storage unit, and a next tag that is a next appearing tag of the created tag pattern is detected from the appearance patterns indicated by the detected appearance pattern information. The next candidate data storage unit that can store the next candidate data, which is input data corresponding to the tag, and the next candidate data as input candidates corresponding to the tag, and the next tag detection unit detects A next candidate data acquisition unit that acquires one or more next candidate data associated with a tag that matches the next tag from the next candidate data storage unit; An input candidate output unit that outputs one or more next candidate data acquired by the next candidate data acquisition unit as an input candidate of input data, and one input data of the next candidate data output by the input candidate output unit A selection receiving unit that receives selection; an input data that the selection receiving unit has received selection; and a selection data storage unit that stores the next tag detected by the next tag detection unit in association with each other in the created data storage unit. A data editing apparatus provided.

かかる構成により、作成タグパターンを含む出現パターンを示す出現パターン情報から、作成タグパターンの次に出現するタグである次タグを検出し、予め用意された次候補データから次タグに対応した次候補データを取得し、当該取得した次候補データを選択できるようにして、タグ付けしたデータの入力や編集を効率化することができる。   With this configuration, the next candidate corresponding to the next tag is detected from the next candidate data prepared in advance by detecting the next tag that is the tag that appears next to the created tag pattern from the appearance pattern information indicating the appearance pattern including the created tag pattern. Data can be acquired and the acquired next candidate data can be selected, so that the input and editing of the tagged data can be made more efficient.

また、本発明のデータ編集装置は、前記データ編集装置において、前記作成データ蓄積部は、前記入力受付部が受け付けた入力データと、前記対応タグ取得部が取得したタグとを対応付けて前記次候補データ格納部に蓄積するデータ編集装置である。   In the data editing apparatus of the present invention, in the data editing apparatus, the creation data storage unit associates the input data received by the input receiving unit with the tag acquired by the corresponding tag acquiring unit, and This is a data editing device that accumulates in a candidate data storage unit.

かかる構成により、一旦タグ付けされた入力データを次候補データとして追加することができ、次候補データの充実化を図ることができる。   With this configuration, the input data once tagged can be added as the next candidate data, and the next candidate data can be enhanced.

また、本発明のデータ編集装置は、前記データ編集装置において、前記作成タグパターンと一致するタグの出現パターンを示す出現パターン情報が存在するか否かを判断し、存在しないと判断した場合に、当該出現パターンを示す出現パターン情報を作成し、前記出現パターン情報格納部に蓄積する出現パターン情報蓄積部を更に備えたデータ編集装置である。   Further, the data editing device of the present invention, in the data editing device, determines whether or not the appearance pattern information indicating the appearance pattern of the tag that matches the created tag pattern exists, The data editing apparatus further includes an appearance pattern information storage unit that creates appearance pattern information indicating the appearance pattern and stores the appearance pattern information in the appearance pattern information storage unit.

かかる構成により、出現パターン情報にない作成タグパターンを示す情報を、出現パターン情報として追加することができ、出現パターン情報の充実化を図ることができる。   With this configuration, information indicating a created tag pattern that is not included in the appearance pattern information can be added as the appearance pattern information, and the appearance pattern information can be enhanced.

また、本発明のデータ編集装置は、前記データ編集装置において、前記出現パターン情報格納部に格納されている出現パターン情報には、優先度を示す情報である優先度情報が対応付けられており、前記次タグ検出部は、前記作成タグパターンを含むタグの出現パターンを示す出現パターン情報のうちの、前記優先度情報が示す優先度の高いものを、前記出現パターン情報格納部から検出するデータ編集装置である。   Further, in the data editing apparatus of the present invention, in the data editing apparatus, the appearance pattern information stored in the appearance pattern information storage unit is associated with priority information that is information indicating a priority, The next tag detection unit is a data editing unit that detects, from the appearance pattern information storage unit, high-priority information indicated by the priority information among appearance pattern information indicating appearance patterns of tags including the created tag pattern Device.

かかる構成により、優先度に応じて適切な出現パターン情報を利用することができる。   With this configuration, appropriate appearance pattern information can be used according to the priority.

また、本発明のデータ編集装置は、前記データ編集装置において、前記次タグ検出部が検出した出現パターン情報に対応付けられた優先度情報を、出現パターン情報の検出時期または検出回数の少なくとも一方に応じた優先度を示すものとなるよう変更する優先度変更部を更に備えたデータ編集装置である。   In the data editing apparatus of the present invention, in the data editing apparatus, priority information associated with the appearance pattern information detected by the next tag detection unit is set to at least one of the detection timing or the number of detections of the appearance pattern information. The data editing apparatus further includes a priority changing unit that changes the priority according to the priority.

かかる構成により、出現パターン情報の利用状況に応じて、出現パターン情報の優先度を変更することができる。   With this configuration, the priority of the appearance pattern information can be changed according to the usage status of the appearance pattern information.

また、本発明のデータ編集装置は、前記データ編集装置において、前記次候補データ格納部に格納されている次候補データには、次候補の優先度を示す情報である次候補優先度情報が対応付けられており、前記次候補データ取得部は、前記次タグ検出部が検出した次タグに一致するタグと対応付けられた一以上の次候補データのうちの、対応する前記次候補優先度情報が示す優先度の高いものを、前記次候補データ格納部から取得するデータ編集装置である。   In the data editing apparatus of the present invention, in the data editing apparatus, the next candidate priority information that is information indicating the priority of the next candidate corresponds to the next candidate data stored in the next candidate data storage unit. The next candidate data acquisition unit is associated with the corresponding next candidate priority information among one or more next candidate data associated with a tag that matches the next tag detected by the next tag detection unit. Is a data editing device that obtains the one with the higher priority shown by the next candidate data storage unit.

かかる構成により、優先度に応じて適切な次候補データを取得することができる。   With this configuration, it is possible to acquire appropriate next candidate data according to the priority.

また、本発明のデータ編集装置は、前記データ編集装置において、前記入力候補出力部は、前記次タグ検出部が検出した次タグに一致するタグと対応付けられた一以上の次候補データのうちの、対応する前記次候補優先度情報が示す優先度に応じて次候補データを出力するデータ編集装置である。   In the data editing apparatus of the present invention, in the data editing apparatus, the input candidate output unit includes one or more next candidate data associated with a tag that matches the next tag detected by the next tag detection unit. The data editing device outputs the next candidate data according to the priority indicated by the corresponding next candidate priority information.

かかる構成により、次候補データを優先度に応じて適切に表示することができる。例えば、優先度の高い次候補データが選択しやすくなるよう表示したりすることが可能となる。   With this configuration, the next candidate data can be appropriately displayed according to the priority. For example, it is possible to display the next candidate data having a high priority so that it can be easily selected.

また、本発明のデータ編集装置は、前記データ編集装置において、前記選択受付部が選択を受け付けた次候補データに対応付けられた次候補優先度情報を、選択を受けた時期または選択を受け付けた回数の少なくとも一方に応じた優先度を示すものとなるよう変更する次候補優先度変更部を更に備えたデータ編集装置である。   In the data editing apparatus of the present invention, in the data editing apparatus, the next candidate priority information associated with the next candidate data for which the selection receiving unit has received a selection has received the selection time or selection. The data editing apparatus further includes a next candidate priority changing unit that changes the priority according to at least one of the number of times.

かかる構成により、次候補データの選択状況等に応じて、次候補データの優先度を変更することができる。   With this configuration, the priority of the next candidate data can be changed according to the selection status of the next candidate data.

また、本発明のデータ編集装置は、前記データ編集装置において、前記作成データ格納部に格納された入力データの作成タグパターンを含む出現パターンを示す出現パターン情報が存在するか否かを判断する出現パターン判断部と、前記出現パターン判断部が出現パターン情報が存在しないと判断した場合に、前記作成データ格納部に格納されている前記入力受付部が受け付けた入力データに付与可能なタグの出現パターンを有する出現パターン情報を、前記対応タグ格納部に格納されている指定情報とタグとを用いて検出する付与タグ検出部と、前記付与タグ検出部が検出した出現パターン情報が示す出現パターンとなるように、前記作成データ格納部に格納された入力データのタグを更新するタグ更新部とを備えたデータ編集装置である。   Further, the data editing apparatus of the present invention, in the data editing apparatus, to determine whether or not the appearance pattern information indicating the appearance pattern including the creation tag pattern of the input data stored in the creation data storage unit exists Appearance patterns of tags that can be given to input data received by the input receiving unit stored in the created data storage unit when the pattern determining unit and the appearance pattern determining unit determine that the appearance pattern information does not exist And the appearance pattern information indicated by the appearance pattern information detected by the provision tag detection unit and the provision tag detection unit for detecting the appearance pattern information using the designation information and the tag stored in the corresponding tag storage unit. As described above, the data editing apparatus includes a tag update unit that updates a tag of input data stored in the created data storage unit.

かかる構成により、出現パターン情報が示すタグの出現パターンのうちの、入力データに付与可能なタグの出現パターンを用いて、既に入力データに付与されたタグを更新することができる。これにより、例えば入力データのデータタイプ等の出現パターンに応じた、適切なタグを付与することができる。   With this configuration, it is possible to update a tag that has already been assigned to input data, using a tag appearance pattern that can be assigned to input data, out of the appearance patterns of tags indicated by the appearance pattern information. Thereby, for example, an appropriate tag according to the appearance pattern such as the data type of the input data can be given.

また、本発明のデータ編集装置は、前記データ編集装置において、前記付与タグ検出部は、前記出現パターン情報格納部に格納されている一の出現パターン情報が示すタグの出現パターンに沿って順次タグを取得し、前記入力受付部が受け付けた入力データが、当該順次取得したタグを、順次、付与可能な入力データが配列されたものであるか否かを判断し、付与可能な入力データの配列であると判断された場合の前記出現パターン情報を、前記入力受付部が受け付けた入力データに付与可能なタグの出現パターンを有する出現パターン情報として検出するデータ編集装置である。   In the data editing apparatus according to the present invention, in the data editing apparatus, the attached tag detection unit sequentially tags along the appearance pattern of the tag indicated by the one appearance pattern information stored in the appearance pattern information storage unit. And the input data received by the input receiving unit determines whether or not the input data that can be sequentially assigned the sequentially acquired tags is arranged, and the array of the input data that can be provided The data editing device detects the appearance pattern information when it is determined as the appearance pattern information having the appearance pattern of the tag that can be given to the input data received by the input receiving unit.

かかる構成により、出現パターン情報が示すタグの出現パターンのうちの、入力データに付与可能なタグの出現パターンを用いて、既に入力データに付与されたタグを更新することができる。   With this configuration, it is possible to update a tag that has already been assigned to the input data, using a tag appearance pattern that can be assigned to the input data, among the appearance patterns of the tags indicated by the appearance pattern information.

また、本発明のデータ編集装置は、前記データ編集装置において、前記対応タグ格納部に格納されているタグのうちの、少なくとも同じ指定情報に対応付けてられている複数のタグには、タグの優先度を示す情報であるタグ優先度情報が対応付けられており、前記対応タグ取得部は、前記入力データを指定する前記指定情報に複数のタグが対応している場合に、各タグに付与されたタグ優先度情報が示す優先度に応じたタグを取得するデータ編集装置である。   In the data editing device of the present invention, in the data editing device, a plurality of tags associated with at least the same designation information among the tags stored in the corresponding tag storage unit may include tag tags. Tag priority information, which is information indicating priority, is associated, and the corresponding tag acquisition unit gives to each tag when a plurality of tags correspond to the designation information that designates the input data. This is a data editing device that acquires a tag corresponding to the priority indicated by the tag priority information.

かかる構成により、優先度に応じて適切なタグを取得することができる。   With this configuration, an appropriate tag can be acquired according to the priority.

また、本発明のデータ編集装置は、前記データ編集装置において、前記タグに付与されたタグ優先度を、各タグが取得された回数または取得された時期に応じて変更するタグ優先度変更部を更に備えたデータ編集装置である。   Further, the data editing device of the present invention includes a tag priority changing unit that changes the tag priority assigned to the tag according to the number of times each tag is acquired or the acquisition time. Further, the data editing apparatus is provided.

かかる構成により、タグの取得状況に応じて、タグの優先度を適切に変更することができる。   With such a configuration, the priority of the tag can be appropriately changed according to the tag acquisition status.

また、本発明のデータ編集装置は、前記データ編集装置において、前記対応タグ格納部に格納されているタグの少なくとも一部は、入力データの属性を示す情報である属性情報と対応付けられており、前記対応タグ取得部は、前記指定情報に対応付けられたタグと、当該タグに対応付けられた属性情報を取得し、前記作成データ蓄積部は、前記入力受付部が受け付けた入力データと、前記対応タグ取得部が取得したタグおよび属性情報とを対応付けて前記作成データ格納部に蓄積するデータ編集装置である。   In the data editing apparatus of the present invention, in the data editing apparatus, at least a part of the tags stored in the corresponding tag storage unit is associated with attribute information that is information indicating an attribute of input data. The corresponding tag acquisition unit acquires a tag associated with the designation information and attribute information associated with the tag, and the creation data storage unit receives the input data received by the input reception unit, The data editing device stores the tag and attribute information acquired by the corresponding tag acquisition unit in association with each other and accumulates them in the created data storage unit.

かかる構成により、入力データの属性情報を、入力データに付与することができる。   With this configuration, the attribute information of the input data can be given to the input data.

また、本発明のデータ編集装置は、前記データ編集装置において、前記出現パターン情報格納部に格納されている出現パターン情報が示すタグの出現パターンを構成するタグの一以上には、前記属性情報が対応付けられており、前記選択データ蓄積部は、前記次タグ検出部が検出した次タグに対応付けられた属性情報を前記次タグの検出に用いられた出現パターン情報から取得し、当該属性情報を前記次タグと対応付けて前記作成データ格納部に蓄積するデータ編集装置である。   In the data editing device of the present invention, in the data editing device, the attribute information may be included in one or more of the tags constituting the appearance pattern of the tag indicated by the appearance pattern information stored in the appearance pattern information storage unit. The selection data storage unit acquires attribute information associated with the next tag detected by the next tag detection unit from the appearance pattern information used for detection of the next tag, and the attribute data Is associated with the next tag and stored in the created data storage unit.

かかる構成により、出現パターン情報に応じた属性情報を、入力データに付与することができる。   With this configuration, attribute information corresponding to the appearance pattern information can be given to the input data.

また、本発明のデータ編集装置は、前記データ編集装置において、前記出現パターン情報格納部に格納されている出現パターン情報が示すタグの出現パターンを構成するタグの一以上には、前記属性情報が対応付けられており、前記タグ更新部は、前記付与タグ検出部が検出した出現パターン情報が示すタグの出現パターンを構成するタグに対応付けられた属性情報を用いて、前記作成データ格納部に格納された入力データのタグに対応付けられた属性情報を更新するデータ編集装置である。   In the data editing device of the present invention, in the data editing device, the attribute information may be included in one or more of the tags constituting the appearance pattern of the tag indicated by the appearance pattern information stored in the appearance pattern information storage unit. The tag update unit uses the attribute information associated with the tags constituting the appearance pattern of the tag indicated by the appearance pattern information detected by the assigned tag detection unit to store the created data storage unit. The data editing device updates attribute information associated with a tag of stored input data.

かかる構成により、出現パターン情報が示すタグの出現パターンのうちの、入力データに付与可能なタグの出現パターンに対応した属性情報で、入力データに付与された属性情報を更新することができる。   With this configuration, the attribute information assigned to the input data can be updated with the attribute information corresponding to the appearance pattern of the tag that can be assigned to the input data, among the appearance patterns of the tags indicated by the appearance pattern information.

本発明によるデータ編集装置等によれば、タグ付けしたデータの入力や編集を効率化することができる。   According to the data editing apparatus and the like according to the present invention, the input and editing of tagged data can be made efficient.

本発明の実施の形態に係るデータ編集装置のブロック図1 is a block diagram of a data editing apparatus according to an embodiment of the present invention. 同データ編集装置の動作について説明するフローチャートA flowchart for explaining the operation of the data editing apparatus 同データ編集装置の動作について説明するフローチャートA flowchart for explaining the operation of the data editing apparatus 同データ編集装置の動作について説明するフローチャートA flowchart for explaining the operation of the data editing apparatus 同データ編集装置の動作について説明するフローチャートA flowchart for explaining the operation of the data editing apparatus 同データ編集装置の表示例を示す図The figure which shows the example of a display of the same data editing apparatus 同データ編集装置の動作を説明するための、対応タグ管理表を示す図The figure which shows a corresponding tag management table for demonstrating operation | movement of the data editing apparatus. 同データ編集装置の動作を説明するための、作成データ管理表を示す図The figure which shows the creation data management table in order to explain the operation of the same data editing device 同データ編集装置の表示例を示す図The figure which shows the example of a display of the same data editing apparatus 同データ編集装置の動作を説明するための、出現パターン情報管理表を示す図The figure which shows the appearance pattern information management table for demonstrating operation | movement of the data editing apparatus. 同データ編集装置の動作を説明するための、次候補データ管理表を示す図The figure which shows the next candidate data management table for demonstrating operation | movement of the data editing apparatus. 同データ編集装置の動作を説明するための、作成データ管理表を示す図The figure which shows the creation data management table in order to explain the operation of the same data editing device 同データ編集装置の動作を説明するための、作成データ管理表を示す図The figure which shows the creation data management table in order to explain the operation of the same data editing device 同データ編集装置の動作を説明するための、更新前の作成データ管理表を示す図The figure which shows the creation data management table before the update in order to explain the operation of the same data editing device 同データ編集装置の動作を説明するための、更新後の作成データ管理表を示す図The figure which shows the creation data management table after the update in order to explain the operation of the same data editing device 同データ編集装置の動作を説明するための、更新前の作成データ管理表を示す図The figure which shows the creation data management table before the update in order to explain the operation of the same data editing device 同データ編集装置の動作を説明するための、更新後の作成データ管理表を示す図The figure which shows the creation data management table after the update in order to explain the operation of the same data editing device 同データ編集装置の表示例を示す図The figure which shows the example of a display of the same data editing apparatus 同データ編集装置の出力例等を示す図The figure which shows the output example etc. of the same data editing device 本発明の実施の形態に係るデータ編集装置を実現するコンピュータの外観の一例を示す図The figure which shows an example of the external appearance of the computer which implement | achieves the data editing apparatus which concerns on embodiment of this invention 同コンピュータの内部構成の一例を示す図The figure which shows an example of the internal structure of the computer

以下、データ編集装置等の実施形態について図面を参照して説明する。なお、実施の形態において同じ符号を付した構成要素は同様の動作を行うので、再度の説明を省略する場合がある。   Hereinafter, embodiments of a data editing apparatus and the like will be described with reference to the drawings. In addition, since the component which attached | subjected the same code | symbol in embodiment performs the same operation | movement, description may be abbreviate | omitted again.

(実施の形態)
図1は、本実施の形態におけるデータ編集装置1のブロック図である。
(Embodiment)
FIG. 1 is a block diagram of a data editing apparatus 1 in the present embodiment.

データ編集装置1は、入力受付部101、対応タグ格納部102、対応タグ取得部103、作成データ格納部104、作成データ蓄積部105、データ出力部106、出現パターン情報格納部107、次タグ検出部108、次候補データ格納部109、次候補データ取得部110、入力候補出力部111、選択受付部112、選択データ蓄積部113、出現パターン情報蓄積部114、優先度変更部115、出現パターン判断部116、付与タグ検出部117、タグ更新部118、次候補優先度変更部119、およびタグ優先度変更部120を備えている。   The data editing apparatus 1 includes an input receiving unit 101, a corresponding tag storage unit 102, a corresponding tag acquisition unit 103, a created data storage unit 104, a created data storage unit 105, a data output unit 106, an appearance pattern information storage unit 107, and a next tag detection. Unit 108, next candidate data storage unit 109, next candidate data acquisition unit 110, input candidate output unit 111, selection reception unit 112, selection data storage unit 113, appearance pattern information storage unit 114, priority change unit 115, appearance pattern determination Unit 116, grant tag detection unit 117, tag update unit 118, next candidate priority change unit 119, and tag priority change unit 120.

データ編集装置1は、例えば、データを入力したり編集したりすることが可能な装置である。データ編集装置1は、具体的には、テキスト編集装置や、ワードプロセッサ装置、DTP装置、WEBパブリッシング装置、クロスメディアパブリッシング装置等のデータ編集装置である。データ編集装置1は、コンピュータ等に、プログラムを実行させることで、上述したような装置としての機能を実現したデータ編集装置であっても良い。   The data editing apparatus 1 is an apparatus that can input and edit data, for example. Specifically, the data editing apparatus 1 is a data editing apparatus such as a text editing apparatus, a word processor apparatus, a DTP apparatus, a WEB publishing apparatus, or a cross media publishing apparatus. The data editing apparatus 1 may be a data editing apparatus that realizes the functions of the apparatus as described above by causing a computer or the like to execute a program.

入力受付部101は、ユーザ等による文字または画像のデータの入力を受け付ける。以下、入力されるデータを入力データと呼ぶ。入力データは、例えば、文字のデータや、画像データである。また入力データは、ページ上等で実行されて画像等を表示することが可能なアプリケーション等のデータであっても良い。画像は、動画像であっても静止画像であっても良く、データ形式等は問わない。文字列のデータは、フォントやサイズや右寄せや左寄せ等の配列や下線等の装飾や文字色等の書式のデータ等を有していても良い。また、画像データは、解像度やサイズの情報等を有していていてもよい。文字データや画像データの入力は、文字データや画像データのファイルに対するリンク情報の入力等であっても良い。ここで述べる入力データの受付とは、キーボードやマウス、タッチパネルなどの入力デバイスから入力された情報の受け付け、有線もしくは無線の通信回線を介して送信された情報の受信、光ディスクや磁気ディスク、半導体メモリなどの記録媒体から読み出された情報の受け付けなどを含む概念である。入力手段は、テンキーやキーボードやマウスやメニュー画面によるもの等、何でも良い。入力受付部101は、テンキーやキーボード等の入力手段のデバイスドライバーや、メニュー画面の制御ソフトウェア等で実現され得る。   The input receiving unit 101 receives input of character or image data by a user or the like. Hereinafter, the input data is referred to as input data. The input data is, for example, character data or image data. The input data may be data such as an application that can be executed on a page or the like to display an image or the like. The image may be a moving image or a still image, and the data format is not limited. The character string data may include font, size, right-aligned, left-aligned, etc., underlined decoration, character color format, etc. Further, the image data may have resolution and size information. The input of character data or image data may be input of link information for a file of character data or image data. The input data reception described here refers to reception of information input from an input device such as a keyboard, mouse, touch panel, reception of information transmitted via a wired or wireless communication line, an optical disk, a magnetic disk, and a semiconductor memory. It is a concept including reception of information read from a recording medium. The input means may be anything such as a numeric keypad, keyboard, mouse or menu screen. The input receiving unit 101 can be realized by a device driver for input means such as a numeric keypad and a keyboard, control software for a menu screen, and the like.

対応タグ格納部102は、入力データを指定する情報である指定情報と、当該指定情報に対応付けられたタグとが格納され得る。指定情報は、入力データを指定可能な情報であれば、どのような情報であっても良い。例えば指定情報は、指定する入力データ自身の情報であっても良い。また、指定する入力データ自身の一部をいわゆるワイルドカード等の、条件によって入力データの一部を指定する情報等で置き換えた情報であっても良い。例えば、「冷蔵庫」という入力データを指定する情報であっても良いし、「機」という文字を含む入力データを指定する情報であっても良い。この場合、例えば「掃除機」や「洗濯機」という「機」を含む文字列を指定したこととなる。また、指定情報は、入力データを指定するための、文字の配列やデータタイプ等のルールや、手がかり句等のルールや、画像のサイズや解像度や色深度数等のファイル形式等を指定する情報であっても良い。例えば、データタイプが数値である入力データと、「/」という文字と、データタイプが数値である入力データとで構成される文字列を指定するルールであっても良い。タグとは、例えば、入力データに対してデータ構造や、データの種類や、データの分類等の情報を付加するために付与される情報である。タグ付けされたデータは、例えば、XML形式のデータや、HTML形式のデータや、SGML形式のデータ等のマークアップ言語のデータである。付加されるタグは、例えば、図示しない格納部等に格納されている文書型定義(DTD)により定義されている。タグには、入力データの属性を示す属性情報が付加されていても良い。例えば、タグは、通常、「<タグ名 属性="属性値">データ</タグ名>」で表される。例えば、この場合の「属性="属性値"」が、属性情報であり、「属性」は属性の種類を示し、「属性値」は属性の値を示す。この「タグ名」を、「タグ」と呼ぶようにしても良い。また、入力データをタグの「要素」と呼ぶようにしてもよい。なお、本実施の形態においては、タグの「<>」等は、適宜省略する場合がある。なお、タグが外部の入力データ等を参照する場合、タグ内に、参照する入力データのアドレス情報等が含まれているようにしても良い。指定情報と、タグとは、1対1で対応していなくても良く、1対多で対応していても良いし、多対1で対応していても良い。対応タグ格納部102に格納されているタグのうちの、少なくとも同じ指定情報に対応付けてられている複数のタグには、タグの優先度を示す情報であるタグ優先度情報が対応付けられて格納されていることが好ましい。タグ優先度情報は、後述する対応タグ取得部103や付与タグ検出部117等が、入力データを示す指定情報に対応したタグを複数検出した場合等に、どのタグを利用するかを決定する際に用いられる情報である。通常は優先度が高いことを示す優先度情報が付与された出現パターン情報が利用対象に決定されることとなる。優先度情報は、優先度の高さが判断可能な情報であればどのような情報であっても良く、例えば優先度を数値の大きさで表した情報であっても良いし、「高」、「低」や「A」、「B」等の優先度を示す文字列で表した情報であっても良い。対応タグ格納部102に指定情報とタグとが対応付けられて蓄積される過程は問わない。例えば、入力デバイスを介して入力された指定情報とタグとが対応タグ格納部102で記憶されるようになってもよく、通信回線等を介して送信された指定情報とタグとが対応タグ格納部102で記憶されるようになってもよい。対応タグ格納部102は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。   The correspondence tag storage unit 102 can store designation information that is information for designating input data and a tag associated with the designation information. The designation information may be any information as long as it is information that can designate input data. For example, the designation information may be information on the designated input data itself. Also, information that replaces a part of the input data itself to be specified with information that specifies a part of the input data according to a condition such as a so-called wild card may be used. For example, information for designating input data “refrigerator” or information for designating input data including characters “machine” may be used. In this case, for example, a character string including “machine” such as “vacuum cleaner” and “washing machine” is designated. Also, the specification information is information that specifies rules such as character arrangement and data type, rules such as clue phrases, file formats such as image size, resolution, and color depth to specify input data. It may be. For example, the rule may specify a character string composed of input data whose data type is a numerical value, characters “/”, and input data whose data type is a numerical value. A tag is information given to add information such as a data structure, a data type, and a data classification to input data, for example. The tagged data is, for example, data in markup language such as data in XML format, data in HTML format, or data in SGML format. The tag to be added is defined by, for example, a document type definition (DTD) stored in a storage unit (not shown). Attribute information indicating the attribute of the input data may be added to the tag. For example, a tag is usually represented by “<tag name attribute =“ attribute value ”> data </ tag name>”. For example, “attribute =“ attribute value ”” in this case is attribute information, “attribute” indicates an attribute type, and “attribute value” indicates an attribute value. This “tag name” may be called a “tag”. Further, the input data may be referred to as “element” of the tag. In the present embodiment, the tag “<>” and the like may be omitted as appropriate. When the tag refers to external input data or the like, the tag may include address information or the like of the input data to be referenced. The designation information and the tag may not correspond one-to-one, may correspond one-to-many, or may correspond to many-to-one. Among the tags stored in the corresponding tag storage unit 102, at least a plurality of tags associated with the same designation information are associated with tag priority information that is information indicating the priority of the tag. Preferably it is stored. The tag priority information is used when determining a tag to be used when the corresponding tag acquisition unit 103 or the assigned tag detection unit 117 described later detects a plurality of tags corresponding to the designation information indicating the input data. It is information used for. Usually, the appearance pattern information to which the priority information indicating that the priority is high is assigned to be used. The priority information may be any information as long as the priority level can be determined. For example, the priority level information may be information indicating the priority level in numerical value, or “high”. , “Low”, “A”, “B”, and the like may be information represented by a character string indicating the priority. There is no limitation on the process in which the designation information and the tag are associated and stored in the correspondence tag storage unit 102. For example, designation information and a tag input via an input device may be stored in the corresponding tag storage unit 102, and designation information and a tag transmitted via a communication line or the like are stored in a corresponding tag. It may be stored in the unit 102. The corresponding tag storage unit 102 is preferably a non-volatile recording medium, but can also be realized by a volatile recording medium.

対応タグ取得部103は、入力受付部101の受け付けた入力データが、指定情報のいずれかにより指定される入力データである場合に、当該指定情報に対応付けられたタグを対応タグ格納部102から取得する。入力受付部101が受け付けた入力データとは、例えば、入力受付部101が受け付けた入力データのうちの、タグがまだ付与されていない入力データである。例えば、対応タグ取得部103は、入力受付部101が一の入力データの入力を受け付ける毎に、入力受付部101が入力を受け付けた入力データを指定する指定情報があるか否かを判断する。例えば、入力データが文字の情報である場合、一文字が入力される毎に、それまでに入力された文字列のうちのタグが付与されていない文字列を指定する指定情報があるか否かを判断してもよい。あるいは、予め指定したスペース記号やカンマ等の、区切記号(コード)等で囲まれた文字列を受け付けた時点で、当該文字列を指定する指定情報があるか否かの判断を行うようにしても良い。入力受付部101が入力を受け付けた入力データが、指定情報が示す入力データであるか否かの判断をどのように行うかは、例えば指定情報によって異なる。例えば指定情報が入力データを指定する情報である場合、各指定情報と、入力受付部101が入力を受け付けた入力データとが一致するか否かを判断し、一致する場合、入力受付部101の受け付けた入力データが、一致する指定情報により指定される入力データと判断されたこととなる。また、指定情報が入力データのルールである場合、入力受付部101が入力を受け付けた入力データが、各指定情報が示すルールを満たす入力データであるか否かを判断し、一の指定情報が示すルールを満たす入力データであると判断された場合、当該ルールを示す指定情報により指定される入力データと判断されたこととなる。なお、これらの判断は、パターンマッチングや、形態素解析等を利用した自然言語処理等の技術を用いることで実現可能である。そして、対応タグ取得部103は、入力受付部101の受け付けた入力データを指定する指定情報に対応付けられたタグを、当該指定情報を検索キーとした検索等により検出し、対応タグ格納部102から読み出す。また、対応タグ取得部103は、入力データを指定する指定情報に複数のタグが対応している場合に、各タグに付与されたタグ優先度情報が示す優先度に応じたタグを取得するようにしても良い。通常は、最も高い優先度を示すタグ優先度情報と対応付けられたタグを取得する。ただし、指定情報に複数のタグが対応している場合に、タグ優先度情報等を利用せずに、ランダムにタグを取得するようにしても良い。なお、タグに属性情報等が付与されている場合、当該属性情報等も読み出すようにして良い。対応タグ取得部103は、通常、MPUやメモリ等から実現され得る。対応タグ取得部103の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   When the input data received by the input receiving unit 101 is input data specified by any of the designation information, the corresponding tag acquisition unit 103 sends a tag associated with the designation information from the correspondence tag storage unit 102. get. The input data received by the input receiving unit 101 is, for example, input data that has not yet been assigned a tag among the input data received by the input receiving unit 101. For example, each time the input receiving unit 101 receives input of one input data, the corresponding tag acquisition unit 103 determines whether there is designation information that specifies the input data that the input receiving unit 101 has received. For example, if the input data is character information, each time a character is input, whether there is designation information that specifies a character string to which no tag is assigned among the character strings input so far. You may judge. Alternatively, when a character string surrounded by delimiters (codes) such as a space symbol or a comma specified in advance is received, it is determined whether there is designation information for specifying the character string. Also good. How to determine whether or not the input data received by the input receiving unit 101 is input data indicated by the designation information depends on the designation information, for example. For example, when the designation information is information for designating input data, it is determined whether or not each designation information matches the input data that the input receiving unit 101 has received an input. The received input data is determined to be input data specified by the matching specification information. Further, when the designation information is a rule of input data, it is determined whether or not the input data received by the input receiving unit 101 is input data that satisfies the rule indicated by each designation information. When it is determined that the input data satisfies the rule indicated, it is determined that the input data is specified by the specification information indicating the rule. These determinations can be realized by using a technique such as natural language processing using pattern matching or morphological analysis. Then, the corresponding tag acquisition unit 103 detects a tag associated with the designation information specifying the input data received by the input reception unit 101 by a search using the designation information as a search key, and the corresponding tag storage unit 102. Read from. The corresponding tag acquisition unit 103 acquires a tag corresponding to the priority indicated by the tag priority information given to each tag when a plurality of tags correspond to the designation information specifying the input data. Anyway. Usually, a tag associated with tag priority information indicating the highest priority is acquired. However, when a plurality of tags correspond to the designation information, the tags may be acquired randomly without using the tag priority information or the like. When attribute information or the like is given to the tag, the attribute information or the like may be read out. The corresponding tag acquisition unit 103 can be usually realized by an MPU, a memory, or the like. The processing procedure of the corresponding tag acquisition unit 103 is usually realized by software, and the software is recorded in a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

作成データ格納部104には、入力受付部101が受け付けた入力データと、当該入力データに対応付けられたタグとが格納され得る。例えば、入力受付部101が受け付けた入力データに、当該入力データについて対応タグ取得部103が取得したタグが付与されて蓄積される。例えば、入力データにタグを付与して構成されたXML形式のデータ等が、作成データ格納部104に蓄積される。作成データ格納部104に蓄積される入力データは、例えば、ユーザ等からの入力に応じて、データ編集装置1によって作成されたり、レイアウトされたり、編集されたりした入力データである。例えば、データ編集装置1がワードプロセッサ装置の場合、作成データ格納部104に格納された入力データは、ワードプロセッサ装置により作成された入力データあるいは作成中の入力データである。作成データ格納部104への入力データの格納は一時記憶等も含む概念である。作成データ格納部104は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。なお、作成データ格納部104には、入力受付部101が受け付けた、タグが付与される前の入力データ等が一時記憶されても良い。   The created data storage unit 104 can store input data received by the input receiving unit 101 and a tag associated with the input data. For example, the tag acquired by the corresponding tag acquisition unit 103 for the input data is added to the input data received by the input reception unit 101 and accumulated. For example, data in XML format configured by adding a tag to input data is accumulated in the created data storage unit 104. The input data stored in the created data storage unit 104 is input data that has been created, laid out, or edited by the data editing apparatus 1 in response to an input from a user or the like, for example. For example, when the data editing device 1 is a word processor device, the input data stored in the created data storage unit 104 is input data created by the word processor device or input data being created. Storage of input data in the created data storage unit 104 is a concept including temporary storage and the like. The creation data storage unit 104 is preferably a non-volatile recording medium, but can also be realized by a volatile recording medium. The creation data storage unit 104 may temporarily store the input data received by the input receiving unit 101 and before the tag is attached.

作成データ蓄積部105は、入力受付部101が受け付けた入力データと、対応タグ取得部103が取得したタグとを対応付けて作成データ格納部104に蓄積する。また、作成データ蓄積部105は、入力受付部101が受け付けた入力データと、対応タグ取得部103が取得したタグとを対応付けて、後述する次候補データ格納部109に蓄積するようにしてもよい。この場合、次候補データ格納部109に既に格納されているデータと重複するデータは削除しても良いし、データが重複する場合は保存しないようにしても良い。あるいは、作成データ蓄積部105は、入力受付部101が受け付けた入力データと、対応タグ取得部103が取得したタグと、当該タグに対応付けて作成データ格納部104に格納されていた属性情報とを対応付けて作成データ格納部104に蓄積するようにしてもよい。また、作成データ蓄積部105は、入力データのデータタイプ等の属性等を判断し、当該判断結果に基づいて属性情報を作成し、作成した属性情報を入力データと対応付けて蓄積する用にしても良い。なお、作成データ蓄積部105は、入力データの一部だけを抽出して、対応タグ取得部103が取得したタグと対応付けて、作成データ格納部104に蓄積する用にしても良い。例えば、対応タグ取得部103が、「会社名:BBB商事」という入力データから、指示情報等を用いて「会社」というタグを取得した場合、入力データから、「会社名:」を除いた「BBB商事」という入力データのみを取得した「会社」というタグと対応付けて蓄積しても良い。作成データ蓄積部105は、通常、MPUやメモリ等から実現され得る。作成データ蓄積部105の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The creation data storage unit 105 stores the input data received by the input reception unit 101 and the tag acquired by the corresponding tag acquisition unit 103 in association with each other in the creation data storage unit 104. In addition, the creation data storage unit 105 associates the input data received by the input reception unit 101 with the tag acquired by the corresponding tag acquisition unit 103 and stores it in the next candidate data storage unit 109 described later. Good. In this case, data that overlaps with data already stored in the next candidate data storage unit 109 may be deleted, or may not be stored when data overlaps. Alternatively, the creation data storage unit 105 includes the input data received by the input reception unit 101, the tag acquired by the corresponding tag acquisition unit 103, and the attribute information stored in the generation data storage unit 104 in association with the tag. May be stored in the created data storage unit 104 in association with each other. Also, the creation data storage unit 105 determines attributes such as the data type of the input data, creates attribute information based on the determination result, and stores the created attribute information in association with the input data. Also good. Note that the creation data storage unit 105 may extract only a part of the input data and store it in the creation data storage unit 104 in association with the tag acquired by the corresponding tag acquisition unit 103. For example, when the corresponding tag acquisition unit 103 acquires the tag “company” from the input data “company name: BBB Shoji” using the instruction information or the like, “the company name:” is removed from the input data. Only the input data “BBB Shoji” may be stored in association with the tag “company” obtained. The creation data storage unit 105 can be usually realized by an MPU, a memory, or the like. The processing procedure of the creation data storage unit 105 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

データ出力部106は、作成データ格納部104に格納された入力データを出力する。なお、データ出力部106は、作成データ格納部104に格納されている入力データに対応付けられたタグを出力しても良いし、タグや属性情報を出力しないようにしても良い。ここで述べる出力とは、ディスプレイへの表示、プロジェクターを用いた投影、プリンタによる印刷、外部の装置への送信、記録媒体への蓄積、他の処理装置や他のプログラムなどへの処理結果の引渡しなどを含む概念である。データ出力部106は、ディスプレイやスピーカー等の出力デバイスを含むと考えても含まないと考えても良い。データ出力部106は、出力デバイスのドライバーソフトまたは、出力デバイスのドライバーソフトと出力デバイス等で実現され得る。   The data output unit 106 outputs the input data stored in the created data storage unit 104. The data output unit 106 may output a tag associated with the input data stored in the created data storage unit 104, or may not output a tag or attribute information. Output described here means display on a display, projection using a projector, printing by a printer, transmission to an external device, storage on a recording medium, delivery of processing results to another processing device or other program, etc. It is a concept that includes The data output unit 106 may be considered as including or not including an output device such as a display or a speaker. The data output unit 106 can be implemented by output device driver software, or output device driver software and an output device.

出現パターン情報格納部107は、タグの出現パターンを示す情報である出現パターン情報が一以上格納され得る。タグの出現パターンとは、どのようなタグが、どのような順番で出現するかを示すパターンである。出現パターンは、通常、順番を有している。例えば、出現パターン情報は、タグを、出現する順番に沿って配列した情報である。具体例をあげると、タグ1、タグ2、タグ3の順で出現するタグのパターンを示す出現パターン情報は、「<タグ1>、<タグ2>、<タグ3>」や「タグ1、タグ2、タグ3」等の情報である。なお、タグの出現パターンを、タグの配列パターンと考えても良い。出現パターン情報格納部107に出現パターン情報が記憶される過程は問わない。例えば、記録媒体を介して出現パターン情報が出現パターン情報格納部107で記憶されるようになってもよく、通信回線等を介して送信された出現パターン情報が出現パターン情報格納部107で記憶されるようになってもよく、あるいは、入力デバイスを介して入力された出現パターン情報が出現パターン情報格納部107で記憶されるようになってもよい。また、後述する出現パターン情報蓄積部114により、過去に出現したタグのパターンに応じた出現パターン情報が蓄積されても良い。また、出現パターン情報格納部107には、出現パターン情報と対応付けられて、出現パターン情報の優先度を示す情報である優先度情報が格納されていても良い。優先度情報は、後述する次タグ検出部108等が、出現パターン情報を複数検出した場合等に、どの出現パターン情報を利用するかを決定する際に利用される情報である。優先度情報は、優先度の高さが判断可能な情報であればどのような情報であっても良く、例えば優先度を数値の大きさで表した情報であっても良いし、「高」、「低」や「A」、「B」等の優先度を示す文字列で表した情報であっても良い。通常は優先度が高いことを示す優先度情報が付与された出現パターン情報が利用対象に決定されることとなる。優先度情報は、予め蓄積されていても良いし、後述する優先度変更部等により蓄積されても良い。なお、出現パターン情報の記憶媒体等への蓄積順が、優先度情報を示していると考えても良い。なお、出現パターン情報格納部107に格納されている各出現パターン情報が示す各出現パターンを構成する各タグには、属性情報が付与されていても良い。この属性情報は、後述する次タグ検出部108等がタグの配列が一致するか否かの判断の際には無視するようにしてよい。出現パターン情報格納部107は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。   The appearance pattern information storage unit 107 can store one or more appearance pattern information that is information indicating the appearance pattern of the tag. A tag appearance pattern is a pattern indicating what tags appear in what order. The appearance pattern usually has an order. For example, the appearance pattern information is information in which tags are arranged in the order of appearance. For example, the appearance pattern information indicating the pattern of tags appearing in the order of tag 1, tag 2, and tag 3 is “<tag 1>, <tag 2>, <tag 3>” or “tag 1, Information such as “Tag 2, Tag 3”. The appearance pattern of the tag may be considered as a tag arrangement pattern. The process in which the appearance pattern information is stored in the appearance pattern information storage unit 107 does not matter. For example, the appearance pattern information may be stored in the appearance pattern information storage unit 107 via a recording medium, and the appearance pattern information transmitted via a communication line or the like is stored in the appearance pattern information storage unit 107. Alternatively, the appearance pattern information input via the input device may be stored in the appearance pattern information storage unit 107. In addition, appearance pattern information corresponding to a pattern of a tag that appeared in the past may be accumulated by an appearance pattern information accumulation unit 114 described later. The appearance pattern information storage unit 107 may store priority information that is associated with the appearance pattern information and is information indicating the priority of the appearance pattern information. The priority information is information used when the next tag detection unit 108, which will be described later, determines which appearance pattern information is used when a plurality of appearance pattern information is detected. The priority information may be any information as long as the priority level can be determined. For example, the priority level information may be information indicating the priority level in numerical value, or “high”. , “Low”, “A”, “B”, and the like may be information represented by a character string indicating the priority. Usually, the appearance pattern information to which the priority information indicating that the priority is high is assigned to be used. The priority information may be stored in advance, or may be stored by a priority changing unit described later. Note that the order in which the appearance pattern information is stored in the storage medium or the like may be considered to indicate priority information. Note that attribute information may be given to each tag constituting each appearance pattern indicated by each appearance pattern information stored in the appearance pattern information storage unit 107. This attribute information may be ignored when the next tag detection unit 108, which will be described later, determines whether the tag sequences match. The appearance pattern information storage unit 107 is preferably a non-volatile recording medium, but can also be realized by a volatile recording medium.

次タグ検出部108は、作成データ格納部104に格納されたタグの出現パターンである作成タグパターンを含むタグの出現パターンを示す出現パターン情報を、出現パターン情報格納部107から検出する。そして、検出した出現パターン情報が示す出現パターンの中から、作成タグパターンの、次に出現するタグである次タグを検出する。次タグ検出部108は、具体的には、作成データ格納部104に格納されたタグから、作成タグパターンを取得する。
そして、取得した作成タグパターンから、出現順に順番にタグを取り出し、一の出現パターン情報が示すタグの出現パターンから出現順に取り出したタグとを、順番に比較していく。そして、比較の結果、作成タグパターンの全てのタグが一致したか否かを判断し、一致した場合、この出現パターン情報を作成タグパターンを含む出現パターン情報として検出する。なお、上記の比較等を行う処理を、作成タグパターンに前方一致するタグの出現パターンを示す出現パターン情報を検出する処理と考えても良い。なお、タグが一致するか否かはパターンマッチング等で行われる。また、タグの出現順は、タグの配列順と考えても良い。そして、出現パターン情報格納部107に格納されている各出現パターン情報から、取得した作成タグパターンと一致するタグの配列を、例えばパターンの前方等に有しているタグの出現パターンを示す出現パターン情報を検出する。ここでの一致は、完全一致であっても部分一致であっても良い。また、ここでの一致は、タグに付与されている属性情報の一致も判断しても良いし、判断しなくても良い。そして、検出した出現パターン情報が示す出現パターンのうちの、作成タグパターンと一致する部分の次に出現しているタグである次タグを検出する。なお、次タグは、検出した出現パターン情報が示す出現パターンのうちの、作成タグパターンを除外した残りの部分のタグと考えても良い。
The next tag detection unit 108 detects, from the appearance pattern information storage unit 107, appearance pattern information indicating an appearance pattern of a tag including a created tag pattern that is a tag appearance pattern stored in the created data storage unit 104. Then, the next tag, which is the next appearing tag of the created tag pattern, is detected from the appearance patterns indicated by the detected appearance pattern information. Specifically, the next tag detection unit 108 acquires a created tag pattern from the tags stored in the created data storage unit 104.
Then, tags are extracted in order of appearance from the acquired created tag pattern, and the tags extracted in the order of appearance from the appearance pattern of tags indicated by the one appearance pattern information are compared in order. Then, as a result of the comparison, it is determined whether or not all tags of the created tag pattern match. If they match, this appearance pattern information is detected as appearance pattern information including the created tag pattern. Note that the processing for performing the above comparison or the like may be considered as processing for detecting appearance pattern information indicating the appearance pattern of a tag that matches the created tag pattern. Whether the tags match is determined by pattern matching or the like. Further, the appearance order of tags may be considered as the order of tag arrangement. Then, from each appearance pattern information stored in the appearance pattern information storage unit 107, an appearance pattern indicating the appearance pattern of a tag having, for example, the front of the pattern having a tag array that matches the acquired created tag pattern Detect information. The match here may be a complete match or a partial match. The match here may or may not be a match of attribute information given to the tag. Then, the next tag that is the tag that appears next to the portion that matches the created tag pattern in the appearance pattern indicated by the detected appearance pattern information is detected. The next tag may be considered as the remaining portion of the appearance pattern indicated by the detected appearance pattern information, excluding the created tag pattern.

例えば、作成データ格納部104に格納されたタグから取得した作成タグパターンが「タグA、タグB」であったとする。なお、ここでは、タグの「<>」は省略している。また、出現パターン情報格納部107に格納されていた第一の出現パターン情報が示す第一の出現パターンが「タグA、タグC、タグD、タグB」、第二の出現パターン情報が示す第二の出現パターンが、「タグA、タグB、タグC」であったとする。この場合、第一の出現パターンの前から二つのタグの順番と、作成タグパターンのタグの順番とが一致しないため、第一の出現パターン情報は、作成タグパターンを含むタグの出現パターンを示す出現パターン情報として検出されない。これに対し、第二の出現パターンの前から二つのタグの順番と、作成タグパターンのタグの順番とは一致するため、第二の出現パターン情報は、作成タグパターンを含むタグの出現パターンを示す出現パターン情報として検出される。そして、次タグ検出部108は、第二の出現パターンの、作成タグパターンと一致する部分である前から二つめのタグの、次のタグであるタグDを次タグとして検出する。   For example, it is assumed that the created tag pattern acquired from the tag stored in the created data storage unit 104 is “tag A, tag B”. Here, the tag “<>” is omitted. Further, the first appearance pattern indicated by the first appearance pattern information stored in the appearance pattern information storage unit 107 is “tag A, tag C, tag D, tag B”, and the second appearance pattern information indicated by the second appearance pattern information. Assume that the second appearance pattern is “tag A, tag B, tag C”. In this case, since the order of the two tags from the front of the first appearance pattern and the order of the tags of the created tag pattern do not match, the first appearance pattern information indicates the appearance pattern of the tag including the created tag pattern. It is not detected as appearance pattern information. On the other hand, since the order of the two tags from the front of the second appearance pattern matches the order of the tags of the created tag pattern, the second appearance pattern information includes the appearance pattern of the tag including the created tag pattern. The detected appearance pattern information is detected. Then, the next tag detection unit 108 detects, as the next tag, the tag D that is the next tag of the second tag from the front that is the portion that matches the created tag pattern of the second appearance pattern.

なお、次タグ検出部108は、作成タグパターンを含むタグの出現パターンを示す出現パターン情報が複数検出された場合、各出現パターン情報に付与された優先度情報が示す優先度の高いものを検出し、検出した出現パターン情報が示す出現パターンの中から、作成タグパターンの、次に出現する次タグを検出するようにしてもよい。優先度情報が示す優先度の高い出現パターン情報とは、例えば優先度情報が値の大きいものほど、優先度が高いことを示す情報である場合、優先度情報が示す値が最も高い出現パターン情報である。   In addition, when a plurality of appearance pattern information indicating the appearance pattern of the tag including the created tag pattern is detected, the next tag detection unit 108 detects the one having the high priority indicated by the priority information given to each appearance pattern information. Then, the next tag that appears next to the created tag pattern may be detected from the appearance patterns indicated by the detected appearance pattern information. The appearance pattern information with the highest priority indicated by the priority information is, for example, information indicating that the priority information has a higher priority as the value of the priority information is higher. For example, the appearance pattern information with the highest value indicated by the priority information. It is.

作成タグパターンとは、通常は、入力データの入力された時間的な順番に沿って、当該入力データに付与されて蓄積されるタグが出現するパターンである。例えば、作成データ格納部104にタグと対応付けられて格納されている入力データが、「<タグA>データ1</タグA><タグB>データ2</タグB><タグC>データ3</タグC>」で表されているものであるとすると、作成タグパターンは、「タグA、タグB、タグC」となる。   The created tag pattern is usually a pattern in which tags that are added to and stored in the input data appear in the temporal order in which the input data is input. For example, the input data stored in association with the tag in the created data storage unit 104 is “<tag A> data 1 </ tag A> <tag B> data 2 </ tag B> <tag C> data. 3 </ tag C> ”, the created tag pattern is“ tag A, tag B, tag C ”.

ただし、作成タグパターンは、入力データが配置される位置の並びによる順番や、入力データが配置される位置、例えばいわゆるフレームやボックス等の入力データが配置される領域、に割り当てられた順番に沿ってタグが出現する順番等であっても良い。例えば、予め、複数のフレーム等の領域に、「1」から「3」までのタグの出現パターンを取得するための順番が割り当てられているとする。そして「1」の領域内に入力あるいは配置された入力データにタグA、「2」の領域に入力あるいは配置された入力データにタグB、「3」の領域に入力あるいは配置された入力データにタグCが付与されたとすると、タグの出現パターンを取得するための順番に沿って取得したタグの配列を示す情報、即ち、「タグA、タグB、タグC」というタグの配列を示す情報が、作成タグパターンとなる。   However, the created tag pattern follows the order in which the input data is arranged and the order assigned to the position where the input data is arranged, for example, the area where the input data such as a so-called frame or box is arranged. The order in which tags appear may be used. For example, it is assumed that the order for acquiring the appearance patterns of the tags “1” to “3” is assigned to areas such as a plurality of frames in advance. The input data input or arranged in the area “1” is tag A, the input data inputted or arranged in the area “2” is tag B, and the input data inputted or arranged in the area “3”. If the tag C is given, information indicating the tag arrangement acquired in the order for acquiring the tag appearance pattern, that is, information indicating the tag arrangement of “tag A, tag B, tag C” is provided. It becomes a creation tag pattern.

なお、次タグ検出部108は、作成タグパターンの開始位置等をどのように判断しても良い。例えば、開始位置が予め指定されているようにしても良い。例えば、改行コード等の予め指定された記号(コード)が入力された直後の位置や、改行コード等の予め指定された記号が入力された直後のタイミング等に、入力された入力データを、作成データ格納部104に格納されたタグの出現パターンの開始位置と判断するようにしても良い。また、予め指定された位置に入力された入力データを、出現パターンの開始位置と考えるようにしても良い。例えば、これらの開始位置からのタグの配列を作成データ格納部104に格納されたタグの出現パターンと判断する。   Note that the next tag detection unit 108 may determine the start position of the created tag pattern in any way. For example, the start position may be designated in advance. For example, input data is created at the position immediately after a pre-designated symbol (code) such as a line feed code is input or at a timing immediately after a pre-designated symbol such as a line feed code is input. The start position of the appearance pattern of the tag stored in the data storage unit 104 may be determined. Further, the input data input at a predesignated position may be considered as the start position of the appearance pattern. For example, the array of tags from these start positions is determined as the appearance pattern of tags stored in the created data storage unit 104.

次タグ検出部108は、通常、MPUやメモリ等から実現され得る。次タグ検出部108の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The next tag detection unit 108 can be usually realized by an MPU, a memory, or the like. The processing procedure of the next tag detection unit 108 is usually realized by software, and the software is recorded in a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

次候補データ格納部109は、タグと、当該タグに対応した入力候補となる入力データである次候補データとが、対応付けられて格納され得る。タグと次候補データとの対応関係は、一対一でなくても良く、一対多であっても、多対一であっても良い。次候補データ格納部109にタグと次候補データとが記憶される過程は問わない。例えば、記録媒体を介してタグと次候補データとが次候補データ格納部109で記憶されるようになってもよく、入力デバイスを介して入力されたタグと次候補データとが次候補データ格納部109で記憶されるようになってもよい。なお、作成データ蓄積部105が、入力データと、当該入力データと対応付けられたタグとを、作成データ格納部104に蓄積する際等に、入力データを次候補データとして、対応タグ取得部103が取得したタグと対応付けて次候補データ格納部109に蓄積しても良い。これにより、ユーザ等により入力受付部101から新たに入力された入力データが、次候補データとして追加されていくこととなり、次候補データの拡充を図ることができる。   The next candidate data storage unit 109 can store a tag and next candidate data, which is input data that is an input candidate corresponding to the tag, in association with each other. The correspondence relationship between the tag and the next candidate data may not be one-to-one, and may be one-to-many or many-to-one. The process of storing the tag and the next candidate data in the next candidate data storage unit 109 does not matter. For example, the tag and the next candidate data may be stored in the next candidate data storage unit 109 via the recording medium, and the tag and the next candidate data input via the input device are stored as the next candidate data. It may be stored in the unit 109. When the created data storage unit 105 accumulates the input data and the tag associated with the input data in the created data storage unit 104, the corresponding tag acquisition unit 103 uses the input data as the next candidate data. May be stored in the next candidate data storage unit 109 in association with the acquired tag. Thereby, the input data newly input from the input receiving unit 101 by the user or the like is added as the next candidate data, and the next candidate data can be expanded.

なお、次候補データ格納部109に格納されている次候補データには、次候補データの優先度を示す情報である次候補優先度情報が対応付けられているようにしても良い。次候補優先度情報は、例えば、後述する次候補データ取得部110等が、一以上の次候補データを取得する場合に、どの次候補パターン情報を選択的に取得するかを決定する際に利用される情報である。また、次候補優先度情報は、後述する入力候補出力部111が、次候補データを出力する場合等に、どの順番で次候補データを配列して出力するか等を決定する際に利用される情報である。この次候補優先度情報が次候補データに蓄積される過程等は問わない。次候補優先度情報は、予め蓄積されていても良いし、後述する次候補優先度変更部119等により蓄積されても良い。なお、次候補データの記憶媒体等への蓄積順が、次候補優先度情報を示していると考えても良い。   The next candidate data stored in the next candidate data storage unit 109 may be associated with next candidate priority information that is information indicating the priority of the next candidate data. The next candidate priority information is used, for example, when the next candidate data acquisition unit 110, which will be described later, determines which next candidate pattern information is selectively acquired when acquiring one or more next candidate data. Information. The next candidate priority information is used when the input candidate output unit 111 (to be described later) determines the order in which the next candidate data is arranged and output when the next candidate data is output. Information. There is no limitation on the process of accumulating the next candidate priority information in the next candidate data. The next candidate priority information may be stored in advance, or may be stored by the next candidate priority changing unit 119 and the like which will be described later. It may be considered that the order in which the next candidate data is stored in the storage medium or the like indicates the next candidate priority information.

また、次候補データは、後述する次候補データ取得部110が次候補データを取得する際に、次候補データが作成可能なルール等を示す情報であっても良い。例えば、現在の日時や、その日時に所定の日時を加えて得られる日時を、実際の次候補データとするルール等であっても良い。データ入力を行っているユーザ等の属している会社の社員名等をそれぞれ次候補データとして取得するルール等であってもよい。この場合、次候補優先度情報も、予め指定されたルールに沿って付与されるようにすればよい。例えば、上記のような日時のルールの場合においては、現在に近い日時ほど優先度が高くなるような次候補優先度情報を付与しても良い。また、上記のような社員名等である場合、社員の職責や勤務年数等に応じた優先度が付与されるようにしてもよい。次候補データ格納部109は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。   Further, the next candidate data may be information indicating a rule or the like that can create the next candidate data when the next candidate data acquisition unit 110 described later acquires the next candidate data. For example, a rule may be used in which the current date and time or the date and time obtained by adding a predetermined date and time to the actual date and time are actual next candidate data. A rule or the like may be used in which the employee name of the company to which the user inputting data, etc. belongs is acquired as the next candidate data. In this case, the next candidate priority information may be given in accordance with a rule designated in advance. For example, in the case of the date and time rule as described above, next candidate priority information may be given such that the priority becomes higher as the date and time closer to the present time. Further, when the employee name is as described above, a priority may be given according to the employee's responsibility or years of service. The next candidate data storage unit 109 is preferably a non-volatile recording medium, but can also be realized by a volatile recording medium.

次候補データ取得部110は、次タグ検出部108が検出した次タグに一致するタグと対応付けられた一以上の次候補データを、次候補データ格納部109から取得する。例えば、次タグを検索キーとして用いて、当該次タグと一致するタグを次候補データ格納部109において検索し、一致するとして検索されたタグに対応付けられた一以上の次候補データを取得する。取得する次候補データの数は、一以上であれば良い。例えば、予め指定された数を上限として、検索により取得された次候補データを取得する。なお、次候補データ取得部110は、次タグ検出部108が検出した次タグに一致するタグと対応付けられた一以上の次候補データのうちの、対応対応付けられている次候補優先度情報が示す優先度が高い次候補データだけを取得するようにしても良い。具体的には、優先度が高いものから順に、予め指定された数だけ次候補データを取得しても良いし、優先度が予め指定した値以上の次候補データだけを取得するようにしても良い。なお、次候補データ取得部110は、通常、MPUやメモリ等から実現され得る。次候補データ取得部110の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The next candidate data acquisition unit 110 acquires one or more next candidate data associated with a tag that matches the next tag detected by the next tag detection unit 108 from the next candidate data storage unit 109. For example, using the next tag as a search key, a tag matching the next tag is searched in the next candidate data storage unit 109, and one or more next candidate data associated with the tag searched for matching is obtained. . The number of next candidate data to be acquired may be one or more. For example, the next candidate data acquired by the search is acquired with the number specified in advance as an upper limit. Note that the next candidate data acquisition unit 110 corresponds to the corresponding next candidate priority information among one or more next candidate data associated with the tag that matches the next tag detected by the next tag detection unit 108. Only the next candidate data having a high priority indicated by may be acquired. Specifically, the next candidate data may be acquired in a predetermined number in order from the highest priority, or only the next candidate data having a priority equal to or higher than a predetermined value may be acquired. good. Note that the next candidate data acquisition unit 110 can be typically realized by an MPU, a memory, or the like. The processing procedure of the next candidate data acquisition unit 110 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

入力候補出力部111は、次候補データ取得部110が取得した一以上の次候補データを、入力データの入力候補として出力する。入力候補出力部111は、一以上の次候補データを、選択可能な入力候補として出力できれば、次候補データをどのように出力しても良い。入力候補出力部111は、例えば、次候補データ取得部110が取得した一以上の次候補データを用いて、いわゆるドロップダウンメニューやドロップダウンボックス等のリスト状の選択メニューの画面を構成して図示しないモニタ等に出力する。これらの選択メニューは、例えば、直前に入力データが入力された位置の隣や、予め次タグに対応した入力データが配置される領域として指定されているフレーム等の領域内に表示することが好ましい。なお、選択メニュー画面を構成する処理等は、フォームにおけるドロップダウンメニューやドロップダウンボックスの表示技術等で公知であるので説明は省略する。あるいは一の次候補データを、直前に入力データが入力された位置の隣や、予め次タグに対応した入力データが配置される領域として指定されているフレーム等の領域内に直接配置し、キーボード操作等に応じて、他の次候補データを切り替えて配置できるようにしても良い。なお、次候補データに、上述したような次候補優先度情報が対応付けられている場合、入力候補出力部111は、当該次候補優先度情報が示す優先度に応じて、次候補データを出力するようにしても良い。次候補優先度情報が示す優先度に応じてとは、例えば、優先度が高いものが、入力データが入力される位置に近くなるようにして、次候補データを出力することである。また、例えば、優先度が高い次候補データだけを、まず表示するようにし、その他の次候補データは、データをスクロールした場合に表示されるよう出力することである。入力候補出力部111は、ディスプレイやスピーカー等の出力デバイスを含むと考えても含まないと考えても良い。入力候補出力部111は、出力デバイスのドライバーソフトまたは、出力デバイスのドライバーソフトと出力デバイス等で実現され得る。   The input candidate output unit 111 outputs one or more next candidate data acquired by the next candidate data acquisition unit 110 as input candidates for input data. The input candidate output unit 111 may output the next candidate data as long as it can output one or more next candidate data as selectable input candidates. The input candidate output unit 111 uses, for example, one or more next candidate data acquired by the next candidate data acquisition unit 110 to configure a list-like selection menu screen such as a so-called drop-down menu or drop-down box. Output to a monitor that does not. These selection menus are preferably displayed, for example, next to the position where the input data was input immediately before or in a region such as a frame designated as a region where the input data corresponding to the next tag is arranged in advance. . Note that the processing and the like constituting the selection menu screen are well known in the drop-down menu and drop-down box display technology in the form, and thus the description thereof is omitted. Alternatively, the next candidate data is arranged directly next to the position where the input data was inputted immediately before or in an area such as a frame designated as an area where the input data corresponding to the next tag is arranged in advance. Other next candidate data may be switched and arranged according to the operation or the like. If the next candidate priority information as described above is associated with the next candidate data, the input candidate output unit 111 outputs the next candidate data according to the priority indicated by the next candidate priority information. You may make it do. According to the priority indicated by the next candidate priority information, for example, the next candidate data is output so that the one with the higher priority is close to the position where the input data is input. Further, for example, only the next candidate data having a high priority is displayed first, and the other next candidate data is output so as to be displayed when the data is scrolled. The input candidate output unit 111 may be considered as including or not including an output device such as a display or a speaker. The input candidate output unit 111 can be implemented by output device driver software, or output device driver software and an output device.

選択受付部112は、入力候補出力部111が出力した次候補データのうちの一の入力データの選択を受け付ける。例えば、入力候補出力部111が出力した次候補データのうちの、マウスやキーボード等を用いて指定された次候補データの選択を受け付ける。選択を行うための入力手段は、テンキーやキーボードやマウスやメニュー画面によるもの等、何でも良い。選択受付部112は、テンキーやキーボード等の入力手段のデバイスドライバーや、メニュー画面の制御ソフトウェア等で実現され得る。   The selection receiving unit 112 receives selection of one input data among the next candidate data output by the input candidate output unit 111. For example, of the next candidate data output by the input candidate output unit 111, selection of the next candidate data designated using a mouse, a keyboard, or the like is accepted. The input means for performing selection may be anything such as a numeric keypad, a keyboard, a mouse, or a menu screen. The selection receiving unit 112 can be realized by a device driver for input means such as a numeric keypad and a keyboard, control software for a menu screen, and the like.

選択データ蓄積部113は、選択受付部112が選択を受け付けた入力データ、即ち選択を受け付けた次候補データと、次タグ検出部108が検出した次タグとを対応付けて作成データ格納部104に蓄積する。例えば、直前に作成データ蓄積部105が蓄積した入力データに続いて入力された入力データとなるように、選択された入力データを作成データ格納部104に蓄積する。あるいは、予め次タグ検出部108が検出した次タグに対応した入力データが配置される領域として指定されているフレーム等の領域内に入力データが入力されることとなるよう、作成データ格納部104に入力データが蓄積される。なお、選択データ蓄積部113は、次タグ検出部108が次タグの検出を行う際に用いた出現パターン情報から、当該次タグに対応する属性情報を取得し、取得した属性情報を、選択受付部112が選択を受け付けた入力データと、次タグ検出部108が検出した次タグと対応付けて作成データ格納部104に蓄積するようにしても良い。また、選択データ蓄積部113は、次タグ検出部108が次タグの検出を行う際に用いた出現パターン情報から、作成データ格納部104に格納されている入力データに付与されたタグに対応する属性情報を取得し、取得した属性情報を用いて、作成データ格納部104にタグと対応付けて蓄積されている属性情報を更新するようにしても良い。ここでの更新は、例えば取得した属性情報と同じとなるように属性情報を書き換えることである。選択データ蓄積部113は、通常、MPUやメモリ等から実現され得る。選択データ蓄積部113の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The selection data storage unit 113 associates the input data received by the selection reception unit 112, that is, the next candidate data received by the selection with the next tag detected by the next tag detection unit 108 in the created data storage unit 104. accumulate. For example, the selected input data is accumulated in the created data storage unit 104 so that the input data is input following the input data accumulated by the created data accumulation unit 105 immediately before. Alternatively, the created data storage unit 104 is configured so that input data is input into an area such as a frame designated as an area where input data corresponding to the next tag detected in advance by the next tag detection unit 108 is arranged. The input data is stored in The selection data storage unit 113 acquires attribute information corresponding to the next tag from the appearance pattern information used when the next tag detection unit 108 detects the next tag, and selects the received attribute information. The input data received by the unit 112 may be stored in the created data storage unit 104 in association with the next tag detected by the next tag detection unit 108. Further, the selection data storage unit 113 corresponds to the tag given to the input data stored in the created data storage unit 104 from the appearance pattern information used when the next tag detection unit 108 detects the next tag. The attribute information may be acquired, and the attribute information stored in association with the tag in the created data storage unit 104 may be updated using the acquired attribute information. Update here is rewriting attribute information so that it may become the same as the acquired attribute information, for example. The selection data storage unit 113 can usually be realized by an MPU, a memory, or the like. The processing procedure of the selection data storage unit 113 is usually realized by software, and the software is recorded in a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

出現パターン情報蓄積部114は、作成タグパターンと一致するタグの出現パターンを示す出現パターン情報が存在するか否かを判断し、作成タグパターンと一致するタグの出現パターンが存在しないと判断した場合に、当該作成タグパターンを示す出現パターン情報を作成し、出現パターン情報格納部107に蓄積する。タグの出現パターンが一致するか否かの判断は、例えばタグのパターンマッチング等で行われる。なお、出現パターン情報蓄積部114の、作成タグパターンと一致するタグの出現パターンを示す出現パターン情報が存在するか否かを判断する処理を行う部分と、同様の処理を行う他の処理部、例えば後述する次候補データ取得部110や出現パターン判断部116とを、一の処理部で実現するようにしても良い。そして、これらの判断結果に応じて、出現パターン情報を作成するか否か等を判断するようにしても良い。出現パターン情報蓄積部114は、通常、MPUやメモリ等から実現され得る。出現パターン情報蓄積部114の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   When the appearance pattern information storage unit 114 determines whether or not there is appearance pattern information indicating an appearance pattern of a tag that matches the created tag pattern, and determines that there is no appearance pattern of a tag that matches the created tag pattern Then, appearance pattern information indicating the generated tag pattern is generated and stored in the appearance pattern information storage unit 107. Judgment as to whether the appearance patterns of the tags match is performed by, for example, tag pattern matching. In addition, in the appearance pattern information storage unit 114, a part that performs a process for determining whether or not there is appearance pattern information indicating an appearance pattern of a tag that matches the created tag pattern, and another processing part that performs the same process, For example, the next candidate data acquisition unit 110 and the appearance pattern determination unit 116, which will be described later, may be realized by a single processing unit. Then, according to these determination results, it may be determined whether or not to create appearance pattern information. The appearance pattern information storage unit 114 can usually be realized by an MPU, a memory, or the like. The processing procedure of the appearance pattern information storage unit 114 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

優先度変更部115は、次タグ検出部108が次タグを検出する際に検出した出現パターン情報に対応付けられた優先度情報を、検出時期に応じた優先度を示すものとなるよう変更する。例えば、次タグ検出部108が検出した時期が新しい出現パターン情報ほど、優先度が高くなるように、出現パターン情報格納部107に格納されている出現パターン情報に対応付けられた優先度情報の値を更新するようにしても良い。例えば、出現パターン情報が検出される毎に、当該出現パターン情報の優先度の値が最も高くなるよう、出現パターン情報の優先度の値を並べ替えたり、出現パターン情報が検出される毎に、優先度の高さを示す値を、所定値だけ加算していくようにしても良い。なお、検出時期が古いものの優先度が低くなるように、優先度情報の値を更新することも、結果的には同じ処理である。   The priority changing unit 115 changes the priority information associated with the appearance pattern information detected when the next tag detecting unit 108 detects the next tag so as to indicate the priority according to the detection time. . For example, the value of the priority information associated with the appearance pattern information stored in the appearance pattern information storage unit 107 so that the priority is higher as the appearance pattern information detected by the next tag detection unit 108 is newer. May be updated. For example, whenever the appearance pattern information is detected, the priority value of the appearance pattern information is rearranged so that the priority value of the appearance pattern information becomes the highest, or whenever the appearance pattern information is detected, A value indicating the high priority may be added by a predetermined value. It should be noted that updating the value of the priority information so that the priority of the one with the old detection time becomes low is the same process as a result.

また、優先度変更部115は、次タグ検出部108が次タグを検出する際に検出した出現パターン情報に対応付けられた優先度情報を、次タグ検出部108が検出した出現パターン情報の検出回数に応じた優先度を示すものとなるよう変更する。例えば、優先度変更部115は、次タグ検出部108が次タグを検出する際に検出した出現パターン情報の検出回数等を、出現パターン情報別に、図示しない記憶媒体等の格納部に蓄積しておく。そして、その検出回数が多いほど、優先度が高くなるように、出現パターン情報格納部107に格納されている出現パターン情報に対応付けられた優先度情報を更新するようにしても良い。例えば、検出回数を、そのまま、優先度の高さを示す値として用いても良い。なお、検出回数が少ないものの優先度が低くなるように、優先度情報の値を更新することも、結果的には同じ処理である。   The priority changing unit 115 detects the appearance pattern information detected by the next tag detecting unit 108 using the priority information associated with the appearance pattern information detected when the next tag detecting unit 108 detects the next tag. The priority is changed according to the number of times. For example, the priority changing unit 115 accumulates the number of appearance pattern information detections detected when the next tag detection unit 108 detects the next tag in a storage unit such as a storage medium (not shown) for each appearance pattern information. deep. Then, the priority information associated with the appearance pattern information stored in the appearance pattern information storage unit 107 may be updated so that the higher the number of detections, the higher the priority. For example, the number of detections may be used as it is as a value indicating the high priority. It should be noted that updating the value of the priority information so that the priority becomes low although the number of detections is small is the same process as a result.

なお、優先度変更部115が、優先度情報を変更するタイミング等は問わない。例えば、次タグの検出が行われる都度に、優先度情報の変更を行っても良い。優先度変更部115は、通常、MPUやメモリ等から実現され得る。優先度変更部115の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   It should be noted that the priority changing unit 115 does not matter when the priority information is changed. For example, the priority information may be changed each time the next tag is detected. The priority changing unit 115 can be usually realized by an MPU, a memory, or the like. The processing procedure of the priority changing unit 115 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

出現パターン判断部116は、作成データ格納部104に格納された入力データの作成タグパターンを含む出現パターンを示す出現パターン情報が存在するか否かを判断する。具体的には、出現パターン判断部116は、作成タグパターンを構成するタグの全ての含む出現パターンを示す出現パターン情報が存在するか否かを判断する。なお、この出現パターン判断部116の処理は、次タグ検出部108が作成タグパターンを含むタグの出現パターンを示す出現パターン情報を、出現パターン情報格納部107から検出する際の処理とほぼ同様であるので、ここでは詳細を説明する。なお、出現パターン判断部116の行う処理において出現パターン情報を検出できなかった場合が、本願における出現パターン情報が存在しないと判断した判断結果に相当する。なお、出現パターン判断部116と、次タグ検出部108とを一の処理部等により実現するようにして、次タグ検出部108が作成タグパターンを含むタグの出現パターンを示す出現パターン情報を検出する処理を、当該出現パターン判断部116の処理の代わりに行うようにしても良い。あるいは、次タグ検出部108が次タグを検出する際に行う作成データ格納部に格納された入力データの作成タグパターンを含む出現パターンを示す出現パターン情報が存在するか否かを判断する処理の処理結果を、出現パターン判断部116の処理結果として後述する付与タグ検出部117等に出力するようにしても良い。出現パターン判断部116は、通常、MPUやメモリ等から実現され得る。出現パターン判断部116の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The appearance pattern determination unit 116 determines whether there is appearance pattern information indicating an appearance pattern including a creation tag pattern of input data stored in the creation data storage unit 104. Specifically, the appearance pattern determination unit 116 determines whether or not there is appearance pattern information indicating an appearance pattern that includes all the tags constituting the created tag pattern. The process of the appearance pattern determination unit 116 is almost the same as the process when the next tag detection unit 108 detects the appearance pattern information indicating the appearance pattern of the tag including the created tag pattern from the appearance pattern information storage unit 107. Details will be described here. The case where the appearance pattern information cannot be detected in the process performed by the appearance pattern determination unit 116 corresponds to the determination result determined that the appearance pattern information does not exist in the present application. Note that the appearance pattern determination unit 116 and the next tag detection unit 108 are realized by a single processing unit or the like, and the next tag detection unit 108 detects appearance pattern information indicating the appearance pattern of the tag including the created tag pattern. The processing to be performed may be performed instead of the processing of the appearance pattern determination unit 116. Alternatively, a process of determining whether there is appearance pattern information indicating an appearance pattern including a creation tag pattern of input data stored in the creation data storage unit, which is performed when the next tag detection unit 108 detects the next tag. The processing result may be output as a processing result of the appearance pattern determination unit 116 to an added tag detection unit 117 described later. The appearance pattern determination unit 116 can usually be realized by an MPU, a memory, or the like. The processing procedure of the appearance pattern determination unit 116 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

付与タグ検出部117は、出現パターン判断部116により、作成データ格納部104に格納された入力データの作成タグパターンを含む出現パターンを示す出現パターン情報が出現パターン情報格納部107に存在しないと判断された場合に、入力受付部101が受け付けた作成データ格納部104に格納されている入力データに付与可能なタグの出現パターンを有する出現パターン情報を、対応タグ格納部102に格納されている指定情報とタグとを用いて検出する。作成タグパターンを含む出現パターンを示す出現パターン情報が出現パターン情報格納部107に存在しないと出現パターン判断部116が判断した場合、付与タグ検出部117は、例えば、出現パターン情報格納部107に格納されている一の出現パターン情報を取り出し、取り出した一の出現パターン情報が示すタグの出現パターンに沿って順次タグを取得する。そして、入力受付部101が受け付けた作成データ格納部104に格納されている入力データが、当該順次取得したタグを付与可能な入力データが配列されたものであるか否かを判断する。例えば、入力データが、出現パターン情報が示すタグの付与対象となる入力データであるかを、対応タグ格納部102に格納されている指定情報とタグとを用いて判断する。具体的には、入力データが、出現パターン情報から取得したタグに対応した指定情報により指定される入力データであるか否かを判断する。つまり、出現パターン情報から取得したタグに変換される入力データを指定するための指定情報を、対応タグ格納部102から取得し、入力データが、この指定情報のいずれかにより指定される情報であるか否か判断する。例えば、指定情報が入力データ自身を示す情報である場合、出現パターン情報から取得したタグに対応する指定情報のいずれか一つと、入力データとが一致するか否かを判断する。一致する場合、タグの付与対象となる入力データと判断されたこととなる。また、指定情報が、入力データを指定するルールを示す情報である場合、出現パターン情報から取得したタグに対応する指定情報のいずれか一つが示すルールを、入力データが満たすか否かを判断する。ルールを満たす場合、タグの付与対象となる入力データと判断されたこととなる。なお、入力データに付与されているタグと、出現パターン情報から取得したタグとが、一致する部分については、結果として、出現パターン情報から取得したタグの付与対象であることが判断されたこととなるため、上記のようなタグの付与対象であるか否かの判断等を省略して良い。このようにして、出現パターン情報のうちの、作成データ格納部104に格納されている入力データの全てが、出現パターン情報が示すタグの付与対象となるような出現パターン情報を検出する。入力データの全てが、出現パターン情報が示すタグの付与対象とならない場合においては、出現パターン情報を変更して同様の処理を繰り返す。なお、付与タグ検出部117が、入力受付部101が受け付けた入力データに付与可能なタグの出現パターンを有する出現パターン情報を検出する際においては、上述したような出現パターン情報に付与された優先度の高いものから順に検出処理を行うようにすることが好ましい。また、この検出処理における検出結果を用いて、例えば検出時期や検出回数等の情報を用いて、優先度変更部115が、上述した用意出現パターン情報に付与された優先度を変更するようにしても良い。このようにして、入力受付部101が受け付けた入力データに付与可能なタグの出現パターンを有する出現パターン情報を検出する。付与タグ検出部117は、通常、MPUやメモリ等から実現され得る。付与タグ検出部117の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。なお、上述した出現パターン情報蓄積部114は、付与タグ検出部117においても出現パターン情報が検出できなかった場合においてのみ、出現パターン情報を取得して、蓄積を行うようにしても良い。   The attached tag detection unit 117 determines that the appearance pattern information storage unit 107 does not include the appearance pattern information indicating the appearance pattern including the creation tag pattern of the input data stored in the creation data storage unit 104 by the appearance pattern determination unit 116. In this case, the appearance pattern information having the appearance pattern of the tag that can be given to the input data stored in the created data storage unit 104 received by the input reception unit 101 is stored in the corresponding tag storage unit 102. Detect using information and tags. When the appearance pattern determination unit 116 determines that the appearance pattern information indicating the appearance pattern including the created tag pattern does not exist in the appearance pattern information storage unit 107, for example, the assigned tag detection unit 117 stores the appearance pattern information in the appearance pattern information storage unit 107. The extracted appearance pattern information is extracted, and tags are sequentially acquired along the appearance pattern of the tag indicated by the extracted appearance pattern information. Then, it is determined whether or not the input data stored in the created data storage unit 104 received by the input receiving unit 101 is an array of input data to which the sequentially acquired tags can be assigned. For example, it is determined using the designation information and the tag stored in the corresponding tag storage unit 102 whether or not the input data is the input data to be given the tag indicated by the appearance pattern information. Specifically, it is determined whether or not the input data is input data specified by the specification information corresponding to the tag acquired from the appearance pattern information. That is, designation information for designating input data to be converted into tags obtained from the appearance pattern information is obtained from the corresponding tag storage unit 102, and the input data is information designated by any one of the designation information. Determine whether or not. For example, when the designation information is information indicating the input data itself, it is determined whether any one of the designation information corresponding to the tag acquired from the appearance pattern information matches the input data. If they match, it is determined that the input data is a tag addition target. When the designation information is information indicating a rule for designating input data, it is determined whether or not the input data satisfies a rule indicated by any one of the designation information corresponding to the tag acquired from the appearance pattern information. . When the rule is satisfied, it is determined that the input data is a tag addition target. As for the portion where the tag assigned to the input data matches the tag acquired from the appearance pattern information, it was determined that the tag was acquired from the appearance pattern information as a result. Therefore, the determination as to whether or not the tag is to be assigned may be omitted. In this way, the appearance pattern information is detected such that all of the input data stored in the created data storage unit 104 among the appearance pattern information is to be assigned tags indicated by the appearance pattern information. When all of the input data is not a target to be assigned with the tag indicated by the appearance pattern information, the appearance pattern information is changed and the same processing is repeated. In addition, when the added tag detection unit 117 detects the appearance pattern information having the appearance pattern of the tag that can be added to the input data received by the input receiving unit 101, the priority given to the appearance pattern information as described above. It is preferable to perform detection processing in order from the highest. Also, using the detection result in this detection process, the priority changing unit 115 changes the priority given to the prepared appearance pattern information described above using information such as the detection time and the number of detections, for example. Also good. In this way, appearance pattern information having an appearance pattern of a tag that can be assigned to the input data received by the input receiving unit 101 is detected. The assigned tag detection unit 117 can usually be realized by an MPU, a memory, or the like. The processing procedure of the assigned tag detection unit 117 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit). The appearance pattern information storage unit 114 described above may acquire and store the appearance pattern information only when the appearance tag information cannot be detected by the assigned tag detection unit 117.

なお、上述した優先度変更部115が、付与タグ検出部117が検出した出現パターン情報に対応付けられた優先度情報を、上述したような次タグ検出部108が次タグを検出する際に検出した出現パターン情報に対応付けられた優先度情報を変更する場合と同様に、検出時期や検出回数等に応じて適宜変更するようにしても良い。   The priority changing unit 115 described above detects priority information associated with the appearance pattern information detected by the assigned tag detecting unit 117 when the next tag detecting unit 108 detects the next tag. Similarly to the case of changing the priority information associated with the appearance pattern information, it may be changed as appropriate according to the detection time, the number of detections, and the like.

タグ更新部118は、付与タグ検出部117が検出した出現パターン情報が示す出現パターンとなるように、作成データ格納部104に格納された入力データのタグを更新する。例えば、付与タグ検出部117が検出した出現パターン情報が示す出現パターンを構成するタグを取得し、入力データに付与されているタグを、出現パターン情報が示す出現パターンを構成するタグで全て上書きしても良い。また、タグが異なる部分だけを、上書きしても良い。なお、出現パターン情報のタグ数の方が入力データに付与されたタグ数よりも多い場合は、多い部分については更新処理等は無視する。なお、出現パターン情報が示す出現パターンを構成するタグに、属性情報が付与されている場合、当該属性情報も、入力データのタグを更新する際に、更新するようにしても良い。つまり、タグ更新部118は、付与タグ検出部117が検出した出現パターン情報が示すタグの出現パターンを構成するタグに対応付けられた属性情報を用いて、作成データ格納部104に格納された入力データのタグに対応付けられた属性情報を更新するようにしても良い。具体的には、作成データ格納部104に格納された入力データに付与されているタグと属性情報との配列が、付与タグ検出部117が検出した出現パターン情報が示すタグと属性情報との配列と一致するよう更新するようにしてよい。タグ更新部118は、通常、MPUやメモリ等から実現され得る。タグ更新部118の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The tag update unit 118 updates the tag of the input data stored in the created data storage unit 104 so that the appearance pattern indicated by the appearance pattern information detected by the assigned tag detection unit 117 is obtained. For example, the tags constituting the appearance pattern indicated by the appearance pattern information detected by the assigned tag detection unit 117 are acquired, and all the tags assigned to the input data are overwritten with the tags constituting the appearance pattern indicated by the appearance pattern information. May be. Moreover, you may overwrite only the part from which a tag differs. If the number of tags in the appearance pattern information is larger than the number of tags assigned to the input data, the update process etc. is ignored for the larger part. In addition, when attribute information is given to the tag which comprises the appearance pattern which appearance pattern information shows, the said attribute information may be updated when updating the tag of input data. That is, the tag update unit 118 uses the attribute information associated with the tags constituting the appearance pattern of the tag indicated by the appearance pattern information detected by the assigned tag detection unit 117, and stores the input stored in the creation data storage unit 104. You may make it update the attribute information matched with the tag of data. Specifically, the array of tags and attribute information attached to the input data stored in the created data storage unit 104 is the array of tags and attribute information indicated by the appearance pattern information detected by the attached tag detector 117. May be updated to match. The tag update unit 118 can usually be realized by an MPU, a memory, or the like. The processing procedure of the tag updating unit 118 is usually realized by software, and the software is recorded in a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

次候補優先度変更部119は、選択受付部112が選択を受け付けた次候補データに対応付けられた次候補優先度情報を、次候補データの選択に応じて変更する。例えば、次候補優先度変更部119は、選択受付部112が選択を受け付けた次候補データに対応付けられた次候補優先度情報を、選択を受けた時期に応じた優先度を示すものとなるよう変更する。例えば、選択受付部112が選択を受け付けた時期が新しい次候補データに対応付けられた次候補優先度情報ほど優先度が高くなるように、次候補データ格納部109に格納されている次候補データに対応付けられた次候補優先度情報の値を更新するようにしても良い。例えば、次候補データの選択を受け付ける毎に、当該選択された次候補データの優先度の値が最も高くなるよう、次候補優先度情報の優先度の値を並べ替えたり、次候補データが選択される毎に、次候補データの優先度の高さを示す値を、所定値だけ加算していくようにしても良い。なお、検出時期が古いものの優先度が低くなるように、次候補優先度情報の値を更新することも、結果的には同じ処理である。   The next candidate priority changing unit 119 changes the next candidate priority information associated with the next candidate data received by the selection receiving unit 112 according to the selection of the next candidate data. For example, the next candidate priority changing unit 119 indicates the next candidate priority information associated with the next candidate data received by the selection receiving unit 112 according to the time when the selection is received. Change as follows. For example, the next candidate data stored in the next candidate data storage unit 109 so that the priority of the next candidate priority information associated with the new next candidate data when the selection reception unit 112 receives the selection is higher. The value of the next candidate priority information associated with can be updated. For example, each time selection of the next candidate data is accepted, the priority value of the next candidate priority information is rearranged or the next candidate data is selected so that the priority value of the selected next candidate data becomes the highest. Each time it is done, a value indicating the high priority of the next candidate data may be added by a predetermined value. It should be noted that updating the value of the next candidate priority information so that the priority of the old detection time becomes low is the same process as a result.

また、次候補優先度変更部119は、選択受付部112が選択を受け付けた次候補データに対応付けられた次候補優先度情報を、選択を受け付けた回数に応じた優先度を示すものとなるよう変更する。例えば、次候補優先度変更部119は、選択受付部112が選択を受け付けた次候補データの選択された回数等を、次候補データ別に、図示しない記憶媒体等の格納部に蓄積しておく。そして、その選択回数が多いほど、優先度が高くなるように、次候補データ格納部109に格納されている次候補データに対応付けられた次候補優先度情報を更新するようにしても良い。例えば、次候補データの選択回数を、そのまま、優先度の高さを示す値として用いても良い。なお、選択回数が少ないものの優先度が低くなるように、次候補優先度情報の値を更新することも、結果的には同じ処理である。次候補優先度変更部119は、通常、MPUやメモリ等から実現され得る。次候補優先度変更部119の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   Further, the next candidate priority changing unit 119 indicates the priority corresponding to the number of times the selection has been received, with respect to the next candidate priority information associated with the next candidate data for which the selection receiving unit 112 has received the selection. Change as follows. For example, the next candidate priority changing unit 119 accumulates the number of times the next candidate data selected by the selection receiving unit 112 is selected in a storage unit such as a storage medium (not shown) for each next candidate data. Then, the next candidate priority information associated with the next candidate data stored in the next candidate data storage unit 109 may be updated so that the priority becomes higher as the number of selections increases. For example, the number of selections of the next candidate data may be used as it is as a value indicating the high priority. It should be noted that updating the value of the next candidate priority information so that the priority is lowered although the number of selections is small is the same process as a result. The next candidate priority changing unit 119 can be usually realized by an MPU, a memory, or the like. The processing procedure of the next candidate priority changing unit 119 is usually realized by software, and the software is recorded in a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

タグ優先度変更部120は、タグに付与されたタグ優先度を、各タグが取得された回数または取得された時期に応じて変更する。具体的には、タグ優先度変更部120は、タグ更新部118が作成タグパターンのタグを更新した場合に、当該更新により新たに付与されたタグに対応付けられたタグ優先度情報を変更する。タグが取得された回数に応じて変更すること、およびタグが取得された時期に応じて回数を変更することについては、上述した優先度変更部115や、次候補優先度変更部119における優先度の変更と同様であるので詳細な説明は省略する。タグ優先度変更部120は、通常、MPUやメモリ等から実現され得る。タグ優先度変更部120の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。   The tag priority changing unit 120 changes the tag priority assigned to the tag according to the number of times each tag is acquired or the acquisition time. Specifically, when the tag update unit 118 updates the tag of the created tag pattern, the tag priority change unit 120 changes the tag priority information associated with the tag newly given by the update. . Regarding the change according to the number of times the tag has been acquired and the change in the number of times according to the time when the tag was acquired, the priority in the priority change unit 115 or the next candidate priority change unit 119 described above. Since this is the same as the change in FIG. The tag priority changing unit 120 can usually be realized by an MPU, a memory, or the like. The processing procedure of the tag priority changing unit 120 is usually realized by software, and the software is recorded on a recording medium such as a ROM. However, it may be realized by hardware (dedicated circuit).

次に、データ編集装置1の動作について図2のフローチャートを用いて説明する。なお、ここでは、対応タグ格納部102に格納されているタグや、出現パターン情報が示す出現パターンを構成するタグ等には、属性情報が対応付けられている場合を例に挙げて説明する。但し、属性情報は省略しても良いし、属性情報は全てのタグに対応付けられていなくて良い。また、ここでの動作開始は、例えば、新規のフレーム等へのデータ入力開始や、タグ付けの対象となる一連のデータ入力が終了した後のデータ入力の開始等の、一連のタグの付与対象となるデータ入力開始を示すトリガー等の受け付けにより判断される。   Next, the operation of the data editing apparatus 1 will be described using the flowchart of FIG. Here, a case where attribute information is associated with tags stored in the corresponding tag storage unit 102, tags constituting the appearance pattern indicated by the appearance pattern information, and the like will be described as an example. However, the attribute information may be omitted, and the attribute information may not be associated with all tags. In addition, the operation start here is a series of tag assignment targets such as start of data input to a new frame or the like, or start of data input after a series of data input to be tagged is completed. This is determined by receiving a trigger or the like indicating the start of data input.

(ステップS201)入力受付部101は、入力データを受け付けたか否かを判断する。入力データを受け付けた場合、ステップS202に進み、受け付けていない場合、ステップS201に戻る。受け付けた入力データは、例えばメモリ等の記憶媒体に一時記憶される。   (Step S201) The input receiving unit 101 determines whether input data has been received. If input data is accepted, the process proceeds to step S202. If not, the process returns to step S201. The received input data is temporarily stored in a storage medium such as a memory.

(ステップS202)データ編集装置1の対応タグ取得部103等は、は、入力データが、タグ付けを行うデータの入力終了を指示する終了指示の入力であるか否かを判断する。終了指示の入力とは、例えば、一連のタグの付与対象となるデータ入力の終了となるデータ入力であるか否かの判断である。例えば、終了指示の入力は、改行記号等の予め指定した文字の入力や、新たなフレーム等へのデータ入力の開始のためのカーソル等を配置する指示の入力や、入力終了を示すコマンド入力等である。なお、例えば改行記号等の一部の記号については、タグの取得対象となる入力データを識別する区切記号としても利用できるようにし、改行記号が入力された場合は、一旦、ステップS203以降の処理等を実行後、終了処理を行うようにしても良い。終了指示を受け付けていない場合、ステップS203に進み、終了指示を受け付けた場合、処理を終了する。   (Step S202) The corresponding tag acquisition unit 103 or the like of the data editing apparatus 1 determines whether or not the input data is an input of an end instruction for instructing the end of input of data to be tagged. The input of the end instruction is, for example, a determination as to whether or not the input is a data input that is an end of a data input that is a target to which a series of tags are attached. For example, the input of the end instruction is input of a character designated in advance such as a line feed symbol, input of an instruction for placing a cursor for starting data input to a new frame, etc., command input indicating the end of input, etc. It is. For example, some symbols such as a line feed symbol can be used as a delimiter symbol for identifying input data that is a tag acquisition target. When a line feed symbol is input, the processing after step S203 is temporarily performed. Etc., the end process may be performed. If an end instruction has not been received, the process proceeds to step S203. If an end instruction has been received, the process ends.

(ステップS203)データ編集装置1は、入力データに対応するタグおよび属性情報を取得する処理を行う。なお、この処理の詳細については後述する。   (Step S203) The data editing apparatus 1 performs processing for acquiring tag and attribute information corresponding to input data. Details of this process will be described later.

(ステップS204)対応タグ取得部103は、対応するタグが取得できたか否かを判断する。取得できた場合、ステップS205に進み、取得できなかった場合、ステップS201に戻る。   (Step S204) The corresponding tag acquisition unit 103 determines whether the corresponding tag has been acquired. If it can be acquired, the process proceeds to step S205. If it cannot be acquired, the process returns to step S201.

(ステップS205)作成データ蓄積部105は、ステップS203において取得したタグおよび属性情報を、入力データと対応付けて作成データ格納部104に蓄積する。また、入力データと対応付けたタグおよび属性情報を、次候補データ格納部109に蓄積するようにしてもよい。ただし、入力データとタグの組合せが一致するものが既に格納されている場合、蓄積しないようにする。   (Step S205) The creation data storage unit 105 stores the tag and attribute information acquired in step S203 in the creation data storage unit 104 in association with the input data. Further, the tag and attribute information associated with the input data may be accumulated in the next candidate data storage unit 109. However, if the input data and the tag combination match are already stored, they are not accumulated.

(ステップS206)データ出力部106は、作成データ格納部104に蓄積された入力データを出力する。例えば、モニタ等に入力データだけを表示する。なお、データ出力部106は、ステップS201において受け付けた入力データを、入力受付直後に、モニタ等に表示するようにしても良い。このようにした場合においても、最終的には、作成データ格納部104に入力データが蓄積された時点で、作成データ格納部104に蓄積された入力データを出力したこととなる。   (Step S206) The data output unit 106 outputs the input data accumulated in the created data storage unit 104. For example, only input data is displayed on a monitor or the like. The data output unit 106 may display the input data received in step S201 on a monitor or the like immediately after receiving the input. Even in such a case, the input data accumulated in the created data storage unit 104 is finally output when the input data is accumulated in the created data storage unit 104.

(ステップS207)次タグ検出部108は、次タグを検出する処理を行う。なお、次タグを検出する処理の詳細について後述する。   (Step S207) The next tag detection unit 108 performs processing for detecting the next tag. Details of processing for detecting the next tag will be described later.

(ステップS208)次候補データ取得部110は、ステップS207において、次タグが検出されたか否かを判断する。次タグが検出された場合、ステップS209に進み、次タグが検出されなかった場合、ステップS213に進む。   (Step S208) The next candidate data acquisition unit 110 determines whether or not a next tag is detected in step S207. If the next tag is detected, the process proceeds to step S209. If the next tag is not detected, the process proceeds to step S213.

(ステップS209)次候補データ取得部110は、次候補データ格納部109に格納されている次候補データの中から、ステップS207において検出した次タグと一致するタグを検出する。そして、検出したタグと対応付けられた次候補データの中から、それぞれに対応付けられた次候補優先度情報が示す優先度の値が高いものから順に、予め指定された数の次候補データを読み出す。   (Step S209) The next candidate data acquisition unit 110 detects, from the next candidate data stored in the next candidate data storage unit 109, a tag that matches the next tag detected in step S207. Then, among the next candidate data associated with the detected tag, the number of the next candidate data designated in advance is selected in descending order of the priority value indicated by the next candidate priority information associated with each tag. read out.

(ステップS210)入力候補出力部111は、ステップS209において読み出した次候補データを選択可能な出力を行う。具体的には、入力候補出力部111は、ステップS209において読み出した次候補データを用いて、次候補データを選択可能な選択メニュー画面等を作成し、モニタ等に表示する。   (Step S210) The input candidate output unit 111 performs output capable of selecting the next candidate data read in step S209. Specifically, the input candidate output unit 111 uses the next candidate data read in step S209 to create a selection menu screen or the like on which the next candidate data can be selected, and displays it on a monitor or the like.

(ステップS211)選択受付部112は、ステップS210において出力した次候補データのうちの、一の次候補データを選択する指示を受け付けたか否かを判断する。受け付けた場合、ステップS212に進み、受け付けていない場合、ステップS215に進む。   (Step S211) The selection receiving unit 112 determines whether an instruction to select one of the next candidate data output in Step S210 has been received. If accepted, the process proceeds to step S212. If not accepted, the process proceeds to step S215.

(ステップS212)次候補優先度変更部119は、ステップS211における次候補データの選択結果に応じて、次候補優先度情報の変更処理を行う。例えば、ステップS211で選択された次候補データに対応付けられた次候補優先度情報の優先度の高さを示す値を所定数だけインクリメントする。   (Step S212) The next candidate priority changing unit 119 changes the next candidate priority information according to the selection result of the next candidate data in step S211. For example, a value indicating the high priority of the next candidate priority information associated with the next candidate data selected in step S211 is incremented by a predetermined number.

(ステップS213)選択データ蓄積部113は、ステップS207において検出された次タグおよび当該次タグに対応する属性情報を取得し、これらをステップS211において選択された次候補データと対応付けて作成データ格納部104に蓄積する。そして、ステップS206に戻る。蓄積される次候補データが、ステップS205において蓄積される入力データに相当するものとなる。なお、選択データ蓄積部113は、次タグ検出部108が次タグの検出を行う際に用いた、作成タグパターンを含む出現パターン情報から、作成タグパターンを構成するタグに対応する属性情報を取得し、取得した属性情報を用いて、作成データ格納部104にタグと対応付けて蓄積されている属性情報を更新するようにしても良い。   (Step S213) The selection data storage unit 113 acquires the next tag detected in step S207 and attribute information corresponding to the next tag, and stores these data in association with the next candidate data selected in step S211. Stored in the unit 104. Then, the process returns to step S206. The next candidate data to be accumulated corresponds to the input data accumulated in step S205. The selection data storage unit 113 acquires attribute information corresponding to the tags constituting the created tag pattern from the appearance pattern information including the created tag pattern used when the next tag detecting unit 108 detects the next tag. The attribute information stored in association with the tag in the created data storage unit 104 may be updated using the acquired attribute information.

(ステップS214)データ編集装置1は、タグを更新する処理を行う。なお、この処理の詳細については後述する。   (Step S214) The data editing apparatus 1 performs a process of updating the tag. Details of this process will be described later.

(ステップS215)次タグ検出部108は、ステップS214においてタグが更新されたか否かを判断する。更新された場合、更新された作成タグパターンで次タグ検出を行うため、ステップS207に戻り、更新されていない場合、ステップS201に戻る。   (Step S215) The next tag detection unit 108 determines whether or not the tag has been updated in step S214. If it has been updated, the next tag detection is performed with the updated created tag pattern, so the process returns to step S207. If not, the process returns to step S201.

(ステップS216)入力受付部101は、ステップS210において出力された次候補データの選択を行わない指示を受け付けたか否かを判断する。なお、入力受付部101は、次の入力データの受け付けが行われた場合に、選択を行わない指示の入力を受け付けたと判断するようにしても良い。受け付けた場合、ステップS201に戻り、受け付けていない場合、ステップS211に戻る。   (Step S216) The input receiving unit 101 determines whether an instruction not to select the next candidate data output in step S210 has been received. Note that the input receiving unit 101 may determine that an input of an instruction not to perform selection is received when the next input data is received. If accepted, the process returns to step S201. If not accepted, the process returns to step S211.

なお、図2のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。   In the flowchart of FIG. 2, the process is terminated by powering off or a process termination interrupt.

次に、図3のフローチャートを用いて、図2において説明したステップS203の対応タグを取得する処理の詳細について説明する。   Next, details of the process of acquiring the corresponding tag in step S203 described in FIG. 2 will be described using the flowchart in FIG.

(ステップS301)対応タグ取得部103は、入力データがタグの付与対象となるデータであるか否かを判断する。例えば、入力データがテキストデータである場合、予め指定されたタグの付与対象を指定するための、スペース記号や、アンダーバー記号や、コンマ記号等の区切記号(コード)で、終端が区切られたデータであるかを判断し、区切られたデータであれば、タグの付与対象と判断しても良い。また、入力データの長さが、所定の長さ以上であるか否かを判断し、所定の長さ以上であれば、タグの付与対象であると判断しても良い。また、入力データが、画像データであるか否か等を判断し、画像データであれば、タグの付与対象であると判断しても良い。なお、付与対象のデータであるか否かの判断は、タグ付けがまだ行われていない入力データについて行う。付与対象となるデータである場合、ステップS302に進み、付与対象となるデータでなければ、上位の処理にリターンする。   (Step S301) The corresponding tag acquisition unit 103 determines whether or not the input data is data to be tagged. For example, when the input data is text data, the data is terminated at the end by a delimiter (code) such as a space symbol, underbar symbol, or comma symbol to specify the tag assignment target specified in advance. If it is delimited data, it may be determined as a tag addition target. Further, it may be determined whether or not the length of the input data is equal to or longer than a predetermined length. Further, it is determined whether or not the input data is image data. If the input data is image data, it may be determined that the input data is a tag addition target. Note that whether or not the data is to be assigned is determined for input data that has not yet been tagged. If it is the data to be given, the process proceeds to step S302, and if it is not the data to be given, the process returns to the upper process.

(ステップS302)対応タグ取得部103は、カウンターnの値に1を代入する。   (Step S302) The corresponding tag acquisition unit 103 substitutes 1 for the value of the counter n.

(ステップS303)対応タグ取得部103は、n番目の指定情報を、対応タグ格納部102から読み出す。   (Step S <b> 303) The corresponding tag acquisition unit 103 reads the nth designation information from the corresponding tag storage unit 102.

(ステップS304)対応タグ取得部103は、入力受付部101が受け付けた入力データが、ステップS303において読み出したn番目の指定情報が指定するデータであるか否かを判断する。指定するデータである場合、ステップS305に進み、指定するデータでない場合、ステップS306に進む。   (Step S304) The corresponding tag acquisition unit 103 determines whether or not the input data received by the input receiving unit 101 is data specified by the nth specification information read in step S303. If it is designated data, the process proceeds to step S305, and if not designated data, the process proceeds to step S306.

(ステップS305)対応タグ取得部103は、対応タグ格納部102から、n番目の指定情報に対応付けられたタグおよび属性情報を取得する。なお、指定情報に対応付けられたタグが複数存在する場合において、タグにタグ優先度情報が対応付けられている場合、タグ優先度情報が示す優先度の最も高いタグを取得するようにしても良い。そして、上位の処理にリターンする。   (Step S305) The correspondence tag acquisition unit 103 acquires the tag and attribute information associated with the nth designation information from the correspondence tag storage unit 102. When there are a plurality of tags associated with the designation information and the tag priority information is associated with the tag, the tag with the highest priority indicated by the tag priority information may be acquired. good. Then, the process returns to the upper process.

(ステップS306)対応タグ取得部103は、カウンターnの値を1インクリメントする。   (Step S306) The corresponding tag acquisition unit 103 increments the value of the counter n by 1.

(ステップS307)対応タグ取得部103は、対応タグ格納部102にn番目の指定情報が格納されているか否かを判断する。格納されている場合、ステップS303に戻り、格納されていない場合、上位の処理にリターンする。   (Step S307) The corresponding tag acquisition unit 103 determines whether or not the nth designation information is stored in the corresponding tag storage unit 102. If it is stored, the process returns to step S303, and if it is not stored, the process returns to the upper process.

なお、図3のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。   In the flowchart of FIG. 3, the process ends when the power is turned off or the process is terminated.

次に、図4のフローチャートを用いて、図2において説明したステップS207の次タグを検出する処理の詳細について説明する。   Next, details of the processing for detecting the next tag in step S207 described in FIG. 2 will be described using the flowchart of FIG.

(ステップS401)次タグ検出部108は、カウンターkに1を代入する。   (Step S401) The next tag detection unit 108 substitutes 1 for the counter k.

(ステップS402)次タグ検出部108は、対応する優先度情報が示す優先度の高さがk番目である出現パターン情報を、出現パターン情報格納部107から取得する。   (Step S <b> 402) The next tag detection unit 108 acquires the appearance pattern information whose priority level indicated by the corresponding priority information is k-th from the appearance pattern information storage unit 107.

(ステップS403)次タグ検出部108は、作成データ格納部104に格納されている入力データに対応付けられたタグの出現パターン、即ち作成タグパターンが、ステップS402において取得したk番目の出現パターン情報が示すタグの出現パターンに含まれるか否かを判断する。例えば、タグ同士を前方一致で比較していくことで判断を行う。即ち、入力データに対応付けられたタグの出現パターンが蓄積順に「タグA,タグB,タグC」であり、出現パターン情報に含まれるタグの出現パターンが出現順に「タグ1,タグ2,タグ3、タグ4」であったとすると、「タグ1」が「タグA」に、「タグ2」が「タグB」に、「タグ3」が「タグC」にそれぞれ一致していると判断されている場合、入力データに対応付けられたタグの出現パターンが、k番目の出現パターン情報が示すタグの出現パターンに含まれると判断される。具体的には、作成データ格納部104に格納されている入力データに対応付けられたタグを蓄積順に順次読み出し、k番目の出現パターン情報が示すタグの出現パターンから出現順に順次読み出したタグと比較していく。そして、入力データに対応付けられた全てのタグが、一致していると判断された場合、作成データ格納部104に格納されている入力データに対応付けられたタグの出現パターンが、ステップS402において取得したk番目の出現パターン情報が示すタグの出現パターンに含まれていると判断する。また、一つでも一致しないタグが検出された時点で、入力データに対応付けられたタグの出現パターンが、k番目の出現パターン情報が示すタグの出現パターンに含まれていないと判断する。含まれていると判断された場合、ステップS404に進み、含まれていないと判断された場合、ステップS407に進む。   (Step S403) The next tag detection unit 108 obtains the kth appearance pattern information obtained in step S402 by the appearance pattern of the tag associated with the input data stored in the creation data storage unit 104, that is, the creation tag pattern. It is determined whether or not it is included in the appearance pattern of the tag indicated by. For example, the determination is made by comparing the tags with a forward match. That is, the appearance pattern of the tag associated with the input data is “tag A, tag B, tag C” in the order of accumulation, and the appearance pattern of the tag included in the appearance pattern information is “tag 1, tag 2, tag 3 and tag 4 ”, it is determined that“ tag 1 ”matches“ tag A ”,“ tag 2 ”matches“ tag B ”, and“ tag 3 ”matches“ tag C ”. In the case, the appearance pattern of the tag associated with the input data is determined to be included in the appearance pattern of the tag indicated by the kth appearance pattern information. Specifically, the tags associated with the input data stored in the created data storage unit 104 are sequentially read out in the order of accumulation, and compared with the tags sequentially read out in the order of appearance from the appearance pattern of the tag indicated by the kth appearance pattern information. I will do it. If it is determined that all the tags associated with the input data match, the appearance pattern of the tags associated with the input data stored in the created data storage unit 104 is determined in step S402. It is determined that it is included in the appearance pattern of the tag indicated by the acquired kth appearance pattern information. Further, when at least one tag that does not match is detected, it is determined that the appearance pattern of the tag associated with the input data is not included in the appearance pattern of the tag indicated by the kth appearance pattern information. If it is determined that it is included, the process proceeds to step S404. If it is determined that it is not included, the process proceeds to step S407.

(ステップS404)次タグ検出部108は、k番目の出現パターン情報が示す出現パターンに、次タグが含まれているか否かを判断する。具体的には、次タグ検出部108は、作成タグパターンと一致するタグまたはタグ群の次に位置するタグが、k番目の出現パターン情報が示すタグの出現パターンに存在しているか否かを判断する。出現パターン情報が示すタグの出現パターンのうちの、作成タグパターンと一致するタグの次に位置するタグが次タグである。次タグが含まれている場合、ステップS405に進み、含まれていない場合、ステップS407に進む。   (Step S404) The next tag detection unit 108 determines whether or not the next tag is included in the appearance pattern indicated by the kth appearance pattern information. Specifically, the next tag detection unit 108 determines whether or not a tag that matches the created tag pattern or a tag that is positioned next to the tag group exists in the appearance pattern of the tag indicated by the kth appearance pattern information. to decide. Of the appearance patterns of the tags indicated by the appearance pattern information, the tag positioned next to the tag that matches the created tag pattern is the next tag. If the next tag is included, the process proceeds to step S405. If not included, the process proceeds to step S407.

(ステップS405)次候補データ取得部110は、k番目の出現パターン情報が示すタグの出現パターンから、次タグを取得する。   (Step S405) The next candidate data acquisition unit 110 acquires the next tag from the appearance pattern of the tag indicated by the kth appearance pattern information.

(ステップS406)優先度変更部115は、出現パターン情報に対応付けられた優先度情報を更新する。例えば、k番目の出現パターン情報に対応付けられた優先度情報を、優先度が高くなるよう変更する。なお、他の出現パターン情報に対応付けられた優先度情報を、優先度が低くなるように変更しても良い。そして、上位の処理に戻る。   (Step S406) The priority changing unit 115 updates the priority information associated with the appearance pattern information. For example, the priority information associated with the kth appearance pattern information is changed so as to increase the priority. In addition, you may change the priority information matched with other appearance pattern information so that a priority may become low. Then, the process returns to the upper process.

(ステップS407)次候補データ取得部110は、カウンターkの値を1インクリメントする。   (Step S407) The next candidate data acquisition unit 110 increments the value of the counter k by 1.

(ステップS408)次候補データ取得部110は、k番目の出現パターン情報が出現パターン情報格納部107に格納されているか否かを判断する。格納されている場合、ステップS402に戻り、格納されていない場合、上位の処理にリターンする。   (Step S <b> 408) The next candidate data acquisition unit 110 determines whether or not the kth appearance pattern information is stored in the appearance pattern information storage unit 107. If it is stored, the process returns to step S402, and if it is not stored, the process returns to the upper process.

なお、図4のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。   In the flowchart of FIG. 4, the process ends when the power is turned off or the process ends.

次に、図5のフローチャートを用いて、図2において説明したステップS214のタグを更新する処理の詳細について説明する。   Next, details of the process of updating the tag in step S214 described in FIG. 2 will be described using the flowchart of FIG.

(ステップS500)出現パターン判断部116は、カウンターrに1を代入する。   (Step S500) The appearance pattern determination unit 116 substitutes 1 for a counter r.

(ステップS501)出現パターン判断部116は、r番目の出現パターン情報を、出現パターン情報格納部107から読み出す。   (Step S <b> 501) The appearance pattern determination unit 116 reads the r-th appearance pattern information from the appearance pattern information storage unit 107.

(ステップS502)出現パターン判断部116は、r番目の出現パターン情報が示すタグの出現パターンが、作成タグパターンを含むか否かを判断する。なお、この処理は、上述したステップS403の処理と同様の処理であるので詳細な説明は省略する。含む場合、上位の処理にリターンする。含まない場合、ステップS503に進む。   (Step S502) The appearance pattern determination unit 116 determines whether or not the appearance pattern of the tag indicated by the r-th appearance pattern information includes a created tag pattern. Since this process is the same as the process in step S403 described above, detailed description thereof is omitted. If so, the process returns to the upper process. If not included, the process proceeds to step S503.

(ステップS503)出現パターン判断部116は、カウンターrの値を1インクリメントする。   (Step S503) The appearance pattern determination unit 116 increments the value of the counter r by 1.

(ステップS504)出現パターン判断部116は、r番目の出現パターン情報が、出現パターン情報格納部107にあるか否かを判断する。ある場合、ステップS501に戻り、ない場合、ステップS505に進む。   (Step S504) The appearance pattern determination unit 116 determines whether or not the r-th appearance pattern information is in the appearance pattern information storage unit 107. If there is, the process returns to step S501. If not, the process proceeds to step S505.

(ステップS505)付与タグ検出部117は、カウンターpに1を代入する。   (Step S505) The assigned tag detection unit 117 assigns 1 to the counter p.

(ステップS506)付与タグ検出部117は、対応する優先度情報が示す優先度の高さがp番目である出現パターン情報を、出現パターン情報格納部107から取得する。   (Step S506) The assigned tag detection unit 117 acquires appearance pattern information whose priority level indicated by the corresponding priority information is p-th from the appearance pattern information storage unit 107.

(ステップS507)出現パターン判断部116は、p番目の出現パターン情報が示すタグの出現パターンを構成するタグ数が、作成タグパターンのタグ数以上か否かを判断する。作成タグパターンのタグ数以上である場合、ステップS508に進み、作成タグパターンのタグ数未満の場合、ステップS518に進む。   (Step S507) The appearance pattern determination unit 116 determines whether the number of tags constituting the appearance pattern of the tag indicated by the p-th appearance pattern information is equal to or greater than the number of tags of the created tag pattern. If it is equal to or greater than the number of tags of the created tag pattern, the process proceeds to step S508, and if it is less than the number of tags of the created tag pattern, the process proceeds to step S518.

(ステップS508)付与タグ検出部117は、カウンターqに1を代入する。   (Step S508) The assigned tag detection unit 117 assigns 1 to the counter q.

(ステップS509)付与タグ検出部117は、p番目の出現パターン情報が示すタグの出現パターンから、q番目に出現するタグを取得する。   (Step S509) The assigned tag detection unit 117 acquires the qth appearing tag from the appearance pattern of the tag indicated by the pth appearance pattern information.

(ステップS510)付与タグ検出部117は、q番目のタグに対応する指定情報を対応タグ格納部102から読み出す。   (Step S510) The assigned tag detection unit 117 reads designation information corresponding to the q-th tag from the corresponding tag storage unit 102.

(ステップS511)付与タグ検出部117は、作成データ格納部104に格納されている入力データのq番目のタグが付与されたデータ、即ち作成タグパターンのq番目のタグが付与されたデータが、ステップS510において取得した指定情報が指定するデータであるか否かを判断する。指定するデータである場合、ステップS512に進み、指定するデータでない場合、ステップS518に進む。   (Step S511) The assigned tag detection unit 117 receives the data to which the qth tag of the input data stored in the created data storage unit 104 is given, that is, the data to which the qth tag of the created tag pattern is given. It is determined whether or not the designation information acquired in step S510 is designated data. If it is designated data, the process proceeds to step S512, and if not designated data, the process proceeds to step S518.

(ステップS512)付与タグ検出部117は、カウンターqを1インクリメントする。   (Step S512) The assigned tag detection unit 117 increments the counter q by 1.

(ステップS513)付与タグ検出部117は、作成データ格納部104に格納されている入力データにq番目のタグが付与されたデータがあるか否かを判断する。なお、q番目のタグがあるか否かを判断しても良い。ある場合、ステップS509に戻り、ない場合、ステップS514に進む。   (Step S513) The assigned tag detection unit 117 determines whether there is data to which the qth tag is added to the input data stored in the created data storage unit 104. It may be determined whether there is a q-th tag. If there is, the process returns to step S509, and if not, the process proceeds to step S514.

(ステップS514)タグ更新部118は、p番目の出現パターン情報を取得する。   (Step S514) The tag update unit 118 acquires p-th appearance pattern information.

(ステップS515)タグ更新部118は、ステップS514において取得した出現パターン情報を用いて、作成タグパターンのタグを更新する。このとき作成タグパターンのタグに対応付けられている属性情報も、出現パターン情報が示すタグの出現パターンに対応付けられている属性情報を用いて更新する。   (Step S515) The tag update unit 118 updates the tag of the created tag pattern using the appearance pattern information acquired in step S514. At this time, the attribute information associated with the tag of the created tag pattern is also updated using the attribute information associated with the appearance pattern of the tag indicated by the appearance pattern information.

(ステップS516)優先度変更部115は、出現パターン情報に対応付けられた優先度情報を、p番目の出現パターン情報の優先度が高くなるよう変更する。   (Step S516) The priority changing unit 115 changes the priority information associated with the appearance pattern information so that the priority of the p-th appearance pattern information becomes higher.

(ステップS517)タグ優先度変更部120は、ステップS515において変更されたタグに対応付けられたタグ優先度情報を、当該タグの優先度が高くなるよう変更する。そして、上位の処理にリターンする。   (Step S517) The tag priority changing unit 120 changes the tag priority information associated with the tag changed in step S515 so that the priority of the tag becomes higher. Then, the process returns to the upper process.

(ステップS518)付与タグ検出部117は、カウンターpを1インクリメントする。   (Step S518) The assigned tag detection unit 117 increments the counter p by 1.

(ステップS515)付与タグ検出部117は、出現パターン情報格納部107にp番目の出現パターン情報があるか否かを判断する。ある場合、ステップS507に戻り、ない場合、ステップS520に進む。   (Step S515) The assigned tag detection unit 117 determines whether or not the appearance pattern information storage unit 107 has the p-th occurrence pattern information. If there is, the process returns to step S507, and if not, the process proceeds to step S520.

(ステップS520)出現パターン情報蓄積部114は、入力データのタグの出現パターン、即ち作成タグパターンを示す出現パターン情報を作成し、出現パターン情報格納部107に蓄積する。そして、上位の処理にリターンする。   (Step S520) The appearance pattern information accumulation unit 114 creates appearance pattern information indicating the appearance pattern of the tag of the input data, that is, the created tag pattern, and accumulates it in the appearance pattern information storage unit 107. Then, the process returns to the upper process.

なお、図5のフローチャートにおいて、電源オフや処理終了の割り込みにより処理は終了する。   In the flowchart of FIG. 5, the process ends when the power is turned off or the process ends.

以下、本実施の形態におけるデータ編集装置1の具体的な動作について説明する。ここでは、データ編集装置1がDTP装置である場合を例に挙げて説明するが、データ編集装置1は、他の装置であっても良い。   Hereinafter, a specific operation of the data editing apparatus 1 in the present embodiment will be described. Here, a case where the data editing apparatus 1 is a DTP apparatus will be described as an example, but the data editing apparatus 1 may be another apparatus.

図6は、データ編集装置1の表示例を示す図である。データ編集装置1の表示画面には、文字や画像の入力データを入力可能な複数のフレームが設けられているものとする。   FIG. 6 is a diagram illustrating a display example of the data editing apparatus 1. It is assumed that the display screen of the data editing apparatus 1 is provided with a plurality of frames capable of inputting character or image input data.

まず、ユーザがキーボード等を操作して、一のフレーム内に「AAA商事株式会社」という文字列を入力し、さらに「,」(コンマ)記号を入力したとすると、入力受付部101は、これらの文字列により構成される入力データの入力を受け付ける。   First, if the user operates a keyboard or the like to input a character string “AAA Shoji Co., Ltd.” in one frame and further inputs a “,” (comma) symbol, the input receiving unit 101 The input of input data composed of the character string is accepted.

対応タグ取得部103には、予め、「,」記号やリターン記号等の区切記号で区切られた入力データを、一のタグが付与される対象となる入力データとして判断するよう指定されているものとし、この指定に基づいて、「AAA商事株式会社」という入力データを取得する。   The corresponding tag acquisition unit 103 is designated in advance to determine input data delimited by a delimiter such as a “,” symbol or a return symbol as input data to which one tag is assigned. Based on this designation, input data “AAA Shoji Co., Ltd.” is acquired.

次に、対応タグ取得部103は、対応タグ格納部102に格納されている指定情報を順次取得し、「AAA商事株式会社」という入力データが、取得した指定情報が示す情報であるか否かを判断する。   Next, the corresponding tag acquisition unit 103 sequentially acquires the designation information stored in the correspondence tag storage unit 102, and whether or not the input data “AAA Shoji Co., Ltd.” is information indicated by the obtained designation information. Judging.

図7は、対応タグ格納部102に格納されている指定情報とタグとを管理する対応タグ管理表である。対応タグ管理表は、「指定情報」と、「タグ」と、「タグ優先度」と、「属性情報」という項目を有している。「指定情報」は入力データを指定するための情報である。例えば、「"数字"/"数字"」という指定情報において、"数字"は任意の数字を指しており、この指定情報は、任意の数字と、「/」という文字と、任意の数字との順番に配列された文字列により構成される入力データを指定する指定情報である。また、「"文字列"株式会社」という指定情報は、任意の文字列と、「株式会社」という文字とにより構成される入力データを指定する指定情報である。「タグ」は入力データに付与されるタグのタグ名であり、同じレコードの指定情報とタグ名が示すタグとは対応付けられているものとする。「タグ優先度」は、タグに対応付けられたタグ優先度情報であり、ここでは、値が大きいものが優先度が高いことを示している。「属性情報」は、タグに付与される属性情報である。   FIG. 7 is a correspondence tag management table for managing the designation information and tags stored in the correspondence tag storage unit 102. The corresponding tag management table has items of “designated information”, “tag”, “tag priority”, and “attribute information”. “Designation information” is information for designating input data. For example, in the designation information ““ number ”/“ number ””, “number” indicates an arbitrary number, and this designation information includes an arbitrary number, a character “/”, and an arbitrary number. This is designation information for designating input data composed of character strings arranged in order. The designation information ““ character string ”corporation” is designation information that designates input data composed of an arbitrary character string and the letters “corporation”. “Tag” is a tag name of a tag given to input data, and it is assumed that the designation information of the same record is associated with the tag indicated by the tag name. “Tag priority” is tag priority information associated with a tag, and here, a larger value indicates a higher priority. “Attribute information” is attribute information given to a tag.

対応タグ取得部103は、まず、図7に示すような対応タグ管理表で管理されている指定情報のうちの、一つめの指定情報である「"数字"/"数字"」という指定情報を取得する。そして、入力データである「AAA商事株式会社」という文字列が、一つめの指定情報が指定するデータであるか否かを判断する。ここでは、「AAA株式会社」の前方の文字列が数字でないため、入力データは、この一つめの指定情報が示す条件に合致せず、一つめの指定情報が指定するデータではないと判断される。   First, the corresponding tag acquisition unit 103 receives the designation information “number” / “number”, which is the first designation information among the designation information managed in the correspondence tag management table as shown in FIG. get. Then, it is determined whether or not the character string “AAA Shoji Co., Ltd.” that is input data is data designated by the first designation information. Here, since the character string in front of “AAA Corporation” is not a number, it is determined that the input data does not match the condition indicated by the first designation information and is not the data designated by the first designation information. The

次に、対応タグ取得部103は、二つめの指定情報である「"文字列"株式会社」を取得する。そして、入力データである「AAA商事株式会社」という文字列が、二つめの指定情報が指定するデータであるか否かを判断する。ここでは、入力データは、末尾の文字列が指定情報が示す「株式会社」と一致し、更に、残りの前方の部分は文字列のデータであるため、入力データが当該二つめの指定情報が示す条件に合致しており、入力データ「AAA商事株式会社」は、二つめの指定情報が指定するデータであると判断される。   Next, the corresponding tag acquisition unit 103 acquires ““ character string ”corporation” which is the second designation information. Then, it is determined whether or not the character string “AAA Shoji Co., Ltd.” as input data is data designated by the second designation information. Here, since the input data matches the “company” indicated by the designation information in the last character string, and the remaining front part is character string data, the input data is the second designation information. The input data “AAA Shoji Co., Ltd.” is determined to be data designated by the second designation information.

このため、対応タグ取得部103は、二つめの指定情報である「"文字列"株式会社」に対応したタグのうちの、タグ優先度情報の値が最も大きいタグを取得する。ここでは、「日付」のタグ優先度情報の値が「5」であり、他のタグ優先度情報の値よりも大きいため、「日付」というタグを取得する。そして、作成データ蓄積部105は、対応タグ取得部103が取得した「日付」というタグと、このタグに対応付けられた属性情報「クライアント」とを対応タグ格納部102から取得し、入力データ「AAA商事株式会社」と対応付けて、作成データ格納部104に蓄積する。また、作成データ蓄積部105は、対応タグ取得部103が取得した「日付」というタグと、入力データ「AAA商事株式会社」とを対応付けて、次候補データ格納部109に蓄積する。   For this reason, the corresponding tag acquisition unit 103 acquires the tag having the largest tag priority information value among the tags corresponding to the second designation information ““ character string ”corporation”. Here, since the tag priority information value of “date” is “5”, which is larger than the values of other tag priority information, the tag “date” is acquired. Then, the creation data storage unit 105 acquires the tag “date” acquired by the corresponding tag acquisition unit 103 and the attribute information “client” associated with the tag from the corresponding tag storage unit 102, and inputs the input data “ It is stored in the created data storage unit 104 in association with “AAA Shoji Co., Ltd.”. Further, the creation data storage unit 105 stores the tag “date” acquired by the corresponding tag acquisition unit 103 in association with the input data “AAA Shoji Co., Ltd.” in the next candidate data storage unit 109.

図8は、作成データ格納部104に蓄積された入力データとタグとを管理する作成データ管理表である。作成データ管理表は、「タグパターンID」、「入力データ」、「タグ」、「属性情報」という項目を有している。「タグパターンID」は、一連のタグが付与される入力データを識別するための識別情報である。例えば、同じパターンIDと対応付けられたタグの出現パターンが、一の作成タグパターンである。例えば、同じパターンIDと対応付けられた入力データを、入力データの一つのレコードと考えても良い。「入力データ」は入力データ、「タグ」は、入力データに付与されたタグであり、ここでは、タグは、入力順に上から順番に配列されているものとする。「属性情報」は、タグに対応付けられた属性情報である。   FIG. 8 is a creation data management table for managing input data and tags accumulated in the creation data storage unit 104. The created data management table has items of “tag pattern ID”, “input data”, “tag”, and “attribute information”. “Tag pattern ID” is identification information for identifying input data to which a series of tags are assigned. For example, an appearance pattern of tags associated with the same pattern ID is one created tag pattern. For example, input data associated with the same pattern ID may be considered as one record of input data. “Input data” is input data, and “tag” is a tag assigned to the input data. Here, the tags are arranged in order of input from the top. “Attribute information” is attribute information associated with a tag.

図9は、データ出力部106による入力データの表示例を示す図である。データ出力部106は、作成データ格納部104に格納されているデータのうちの、入力データを表示する。   FIG. 9 is a diagram illustrating a display example of input data by the data output unit 106. The data output unit 106 displays input data among the data stored in the created data storage unit 104.

図10は、出現パターン情報格納部107に格納されている出現パターン情報を管理する出現パターン情報管理表である。出現パターン情報管理表は、「出現パターンID」、「タグ」、「属性情報」、「優先度情報」という項目を有している。「出現パターンID」は、出現パターン情報を識別するための識別情報である。同一の出現パターンIDと対応付けられたタグは、一の出現パターン情報が示すタグの出現パターンを構成するタグである。ここでは、タグの上からの順番が、タグの出現順番を示しているものとする。「タグ」は、出現順番に沿って上から配置されたタグ、「属性情報」は、タグに対応付けられた属性情報、「優先度情報」は、出現パターン情報と対応付けられた優先度情報であり、ここでは、値が大きいものほど優先度が高いことを示している。   FIG. 10 is an appearance pattern information management table for managing the appearance pattern information stored in the appearance pattern information storage unit 107. The appearance pattern information management table has items of “appearance pattern ID”, “tag”, “attribute information”, and “priority information”. “Appearance pattern ID” is identification information for identifying appearance pattern information. The tags associated with the same appearance pattern ID are tags that constitute the appearance pattern of the tag indicated by the one appearance pattern information. Here, it is assumed that the order from the top of the tag indicates the order of appearance of the tag. “Tag” is a tag arranged from the top in the order of appearance, “Attribute information” is attribute information associated with the tag, and “Priority information” is priority information associated with the appearance pattern information Here, the higher the value, the higher the priority.

次に、次タグ検出部108は、出現パターン情報格納部107に格納されている出現パターン情報のうちの、対応する優先度情報が示す優先度の値が最も大きい出現パターン情報を取得する。ここでは、「出現パターンID」が「001」である出現パターン情報を取得する。そして、取得した出現パターン情報が示すタグの出現パターンが、図8に示した作成データ格納部104に格納されている入力データのタグの出現パターン、即ち作成タグパターンを含んでいるか否かを判断する。ここでは、「出現パターンID」が「001」である出現パターン情報が示すタグの出現パターンは、「会社名、日付、担当者」であり、この出現パターンの先頭のタグ「会社名」が、作成データ格納部104から取得される作成タグパターンの先頭のタグ「会社名」と一致すると判断される。また、作成タグパターンには、次のタグ、即ち先頭から二番目のタグがないため、「出現パターンID」が「001」である出現パターン情報が示すタグの出現パターンは、作成タグパターンを含むと判断される。さらに、出現パターン情報が示すタグには「会社名」の次のタグ「日付」が存在するため、次タグ検出部108は、このタグ「日付」を次タグとして検出する。   Next, the next tag detection unit 108 acquires appearance pattern information having the highest priority value indicated by the corresponding priority information among the appearance pattern information stored in the appearance pattern information storage unit 107. Here, the appearance pattern information whose “appearance pattern ID” is “001” is acquired. Then, it is determined whether the appearance pattern of the tag indicated by the acquired appearance pattern information includes the appearance pattern of the tag of the input data stored in the creation data storage unit 104 shown in FIG. 8, that is, the creation tag pattern. To do. Here, the appearance pattern of the tag indicated by the appearance pattern information whose “occurrence pattern ID” is “001” is “company name, date, person in charge”, and the first tag “company name” of this appearance pattern is It is determined that the first tag “company name” of the created tag pattern acquired from the created data storage unit 104 matches. Further, since the created tag pattern does not have the next tag, that is, the second tag from the top, the appearance pattern of the tag indicated by the appearance pattern information whose “appearance pattern ID” is “001” includes the created tag pattern. It is judged. Further, since the tag indicated by the appearance pattern information includes the tag “date” next to “company name”, the next tag detection unit 108 detects this tag “date” as the next tag.

また、優先度変更部115は、この作成タグパターンを含むと判断された「出現パターンID」が「001」である出現パターン情報に対応付けられた優先度情報の値を更新する。例えば、優先度情報が示す値に予め指定された値の数値、例えば「1」等を加算する。   Further, the priority changing unit 115 updates the value of the priority information associated with the appearance pattern information whose “appearance pattern ID” determined to include the created tag pattern is “001”. For example, a numerical value designated in advance, for example, “1” or the like is added to the value indicated by the priority information.

次に、次候補データ取得部110は、次タグ検出部108が検出した次タグ「日付」を取得し、当該次タグ「日付」に対応した次候補データを、次候補データ格納部109から取得する。   Next, the next candidate data acquisition unit 110 acquires the next tag “date” detected by the next tag detection unit 108 and acquires the next candidate data corresponding to the next tag “date” from the next candidate data storage unit 109. To do.

図11は、次候補データ格納部109に格納されている次候補データを管理する次候補データ管理表を示す図である。次候補データ管理表は、「タグ」、「次候補データ」、および「次候補優先度」という項目を有している。「タグ」は、ここでは、次タグ検出部108が検出した次タグに対応するタグである。「次候補データ」は、次候補データである。   FIG. 11 is a diagram showing a next candidate data management table for managing the next candidate data stored in the next candidate data storage unit 109. The next candidate data management table has items of “tag”, “next candidate data”, and “next candidate priority”. Here, the “tag” is a tag corresponding to the next tag detected by the next tag detection unit 108. “Next candidate data” is next candidate data.

次候補データ取得部110は、次候補データ格納部109に格納されている次候補データのうちの、次タグ検出部108が検出したタグに対応した次候補データのうちの、対応する次候補優先度情報が示す優先度が高い、所定数の次候補データを取得する。所定数は、ここでは、予め「3」に指定されているとすると、次候補データ取得部110は、「日付」というタグに対応付けられた次候補データの中から、優先度が高いものから順に、三つの次候補データを取得する。ここでは、次候補データ取得部110は、図11に示す次候補データ管理表から、「タグ」が「日付」であって、「次候補優先度」が「5」、「4」、「3」である次候補データ「12/1」、「12/2」、「12/3」を取得する。   The next candidate data acquisition unit 110 corresponds to the next candidate priority corresponding to the next candidate data corresponding to the tag detected by the next tag detection unit 108 among the next candidate data stored in the next candidate data storage unit 109. A predetermined number of next candidate data having a high priority indicated by the degree information is acquired. Here, if the predetermined number is preliminarily designated as “3”, the next candidate data obtaining unit 110 determines that the next candidate data associated with the tag “date” has the highest priority. In order, three next candidate data are acquired. Here, from the next candidate data management table shown in FIG. 11, the next candidate data acquisition unit 110 has “tag” as “date” and “next candidate priority” as “5”, “4”, “3”. Next candidate data “12/1”, “12/2”, and “12/3” are acquired.

入力候補出力部111は、次候補データ取得部110が取得した次候補データ「12/1」、「12/2」、「12/3」を用いて、これらのいずれかを選択可能なリスト状のメニューを構成し、先にモニタに表示されている「AAA株式会社」という文字列の後ろのカーソルの位置に、ドロップダウンメニューとして表示する。   The input candidate output unit 111 uses the next candidate data “12/1”, “12/2”, and “12/3” acquired by the next candidate data acquiring unit 110 to select either of these list forms. And is displayed as a drop-down menu at the position of the cursor after the character string “AAA Corporation” previously displayed on the monitor.

図12は、ドロップダウンメニューの表示例を示す図である。   FIG. 12 is a diagram illustrating a display example of a drop-down menu.

ここで、ユーザがキーボード等を操作して、ドロップダウンメニューのメニュー項目の一つ、例えば「12/3」を選択する指示を入力すると、選択受付部112は、このメニュー項目の次候補データである「12/3」の選択を受け付ける。   Here, when the user operates the keyboard or the like and inputs an instruction to select one of the menu items of the drop-down menu, for example, “12/3”, the selection receiving unit 112 uses the next candidate data of this menu item. A selection of “12/3” is accepted.

選択データ蓄積部113は、選択された次候補データに、次タグ「日付」を付与して、作成データ格納部104に蓄積する。このとき、出現パターンIDが「001」である出現パターン情報から、次タグ「日付」に対応付けられた属性情報を取得し、次タグと対応付けて蓄積するが、ここでは、属性情報がないため、蓄積しない。また、既に作成データ格納部104に格納されている入力データの作成タグパターンを構成するタグに対応する属性情報を、出現パターンIDが「001」である出現パターン情報から取得し、この属性情報で、作成データ格納部104に格納されている入力データに対応付けられているタグの属性情報を更新する。ここでは、作成タグパターンを構成するタグは、次タグが蓄積されるまでは、図8に示すように、「会社名」だけであるため、このタグ「会社名」に対応する属性情報「クライアント」を出現パターンIDが「001」である出現パターン情報から取得する。しかしながら、この属性情報は、作成データ格納部104に格納されている「会社名」のタグに対応付けられた属性情報と同じであるため、ここでは、属性情報の書き換えは行われない。   The selection data accumulation unit 113 adds the next tag “date” to the selected next candidate data and accumulates it in the creation data storage unit 104. At this time, the attribute information associated with the next tag “date” is acquired from the appearance pattern information whose appearance pattern ID is “001” and stored in association with the next tag. Here, there is no attribute information. Therefore, do not accumulate. Further, the attribute information corresponding to the tags constituting the creation tag pattern of the input data already stored in the creation data storage unit 104 is acquired from the appearance pattern information whose appearance pattern ID is “001”. The tag attribute information associated with the input data stored in the created data storage unit 104 is updated. Here, since the tag constituting the created tag pattern is only “company name” as shown in FIG. 8 until the next tag is accumulated, attribute information “client” corresponding to this tag “company name” is used. "From the appearance pattern information whose appearance pattern ID is" 001 ". However, since the attribute information is the same as the attribute information associated with the “company name” tag stored in the created data storage unit 104, the attribute information is not rewritten here.

図13は、次タグに対応した次候補データ「12/3」が入力データとして蓄積された場合の作成データ管理表を示す図である。蓄積された入力データは、既に蓄積されている入力データの一連のデータとして、即ち、入力データと同じレコードを構成する入力データとして、扱うことができるよう、同じタグパターンIDが付与される。   FIG. 13 is a diagram showing a created data management table when the next candidate data “12/3” corresponding to the next tag is accumulated as input data. The same tag pattern ID is assigned so that the accumulated input data can be handled as a series of data of the already accumulated input data, that is, as input data constituting the same record as the input data.

また、次候補データ「12/3」が選択された時点で、次候補優先度変更部119は、選択された次候補データ「12/3」の次候補優先度情報の値を、予め指定された値である「1」だけ、インクリメントする。これにより選択された次候補データの優先度が高くなる。   Further, when the next candidate data “12/3” is selected, the next candidate priority changing unit 119 specifies the value of the next candidate priority information of the selected next candidate data “12/3” in advance. The value is incremented by “1”. This increases the priority of the selected next candidate data.

なお、次候補データがドロップダウンメニューから選択されず、ユーザが新たな入力データをキーボード等を介して入力した場合、上述したような入力データにタグを付与する処理が行われ、更に、次候補タグを検出し、次候補を選択するメニュー等を表示する処理が繰り返される。   If the next candidate data is not selected from the drop-down menu and the user inputs new input data via a keyboard or the like, the process of adding a tag to the input data as described above is performed. The process of detecting a tag and displaying a menu or the like for selecting the next candidate is repeated.

ここで、例えば、上記のような入力データの入力等の結果、図14に示す作成データ管理表のように、作成データ格納部104に蓄積された入力データが、「AAA株式会社,12/3,山田さん,12/25」となり、それぞれに対応付けられたタグにより構成される作成タグパターンが「会社名,日付,担当者,日付」となったとする。   Here, for example, as a result of the input of the input data as described above, the input data accumulated in the creation data storage unit 104 is “AAA Corporation, 12/3” as in the creation data management table shown in FIG. , Yamada-san, 12/25 ”, and the created tag pattern constituted by the tags associated with each of them is“ company name, date, person in charge, date ”.

次に、次タグ検出部108は、出現パターン情報格納部107に格納されている出現パターン情報のうちの、対応する優先度情報が示す優先度の値が最も大きい「出現パターンID」が「001」である出現パターン情報を取得する。そして、取得した出現パターン情報が示すタグの出現パターンが、図14に示した作成データ格納部104に格納されている入力データのタグの出現パターン、即ち作成タグパターンを含んでいるか否かを判断する。ここでは、「出現パターンID」が「001」である出現パターン情報が示すタグの出現パターンは、「会社名、日付、担当者」であり、作成タグパターンは「会社名,日付,担当者,日付」であるため、作成タグパターンの全てが、出現パターン情報が示すタグの出現パターンと一致しない。このため、この出現パターン情報が示すタグの出現パターンは、作成タグパターンを含まないと判断される。   Next, the next tag detection unit 108 sets the “occurrence pattern ID” having the highest priority value indicated by the corresponding priority information among the appearance pattern information stored in the appearance pattern information storage unit 107 to “001”. Is obtained. Then, it is determined whether the appearance pattern of the tag indicated by the acquired appearance pattern information includes the appearance pattern of the tag of the input data stored in the creation data storage unit 104 shown in FIG. 14, that is, the creation tag pattern. To do. Here, the appearance pattern of the tag indicated by the appearance pattern information whose “appearance pattern ID” is “001” is “company name, date, person in charge”, and the created tag pattern is “company name, date, person in charge, Since all of the created tag patterns do not match the appearance pattern of the tag indicated by the appearance pattern information. For this reason, it is determined that the appearance pattern of the tag indicated by the appearance pattern information does not include the created tag pattern.

このため、次タグ検出部108は、順次、優先度が次に高い出現パターン情報を取得し、取得した出現パターン情報が示すタグの出現パターンが、作成タグパターンの全てを含むか否かを判断する処理を、作成タグパターンの全てを含む出現パターンが検出されるまで行う。検出された場合、検出された出現パターンを示す出現パターン情報から、上記と同様に次タグが検出されるが、ここでは、作成タグパターンの全てを含む出現パターンが検出されなかったとする。あるいは、検出されたが、作成タグパターンと出現パターン情報が示すタグの出現パターンとが完全一致したため次タグが検出されなかったとする。   Therefore, the next tag detection unit 108 sequentially acquires appearance pattern information having the next highest priority, and determines whether or not the appearance pattern of the tag indicated by the acquired appearance pattern information includes all of the created tag patterns. This process is performed until an appearance pattern including all of the created tag patterns is detected. If detected, the next tag is detected from the appearance pattern information indicating the detected appearance pattern in the same manner as described above. Here, it is assumed that an appearance pattern including all of the created tag patterns has not been detected. Alternatively, it is detected that the next tag is not detected because the created tag pattern and the appearance pattern of the tag indicated by the appearance pattern information completely match.

この場合、出現パターン判断部116は、出現パターン情報格納部107に格納されている全ての出現パターン情報の中に、作成タグパターンを含む出現パターンを示す出現パターン情報があるか否かを判断する。この判断処理は、次タグ検出部108と同様に、各出現パターン情報が示すタグの出現パターンを構成するタグと、作成タグパターンが示すタグとを比較していくことにより行われる。なお、次タグ検出部108が、次タグを検出する処理において、作成タグパターンと完全一致するタグの出現パターンを示す出現パターン情報を検出した場合、完全一致する出現パターン情報を検出したことを示す情報を出現パターン判断部116に出力するようにし、出現パターン判断部116は、次タグ検出部108が次タグを検出できなかった場合に、当該情報を取得している場合には、出現パターン情報格納部107に格納されている全ての出現パターン情報が示す全てのタグの出現パターンの中に、作成タグパターンを含む出現パターンがあることを判断するようにし、それ以外の場合は、作成タグパターンを含む出現パターンを示す出現パターン情報がないことを判断してもよい。   In this case, the appearance pattern determination unit 116 determines whether there is appearance pattern information indicating an appearance pattern including the created tag pattern among all the appearance pattern information stored in the appearance pattern information storage unit 107. . Similar to the next tag detection unit 108, this determination process is performed by comparing the tags constituting the appearance pattern of the tag indicated by each appearance pattern information with the tag indicated by the created tag pattern. When the next tag detection unit 108 detects the appearance pattern information indicating the appearance pattern of the tag that completely matches the created tag pattern in the process of detecting the next tag, it indicates that the appearance pattern information that matches completely is detected. The information is output to the appearance pattern determination unit 116. When the next tag detection unit 108 cannot detect the next tag and the information is acquired, the appearance pattern determination unit 116 It is determined that there is an appearance pattern including the created tag pattern among the appearance patterns of all the tags indicated by all the appearance pattern information stored in the storage unit 107. Otherwise, the created tag pattern It may be determined that there is no appearance pattern information indicating an appearance pattern including.

出現パターン判断部116が、出現パターン情報格納部107に格納されている全ての出現パターン情報の中に、作成タグパターンを含む出現パターンを示す出現パターン情報がないと判断した場合、付与タグ検出部117は、図10に示すような出現パターン情報管理表から、優先度情報が示す優先度の高さが最も高い出現パターン情報を取得する。ここでは、まず出現パターンIDが「001」である出現パターン情報を取得する。   When the appearance pattern determination unit 116 determines that there is no appearance pattern information indicating the appearance pattern including the created tag pattern among all the appearance pattern information stored in the appearance pattern information storage unit 107, the given tag detection unit 117 obtains the appearance pattern information having the highest priority indicated by the priority information from the appearance pattern information management table as shown in FIG. Here, first, the appearance pattern information whose appearance pattern ID is “001” is acquired.

次に、出現パターン判断部116は、出現パターン情報が示すタグの出現パターンを構成するタグ数が、作成タグパターンのタグ数以上か否かを判断する。出現パターンIDが「001」の出現パターン情報のタグの出現パターンは、「会社名,日付,担当者」であり、作成タグパターンは、「会社名,日付,担当者,日付」であるため、作成タグパターンの方がタグ数が多い。このため、出現パターン判断部116は、出現パターン情報が示すタグの出現パターンを構成するタグ数が、作成タグパターンのタグ数以上ではないと判断する。このため、出現パターン判断部116は、次に優先度が高い、出現パターンIDが「002」である出現パターン情報を取得する。   Next, the appearance pattern determination unit 116 determines whether or not the number of tags constituting the appearance pattern of the tag indicated by the appearance pattern information is equal to or greater than the number of tags of the created tag pattern. Since the appearance pattern of the appearance pattern information whose appearance pattern ID is “001” is “company name, date, person in charge” and the created tag pattern is “company name, date, person in charge, date”, The created tag pattern has more tags. For this reason, the appearance pattern determination unit 116 determines that the number of tags constituting the appearance pattern of the tag indicated by the appearance pattern information is not greater than or equal to the number of tags of the created tag pattern. Therefore, the appearance pattern determination unit 116 acquires appearance pattern information having the next highest priority and the appearance pattern ID “002”.

出現パターン判断部116は、取得した出現パターン情報が示すタグの出現パターンを構成するタグ数が、作成タグパターンのタグ数以上か否かを判断する。出現パターンIDが「002」の出現パターン情報のタグの出現パターンは、「会社名,問合わせ日,担当者,訪問日」であり、作成タグパターンは、「会社名,日付,担当者,日付」であるため、タグ数は同じである。このため、出現パターン判断部116は、出現パターン情報が示すタグの出現パターンを構成するタグ数が、作成タグパターンのタグ数以上ではあると判断する。   The appearance pattern determination unit 116 determines whether or not the number of tags constituting the appearance pattern of the tag indicated by the acquired appearance pattern information is equal to or greater than the number of tags of the created tag pattern. The appearance pattern of the appearance pattern information with the appearance pattern ID “002” is “company name, inquiry date, person in charge, visit date”, and the created tag pattern is “company name, date, person in charge, date” The number of tags is the same. Therefore, the appearance pattern determination unit 116 determines that the number of tags constituting the appearance pattern of the tag indicated by the appearance pattern information is greater than or equal to the number of tags of the created tag pattern.

次に、出現パターン判断部116は、出現パターンID「002」の出現パターン情報が示すタグの出現パターンの一つめのタグ「会社名」を取得し、対応タグ格納部102から「会社名」というタグに対応する指定情報を読み出す。具体的には、図7に示した対応タグ管理表から「タグ」の値が「会社名」に一致する指定情報を検索する。図7に示した対応タグ管理表に示すように、「タグ」の値が「会社名」に一致する指定情報が、「"文字列"株式会社」と「株式会社"文字列"」との二つであったとする。出現パターン判断部116は、作成タグパターンの一つめのタグに対応する入力データ「AAA株式会社」を作成データ格納部104から読み出す。そして、読み出した入力データ「AAA株式会社」が、指定情報「"文字列"株式会社」または指定情報「株式会社"文字列"」のいずれか一方によりタグが付与可能な入力データとして指定可能なデータであるか否かをパターンマッチング等で判断する。ここでは、入力データ「AAA株式会社」が指定情報「"文字列"株式会社」が指定するデータであると判断されたとする。   Next, the appearance pattern determination unit 116 acquires the first tag “company name” of the appearance pattern of the tag indicated by the appearance pattern information of the appearance pattern ID “002”, and calls it “company name” from the corresponding tag storage unit 102. Read the specified information corresponding to the tag. Specifically, the designation information whose “tag” value matches “company name” is retrieved from the corresponding tag management table shown in FIG. As shown in the corresponding tag management table shown in FIG. 7, the designation information whose “tag” value matches “company name” is “character string” corporation ”and“ corporation “character string” ”. Suppose there are two. The appearance pattern determination unit 116 reads the input data “AAA Corporation” corresponding to the first tag of the created tag pattern from the created data storage unit 104. Then, the read input data “AAA Corporation” can be designated as input data to which a tag can be assigned by either one of the designation information ““ character string ”corporation” or the designation information “corporation“ character string ””. Whether it is data or not is determined by pattern matching or the like. Here, it is assumed that the input data “AAA Corporation” is determined to be data designated by the designation information ““ character string ”corporation”.

次に、出現パターン判断部116は、出現パターンID「002」の出現パターン情報が示すタグの出現パターンの二つめのタグ「問合わせ日」を取得し、対応タグ格納部102から「問合わせ日」というタグに対応する指定情報「"数字"/"数字"」を読み出す。そして、作成タグパターンの二つめのタグに対応する入力データ「12/3」を作成データ格納部104から読み出し、読み出した入力データ「12/3」が、指定情報「"数字"/"数字"」が指定するデータであるか否かをパターンマッチング等で判断する。ここでは、入力データ「12/3」が、指定情報「"数字"/"数字"」が指定するデータであると判断されたとする。   Next, the appearance pattern determination unit 116 acquires the second tag “inquiry date” of the appearance pattern of the tag indicated by the appearance pattern information of the appearance pattern ID “002”, and the “inquiry date” from the corresponding tag storage unit 102. "" Number "/" number "" corresponding to the tag "is read. Then, the input data “12/3” corresponding to the second tag of the created tag pattern is read from the created data storage unit 104, and the read input data “12/3” is designated by the designation information ““ number ”/“ number ”. It is determined by pattern matching or the like whether or not the data is designated by “”. Here, it is assumed that the input data “12/3” is determined to be data designated by the designation information ““ number ”/“ number ””.

また、出現パターン判断部116は、出現パターンID「002」の出現パターン情報が示すタグの出現パターンの三つめのタグについても同様の判断処理を行い、作成タグパターンの三つめのタグに対応する入力データ「山田さん」が、出現パターン情報が示すタグの出現パターンの三つめのタグに対応する指定情報「"文字列"さん」が指定するデータであると判断されたとする。   The appearance pattern determination unit 116 also performs the same determination process for the third tag of the appearance pattern of the tag indicated by the appearance pattern information of the appearance pattern ID “002”, and corresponds to the third tag of the created tag pattern. Assume that the input data “Mr. Yamada” is determined to be data designated by the designation information “Mr.“ character string ”” corresponding to the third tag of the appearance pattern of the tag indicated by the appearance pattern information.

次に、出現パターン判断部116は、出現パターンID「002」の出現パターン情報が示すタグの出現パターンの四つめのタグ「受注日」を取得し、対応タグ格納部102から「問合わせ日」というタグに対応する指定情報「"数字"/"数字"」を読み出す。そして、作成タグパターンの四つめのタグに対応する入力データ「12/25」を作成データ格納部104から読み出し、読み出した入力データ「12/25」が、指定情報「"数字"/"数字"」が指定するデータであるか否かをパターンマッチング等で判断する。ここでは、入力データ「12/25」が、指定情報「"数字"/"数字"」が指定するデータであると判断されたとする。   Next, the appearance pattern determination unit 116 acquires the fourth tag “order received date” of the appearance pattern of the tag indicated by the appearance pattern information of the appearance pattern ID “002”, and “inquiry date” from the corresponding tag storage unit 102. The designation information ““ number ”/“ number ”” corresponding to the tag is read. Then, the input data “12/25” corresponding to the fourth tag of the created tag pattern is read from the created data storage unit 104, and the read input data “12/25” is designated by the designation information “number” / “number”. It is determined by pattern matching or the like whether or not the data is designated by “”. Here, it is assumed that the input data “12/25” is determined to be data designated by the designation information ““ number ”/“ number ””.

そして、五番目のタグが出現パターン情報が示す出現パターンにないため、タグ更新部118は、出現パターンIDが「002」である出現パターン情報が示すタグの出現パターン「会社名,問合わせ日,担当者,訪問日」を取得し、このタグの出現パターンで、作成データ格納部104に格納されている入力データに付与されたタグの出現パターンである作成タグパターン、即ち「会社名,日付,担当者,日付」を上書きする。また、作成タグパターンを構成するタグに対応付けられていた属性情報も、出現パターンIDが「002」である出現パターン情報を構成するタグに対応付けられた属性情報により上書きする。   Since the fifth tag is not present in the appearance pattern indicated by the appearance pattern information, the tag update unit 118 causes the appearance pattern “company name, inquiry date,” indicated by the appearance pattern information whose appearance pattern ID is “002”. "Person in charge, visit date" is acquired, and the tag appearance pattern is a creation tag pattern that is an appearance pattern of tags attached to the input data stored in the creation data storage unit 104, that is, "company name, date, Overwrite Person, Date. Also, the attribute information associated with the tags constituting the created tag pattern is overwritten with the attribute information associated with the tags constituting the appearance pattern information whose appearance pattern ID is “002”.

この結果、図14に示した作成データ管理表は、図15に示すような作成データ管理表となる。つまり、入力データに対応付けられたタグおよび属性情報が適宜変更される。   As a result, the created data management table shown in FIG. 14 becomes a created data management table as shown in FIG. That is, the tag and attribute information associated with the input data are changed as appropriate.

また、優先度変更部115は、出現パターンIDが「002」である出現パターン情報の優先度が高くなるように、出現パターン情報に対応付けられた優先度情報を更新する。例えば、出現パターンIDが「002」である出現パターン情報の優先度情報の値を「1」インクリメントする。   Further, the priority changing unit 115 updates the priority information associated with the appearance pattern information so that the priority of the appearance pattern information whose appearance pattern ID is “002” is high. For example, the priority information value of the appearance pattern information whose appearance pattern ID is “002” is incremented by “1”.

また、タグ優先度変更部120は、タグ更新部118により更新されたタグの優先度が高くなるよう、対応タグ格納部102にタグと対応付けて格納されているタグ優先度情報を変更する。例えば、更新されたタグのタグ優先度情報の値を「1」インクリメントする。なお、ここでの更新されたタグは、タグの更新により、以前のタグとは異なるタグに置き換えられたタグのみと考えても良いし、変化のないタグも含めるようにしても良い。   Further, the tag priority changing unit 120 changes the tag priority information stored in the corresponding tag storage unit 102 in association with the tag so that the priority of the tag updated by the tag updating unit 118 becomes higher. For example, the tag priority information value of the updated tag is incremented by “1”. It should be noted that the updated tag here may be considered as only a tag that has been replaced with a tag different from the previous tag by updating the tag, or a tag that has not changed may be included.

なお、出現パターン判断部116が全ての出現パターン情報について、上記のような処理を行った結果、タグが付与された全ての入力データを順番に指定可能な指定情報を取得可能なタグで構成される出現パターン情報が検出できなかった場合、出現パターン情報蓄積部114は、この作成タグパターンを示す出現パターン情報を新規に構成し、出現パターン情報格納部107に蓄積する。これにより、既存のタグの出現パターンに合致しないデータの出現パターンを、新規のタグの出現パターンとして登録することができる。なお、このとき、優先度情報は、例えば予め指定した値等を付与するようにすればよい。   In addition, as a result of performing the above-described processing on all the appearance pattern information by the appearance pattern determination unit 116, the appearance pattern determination unit 116 is configured with tags that can acquire designation information that can sequentially specify all input data to which tags are assigned. When the appearance pattern information to be detected cannot be detected, the appearance pattern information storage unit 114 newly constructs the appearance pattern information indicating the created tag pattern and stores it in the appearance pattern information storage unit 107. Thus, an appearance pattern of data that does not match an existing tag appearance pattern can be registered as a new tag appearance pattern. At this time, the priority information may be given a value specified in advance, for example.

ここで、図16に示す作成データ管理表のように、作成データ格納部104に蓄積された入力データが、「AAA株式会社,12/3,No:PK078,2個」であり、この入力データのそれぞれに対応付けられたタグにより構成される作成タグパターンが「会社名,日付,商品ID,数量」であったとする。この場合、この作成タグパターンのタグ数は、優先度が一番目に高い出現パターンIDが「001」である出現パターン情報のタグ数よりも多く、また、作成タグパターンの3番目のタグに対応する入力データ「洗濯機PK078」は、優先度が二番目に高い出現パターンIDが「002」である出現パターン情報を構成する三番目のタグ「担当者」から取得した指定情報「"文字列"さん」が指定するデータであると判断されない。   Here, as in the created data management table shown in FIG. 16, the input data accumulated in the created data storage unit 104 is “AAA Corporation, 12/3, No: PK078, 2”. It is assumed that the created tag pattern formed by tags associated with each of the above is “company name, date, product ID, quantity”. In this case, the number of tags of the created tag pattern is larger than the number of tags of the appearance pattern information whose appearance pattern ID having the highest priority is “001”, and corresponds to the third tag of the created tag pattern. The input data “washing machine PK078” to be input is designated information ““ character string ”acquired from the third tag“ person in charge ”constituting the appearance pattern information whose appearance pattern ID having the second highest priority is“ 002 ”. Is not determined to be the data specified by.

このため、出現パターン判断部116は、優先度が三番目に高い出現パターンIDが「003」である出現パターン情報を取得する。   Therefore, the appearance pattern determination unit 116 acquires appearance pattern information whose appearance pattern ID having the third highest priority is “003”.

そして、出現パターン判断部116は、出現パターンID「003」の出現パターン情報が示すタグの出現パターンの一つめのタグ「会社名」を取得し、対応タグ格納部102から「会社名」というタグに対応する指定情報「"文字列"株式会社」または「株式会社"数字"」を読み出す。そして、作成タグパターンの一つめのタグに対応する入力データ「AAA株式会社」を作成データ格納部104から読み出し、読み出した入力データ「AAA株式会社」が、「"文字列"株式会社」または「株式会社"数字"」が指定するデータであるか否かをパターンマッチング等で判断する。ここでは、入力データ「AAA株式会社」が、指定情報「"文字列"株式会社」が指定するデータであると判断されたとする。   Then, the appearance pattern determination unit 116 acquires the first tag “company name” of the appearance pattern of the tag indicated by the appearance pattern information of the appearance pattern ID “003”, and the tag “company name” from the corresponding tag storage unit 102. The specified information ““ character string ”corporation” or “corporation“ number ”” is read out. Then, the input data “AAA Corporation” corresponding to the first tag of the created tag pattern is read from the created data storage unit 104, and the read input data “AAA Corporation” is changed to ““ character string ”corporation” or “ It is determined by pattern matching or the like whether or not the data is “designated” “number”. Here, it is assumed that the input data “AAA Corporation” is determined to be data designated by the designation information ““ character string ”corporation”.

次に、出現パターン判断部116は、出現パターンID「003」の出現パターン情報が示すタグの出現パターンの二つめのタグ「受注日」を取得し、対応タグ格納部102から「受注日」というタグに対応する指定情報「"数字"/"数字"」を読み出す。そして、作成タグパターンの二つめのタグに対応する入力データ「12/3」が、指定情報「"数字"/"数字"」が指定するデータであるか否かを判断する。ここでは、指定するデータであると判断されたとする。   Next, the appearance pattern determination unit 116 acquires the second tag “order date” of the appearance pattern of the tag indicated by the appearance pattern information of the appearance pattern ID “003”, and calls it “order date” from the corresponding tag storage unit 102. Reads the specified information "" number "/" number "" corresponding to the tag. Then, it is determined whether or not the input data “12/3” corresponding to the second tag of the created tag pattern is data designated by the designation information ““ number ”/“ number ””. Here, it is assumed that the data is designated.

次に、出現パターン判断部116は、出現パターンID「003」の出現パターン情報が示すタグの出現パターンの三つめのタグ「商品ID」を取得し、対応タグ格納部102から「商品ID」というタグに対応する指定情報「No:"数字"」を読み出す。そして、作成タグパターンの三つめのタグに対応する入力データ「No:PK078」が、指定情報「No:"数字"」が指定するデータであるか否かを判断する。ここでは、指定するデータであると判断されたとする。   Next, the appearance pattern determination unit 116 acquires the third tag “product ID” of the appearance pattern of the tag indicated by the appearance pattern information of the appearance pattern ID “003”, and calls it “product ID” from the corresponding tag storage unit 102. The designation information “No:“ number ”” corresponding to the tag is read. Then, it is determined whether or not the input data “No: PK078” corresponding to the third tag of the created tag pattern is data designated by the designation information “No:“ number ””. Here, it is assumed that the data is designated.

次に、出現パターン判断部116は、出現パターンID「003」の出現パターン情報が示すタグの出現パターンの四つめのタグ「数量」を取得し、対応タグ格納部102から「数量」というタグに対応する指定情報「"数字"個」を読み出す。そして、作成タグパターンの四つめのタグに対応する入力データ「2個」が、指定情報「"数字"個」が指定するデータであるか否かを判断する。ここでは、指定するデータであると判断されたとする。   Next, the appearance pattern determination unit 116 acquires the fourth tag “quantity” of the appearance pattern of the tag indicated by the appearance pattern information of the appearance pattern ID “003”, and assigns it to the tag “quantity” from the corresponding tag storage unit 102. Read the corresponding specified information "" number "". Then, it is determined whether or not the input data “two” corresponding to the fourth tag of the created tag pattern is data designated by the designation information “number”. Here, it is assumed that the data is designated.

そして、五番目のタグが出現パターン情報が示す出現パターンにないため、タグ更新部118は、出現パターンIDが「003」である出現パターン情報が示すタグの出現パターン「会社名,受注日,商品ID,数量」を取得し、このタグの出現パターンで、作成データ格納部104に格納されている入力データに付与されたタグの出現パターンである作成タグパターン、即ち「会社名,受注日,商品ID,数量」を上書きする。また、作成タグパターンを構成するタグに対応付けられていた属性情報も、出現パターンIDが「003」である出現パターン情報を構成するタグに対応付けられた属性情報により上書きする。更新後の作成データ管理表を図17に示す。また、入力データの表示例を図18に示す。   Since the fifth tag is not in the appearance pattern indicated by the appearance pattern information, the tag update unit 118 causes the appearance pattern “company name, order date, product” indicated by the appearance pattern information whose appearance pattern ID is “003”. "ID, Quantity" is acquired, and with this tag appearance pattern, the created tag pattern that is the appearance pattern of the tag attached to the input data stored in the created data storage unit 104, that is, "company name, order date, product" Overwrite "ID, Quantity". Further, the attribute information associated with the tags constituting the created tag pattern is also overwritten by the attribute information associated with the tags constituting the appearance pattern information whose appearance pattern ID is “003”. FIG. 17 shows the created data management table after the update. A display example of input data is shown in FIG.

その後、例えば、区切記号として、改行記号等の、一連のデータとして扱われる入力データの入力が終了したことを示す記号としても利用可能な記号等の入力等が行われていた場合や、一連のデータとして扱われる入力データの入力が終了したことを示す記号の入力が行われた場合や、上記のような入力データへのタグの付与や、次タグの検出処理やタグの更新処理等が終了する。また、改行記号等の入力後に新たな入力等が開始された時点で、再度上記のような入力データへのタグの付与や、次タグの検出処理やタグの更新処理等を開始する。この場合、入力データには新たな「タグパターンID」が付与される。   After that, for example, when an input of a symbol that can be used also as a symbol indicating that input of input data treated as a series of data, such as a line feed symbol, is completed as a delimiter symbol, or a series of When a symbol indicating that input of input data handled as data has been completed is entered, tag assignment to the input data as described above, detection processing for the next tag, tag update processing, etc. are completed To do. Also, when a new input or the like is started after a line feed symbol or the like is input, the tag addition to the input data, the next tag detection process, the tag update process, and the like are started again. In this case, a new “tag pattern ID” is given to the input data.

なお、例えば、図17に示すようなタグを付与した入力データや出現パターン情報等を、例えば、図19に示すような形式のデータで出力したり管理しても良いことは言うまでもない。   Needless to say, for example, input data or appearance pattern information with tags as shown in FIG. 17 may be output or managed in data in the format as shown in FIG.

以上のように、本発明によれば、入力データに付与されたタグの出現パターンである作成タグパターンを含む出現パターンを示す出現パターン情報から、作成タグパターンの、次に出現するタグである次タグを検出し、予め用意された次候補データから、次タグに対応した次候補データを取得し、当該取得した次候補データを選択できるようにしたことにより、先に入力したデータ等を利用して、タグ付けしたデータの入力や編集を効率化することができる。   As described above, according to the present invention, from the appearance pattern information indicating the appearance pattern including the created tag pattern that is the appearance pattern of the tag attached to the input data, the next tag that appears next to the created tag pattern. By detecting the tag, acquiring the next candidate data corresponding to the next tag from the next candidate data prepared in advance, and selecting the acquired next candidate data, the previously input data is used. Thus, the input and editing of tagged data can be made more efficient.

なお、上記実施の形態において、各処理(各機能)は、単一の装置(システム)によって集中処理されることによって実現されてもよく、あるいは、複数の装置によって分散処理されることによって実現されてもよい。   In the above embodiment, each process (each function) may be realized by centralized processing by a single device (system), or by distributed processing by a plurality of devices. May be.

また、上記実施の形態において、一の装置に存在する2以上の通信手段(情報送信部など)は、物理的に一の媒体で実現されても良いことは言うまでもない。   In the above embodiment, it goes without saying that two or more communication means (such as an information transmission unit) existing in one apparatus may be physically realized by one medium.

また、上記実施の形態において、各構成要素が実行する処理に関係する情報、例えば、各構成要素が受け付けたり、取得したり、選択したり、生成したり、送信したり、受信したりする情報や、各構成要素が処理で用いるしきい値や数式、アドレス等の情報等は、上記説明で明記していない場合であっても、図示しない記録媒体において、一時的に、あるいは長期にわたって保持されていてもよい。また、その図示しない記録媒体への情報の蓄積を、各構成要素、あるいは、図示しない蓄積部が行ってもよい。また、その図示しない記録媒体からの情報の読み出しを、各構成要素、あるいは、図示しない読み出し部が行ってもよい。   In the above embodiment, information related to processing executed by each component, for example, information received, acquired, selected, generated, transmitted, and received by each component. In addition, information such as threshold values, mathematical formulas, addresses, etc. used by each component in processing is retained temporarily or over a long period of time on a recording medium (not shown) even when not explicitly stated in the above description. It may be. Further, the storage of information in the recording medium (not shown) may be performed by each component or a storage unit (not shown). Further, reading of information from the recording medium (not shown) may be performed by each component or a reading unit (not shown).

また、上記実施の形態では、データ編集装置がスタンドアロンである場合について説明したが、データ編集装置は、スタンドアロンの装置であってもよく、サーバ・クライアントシステムにおけるサーバ装置であってもよい。後者の場合には、出力部や受付部は、通信回線を介して入力を受け付けたり、画面を出力したりすることになる。   In the above-described embodiment, the case where the data editing apparatus is a stand-alone has been described. However, the data editing apparatus may be a stand-alone apparatus or a server apparatus in a server / client system. In the latter case, the output unit or the reception unit receives an input or outputs a screen via a communication line.

また、上記実施の形態において、各構成要素は専用のハードウェアにより構成されてもよく、あるいは、ソフトウェアにより実現可能な構成要素については、プログラムを実行することによって実現されてもよい。例えば、ハードディスクや半導体メモリ等の記録媒体に記録されたソフトウェア・プログラムをCPU等のプログラム実行部が読み出して実行することによって、各構成要素が実現され得る。   In the above embodiment, each component may be configured by dedicated hardware, or a component that can be realized by software may be realized by executing a program. For example, each component can be realized by a program execution unit such as a CPU reading and executing a software program recorded on a recording medium such as a hard disk or a semiconductor memory.

なお、上記実施の形態におけるデータ編集装置を実現するソフトウェアは、以下のようなプログラムである。つまり、このプログラムは、コンピュータを、文字または画像の入力データの入力を受け付ける入力受付部と、前記入力受付部の受け付けた入力データが、前記指定情報のいずれかにより指定される入力データである場合に、当該指定情報に対応付けられたタグを、前記入力データを指定する情報である指定情報と、当該指定情報に対応付けられたタグとが格納され得る対応タグ格納部から取得する対応タグ取得部と、前記入力受付部が受け付けた入力データと、前記対応タグ取得部が取得したタグとを対応付けて、前記入力受付部が受け付けた入力データと、当該入力データに対応付けられたタグとが格納され得る作成データ格納部に蓄積する作成データ蓄積部と、前記作成データ格納部に格納された入力データを出力するデータ出力部と、前記作成データ格納部に格納されたタグの出現パターンである作成タグパターンを含むタグの出現パターンを示す情報である出現パターン情報を、当該出現パターン情報が格納され得る出現パターン情報格納部から検出し、当該検出した出現パターン情報が示す出現パターンの中から、前記作成タグパターンの、次に出現するタグである次タグを検出する次タグ検出部と、前記次タグ検出部が検出した次タグに一致するタグと対応付けられた一以上の次候補データを、タグと、当該タグに対応した入力候補となる入力データである次候補データとが、対応付けられて格納され得る次候補データ格納部から取得する次候補データ取得部と、前記次候補データ取得部が取得した一以上の次候補データを、入力データの入力候補として出力する入力候補出力部と、前記入力候補出力部が出力した次候補データのうちの一の入力データの選択を受け付ける選択受付部と、前記選択受付部が選択を受け付けた入力データと、前記次タグ検出部が検出した次タグとを対応付けて前記作成データ格納部に蓄積する選択データ蓄積部として機能させるためのプログラムである。   The software that implements the data editing apparatus in the above embodiment is the following program. That is, in this program, when the computer receives an input receiving unit that receives input of character or image input data, and the input data received by the input receiving unit is input data specified by one of the specified information In addition, the corresponding tag is acquired from the corresponding tag storage unit that can store the tag associated with the designation information, the designation information that is information for designating the input data, and the tag associated with the designation information. The input data received by the input receiving unit, the input data received by the input receiving unit, and the tag associated with the input data. A creation data storage unit that accumulates in the creation data storage unit, and a data output unit that outputs input data stored in the creation data storage unit Appearance pattern information, which is information indicating an appearance pattern of a tag including a creation tag pattern that is an appearance pattern of a tag stored in the creation data storage unit, is detected from the appearance pattern information storage unit in which the appearance pattern information can be stored. The next tag detection unit for detecting the next tag that is the next tag of the created tag pattern from the appearance patterns indicated by the detected appearance pattern information, and the next tag detected by the next tag detection unit A next candidate data storage unit in which one or more next candidate data associated with a matching tag can be stored in association with the tag and the next candidate data as input candidate corresponding to the tag. The next candidate data acquisition unit acquired from the data and one or more next candidate data acquired by the next candidate data acquisition unit are output as input candidates for input data. A candidate output unit; a selection reception unit that receives selection of one of the next candidate data output from the input candidate output unit; input data that the selection reception unit has received selection; and the next tag detection unit Is a program for causing the selected tag to function as a selection data storage unit that stores the next tag detected in the association in the created data storage unit.

なお、上記プログラムにおいて、上記プログラムが実現する機能には、ハードウェアでしか実現できない機能は含まれない。例えば、情報を取得する取得部や、情報を出力する出力部などにおけるモデムやインターフェースカードなどのハードウェアでしか実現できない機能は、上記プログラムが実現する機能には含まれない。   In the program, the functions realized by the program do not include functions that can be realized only by hardware. For example, a function that can be realized only by hardware such as a modem or an interface card in an acquisition unit that acquires information or an output unit that outputs information is not included in the function realized by the program.

また、このプログラムを実行するコンピュータは、単数であってもよく、複数であってもよい。すなわち、集中処理を行ってもよく、あるいは分散処理を行ってもよい。   Further, the computer that executes this program may be singular or plural. That is, centralized processing may be performed, or distributed processing may be performed.

図20は、上記プログラムを実行して、上記実施の形態によるデータ編集装置を実現するコンピュータの外観の一例を示す模式図である。上記実施の形態は、コンピュータハードウェア及びその上で実行されるコンピュータプログラムによって実現されうる。   FIG. 20 is a schematic diagram showing an example of the external appearance of a computer that executes the program and realizes the data editing apparatus according to the embodiment. The above-described embodiment can be realized by computer hardware and a computer program executed on the computer hardware.

図20において、コンピュータシステム900は、CD−ROM(Compact Disk Read Only Memory)ドライブ905、FD(Floppy(登録商標) Disk)ドライブ906を含むコンピュータ901と、キーボード902と、マウス903と、モニタ904とを備える。   20, a computer system 900 includes a computer 901 including a CD-ROM (Compact Disk Read Only Memory) drive 905 and an FD (Floppy (registered trademark) Disk) drive 906, a keyboard 902, a mouse 903, a monitor 904, and the like. Is provided.

図21は、コンピュータシステム900の内部構成を示す図である。図21において、コンピュータ901は、CD−ROMドライブ905、FDドライブ906に加えて、MPU(Micro Processing Unit)911と、ブートアッププログラム等のプログラムを記憶するためのROM912と、MPU911に接続され、アプリケーションプログラムの命令を一時的に記憶すると共に、一時記憶空間を提供するRAM(Random Access Memory)913と、アプリケーションプログラム、システムプログラム、及びデータを記憶するハードディスク914と、MPU911、ROM912等を相互に接続するバス915とを備える。なお、コンピュータ901は、LANへの接続を提供する図示しないネットワークカードを含んでいてもよい。   FIG. 21 is a diagram showing an internal configuration of the computer system 900. In FIG. 21, in addition to the CD-ROM drive 905 and the FD drive 906, a computer 901 is connected to an MPU (Micro Processing Unit) 911, a ROM 912 for storing a program such as a bootup program, and the MPU 911. A RAM (Random Access Memory) 913 that temporarily stores program instructions and provides a temporary storage space, a hard disk 914 that stores application programs, system programs, and data, and an MPU 911 and a ROM 912 are interconnected. And a bus 915. The computer 901 may include a network card (not shown) that provides connection to the LAN.

コンピュータシステム900に、上記実施の形態によるデータ編集装置の機能を実行させるプログラムは、CD−ROM921、またはFD922に記憶されて、CD−ROMドライブ905、またはFDドライブ906に挿入され、ハードディスク914に転送されてもよい。これに代えて、そのプログラムは、図示しないネットワークを介してコンピュータ901に送信され、ハードディスク914に記憶されてもよい。プログラムは実行の際にRAM913にロードされる。なお、プログラムは、CD−ROM921やFD922、またはネットワークから直接、ロードされてもよい。   A program that causes the computer system 900 to execute the functions of the data editing apparatus according to the above-described embodiment is stored in the CD-ROM 921 or the FD 922, inserted into the CD-ROM drive 905 or the FD drive 906, and transferred to the hard disk 914. May be. Instead, the program may be transmitted to the computer 901 via a network (not shown) and stored in the hard disk 914. The program is loaded into the RAM 913 when executed. The program may be loaded directly from the CD-ROM 921, the FD 922, or the network.

プログラムは、コンピュータ901に、上記実施の形態によるデータ編集装置の機能を実行させるオペレーティングシステム(OS)、またはサードパーティプログラム等を必ずしも含んでいなくてもよい。プログラムは、制御された態様で適切な機能(モジュール)を呼び出し、所望の結果が得られるようにする命令の部分のみを含んでいてもよい。コンピュータシステム900がどのように動作するのかについては周知であり、詳細な説明は省略する。   The program does not necessarily include an operating system (OS) or a third-party program that causes the computer 901 to execute the functions of the data editing apparatus according to the above-described embodiment. The program may include only a part of an instruction that calls an appropriate function (module) in a controlled manner and obtains a desired result. How the computer system 900 operates is well known and will not be described in detail.

本発明は、以上の実施の形態に限定されることなく、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。   The present invention is not limited to the above-described embodiments, and various modifications are possible, and it goes without saying that these are also included in the scope of the present invention.

以上のように、本発明にかかるデータ編集装置等は、文字や画像のデータの入力や編集等を行うデータ編集装置等として適しており、特に、タグを付与したデータの入力や編集等を行うデータ編集装置等として有用である。   As described above, the data editing apparatus according to the present invention is suitable as a data editing apparatus that inputs and edits character and image data, and in particular, inputs and edits data with a tag attached thereto. Useful as a data editing device.

1 データ編集装置
101 入力受付部
102 対応タグ格納部
103 対応タグ取得部
104 作成データ格納部
105 作成データ蓄積部
106 データ出力部
107 出現パターン情報格納部
108 次タグ検出部
109 次候補データ格納部
110 次候補データ取得部
111 入力候補出力部
112 選択受付部
113 選択データ蓄積部
114 出現パターン情報蓄積部
115 優先度変更部
116 出現パターン判断部
117 付与タグ検出部
118 タグ更新部
119 次候補優先度変更部
120 タグ優先度変更部
DESCRIPTION OF SYMBOLS 1 Data editing apparatus 101 Input reception part 102 Corresponding tag storage part 103 Corresponding tag acquisition part 104 Creation data storage part 105 Creation data storage part 106 Data output part 107 Appearance pattern information storage part 108 Next tag detection part 109 Next candidate data storage part 110 Next candidate data acquisition unit 111 Input candidate output unit 112 Selection reception unit 113 Selection data storage unit 114 Appearance pattern information storage unit 115 Priority change unit 116 Appearance pattern determination unit 117 Assigned tag detection unit 118 Tag update unit 119 Change next candidate priority Part 120 Tag priority change part

Claims (17)

文字または画像の入力データの入力を受け付ける入力受付部と、
入力データを指定する情報である指定情報と、当該指定情報に対応付けられたタグとが格納され得る対応タグ格納部と、
前記入力受付部の受け付けた入力データが、前記指定情報のいずれかにより指定される入力データである場合に、当該指定情報に対応付けられたタグを前記対応タグ格納部から取得する対応タグ取得部と、
前記入力受付部が受け付けた入力データと、当該入力データに対応付けられたタグとが格納され得る作成データ格納部と、
前記入力受付部が受け付けた入力データと、前記対応タグ取得部が取得したタグとを対応付けて前記作成データ格納部に蓄積する作成データ蓄積部と、
前記作成データ格納部に格納された入力データを出力するデータ出力部と、
タグの出現パターンを示す情報である出現パターン情報が格納され得る出現パターン情報格納部と、
前記作成データ格納部に格納されたタグの出現パターンである作成タグパターンを含む出現パターンを示す出現パターン情報を、前記出現パターン情報格納部から検出し、当該検出した出現パターン情報が示す出現パターンの中から、前記作成タグパターンの、次に出現するタグである次タグを検出する次タグ検出部と、
タグと、当該タグに対応した入力候補となる入力データである次候補データとが、対応付けられて格納され得る次候補データ格納部と、
前記次タグ検出部が検出した次タグに一致するタグと対応付けられた一以上の次候補データを、前記次候補データ格納部から取得する次候補データ取得部と、
前記次候補データ取得部が取得した一以上の次候補データを、入力データの入力候補として出力する入力候補出力部と、
前記入力候補出力部が出力した次候補データのうちの一の入力データの選択を受け付ける選択受付部と、
前記選択受付部が選択を受け付けた入力データと、前記次タグ検出部が検出した次タグとを対応付けて前記作成データ格納部に蓄積する選択データ蓄積部とを備えたデータ編集装置。
An input receiving unit for receiving input of character or image input data;
A corresponding tag storage unit capable of storing designation information that is information for designating input data and a tag associated with the designation information;
When the input data received by the input receiving unit is input data specified by any of the specification information, a corresponding tag acquisition unit that acquires a tag associated with the specification information from the corresponding tag storage unit When,
A creation data storage unit capable of storing the input data received by the input reception unit and a tag associated with the input data;
A creation data storage unit that stores the input data received by the input reception unit in association with the tag acquired by the corresponding tag acquisition unit in the creation data storage unit;
A data output unit for outputting input data stored in the created data storage unit;
An appearance pattern information storage unit in which appearance pattern information, which is information indicating an appearance pattern of a tag, can be stored;
Appearance pattern information indicating an appearance pattern including a creation tag pattern that is an appearance pattern of a tag stored in the creation data storage unit is detected from the appearance pattern information storage unit, and an appearance pattern indicated by the detected appearance pattern information is displayed. A next tag detection unit that detects a next tag that appears next in the created tag pattern,
A next candidate data storage unit that can store a tag and next candidate data that is input data that is an input candidate corresponding to the tag;
A next candidate data acquisition unit that acquires one or more next candidate data associated with a tag that matches the next tag detected by the next tag detection unit, from the next candidate data storage unit;
An input candidate output unit that outputs one or more next candidate data acquired by the next candidate data acquisition unit as input candidates for input data;
A selection receiving unit that receives selection of one input data of the next candidate data output by the input candidate output unit;
A data editing apparatus comprising: a selection data storage unit that stores the input data received by the selection reception unit in association with the next tag detected by the next tag detection unit and stored in the created data storage unit.
前記作成データ蓄積部は、前記入力受付部が受け付けた入力データと、前記対応タグ取得部が取得したタグとを対応付けて前記次候補データ格納部に蓄積する請求項1記載のデータ編集装置。 The data editing apparatus according to claim 1, wherein the creation data storage unit stores the input data received by the input reception unit and the tag acquired by the corresponding tag acquisition unit in association with each other in the next candidate data storage unit. 前記作成タグパターンと一致するタグの出現パターンを示す出現パターン情報が存在するか否かを判断し、存在しないと判断した場合に、当該出現パターンを示す出現パターン情報を作成し、前記出現パターン情報格納部に蓄積する出現パターン情報蓄積部を更に備えた請求項1記載のデータ編集装置。 It is determined whether or not there is appearance pattern information indicating an appearance pattern of a tag that matches the created tag pattern, and when it is determined that there is no such pattern, appearance pattern information indicating the appearance pattern is generated, and the appearance pattern information The data editing apparatus according to claim 1, further comprising an appearance pattern information accumulation unit that accumulates in the storage unit. 前記出現パターン情報格納部に格納されている出現パターン情報には、優先度を示す情報である優先度情報が対応付けられており、
前記次タグ検出部は、前記作成タグパターンを含むタグの出現パターンを示す出現パターン情報のうちの、前記優先度情報が示す優先度の高いものを、前記出現パターン情報格納部から検出する請求項1から請求項3いずれか記載のデータ編集装置。
The appearance pattern information stored in the appearance pattern information storage unit is associated with priority information that is information indicating priority,
The said next tag detection part detects the thing with the high priority which the said priority information shows among the appearance pattern information which shows the appearance pattern of the tag containing the said creation tag pattern from the said appearance pattern information storage part. The data editing apparatus according to any one of claims 1 to 3.
前記次タグ検出部が検出した出現パターン情報に対応付けられた優先度情報を、出現パターン情報の検出時期または検出回数の少なくとも一方に応じた優先度を示すものとなるよう変更する優先度変更部を更に備えた請求項4記載のデータ編集装置。 A priority changing unit that changes the priority information associated with the appearance pattern information detected by the next tag detection unit so as to indicate the priority according to at least one of the detection timing and the number of detections of the appearance pattern information. The data editing apparatus according to claim 4, further comprising: 前記次候補データ格納部に格納されている次候補データには、次候補の優先度を示す情報である次候補優先度情報が対応付けられており、
前記次候補データ取得部は、前記次タグ検出部が検出した次タグに一致するタグと対応付けられた一以上の次候補データのうちの、対応する前記次候補優先度情報が示す優先度の高いものを、前記次候補データ格納部から取得する請求項1から請求項5いずれか記載のデータ編集装置。
The next candidate data stored in the next candidate data storage unit is associated with next candidate priority information, which is information indicating the priority of the next candidate,
The next candidate data acquisition unit has a priority level indicated by the corresponding next candidate priority information among one or more next candidate data items associated with a tag that matches the next tag detected by the next tag detection unit. The data editing apparatus according to claim 1, wherein a higher one is acquired from the next candidate data storage unit.
前記入力候補出力部は、前記次タグ検出部が検出した次タグに一致するタグと対応付けられた一以上の次候補データのうちの、対応する前記次候補優先度情報が示す優先度に応じて次候補データを出力する請求項6記載のデータ編集装置。 The input candidate output unit corresponds to a priority indicated by the corresponding next candidate priority information among one or more next candidate data associated with a tag that matches the next tag detected by the next tag detection unit. 7. A data editing apparatus according to claim 6, wherein the next candidate data is output. 前記選択受付部が選択を受け付けた次候補データに対応付けられた次候補優先度情報を、選択を受けた時期または選択を受け付けた回数の少なくとも一方に応じた優先度を示すものとなるよう変更する次候補優先度変更部を更に備えた請求項6または請求項7記載のデータ編集装置。 The next candidate priority information associated with the next candidate data for which the selection accepting unit has accepted the selection is changed so as to indicate a priority according to at least one of the time when the selection is received or the number of times the selection is accepted. The data editing device according to claim 6 or 7, further comprising a next candidate priority changing unit. 前記作成データ格納部に格納された入力データの作成タグパターンを含む出現パターンを示す出現パターン情報が存在するか否かを判断する出現パターン判断部と、
前記出現パターン判断部が出現パターン情報が存在しないと判断した場合に、前記作成データ格納部に格納されている前記入力受付部が受け付けた入力データに付与可能なタグの出現パターンを有する出現パターン情報を、前記対応タグ格納部に格納されている指定情報とタグとを用いて検出する付与タグ検出部と、
前記付与タグ検出部が検出した出現パターン情報が示す出現パターンとなるように、前記作成データ格納部に格納された入力データのタグを更新するタグ更新部とを備えた請求項1から請求項8いずれか記載のデータ編集装置。
An appearance pattern determination unit that determines whether or not there is appearance pattern information indicating an appearance pattern including a generation tag pattern of input data stored in the generation data storage unit;
Appearance pattern information having an appearance pattern of a tag that can be assigned to the input data received by the input receiving unit stored in the created data storage unit when the appearance pattern determining unit determines that the appearance pattern information does not exist An attached tag detection unit that detects using designation information and a tag stored in the corresponding tag storage unit,
The tag update part which updates the tag of the input data stored in the said creation data storage part so that it may become the appearance pattern which the appearance pattern information detected by the said provision tag detection part shows. Any data editing device.
前記付与タグ検出部は、前記出現パターン情報格納部に格納されている一の出現パターン情報が示すタグの出現パターンに沿って順次タグを取得し、前記入力受付部が受け付けた入力データが、当該順次取得したタグを、順次、付与可能な入力データが配列されたものであるか否かを判断し、付与可能な入力データの配列であると判断された場合の前記出現パターン情報を、前記入力受付部が受け付けた入力データに付与可能なタグの出現パターンを有する出現パターン情報として検出する請求項9記載のデータ編集装置。 The given tag detection unit sequentially acquires tags along the appearance pattern of the tag indicated by one appearance pattern information stored in the appearance pattern information storage unit, and the input data received by the input reception unit is It is determined whether or not the input data that can be given is sequentially arranged for the tags that are sequentially obtained, and the appearance pattern information when it is judged that the input data is an array that can be given, The data editing apparatus according to claim 9, wherein the data editing apparatus detects as appearance pattern information having an appearance pattern of a tag that can be attached to input data received by the reception unit. 前記対応タグ格納部に格納されているタグのうちの、少なくとも同じ指定情報に対応付けてられている複数のタグには、タグの優先度を示す情報であるタグ優先度情報が対応付けられており、
前記対応タグ取得部は、前記入力データを指定する前記指定情報に複数のタグが対応している場合に、各タグに付与されたタグ優先度情報が示す優先度に応じたタグを取得する請求項1から請求項8いずれか記載のデータ編集装置。
Among the tags stored in the corresponding tag storage unit, at least a plurality of tags associated with the same designation information are associated with tag priority information that is information indicating the priority of the tag. And
The said corresponding tag acquisition part acquires the tag according to the priority which the tag priority information provided to each tag shows, when the some tag respond | corresponds to the said designation | designated information which designates the said input data. The data editing apparatus according to any one of claims 1 to 8.
前記タグに付与されたタグ優先度を、各タグが取得された回数または取得された時期に応じて変更するタグ優先度変更部を更に備えた請求項11記載のデータ編集装置。 The data editing apparatus according to claim 11, further comprising a tag priority changing unit that changes the tag priority assigned to the tag according to the number of times each tag is acquired or the acquisition time. 前記対応タグ格納部に格納されているタグの少なくとも一部は、入力データの属性を示す情報である属性情報と対応付けられており、
前記対応タグ取得部は、前記指定情報に対応付けられたタグと、当該タグに対応付けられた属性情報を取得し、
前記作成データ蓄積部は、前記入力受付部が受け付けた入力データと、前記対応タグ取得部が取得したタグおよび属性情報とを対応付けて前記作成データ格納部に蓄積する請求項1から請求項12いずれか記載のデータ編集装置。
At least some of the tags stored in the corresponding tag storage unit are associated with attribute information that is information indicating attributes of input data,
The corresponding tag acquisition unit acquires a tag associated with the designation information and attribute information associated with the tag,
The creation data storage unit stores the input data received by the input reception unit in association with the tag and attribute information acquired by the corresponding tag acquisition unit in the creation data storage unit. Any data editing device.
前記出現パターン情報格納部に格納されている出現パターン情報が示すタグの出現パターンを構成するタグの一以上には、前記属性情報が対応付けられており、
前記選択データ蓄積部は、前記次タグ検出部が検出した次タグに対応付けられた属性情報を前記次タグの検出に用いられた出現パターン情報から取得し、当該属性情報を前記次タグと対応付けて前記作成データ格納部に蓄積する請求項13記載のデータ編集装置。
The attribute information is associated with one or more tags constituting the appearance pattern of the tag indicated by the appearance pattern information stored in the appearance pattern information storage unit,
The selection data storage unit acquires attribute information associated with a next tag detected by the next tag detection unit from appearance pattern information used for detection of the next tag, and associates the attribute information with the next tag. 14. The data editing apparatus according to claim 13, wherein the data editing apparatus stores the generated data in the created data storage unit.
前記出現パターン情報格納部に格納されている出現パターン情報が示すタグの出現パターンを構成するタグの一以上には、前記属性情報が対応付けられており、
前記タグ更新部は、前記付与タグ検出部が検出した出現パターン情報が示すタグの出現パターンを構成するタグに対応付けられた属性情報を用いて、前記作成データ格納部に格納された入力データのタグに対応付けられた属性情報を更新する請求項13または請求項14いずれか記載のデータ編集装置。
The attribute information is associated with one or more tags constituting the appearance pattern of the tag indicated by the appearance pattern information stored in the appearance pattern information storage unit,
The tag update unit uses the attribute information associated with the tag constituting the appearance pattern of the tag indicated by the appearance pattern information detected by the assigned tag detection unit, and stores the input data stored in the created data storage unit. 15. The data editing apparatus according to claim 13, wherein the attribute information associated with the tag is updated.
入力受付部と、入力データを指定する情報である指定情報および当該指定情報に対応付けられたタグが格納され得る対応タグ格納部と、対応タグ取得部と、前記入力受付部が受け付けた入力データおよび当該入力データに対応付けられたタグが格納され得る作成データ格納部と、作成データ蓄積部と、データ出力部と、タグの出現パターンを示す情報である出現パターン情報が格納され得る出現パターン情報格納部と、次タグ検出部と、タグおよび当該タグに対応した入力候補となる入力データである次候補データが対応付けられて格納され得る次候補データ格納部と、次候補データ取得部と、入力候補出力部と、選択受付部と、選択データ蓄積部とを用いて行われるデータ編集方法であって、
前記入力受付部が、文字または画像の入力データの入力を受け付ける入力受付ステップと、
前記対応タグ取得部が、前記入力受付ステップで受け付けた入力データが、前記指定情報のいずれかにより指定される入力データである場合に、当該指定情報に対応付けられたタグを前記対応タグ格納部から取得する対応タグ取得ステップと、
前記作成データ蓄積部が、前記入力受付ステップで受け付けた入力データと、前記対応タグ取得ステップで取得したタグとを対応付けて前記作成データ格納部に蓄積する作成データ蓄積ステップと、
前記データ出力部が、前記作成データ格納部に格納された入力データを出力するデータ出力ステップと、
前記次タグ検出部が、前記作成データ格納部に格納されたタグの出現パターンである作成タグパターンを含む出現パターンを示す出現パターン情報を、前記出現パターン情報格納部から検出し、当該検出した出現パターン情報が示す出現パターンの中から、前記作成タグパターンの、次に出現するタグである次タグを検出する次タグ検出ステップと、
前記次候補データ取得部が、前記次タグ検出ステップで検出した次タグに一致するタグと対応付けられた一以上の次候補データを、前記次候補データ格納部から取得する次候補データ取得ステップと、
前記入力候補出力部が、前記次候補データ取得ステップで取得した一以上の次候補データを、入力データの入力候補として出力する入力候補出力ステップと、
前記選択受付部が、前記入力候補出力ステップで出力した次候補データのうちの一の入力データの選択を受け付ける選択受付ステップと、
前記選択データ蓄積部が、前記選択受付ステップで選択を受け付けた入力データと、前記次タグ検出部が検出した次タグとを対応付けて前記作成データ格納部に蓄積する選択データ蓄積ステップとを備えたデータ編集方法。
An input reception unit, a corresponding tag storage unit that can store specification information that is information specifying input data and a tag associated with the specification information, a corresponding tag acquisition unit, and input data received by the input reception unit And a creation data storage unit that can store a tag associated with the input data, a creation data storage unit, a data output unit, and appearance pattern information that can store appearance pattern information that is information indicating the appearance pattern of the tag A storage unit, a next tag detection unit, a next candidate data storage unit that can store the tag and next candidate data that is input data corresponding to the tag, and a next candidate data acquisition unit; A data editing method performed using an input candidate output unit, a selection reception unit, and a selection data storage unit,
An input receiving step in which the input receiving unit receives input of input data of characters or images;
When the input data received in the input receiving step by the corresponding tag acquisition unit is input data specified by any of the designation information, a tag associated with the designation information is assigned to the correspondence tag storage unit A corresponding tag acquisition step acquired from
A creation data storage step in which the creation data storage unit associates the input data received in the input reception step with the tag acquired in the corresponding tag acquisition step and stores it in the creation data storage unit;
A data output step in which the data output unit outputs the input data stored in the created data storage unit;
The next tag detection unit detects appearance pattern information indicating an appearance pattern including a creation tag pattern that is an appearance pattern of a tag stored in the creation data storage unit from the appearance pattern information storage unit, and the detected appearance A next tag detection step of detecting a next tag that is a tag that appears next in the created tag pattern from the appearance patterns indicated by the pattern information;
A next candidate data acquiring unit that acquires, from the next candidate data storage unit, one or more next candidate data associated with a tag that matches the next tag detected in the next tag detecting step; ,
The input candidate output unit outputs one or more next candidate data acquired in the next candidate data acquisition step as an input candidate of input data; and
A selection receiving step in which the selection receiving unit receives a selection of one input data of the next candidate data output in the input candidate output step;
A selection data storage step in which the selection data storage unit associates the input data received in the selection reception step with the next tag detected by the next tag detection unit and stores it in the created data storage unit; Data editing method.
コンピュータを、
文字または画像の入力データの入力を受け付ける入力受付部と、
前記入力受付部の受け付けた入力データが、前記指定情報のいずれかにより指定される入力データである場合に、当該指定情報に対応付けられたタグを、前記入力データを指定する情報である指定情報と、当該指定情報に対応付けられたタグとが格納され得る対応タグ格納部から取得する対応タグ取得部と、
前記入力受付部が受け付けた入力データと、前記対応タグ取得部が取得したタグとを対応付けて、前記入力受付部が受け付けた入力データと、当該入力データに対応付けられたタグとが格納され得る作成データ格納部に蓄積する作成データ蓄積部と、
前記作成データ格納部に格納された入力データを出力するデータ出力部と、
前記作成データ格納部に格納されたタグの出現パターンである作成タグパターンを含むタグの出現パターンを示す情報である出現パターン情報を、当該出現パターン情報が格納され得る出現パターン情報格納部から検出し、当該検出した出現パターン情報が示す出現パターンの中から、前記作成タグパターンの、次に出現するタグである次タグを検出する次タグ検出部と、
前記次タグ検出部が検出した次タグに一致するタグと対応付けられた一以上の次候補データを、タグと、当該タグに対応した入力候補となる入力データである次候補データとが、対応付けられて格納され得る次候補データ格納部から取得する次候補データ取得部と、
前記次候補データ取得部が取得した一以上の次候補データを、入力データの入力候補として出力する入力候補出力部と、
前記入力候補出力部が出力した次候補データのうちの一の入力データの選択を受け付ける選択受付部と、
前記選択受付部が選択を受け付けた入力データと、前記次タグ検出部が検出した次タグとを対応付けて前記作成データ格納部に蓄積する選択データ蓄積部として機能させるためのプログラム。
Computer
An input receiving unit for receiving input of character or image input data;
When the input data received by the input receiving unit is input data specified by any of the specification information, specification information that is information specifying the input data with a tag associated with the specification information A corresponding tag acquisition unit that acquires from a corresponding tag storage unit that can store a tag associated with the designation information;
The input data received by the input receiving unit is associated with the tag acquired by the corresponding tag acquiring unit, and the input data received by the input receiving unit and the tag associated with the input data are stored. A creation data storage unit for accumulating in the creation data storage unit to be obtained;
A data output unit for outputting input data stored in the created data storage unit;
Appearance pattern information, which is information indicating an appearance pattern of a tag including a creation tag pattern that is an appearance pattern of a tag stored in the creation data storage unit, is detected from the appearance pattern information storage unit in which the appearance pattern information can be stored. A next tag detection unit that detects a next tag that is a tag that appears next in the created tag pattern from the appearance patterns indicated by the detected appearance pattern information;
One or more next candidate data associated with a tag that matches the next tag detected by the next tag detection unit corresponds to a tag and next candidate data that is input data that is an input candidate corresponding to the tag. A next candidate data acquisition unit that acquires from a next candidate data storage unit that can be attached and stored;
An input candidate output unit that outputs one or more next candidate data acquired by the next candidate data acquisition unit as input candidates for input data;
A selection receiving unit that receives selection of one input data of the next candidate data output by the input candidate output unit;
A program for functioning as a selection data storage unit that stores the input data received by the selection reception unit in association with the next tag detected by the next tag detection unit and stored in the created data storage unit.
JP2009020599A 2009-01-30 2009-01-30 Data editing apparatus, data editing method, and program Expired - Fee Related JP5193894B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009020599A JP5193894B2 (en) 2009-01-30 2009-01-30 Data editing apparatus, data editing method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009020599A JP5193894B2 (en) 2009-01-30 2009-01-30 Data editing apparatus, data editing method, and program

Publications (2)

Publication Number Publication Date
JP2010176559A JP2010176559A (en) 2010-08-12
JP5193894B2 true JP5193894B2 (en) 2013-05-08

Family

ID=42707439

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009020599A Expired - Fee Related JP5193894B2 (en) 2009-01-30 2009-01-30 Data editing apparatus, data editing method, and program

Country Status (1)

Country Link
JP (1) JP5193894B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5794568B2 (en) * 2011-09-01 2015-10-14 国立大学法人東京工業大学 Data editing apparatus and data editing method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000268033A (en) * 1999-03-12 2000-09-29 Nippon Telegr & Teleph Corp <Ntt> Method and apparatus for assigning tag information to an information sequence and recording medium on which the method is recorded
JP2001101184A (en) * 1999-10-01 2001-04-13 Nippon Telegr & Teleph Corp <Ntt> Structured document generation method and apparatus, and storage medium storing structured document generation program
JP2001155017A (en) * 1999-11-29 2001-06-08 Hitachi Ltd Tagged document creation device and recording medium recording the program
JP4012047B2 (en) * 2002-11-11 2007-11-21 株式会社ジャストシステム Electronic document creation apparatus, electronic document creation method, and program causing computer to execute the method
JP4519081B2 (en) * 2006-02-14 2010-08-04 株式会社プロフィールド Document conversion apparatus and program

Also Published As

Publication number Publication date
JP2010176559A (en) 2010-08-12

Similar Documents

Publication Publication Date Title
US20160188744A1 (en) Data detection method, data detection device, and program
US20020038319A1 (en) Apparatus converting a structured document having a hierarchy
EP3358470A1 (en) Method of preparing documents in markup languages
JP2006164269A (en) System and method for customization of search result
JP2007226452A (en) Structured document management apparatus, structured document management program, and structured document management method
US20060167873A1 (en) Editor for deriving regular expressions by example
US20090282011A1 (en) Data acquisition apparatus and data acquisition method
JP5296014B2 (en) Search device, method and program
CN101675415A (en) Program pattern analyzer, pattern appearance status information production method, pattern information generating device, and program
US20080071593A1 (en) Business process editor, business process editing method, and computer product
JP2011100208A (en) Action estimation device, action estimation method, and action estimation program
JP5193894B2 (en) Data editing apparatus, data editing method, and program
JP2022173367A (en) Document processing device, document processing method, and program
US9483578B2 (en) Computer-readable storage medium storing update program, update method, and update device
JP6122742B2 (en) Specification change support apparatus, information processing method, and program
JP5138617B2 (en) Information processing apparatus, information processing method, and program
JP6836077B2 (en) Information processing device and its processing method and program
JP4868733B2 (en) Structured document processing apparatus, structured document processing method, and program
JP5499684B2 (en) Information processing apparatus, information processing method, program, and information processing system
JP2009093581A (en) Control system for synonym search
JP5857281B2 (en) Layout processing apparatus, layout processing method, and program
JP4519081B2 (en) Document conversion apparatus and program
JP5301896B2 (en) Information processing apparatus, information processing method, and program
JP2017091024A (en) Input assistance device
JP5400344B2 (en) Document conversion apparatus and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20111107

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130204

R150 Certificate of patent or registration of utility model

Ref document number: 5193894

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20160208

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees