JP5193894B2 - Data editing apparatus, data editing method, and program - Google Patents
Data editing apparatus, data editing method, and program Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims description 108
- 238000013500 data storage Methods 0.000 claims description 176
- 238000001514 detection method Methods 0.000 claims description 121
- 238000009825 accumulation Methods 0.000 claims description 7
- 230000008569 process Effects 0.000 description 92
- 238000013523 data management Methods 0.000 description 19
- 230000008859 change Effects 0.000 description 15
- 230000006870 function Effects 0.000 description 10
- 238000007726 management method Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 2
- 238000007639 printing Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000005406 washing Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000005034 decoration Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000877 morphologic effect Effects 0.000 description 1
- 238000003058 natural language processing Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
- 238000012384 transportation and delivery Methods 0.000 description 1
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).
しかしながら、従来のデータ編集装置としては、タグ付けしたデータを効率的に入力できるものや、効率的に編集できるようにしたものがない、という課題があった。 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.
以下、データ編集装置等の実施形態について図面を参照して説明する。なお、実施の形態において同じ符号を付した構成要素は同様の動作を行うので、再度の説明を省略する場合がある。 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
データ編集装置1は、入力受付部101、対応タグ格納部102、対応タグ取得部103、作成データ格納部104、作成データ蓄積部105、データ出力部106、出現パターン情報格納部107、次タグ検出部108、次候補データ格納部109、次候補データ取得部110、入力候補出力部111、選択受付部112、選択データ蓄積部113、出現パターン情報蓄積部114、優先度変更部115、出現パターン判断部116、付与タグ検出部117、タグ更新部118、次候補優先度変更部119、およびタグ優先度変更部120を備えている。
The
データ編集装置1は、例えば、データを入力したり編集したりすることが可能な装置である。データ編集装置1は、具体的には、テキスト編集装置や、ワードプロセッサ装置、DTP装置、WEBパブリッシング装置、クロスメディアパブリッシング装置等のデータ編集装置である。データ編集装置1は、コンピュータ等に、プログラムを実行させることで、上述したような装置としての機能を実現したデータ編集装置であっても良い。
The
入力受付部101は、ユーザ等による文字または画像のデータの入力を受け付ける。以下、入力されるデータを入力データと呼ぶ。入力データは、例えば、文字のデータや、画像データである。また入力データは、ページ上等で実行されて画像等を表示することが可能なアプリケーション等のデータであっても良い。画像は、動画像であっても静止画像であっても良く、データ形式等は問わない。文字列のデータは、フォントやサイズや右寄せや左寄せ等の配列や下線等の装飾や文字色等の書式のデータ等を有していても良い。また、画像データは、解像度やサイズの情報等を有していていてもよい。文字データや画像データの入力は、文字データや画像データのファイルに対するリンク情報の入力等であっても良い。ここで述べる入力データの受付とは、キーボードやマウス、タッチパネルなどの入力デバイスから入力された情報の受け付け、有線もしくは無線の通信回線を介して送信された情報の受信、光ディスクや磁気ディスク、半導体メモリなどの記録媒体から読み出された情報の受け付けなどを含む概念である。入力手段は、テンキーやキーボードやマウスやメニュー画面によるもの等、何でも良い。入力受付部101は、テンキーやキーボード等の入力手段のデバイスドライバーや、メニュー画面の制御ソフトウェア等で実現され得る。
The
対応タグ格納部102は、入力データを指定する情報である指定情報と、当該指定情報に対応付けられたタグとが格納され得る。指定情報は、入力データを指定可能な情報であれば、どのような情報であっても良い。例えば指定情報は、指定する入力データ自身の情報であっても良い。また、指定する入力データ自身の一部をいわゆるワイルドカード等の、条件によって入力データの一部を指定する情報等で置き換えた情報であっても良い。例えば、「冷蔵庫」という入力データを指定する情報であっても良いし、「機」という文字を含む入力データを指定する情報であっても良い。この場合、例えば「掃除機」や「洗濯機」という「機」を含む文字列を指定したこととなる。また、指定情報は、入力データを指定するための、文字の配列やデータタイプ等のルールや、手がかり句等のルールや、画像のサイズや解像度や色深度数等のファイル形式等を指定する情報であっても良い。例えば、データタイプが数値である入力データと、「/」という文字と、データタイプが数値である入力データとで構成される文字列を指定するルールであっても良い。タグとは、例えば、入力データに対してデータ構造や、データの種類や、データの分類等の情報を付加するために付与される情報である。タグ付けされたデータは、例えば、XML形式のデータや、HTML形式のデータや、SGML形式のデータ等のマークアップ言語のデータである。付加されるタグは、例えば、図示しない格納部等に格納されている文書型定義(DTD)により定義されている。タグには、入力データの属性を示す属性情報が付加されていても良い。例えば、タグは、通常、「<タグ名 属性="属性値">データ</タグ名>」で表される。例えば、この場合の「属性="属性値"」が、属性情報であり、「属性」は属性の種類を示し、「属性値」は属性の値を示す。この「タグ名」を、「タグ」と呼ぶようにしても良い。また、入力データをタグの「要素」と呼ぶようにしてもよい。なお、本実施の形態においては、タグの「<>」等は、適宜省略する場合がある。なお、タグが外部の入力データ等を参照する場合、タグ内に、参照する入力データのアドレス情報等が含まれているようにしても良い。指定情報と、タグとは、1対1で対応していなくても良く、1対多で対応していても良いし、多対1で対応していても良い。対応タグ格納部102に格納されているタグのうちの、少なくとも同じ指定情報に対応付けてられている複数のタグには、タグの優先度を示す情報であるタグ優先度情報が対応付けられて格納されていることが好ましい。タグ優先度情報は、後述する対応タグ取得部103や付与タグ検出部117等が、入力データを示す指定情報に対応したタグを複数検出した場合等に、どのタグを利用するかを決定する際に用いられる情報である。通常は優先度が高いことを示す優先度情報が付与された出現パターン情報が利用対象に決定されることとなる。優先度情報は、優先度の高さが判断可能な情報であればどのような情報であっても良く、例えば優先度を数値の大きさで表した情報であっても良いし、「高」、「低」や「A」、「B」等の優先度を示す文字列で表した情報であっても良い。対応タグ格納部102に指定情報とタグとが対応付けられて蓄積される過程は問わない。例えば、入力デバイスを介して入力された指定情報とタグとが対応タグ格納部102で記憶されるようになってもよく、通信回線等を介して送信された指定情報とタグとが対応タグ格納部102で記憶されるようになってもよい。対応タグ格納部102は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。
The correspondence
対応タグ取得部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
作成データ格納部104には、入力受付部101が受け付けた入力データと、当該入力データに対応付けられたタグとが格納され得る。例えば、入力受付部101が受け付けた入力データに、当該入力データについて対応タグ取得部103が取得したタグが付与されて蓄積される。例えば、入力データにタグを付与して構成されたXML形式のデータ等が、作成データ格納部104に蓄積される。作成データ格納部104に蓄積される入力データは、例えば、ユーザ等からの入力に応じて、データ編集装置1によって作成されたり、レイアウトされたり、編集されたりした入力データである。例えば、データ編集装置1がワードプロセッサ装置の場合、作成データ格納部104に格納された入力データは、ワードプロセッサ装置により作成された入力データあるいは作成中の入力データである。作成データ格納部104への入力データの格納は一時記憶等も含む概念である。作成データ格納部104は、不揮発性の記録媒体が好適であるが、揮発性の記録媒体でも実現可能である。なお、作成データ格納部104には、入力受付部101が受け付けた、タグが付与される前の入力データ等が一時記憶されても良い。
The created
作成データ蓄積部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
データ出力部106は、作成データ格納部104に格納された入力データを出力する。なお、データ出力部106は、作成データ格納部104に格納されている入力データに対応付けられたタグを出力しても良いし、タグや属性情報を出力しないようにしても良い。ここで述べる出力とは、ディスプレイへの表示、プロジェクターを用いた投影、プリンタによる印刷、外部の装置への送信、記録媒体への蓄積、他の処理装置や他のプログラムなどへの処理結果の引渡しなどを含む概念である。データ出力部106は、ディスプレイやスピーカー等の出力デバイスを含むと考えても含まないと考えても良い。データ出力部106は、出力デバイスのドライバーソフトまたは、出力デバイスのドライバーソフトと出力デバイス等で実現され得る。
The
出現パターン情報格納部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
次タグ検出部108は、作成データ格納部104に格納されたタグの出現パターンである作成タグパターンを含むタグの出現パターンを示す出現パターン情報を、出現パターン情報格納部107から検出する。そして、検出した出現パターン情報が示す出現パターンの中から、作成タグパターンの、次に出現するタグである次タグを検出する。次タグ検出部108は、具体的には、作成データ格納部104に格納されたタグから、作成タグパターンを取得する。
そして、取得した作成タグパターンから、出現順に順番にタグを取り出し、一の出現パターン情報が示すタグの出現パターンから出現順に取り出したタグとを、順番に比較していく。そして、比較の結果、作成タグパターンの全てのタグが一致したか否かを判断し、一致した場合、この出現パターン情報を作成タグパターンを含む出現パターン情報として検出する。なお、上記の比較等を行う処理を、作成タグパターンに前方一致するタグの出現パターンを示す出現パターン情報を検出する処理と考えても良い。なお、タグが一致するか否かはパターンマッチング等で行われる。また、タグの出現順は、タグの配列順と考えても良い。そして、出現パターン情報格納部107に格納されている各出現パターン情報から、取得した作成タグパターンと一致するタグの配列を、例えばパターンの前方等に有しているタグの出現パターンを示す出現パターン情報を検出する。ここでの一致は、完全一致であっても部分一致であっても良い。また、ここでの一致は、タグに付与されている属性情報の一致も判断しても良いし、判断しなくても良い。そして、検出した出現パターン情報が示す出現パターンのうちの、作成タグパターンと一致する部分の次に出現しているタグである次タグを検出する。なお、次タグは、検出した出現パターン情報が示す出現パターンのうちの、作成タグパターンを除外した残りの部分のタグと考えても良い。
The next
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
例えば、作成データ格納部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
なお、次タグ検出部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
作成タグパターンとは、通常は、入力データの入力された時間的な順番に沿って、当該入力データに付与されて蓄積されるタグが出現するパターンである。例えば、作成データ格納部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
ただし、作成タグパターンは、入力データが配置される位置の並びによる順番や、入力データが配置される位置、例えばいわゆるフレームやボックス等の入力データが配置される領域、に割り当てられた順番に沿ってタグが出現する順番等であっても良い。例えば、予め、複数のフレーム等の領域に、「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
次タグ検出部108は、通常、MPUやメモリ等から実現され得る。次タグ検出部108の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。
The next
次候補データ格納部109は、タグと、当該タグに対応した入力候補となる入力データである次候補データとが、対応付けられて格納され得る。タグと次候補データとの対応関係は、一対一でなくても良く、一対多であっても、多対一であっても良い。次候補データ格納部109にタグと次候補データとが記憶される過程は問わない。例えば、記録媒体を介してタグと次候補データとが次候補データ格納部109で記憶されるようになってもよく、入力デバイスを介して入力されたタグと次候補データとが次候補データ格納部109で記憶されるようになってもよい。なお、作成データ蓄積部105が、入力データと、当該入力データと対応付けられたタグとを、作成データ格納部104に蓄積する際等に、入力データを次候補データとして、対応タグ取得部103が取得したタグと対応付けて次候補データ格納部109に蓄積しても良い。これにより、ユーザ等により入力受付部101から新たに入力された入力データが、次候補データとして追加されていくこととなり、次候補データの拡充を図ることができる。
The next candidate
なお、次候補データ格納部109に格納されている次候補データには、次候補データの優先度を示す情報である次候補優先度情報が対応付けられているようにしても良い。次候補優先度情報は、例えば、後述する次候補データ取得部110等が、一以上の次候補データを取得する場合に、どの次候補パターン情報を選択的に取得するかを決定する際に利用される情報である。また、次候補優先度情報は、後述する入力候補出力部111が、次候補データを出力する場合等に、どの順番で次候補データを配列して出力するか等を決定する際に利用される情報である。この次候補優先度情報が次候補データに蓄積される過程等は問わない。次候補優先度情報は、予め蓄積されていても良いし、後述する次候補優先度変更部119等により蓄積されても良い。なお、次候補データの記憶媒体等への蓄積順が、次候補優先度情報を示していると考えても良い。
The next candidate data stored in the next candidate
また、次候補データは、後述する次候補データ取得部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
次候補データ取得部110は、次タグ検出部108が検出した次タグに一致するタグと対応付けられた一以上の次候補データを、次候補データ格納部109から取得する。例えば、次タグを検索キーとして用いて、当該次タグと一致するタグを次候補データ格納部109において検索し、一致するとして検索されたタグに対応付けられた一以上の次候補データを取得する。取得する次候補データの数は、一以上であれば良い。例えば、予め指定された数を上限として、検索により取得された次候補データを取得する。なお、次候補データ取得部110は、次タグ検出部108が検出した次タグに一致するタグと対応付けられた一以上の次候補データのうちの、対応対応付けられている次候補優先度情報が示す優先度が高い次候補データだけを取得するようにしても良い。具体的には、優先度が高いものから順に、予め指定された数だけ次候補データを取得しても良いし、優先度が予め指定した値以上の次候補データだけを取得するようにしても良い。なお、次候補データ取得部110は、通常、MPUやメモリ等から実現され得る。次候補データ取得部110の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。
The next candidate
入力候補出力部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
選択受付部112は、入力候補出力部111が出力した次候補データのうちの一の入力データの選択を受け付ける。例えば、入力候補出力部111が出力した次候補データのうちの、マウスやキーボード等を用いて指定された次候補データの選択を受け付ける。選択を行うための入力手段は、テンキーやキーボードやマウスやメニュー画面によるもの等、何でも良い。選択受付部112は、テンキーやキーボード等の入力手段のデバイスドライバーや、メニュー画面の制御ソフトウェア等で実現され得る。
The
選択データ蓄積部113は、選択受付部112が選択を受け付けた入力データ、即ち選択を受け付けた次候補データと、次タグ検出部108が検出した次タグとを対応付けて作成データ格納部104に蓄積する。例えば、直前に作成データ蓄積部105が蓄積した入力データに続いて入力された入力データとなるように、選択された入力データを作成データ格納部104に蓄積する。あるいは、予め次タグ検出部108が検出した次タグに対応した入力データが配置される領域として指定されているフレーム等の領域内に入力データが入力されることとなるよう、作成データ格納部104に入力データが蓄積される。なお、選択データ蓄積部113は、次タグ検出部108が次タグの検出を行う際に用いた出現パターン情報から、当該次タグに対応する属性情報を取得し、取得した属性情報を、選択受付部112が選択を受け付けた入力データと、次タグ検出部108が検出した次タグと対応付けて作成データ格納部104に蓄積するようにしても良い。また、選択データ蓄積部113は、次タグ検出部108が次タグの検出を行う際に用いた出現パターン情報から、作成データ格納部104に格納されている入力データに付与されたタグに対応する属性情報を取得し、取得した属性情報を用いて、作成データ格納部104にタグと対応付けて蓄積されている属性情報を更新するようにしても良い。ここでの更新は、例えば取得した属性情報と同じとなるように属性情報を書き換えることである。選択データ蓄積部113は、通常、MPUやメモリ等から実現され得る。選択データ蓄積部113の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。
The selection
出現パターン情報蓄積部114は、作成タグパターンと一致するタグの出現パターンを示す出現パターン情報が存在するか否かを判断し、作成タグパターンと一致するタグの出現パターンが存在しないと判断した場合に、当該作成タグパターンを示す出現パターン情報を作成し、出現パターン情報格納部107に蓄積する。タグの出現パターンが一致するか否かの判断は、例えばタグのパターンマッチング等で行われる。なお、出現パターン情報蓄積部114の、作成タグパターンと一致するタグの出現パターンを示す出現パターン情報が存在するか否かを判断する処理を行う部分と、同様の処理を行う他の処理部、例えば後述する次候補データ取得部110や出現パターン判断部116とを、一の処理部で実現するようにしても良い。そして、これらの判断結果に応じて、出現パターン情報を作成するか否か等を判断するようにしても良い。出現パターン情報蓄積部114は、通常、MPUやメモリ等から実現され得る。出現パターン情報蓄積部114の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。
When the appearance pattern
優先度変更部115は、次タグ検出部108が次タグを検出する際に検出した出現パターン情報に対応付けられた優先度情報を、検出時期に応じた優先度を示すものとなるよう変更する。例えば、次タグ検出部108が検出した時期が新しい出現パターン情報ほど、優先度が高くなるように、出現パターン情報格納部107に格納されている出現パターン情報に対応付けられた優先度情報の値を更新するようにしても良い。例えば、出現パターン情報が検出される毎に、当該出現パターン情報の優先度の値が最も高くなるよう、出現パターン情報の優先度の値を並べ替えたり、出現パターン情報が検出される毎に、優先度の高さを示す値を、所定値だけ加算していくようにしても良い。なお、検出時期が古いものの優先度が低くなるように、優先度情報の値を更新することも、結果的には同じ処理である。
The
また、優先度変更部115は、次タグ検出部108が次タグを検出する際に検出した出現パターン情報に対応付けられた優先度情報を、次タグ検出部108が検出した出現パターン情報の検出回数に応じた優先度を示すものとなるよう変更する。例えば、優先度変更部115は、次タグ検出部108が次タグを検出する際に検出した出現パターン情報の検出回数等を、出現パターン情報別に、図示しない記憶媒体等の格納部に蓄積しておく。そして、その検出回数が多いほど、優先度が高くなるように、出現パターン情報格納部107に格納されている出現パターン情報に対応付けられた優先度情報を更新するようにしても良い。例えば、検出回数を、そのまま、優先度の高さを示す値として用いても良い。なお、検出回数が少ないものの優先度が低くなるように、優先度情報の値を更新することも、結果的には同じ処理である。
The
なお、優先度変更部115が、優先度情報を変更するタイミング等は問わない。例えば、次タグの検出が行われる都度に、優先度情報の変更を行っても良い。優先度変更部115は、通常、MPUやメモリ等から実現され得る。優先度変更部115の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。
It should be noted that the
出現パターン判断部116は、作成データ格納部104に格納された入力データの作成タグパターンを含む出現パターンを示す出現パターン情報が存在するか否かを判断する。具体的には、出現パターン判断部116は、作成タグパターンを構成するタグの全ての含む出現パターンを示す出現パターン情報が存在するか否かを判断する。なお、この出現パターン判断部116の処理は、次タグ検出部108が作成タグパターンを含むタグの出現パターンを示す出現パターン情報を、出現パターン情報格納部107から検出する際の処理とほぼ同様であるので、ここでは詳細を説明する。なお、出現パターン判断部116の行う処理において出現パターン情報を検出できなかった場合が、本願における出現パターン情報が存在しないと判断した判断結果に相当する。なお、出現パターン判断部116と、次タグ検出部108とを一の処理部等により実現するようにして、次タグ検出部108が作成タグパターンを含むタグの出現パターンを示す出現パターン情報を検出する処理を、当該出現パターン判断部116の処理の代わりに行うようにしても良い。あるいは、次タグ検出部108が次タグを検出する際に行う作成データ格納部に格納された入力データの作成タグパターンを含む出現パターンを示す出現パターン情報が存在するか否かを判断する処理の処理結果を、出現パターン判断部116の処理結果として後述する付与タグ検出部117等に出力するようにしても良い。出現パターン判断部116は、通常、MPUやメモリ等から実現され得る。出現パターン判断部116の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。
The appearance
付与タグ検出部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
なお、上述した優先度変更部115が、付与タグ検出部117が検出した出現パターン情報に対応付けられた優先度情報を、上述したような次タグ検出部108が次タグを検出する際に検出した出現パターン情報に対応付けられた優先度情報を変更する場合と同様に、検出時期や検出回数等に応じて適宜変更するようにしても良い。
The
タグ更新部118は、付与タグ検出部117が検出した出現パターン情報が示す出現パターンとなるように、作成データ格納部104に格納された入力データのタグを更新する。例えば、付与タグ検出部117が検出した出現パターン情報が示す出現パターンを構成するタグを取得し、入力データに付与されているタグを、出現パターン情報が示す出現パターンを構成するタグで全て上書きしても良い。また、タグが異なる部分だけを、上書きしても良い。なお、出現パターン情報のタグ数の方が入力データに付与されたタグ数よりも多い場合は、多い部分については更新処理等は無視する。なお、出現パターン情報が示す出現パターンを構成するタグに、属性情報が付与されている場合、当該属性情報も、入力データのタグを更新する際に、更新するようにしても良い。つまり、タグ更新部118は、付与タグ検出部117が検出した出現パターン情報が示すタグの出現パターンを構成するタグに対応付けられた属性情報を用いて、作成データ格納部104に格納された入力データのタグに対応付けられた属性情報を更新するようにしても良い。具体的には、作成データ格納部104に格納された入力データに付与されているタグと属性情報との配列が、付与タグ検出部117が検出した出現パターン情報が示すタグと属性情報との配列と一致するよう更新するようにしてよい。タグ更新部118は、通常、MPUやメモリ等から実現され得る。タグ更新部118の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。
The
次候補優先度変更部119は、選択受付部112が選択を受け付けた次候補データに対応付けられた次候補優先度情報を、次候補データの選択に応じて変更する。例えば、次候補優先度変更部119は、選択受付部112が選択を受け付けた次候補データに対応付けられた次候補優先度情報を、選択を受けた時期に応じた優先度を示すものとなるよう変更する。例えば、選択受付部112が選択を受け付けた時期が新しい次候補データに対応付けられた次候補優先度情報ほど優先度が高くなるように、次候補データ格納部109に格納されている次候補データに対応付けられた次候補優先度情報の値を更新するようにしても良い。例えば、次候補データの選択を受け付ける毎に、当該選択された次候補データの優先度の値が最も高くなるよう、次候補優先度情報の優先度の値を並べ替えたり、次候補データが選択される毎に、次候補データの優先度の高さを示す値を、所定値だけ加算していくようにしても良い。なお、検出時期が古いものの優先度が低くなるように、次候補優先度情報の値を更新することも、結果的には同じ処理である。
The next candidate
また、次候補優先度変更部119は、選択受付部112が選択を受け付けた次候補データに対応付けられた次候補優先度情報を、選択を受け付けた回数に応じた優先度を示すものとなるよう変更する。例えば、次候補優先度変更部119は、選択受付部112が選択を受け付けた次候補データの選択された回数等を、次候補データ別に、図示しない記憶媒体等の格納部に蓄積しておく。そして、その選択回数が多いほど、優先度が高くなるように、次候補データ格納部109に格納されている次候補データに対応付けられた次候補優先度情報を更新するようにしても良い。例えば、次候補データの選択回数を、そのまま、優先度の高さを示す値として用いても良い。なお、選択回数が少ないものの優先度が低くなるように、次候補優先度情報の値を更新することも、結果的には同じ処理である。次候補優先度変更部119は、通常、MPUやメモリ等から実現され得る。次候補優先度変更部119の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。
Further, the next candidate
タグ優先度変更部120は、タグに付与されたタグ優先度を、各タグが取得された回数または取得された時期に応じて変更する。具体的には、タグ優先度変更部120は、タグ更新部118が作成タグパターンのタグを更新した場合に、当該更新により新たに付与されたタグに対応付けられたタグ優先度情報を変更する。タグが取得された回数に応じて変更すること、およびタグが取得された時期に応じて回数を変更することについては、上述した優先度変更部115や、次候補優先度変更部119における優先度の変更と同様であるので詳細な説明は省略する。タグ優先度変更部120は、通常、MPUやメモリ等から実現され得る。タグ優先度変更部120の処理手順は、通常、ソフトウェアで実現され、当該ソフトウェアはROM等の記録媒体に記録されている。但し、ハードウェア(専用回路)で実現しても良い。
The tag
次に、データ編集装置1の動作について図2のフローチャートを用いて説明する。なお、ここでは、対応タグ格納部102に格納されているタグや、出現パターン情報が示す出現パターンを構成するタグ等には、属性情報が対応付けられている場合を例に挙げて説明する。但し、属性情報は省略しても良いし、属性情報は全てのタグに対応付けられていなくて良い。また、ここでの動作開始は、例えば、新規のフレーム等へのデータ入力開始や、タグ付けの対象となる一連のデータ入力が終了した後のデータ入力の開始等の、一連のタグの付与対象となるデータ入力開始を示すトリガー等の受け付けにより判断される。
Next, the operation of the
(ステップS201)入力受付部101は、入力データを受け付けたか否かを判断する。入力データを受け付けた場合、ステップS202に進み、受け付けていない場合、ステップS201に戻る。受け付けた入力データは、例えばメモリ等の記憶媒体に一時記憶される。
(Step S201) The
(ステップS202)データ編集装置1の対応タグ取得部103等は、は、入力データが、タグ付けを行うデータの入力終了を指示する終了指示の入力であるか否かを判断する。終了指示の入力とは、例えば、一連のタグの付与対象となるデータ入力の終了となるデータ入力であるか否かの判断である。例えば、終了指示の入力は、改行記号等の予め指定した文字の入力や、新たなフレーム等へのデータ入力の開始のためのカーソル等を配置する指示の入力や、入力終了を示すコマンド入力等である。なお、例えば改行記号等の一部の記号については、タグの取得対象となる入力データを識別する区切記号としても利用できるようにし、改行記号が入力された場合は、一旦、ステップS203以降の処理等を実行後、終了処理を行うようにしても良い。終了指示を受け付けていない場合、ステップS203に進み、終了指示を受け付けた場合、処理を終了する。
(Step S202) The corresponding
(ステップS203)データ編集装置1は、入力データに対応するタグおよび属性情報を取得する処理を行う。なお、この処理の詳細については後述する。
(Step S203) The
(ステップS204)対応タグ取得部103は、対応するタグが取得できたか否かを判断する。取得できた場合、ステップS205に進み、取得できなかった場合、ステップS201に戻る。
(Step S204) The corresponding
(ステップS205)作成データ蓄積部105は、ステップS203において取得したタグおよび属性情報を、入力データと対応付けて作成データ格納部104に蓄積する。また、入力データと対応付けたタグおよび属性情報を、次候補データ格納部109に蓄積するようにしてもよい。ただし、入力データとタグの組合せが一致するものが既に格納されている場合、蓄積しないようにする。
(Step S205) The creation
(ステップS206)データ出力部106は、作成データ格納部104に蓄積された入力データを出力する。例えば、モニタ等に入力データだけを表示する。なお、データ出力部106は、ステップS201において受け付けた入力データを、入力受付直後に、モニタ等に表示するようにしても良い。このようにした場合においても、最終的には、作成データ格納部104に入力データが蓄積された時点で、作成データ格納部104に蓄積された入力データを出力したこととなる。
(Step S206) The
(ステップS207)次タグ検出部108は、次タグを検出する処理を行う。なお、次タグを検出する処理の詳細について後述する。
(Step S207) The next
(ステップS208)次候補データ取得部110は、ステップS207において、次タグが検出されたか否かを判断する。次タグが検出された場合、ステップS209に進み、次タグが検出されなかった場合、ステップS213に進む。
(Step S208) The next candidate
(ステップS209)次候補データ取得部110は、次候補データ格納部109に格納されている次候補データの中から、ステップS207において検出した次タグと一致するタグを検出する。そして、検出したタグと対応付けられた次候補データの中から、それぞれに対応付けられた次候補優先度情報が示す優先度の値が高いものから順に、予め指定された数の次候補データを読み出す。
(Step S209) The next candidate
(ステップ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
(ステップS212)次候補優先度変更部119は、ステップS211における次候補データの選択結果に応じて、次候補優先度情報の変更処理を行う。例えば、ステップS211で選択された次候補データに対応付けられた次候補優先度情報の優先度の高さを示す値を所定数だけインクリメントする。
(Step S212) The next candidate
(ステップS213)選択データ蓄積部113は、ステップS207において検出された次タグおよび当該次タグに対応する属性情報を取得し、これらをステップS211において選択された次候補データと対応付けて作成データ格納部104に蓄積する。そして、ステップS206に戻る。蓄積される次候補データが、ステップS205において蓄積される入力データに相当するものとなる。なお、選択データ蓄積部113は、次タグ検出部108が次タグの検出を行う際に用いた、作成タグパターンを含む出現パターン情報から、作成タグパターンを構成するタグに対応する属性情報を取得し、取得した属性情報を用いて、作成データ格納部104にタグと対応付けて蓄積されている属性情報を更新するようにしても良い。
(Step S213) The selection
(ステップS214)データ編集装置1は、タグを更新する処理を行う。なお、この処理の詳細については後述する。
(Step S214) The
(ステップS215)次タグ検出部108は、ステップS214においてタグが更新されたか否かを判断する。更新された場合、更新された作成タグパターンで次タグ検出を行うため、ステップS207に戻り、更新されていない場合、ステップS201に戻る。
(Step S215) The next
(ステップS216)入力受付部101は、ステップS210において出力された次候補データの選択を行わない指示を受け付けたか否かを判断する。なお、入力受付部101は、次の入力データの受け付けが行われた場合に、選択を行わない指示の入力を受け付けたと判断するようにしても良い。受け付けた場合、ステップS201に戻り、受け付けていない場合、ステップS211に戻る。
(Step S216) The
なお、図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
(ステップS302)対応タグ取得部103は、カウンターnの値に1を代入する。
(Step S302) The corresponding
(ステップS303)対応タグ取得部103は、n番目の指定情報を、対応タグ格納部102から読み出す。
(Step S <b> 303) The corresponding
(ステップS304)対応タグ取得部103は、入力受付部101が受け付けた入力データが、ステップS303において読み出したn番目の指定情報が指定するデータであるか否かを判断する。指定するデータである場合、ステップS305に進み、指定するデータでない場合、ステップS306に進む。
(Step S304) The corresponding
(ステップS305)対応タグ取得部103は、対応タグ格納部102から、n番目の指定情報に対応付けられたタグおよび属性情報を取得する。なお、指定情報に対応付けられたタグが複数存在する場合において、タグにタグ優先度情報が対応付けられている場合、タグ優先度情報が示す優先度の最も高いタグを取得するようにしても良い。そして、上位の処理にリターンする。
(Step S305) The correspondence
(ステップS306)対応タグ取得部103は、カウンターnの値を1インクリメントする。
(Step S306) The corresponding
(ステップS307)対応タグ取得部103は、対応タグ格納部102にn番目の指定情報が格納されているか否かを判断する。格納されている場合、ステップS303に戻り、格納されていない場合、上位の処理にリターンする。
(Step S307) The corresponding
なお、図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
(ステップS402)次タグ検出部108は、対応する優先度情報が示す優先度の高さがk番目である出現パターン情報を、出現パターン情報格納部107から取得する。
(Step S <b> 402) The next
(ステップ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
(ステップS404)次タグ検出部108は、k番目の出現パターン情報が示す出現パターンに、次タグが含まれているか否かを判断する。具体的には、次タグ検出部108は、作成タグパターンと一致するタグまたはタグ群の次に位置するタグが、k番目の出現パターン情報が示すタグの出現パターンに存在しているか否かを判断する。出現パターン情報が示すタグの出現パターンのうちの、作成タグパターンと一致するタグの次に位置するタグが次タグである。次タグが含まれている場合、ステップS405に進み、含まれていない場合、ステップS407に進む。
(Step S404) The next
(ステップS405)次候補データ取得部110は、k番目の出現パターン情報が示すタグの出現パターンから、次タグを取得する。
(Step S405) The next candidate
(ステップS406)優先度変更部115は、出現パターン情報に対応付けられた優先度情報を更新する。例えば、k番目の出現パターン情報に対応付けられた優先度情報を、優先度が高くなるよう変更する。なお、他の出現パターン情報に対応付けられた優先度情報を、優先度が低くなるように変更しても良い。そして、上位の処理に戻る。
(Step S406) The
(ステップS407)次候補データ取得部110は、カウンターkの値を1インクリメントする。
(Step S407) The next candidate
(ステップS408)次候補データ取得部110は、k番目の出現パターン情報が出現パターン情報格納部107に格納されているか否かを判断する。格納されている場合、ステップS402に戻り、格納されていない場合、上位の処理にリターンする。
(Step S <b> 408) The next candidate
なお、図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
(ステップS501)出現パターン判断部116は、r番目の出現パターン情報を、出現パターン情報格納部107から読み出す。
(Step S <b> 501) The appearance
(ステップS502)出現パターン判断部116は、r番目の出現パターン情報が示すタグの出現パターンが、作成タグパターンを含むか否かを判断する。なお、この処理は、上述したステップS403の処理と同様の処理であるので詳細な説明は省略する。含む場合、上位の処理にリターンする。含まない場合、ステップS503に進む。
(Step S502) The appearance
(ステップS503)出現パターン判断部116は、カウンターrの値を1インクリメントする。
(Step S503) The appearance
(ステップS504)出現パターン判断部116は、r番目の出現パターン情報が、出現パターン情報格納部107にあるか否かを判断する。ある場合、ステップS501に戻り、ない場合、ステップS505に進む。
(Step S504) The appearance
(ステップS505)付与タグ検出部117は、カウンターpに1を代入する。
(Step S505) The assigned
(ステップS506)付与タグ検出部117は、対応する優先度情報が示す優先度の高さがp番目である出現パターン情報を、出現パターン情報格納部107から取得する。
(Step S506) The assigned
(ステップS507)出現パターン判断部116は、p番目の出現パターン情報が示すタグの出現パターンを構成するタグ数が、作成タグパターンのタグ数以上か否かを判断する。作成タグパターンのタグ数以上である場合、ステップS508に進み、作成タグパターンのタグ数未満の場合、ステップS518に進む。
(Step S507) The appearance
(ステップS508)付与タグ検出部117は、カウンターqに1を代入する。
(Step S508) The assigned
(ステップS509)付与タグ検出部117は、p番目の出現パターン情報が示すタグの出現パターンから、q番目に出現するタグを取得する。
(Step S509) The assigned
(ステップS510)付与タグ検出部117は、q番目のタグに対応する指定情報を対応タグ格納部102から読み出す。
(Step S510) The assigned
(ステップS511)付与タグ検出部117は、作成データ格納部104に格納されている入力データのq番目のタグが付与されたデータ、即ち作成タグパターンのq番目のタグが付与されたデータが、ステップS510において取得した指定情報が指定するデータであるか否かを判断する。指定するデータである場合、ステップS512に進み、指定するデータでない場合、ステップS518に進む。
(Step S511) The assigned
(ステップS512)付与タグ検出部117は、カウンターqを1インクリメントする。
(Step S512) The assigned
(ステップS513)付与タグ検出部117は、作成データ格納部104に格納されている入力データにq番目のタグが付与されたデータがあるか否かを判断する。なお、q番目のタグがあるか否かを判断しても良い。ある場合、ステップS509に戻り、ない場合、ステップS514に進む。
(Step S513) The assigned
(ステップS514)タグ更新部118は、p番目の出現パターン情報を取得する。
(Step S514) The
(ステップS515)タグ更新部118は、ステップS514において取得した出現パターン情報を用いて、作成タグパターンのタグを更新する。このとき作成タグパターンのタグに対応付けられている属性情報も、出現パターン情報が示すタグの出現パターンに対応付けられている属性情報を用いて更新する。
(Step S515) The
(ステップS516)優先度変更部115は、出現パターン情報に対応付けられた優先度情報を、p番目の出現パターン情報の優先度が高くなるよう変更する。
(Step S516) The
(ステップS517)タグ優先度変更部120は、ステップS515において変更されたタグに対応付けられたタグ優先度情報を、当該タグの優先度が高くなるよう変更する。そして、上位の処理にリターンする。
(Step S517) The tag
(ステップS518)付与タグ検出部117は、カウンターpを1インクリメントする。
(Step S518) The assigned
(ステップS515)付与タグ検出部117は、出現パターン情報格納部107にp番目の出現パターン情報があるか否かを判断する。ある場合、ステップS507に戻り、ない場合、ステップS520に進む。
(Step S515) The assigned
(ステップS520)出現パターン情報蓄積部114は、入力データのタグの出現パターン、即ち作成タグパターンを示す出現パターン情報を作成し、出現パターン情報格納部107に蓄積する。そして、上位の処理にリターンする。
(Step S520) The appearance pattern
なお、図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
図6は、データ編集装置1の表示例を示す図である。データ編集装置1の表示画面には、文字や画像の入力データを入力可能な複数のフレームが設けられているものとする。
FIG. 6 is a diagram illustrating a display example of the
まず、ユーザがキーボード等を操作して、一のフレーム内に「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
対応タグ取得部103には、予め、「,」記号やリターン記号等の区切記号で区切られた入力データを、一のタグが付与される対象となる入力データとして判断するよう指定されているものとし、この指定に基づいて、「AAA商事株式会社」という入力データを取得する。
The corresponding
次に、対応タグ取得部103は、対応タグ格納部102に格納されている指定情報を順次取得し、「AAA商事株式会社」という入力データが、取得した指定情報が示す情報であるか否かを判断する。
Next, the corresponding
図7は、対応タグ格納部102に格納されている指定情報とタグとを管理する対応タグ管理表である。対応タグ管理表は、「指定情報」と、「タグ」と、「タグ優先度」と、「属性情報」という項目を有している。「指定情報」は入力データを指定するための情報である。例えば、「"数字"/"数字"」という指定情報において、"数字"は任意の数字を指しており、この指定情報は、任意の数字と、「/」という文字と、任意の数字との順番に配列された文字列により構成される入力データを指定する指定情報である。また、「"文字列"株式会社」という指定情報は、任意の文字列と、「株式会社」という文字とにより構成される入力データを指定する指定情報である。「タグ」は入力データに付与されるタグのタグ名であり、同じレコードの指定情報とタグ名が示すタグとは対応付けられているものとする。「タグ優先度」は、タグに対応付けられたタグ優先度情報であり、ここでは、値が大きいものが優先度が高いことを示している。「属性情報」は、タグに付与される属性情報である。
FIG. 7 is a correspondence tag management table for managing the designation information and tags stored in the correspondence
対応タグ取得部103は、まず、図7に示すような対応タグ管理表で管理されている指定情報のうちの、一つめの指定情報である「"数字"/"数字"」という指定情報を取得する。そして、入力データである「AAA商事株式会社」という文字列が、一つめの指定情報が指定するデータであるか否かを判断する。ここでは、「AAA株式会社」の前方の文字列が数字でないため、入力データは、この一つめの指定情報が示す条件に合致せず、一つめの指定情報が指定するデータではないと判断される。
First, the corresponding
次に、対応タグ取得部103は、二つめの指定情報である「"文字列"株式会社」を取得する。そして、入力データである「AAA商事株式会社」という文字列が、二つめの指定情報が指定するデータであるか否かを判断する。ここでは、入力データは、末尾の文字列が指定情報が示す「株式会社」と一致し、更に、残りの前方の部分は文字列のデータであるため、入力データが当該二つめの指定情報が示す条件に合致しており、入力データ「AAA商事株式会社」は、二つめの指定情報が指定するデータであると判断される。
Next, the corresponding
このため、対応タグ取得部103は、二つめの指定情報である「"文字列"株式会社」に対応したタグのうちの、タグ優先度情報の値が最も大きいタグを取得する。ここでは、「日付」のタグ優先度情報の値が「5」であり、他のタグ優先度情報の値よりも大きいため、「日付」というタグを取得する。そして、作成データ蓄積部105は、対応タグ取得部103が取得した「日付」というタグと、このタグに対応付けられた属性情報「クライアント」とを対応タグ格納部102から取得し、入力データ「AAA商事株式会社」と対応付けて、作成データ格納部104に蓄積する。また、作成データ蓄積部105は、対応タグ取得部103が取得した「日付」というタグと、入力データ「AAA商事株式会社」とを対応付けて、次候補データ格納部109に蓄積する。
For this reason, the corresponding
図8は、作成データ格納部104に蓄積された入力データとタグとを管理する作成データ管理表である。作成データ管理表は、「タグパターンID」、「入力データ」、「タグ」、「属性情報」という項目を有している。「タグパターンID」は、一連のタグが付与される入力データを識別するための識別情報である。例えば、同じパターンIDと対応付けられたタグの出現パターンが、一の作成タグパターンである。例えば、同じパターンIDと対応付けられた入力データを、入力データの一つのレコードと考えても良い。「入力データ」は入力データ、「タグ」は、入力データに付与されたタグであり、ここでは、タグは、入力順に上から順番に配列されているものとする。「属性情報」は、タグに対応付けられた属性情報である。
FIG. 8 is a creation data management table for managing input data and tags accumulated in the creation
図9は、データ出力部106による入力データの表示例を示す図である。データ出力部106は、作成データ格納部104に格納されているデータのうちの、入力データを表示する。
FIG. 9 is a diagram illustrating a display example of input data by the
図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
次に、次タグ検出部108は、出現パターン情報格納部107に格納されている出現パターン情報のうちの、対応する優先度情報が示す優先度の値が最も大きい出現パターン情報を取得する。ここでは、「出現パターンID」が「001」である出現パターン情報を取得する。そして、取得した出現パターン情報が示すタグの出現パターンが、図8に示した作成データ格納部104に格納されている入力データのタグの出現パターン、即ち作成タグパターンを含んでいるか否かを判断する。ここでは、「出現パターンID」が「001」である出現パターン情報が示すタグの出現パターンは、「会社名、日付、担当者」であり、この出現パターンの先頭のタグ「会社名」が、作成データ格納部104から取得される作成タグパターンの先頭のタグ「会社名」と一致すると判断される。また、作成タグパターンには、次のタグ、即ち先頭から二番目のタグがないため、「出現パターンID」が「001」である出現パターン情報が示すタグの出現パターンは、作成タグパターンを含むと判断される。さらに、出現パターン情報が示すタグには「会社名」の次のタグ「日付」が存在するため、次タグ検出部108は、このタグ「日付」を次タグとして検出する。
Next, the next
また、優先度変更部115は、この作成タグパターンを含むと判断された「出現パターンID」が「001」である出現パターン情報に対応付けられた優先度情報の値を更新する。例えば、優先度情報が示す値に予め指定された値の数値、例えば「1」等を加算する。
Further, the
次に、次候補データ取得部110は、次タグ検出部108が検出した次タグ「日付」を取得し、当該次タグ「日付」に対応した次候補データを、次候補データ格納部109から取得する。
Next, the next candidate
図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
次候補データ取得部110は、次候補データ格納部109に格納されている次候補データのうちの、次タグ検出部108が検出したタグに対応した次候補データのうちの、対応する次候補優先度情報が示す優先度が高い、所定数の次候補データを取得する。所定数は、ここでは、予め「3」に指定されているとすると、次候補データ取得部110は、「日付」というタグに対応付けられた次候補データの中から、優先度が高いものから順に、三つの次候補データを取得する。ここでは、次候補データ取得部110は、図11に示す次候補データ管理表から、「タグ」が「日付」であって、「次候補優先度」が「5」、「4」、「3」である次候補データ「12/1」、「12/2」、「12/3」を取得する。
The next candidate
入力候補出力部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
図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
選択データ蓄積部113は、選択された次候補データに、次タグ「日付」を付与して、作成データ格納部104に蓄積する。このとき、出現パターンIDが「001」である出現パターン情報から、次タグ「日付」に対応付けられた属性情報を取得し、次タグと対応付けて蓄積するが、ここでは、属性情報がないため、蓄積しない。また、既に作成データ格納部104に格納されている入力データの作成タグパターンを構成するタグに対応する属性情報を、出現パターンIDが「001」である出現パターン情報から取得し、この属性情報で、作成データ格納部104に格納されている入力データに対応付けられているタグの属性情報を更新する。ここでは、作成タグパターンを構成するタグは、次タグが蓄積されるまでは、図8に示すように、「会社名」だけであるため、このタグ「会社名」に対応する属性情報「クライアント」を出現パターンIDが「001」である出現パターン情報から取得する。しかしながら、この属性情報は、作成データ格納部104に格納されている「会社名」のタグに対応付けられた属性情報と同じであるため、ここでは、属性情報の書き換えは行われない。
The selection
図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
なお、次候補データがドロップダウンメニューから選択されず、ユーザが新たな入力データをキーボード等を介して入力した場合、上述したような入力データにタグを付与する処理が行われ、更に、次候補タグを検出し、次候補を選択するメニュー等を表示する処理が繰り返される。 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
次に、次タグ検出部108は、出現パターン情報格納部107に格納されている出現パターン情報のうちの、対応する優先度情報が示す優先度の値が最も大きい「出現パターンID」が「001」である出現パターン情報を取得する。そして、取得した出現パターン情報が示すタグの出現パターンが、図14に示した作成データ格納部104に格納されている入力データのタグの出現パターン、即ち作成タグパターンを含んでいるか否かを判断する。ここでは、「出現パターンID」が「001」である出現パターン情報が示すタグの出現パターンは、「会社名、日付、担当者」であり、作成タグパターンは「会社名,日付,担当者,日付」であるため、作成タグパターンの全てが、出現パターン情報が示すタグの出現パターンと一致しない。このため、この出現パターン情報が示すタグの出現パターンは、作成タグパターンを含まないと判断される。
Next, the next
このため、次タグ検出部108は、順次、優先度が次に高い出現パターン情報を取得し、取得した出現パターン情報が示すタグの出現パターンが、作成タグパターンの全てを含むか否かを判断する処理を、作成タグパターンの全てを含む出現パターンが検出されるまで行う。検出された場合、検出された出現パターンを示す出現パターン情報から、上記と同様に次タグが検出されるが、ここでは、作成タグパターンの全てを含む出現パターンが検出されなかったとする。あるいは、検出されたが、作成タグパターンと出現パターン情報が示すタグの出現パターンとが完全一致したため次タグが検出されなかったとする。
Therefore, the next
この場合、出現パターン判断部116は、出現パターン情報格納部107に格納されている全ての出現パターン情報の中に、作成タグパターンを含む出現パターンを示す出現パターン情報があるか否かを判断する。この判断処理は、次タグ検出部108と同様に、各出現パターン情報が示すタグの出現パターンを構成するタグと、作成タグパターンが示すタグとを比較していくことにより行われる。なお、次タグ検出部108が、次タグを検出する処理において、作成タグパターンと完全一致するタグの出現パターンを示す出現パターン情報を検出した場合、完全一致する出現パターン情報を検出したことを示す情報を出現パターン判断部116に出力するようにし、出現パターン判断部116は、次タグ検出部108が次タグを検出できなかった場合に、当該情報を取得している場合には、出現パターン情報格納部107に格納されている全ての出現パターン情報が示す全てのタグの出現パターンの中に、作成タグパターンを含む出現パターンがあることを判断するようにし、それ以外の場合は、作成タグパターンを含む出現パターンを示す出現パターン情報がないことを判断してもよい。
In this case, the appearance
出現パターン判断部116が、出現パターン情報格納部107に格納されている全ての出現パターン情報の中に、作成タグパターンを含む出現パターンを示す出現パターン情報がないと判断した場合、付与タグ検出部117は、図10に示すような出現パターン情報管理表から、優先度情報が示す優先度の高さが最も高い出現パターン情報を取得する。ここでは、まず出現パターンIDが「001」である出現パターン情報を取得する。
When the appearance
次に、出現パターン判断部116は、出現パターン情報が示すタグの出現パターンを構成するタグ数が、作成タグパターンのタグ数以上か否かを判断する。出現パターンIDが「001」の出現パターン情報のタグの出現パターンは、「会社名,日付,担当者」であり、作成タグパターンは、「会社名,日付,担当者,日付」であるため、作成タグパターンの方がタグ数が多い。このため、出現パターン判断部116は、出現パターン情報が示すタグの出現パターンを構成するタグ数が、作成タグパターンのタグ数以上ではないと判断する。このため、出現パターン判断部116は、次に優先度が高い、出現パターンIDが「002」である出現パターン情報を取得する。
Next, the appearance
出現パターン判断部116は、取得した出現パターン情報が示すタグの出現パターンを構成するタグ数が、作成タグパターンのタグ数以上か否かを判断する。出現パターンIDが「002」の出現パターン情報のタグの出現パターンは、「会社名,問合わせ日,担当者,訪問日」であり、作成タグパターンは、「会社名,日付,担当者,日付」であるため、タグ数は同じである。このため、出現パターン判断部116は、出現パターン情報が示すタグの出現パターンを構成するタグ数が、作成タグパターンのタグ数以上ではあると判断する。
The appearance
次に、出現パターン判断部116は、出現パターンID「002」の出現パターン情報が示すタグの出現パターンの一つめのタグ「会社名」を取得し、対応タグ格納部102から「会社名」というタグに対応する指定情報を読み出す。具体的には、図7に示した対応タグ管理表から「タグ」の値が「会社名」に一致する指定情報を検索する。図7に示した対応タグ管理表に示すように、「タグ」の値が「会社名」に一致する指定情報が、「"文字列"株式会社」と「株式会社"文字列"」との二つであったとする。出現パターン判断部116は、作成タグパターンの一つめのタグに対応する入力データ「AAA株式会社」を作成データ格納部104から読み出す。そして、読み出した入力データ「AAA株式会社」が、指定情報「"文字列"株式会社」または指定情報「株式会社"文字列"」のいずれか一方によりタグが付与可能な入力データとして指定可能なデータであるか否かをパターンマッチング等で判断する。ここでは、入力データ「AAA株式会社」が指定情報「"文字列"株式会社」が指定するデータであると判断されたとする。
Next, the appearance
次に、出現パターン判断部116は、出現パターンID「002」の出現パターン情報が示すタグの出現パターンの二つめのタグ「問合わせ日」を取得し、対応タグ格納部102から「問合わせ日」というタグに対応する指定情報「"数字"/"数字"」を読み出す。そして、作成タグパターンの二つめのタグに対応する入力データ「12/3」を作成データ格納部104から読み出し、読み出した入力データ「12/3」が、指定情報「"数字"/"数字"」が指定するデータであるか否かをパターンマッチング等で判断する。ここでは、入力データ「12/3」が、指定情報「"数字"/"数字"」が指定するデータであると判断されたとする。
Next, the appearance
また、出現パターン判断部116は、出現パターンID「002」の出現パターン情報が示すタグの出現パターンの三つめのタグについても同様の判断処理を行い、作成タグパターンの三つめのタグに対応する入力データ「山田さん」が、出現パターン情報が示すタグの出現パターンの三つめのタグに対応する指定情報「"文字列"さん」が指定するデータであると判断されたとする。
The appearance
次に、出現パターン判断部116は、出現パターンID「002」の出現パターン情報が示すタグの出現パターンの四つめのタグ「受注日」を取得し、対応タグ格納部102から「問合わせ日」というタグに対応する指定情報「"数字"/"数字"」を読み出す。そして、作成タグパターンの四つめのタグに対応する入力データ「12/25」を作成データ格納部104から読み出し、読み出した入力データ「12/25」が、指定情報「"数字"/"数字"」が指定するデータであるか否かをパターンマッチング等で判断する。ここでは、入力データ「12/25」が、指定情報「"数字"/"数字"」が指定するデータであると判断されたとする。
Next, the appearance
そして、五番目のタグが出現パターン情報が示す出現パターンにないため、タグ更新部118は、出現パターンIDが「002」である出現パターン情報が示すタグの出現パターン「会社名,問合わせ日,担当者,訪問日」を取得し、このタグの出現パターンで、作成データ格納部104に格納されている入力データに付与されたタグの出現パターンである作成タグパターン、即ち「会社名,日付,担当者,日付」を上書きする。また、作成タグパターンを構成するタグに対応付けられていた属性情報も、出現パターンIDが「002」である出現パターン情報を構成するタグに対応付けられた属性情報により上書きする。
Since the fifth tag is not present in the appearance pattern indicated by the appearance pattern information, the
この結果、図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
また、タグ優先度変更部120は、タグ更新部118により更新されたタグの優先度が高くなるよう、対応タグ格納部102にタグと対応付けて格納されているタグ優先度情報を変更する。例えば、更新されたタグのタグ優先度情報の値を「1」インクリメントする。なお、ここでの更新されたタグは、タグの更新により、以前のタグとは異なるタグに置き換えられたタグのみと考えても良いし、変化のないタグも含めるようにしても良い。
Further, the tag
なお、出現パターン判断部116が全ての出現パターン情報について、上記のような処理を行った結果、タグが付与された全ての入力データを順番に指定可能な指定情報を取得可能なタグで構成される出現パターン情報が検出できなかった場合、出現パターン情報蓄積部114は、この作成タグパターンを示す出現パターン情報を新規に構成し、出現パターン情報格納部107に蓄積する。これにより、既存のタグの出現パターンに合致しないデータの出現パターンを、新規のタグの出現パターンとして登録することができる。なお、このとき、優先度情報は、例えば予め指定した値等を付与するようにすればよい。
In addition, as a result of performing the above-described processing on all the appearance pattern information by the appearance
ここで、図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
このため、出現パターン判断部116は、優先度が三番目に高い出現パターンIDが「003」である出現パターン情報を取得する。
Therefore, the appearance
そして、出現パターン判断部116は、出現パターンID「003」の出現パターン情報が示すタグの出現パターンの一つめのタグ「会社名」を取得し、対応タグ格納部102から「会社名」というタグに対応する指定情報「"文字列"株式会社」または「株式会社"数字"」を読み出す。そして、作成タグパターンの一つめのタグに対応する入力データ「AAA株式会社」を作成データ格納部104から読み出し、読み出した入力データ「AAA株式会社」が、「"文字列"株式会社」または「株式会社"数字"」が指定するデータであるか否かをパターンマッチング等で判断する。ここでは、入力データ「AAA株式会社」が、指定情報「"文字列"株式会社」が指定するデータであると判断されたとする。
Then, the appearance
次に、出現パターン判断部116は、出現パターンID「003」の出現パターン情報が示すタグの出現パターンの二つめのタグ「受注日」を取得し、対応タグ格納部102から「受注日」というタグに対応する指定情報「"数字"/"数字"」を読み出す。そして、作成タグパターンの二つめのタグに対応する入力データ「12/3」が、指定情報「"数字"/"数字"」が指定するデータであるか否かを判断する。ここでは、指定するデータであると判断されたとする。
Next, the appearance
次に、出現パターン判断部116は、出現パターンID「003」の出現パターン情報が示すタグの出現パターンの三つめのタグ「商品ID」を取得し、対応タグ格納部102から「商品ID」というタグに対応する指定情報「No:"数字"」を読み出す。そして、作成タグパターンの三つめのタグに対応する入力データ「No:PK078」が、指定情報「No:"数字"」が指定するデータであるか否かを判断する。ここでは、指定するデータであると判断されたとする。
Next, the appearance
次に、出現パターン判断部116は、出現パターンID「003」の出現パターン情報が示すタグの出現パターンの四つめのタグ「数量」を取得し、対応タグ格納部102から「数量」というタグに対応する指定情報「"数字"個」を読み出す。そして、作成タグパターンの四つめのタグに対応する入力データ「2個」が、指定情報「"数字"個」が指定するデータであるか否かを判断する。ここでは、指定するデータであると判断されたとする。
Next, the appearance
そして、五番目のタグが出現パターン情報が示す出現パターンにないため、タグ更新部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
その後、例えば、区切記号として、改行記号等の、一連のデータとして扱われる入力データの入力が終了したことを示す記号としても利用可能な記号等の入力等が行われていた場合や、一連のデータとして扱われる入力データの入力が終了したことを示す記号の入力が行われた場合や、上記のような入力データへのタグの付与や、次タグの検出処理やタグの更新処理等が終了する。また、改行記号等の入力後に新たな入力等が開始された時点で、再度上記のような入力データへのタグの付与や、次タグの検出処理やタグの更新処理等を開始する。この場合、入力データには新たな「タグパターン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
図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
コンピュータシステム900に、上記実施の形態によるデータ編集装置の機能を実行させるプログラムは、CD−ROM921、またはFD922に記憶されて、CD−ROMドライブ905、またはFDドライブ906に挿入され、ハードディスク914に転送されてもよい。これに代えて、そのプログラムは、図示しないネットワークを介してコンピュータ901に送信され、ハードディスク914に記憶されてもよい。プログラムは実行の際にRAM913にロードされる。なお、プログラムは、CD−ROM921やFD922、またはネットワークから直接、ロードされてもよい。
A program that causes the
プログラムは、コンピュータ901に、上記実施の形態によるデータ編集装置の機能を実行させるオペレーティングシステム(OS)、またはサードパーティプログラム等を必ずしも含んでいなくてもよい。プログラムは、制御された態様で適切な機能(モジュール)を呼び出し、所望の結果が得られるようにする命令の部分のみを含んでいてもよい。コンピュータシステム900がどのように動作するのかについては周知であり、詳細な説明は省略する。
The program does not necessarily include an operating system (OS) or a third-party program that causes the
本発明は、以上の実施の形態に限定されることなく、種々の変更が可能であり、それらも本発明の範囲内に包含されるものであることは言うまでもない。 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
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から請求項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.
前記次候補データ取得部は、前記次タグ検出部が検出した次タグに一致するタグと対応付けられた一以上の次候補データのうちの、対応する前記次候補優先度情報が示す優先度の高いものを、前記次候補データ格納部から取得する請求項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.
前記出現パターン判断部が出現パターン情報が存在しないと判断した場合に、前記作成データ格納部に格納されている前記入力受付部が受け付けた入力データに付与可能なタグの出現パターンを有する出現パターン情報を、前記対応タグ格納部に格納されている指定情報とタグとを用いて検出する付与タグ検出部と、
前記付与タグ検出部が検出した出現パターン情報が示す出現パターンとなるように、前記作成データ格納部に格納された入力データのタグを更新するタグ更新部とを備えた請求項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.
前記対応タグ取得部は、前記入力データを指定する前記指定情報に複数のタグが対応している場合に、各タグに付与されたタグ優先度情報が示す優先度に応じたタグを取得する請求項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.
前記対応タグ取得部は、前記指定情報に対応付けられたタグと、当該タグに対応付けられた属性情報を取得し、
前記作成データ蓄積部は、前記入力受付部が受け付けた入力データと、前記対応タグ取得部が取得したタグおよび属性情報とを対応付けて前記作成データ格納部に蓄積する請求項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.
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)
| 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)
| 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 |
-
2009
- 2009-01-30 JP JP2009020599A patent/JP5193894B2/en not_active Expired - Fee Related
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 |