EP1576504A2 - Procede et systeme pour lire des donnees - Google Patents
Procede et systeme pour lire des donneesInfo
- Publication number
- EP1576504A2 EP1576504A2 EP03813648A EP03813648A EP1576504A2 EP 1576504 A2 EP1576504 A2 EP 1576504A2 EP 03813648 A EP03813648 A EP 03813648A EP 03813648 A EP03813648 A EP 03813648A EP 1576504 A2 EP1576504 A2 EP 1576504A2
- Authority
- EP
- European Patent Office
- Prior art keywords
- document
- extract instruction
- extract
- data
- user
- 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.)
- Withdrawn
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/31—Indexing; Data structures therefor; Storage structures
- G06F16/313—Selection or weighting of terms for indexing
Definitions
- the invention relates to a system and a method for reading data from a document, and to a method of acquiring data.
- the automatic reading of data from such documents which - in contrast to databases - will herein be referred to as weakly structured data, usually requires the provision of an extract instruction in an appropriate computer language, for example, a PERL script or a regular expression which is interpreted by known programs as grep, sed or awk.
- an extract instruction in an appropriate computer language, for example, a PERL script or a regular expression which is interpreted by known programs as grep, sed or awk.
- the provision of such an instruction requires programming expertise and is not very comfortable for a user.
- the aim of reading data from a document is usually not only a one-time operation of reading data.
- data changing with time i.e. updated data are preferably read frequently and with time intervals from such documents.
- a document for example, a HTML page
- a given address (URL) in a computer network may comprise an updated table with weather data from different cities.
- the indicated data for example, the temperature, will change from day to day. Under circumstances, it is even possible that the absolute location of a range changes by reformatting. For example, one day, the temperature value of Paris may be mentioned in the third row in column 2, and another day in the second column of another row.
- volatile The particularly interesting class of documents in which the information may change with time.
- the user fixes the range of interesting data in a document by means of an input processed by a computer by means of a program running on this computer.
- a program running on this computer.
- an extract instruction is automatically generated for this purpose.
- the computer has access to at least one document.
- the computer is preferably connected to a computer network, for example, the Internet and accesses a remote document via the computer network.
- the program running on the computer indicates, for example, the document and invites the user to fix the interesting data range, for example, by marking it with an indicator unit (such as a mouse).
- the user may additionally provide a second input with which one or more further ranges, here referred to as structural ranges, are fixed, which may be helpful in finding the desired range.
- these structural ranges may be row or column headers which, in a table, lead to a cell with the desired contents.
- an extract instruction is automatically generated on the basis of the inputs by the user.
- the extract instruction is supplied in a form which can be read by a computer and executed by an appropriate interpreter program, and is preferably stored.
- the extract instruction When executing the extract instruction, the fixed data range of the document is read.
- the extract instruction created When the user has additionally predetermined a structural range, the extract instruction created preferably comprises an address indication corresponding to the position or the content of the predetermined structural range.
- a special grammar is predetermined for the extract instruction.
- a valid expression is composed from a predetermined sequence of terminal symbols.
- the grammar preferably comprises address indications with which given positions of a document can be addressed, on the one hand, absolutely (for example, introduction to the document) and, on the other hand, also relatively to a previously indicated range (for example, two rows lower).
- the grammar used preferably has a simple structure.
- the grammar is preferably adapted to the type of the interesting document.
- a special grammar may be provided for addressing in running texts which can then provide, for example, addressing on a word and sentence basis (for example, second word in third sentence).
- a special grammar may be provided for tables with which addressing on the basis of rows and columns is very well possible (for example, third field in the row starting with "Paris").
- the extract instruction is automatically created in that a plurality of valid extract instructions of the predetermined grammar is generated, which extract instructions are checked on whether the interesting data range of the document is read upon their execution.
- One of the successful extract instructions is selected, for example, with reference to a complexity criterion.
- an automatic extract instruction is preferably not only realized by means of a document, but a plurality of training documents is processed. In this way, there may be a greater probability that the automatically created extract instruction always supplies the desired data, also in the case of volatile documents, without constant adaptation being necessary.
- An extract instruction once created and preferably verified with a plurality of training documents is preferably stored. It can then be iterated with time intervals so as to read the current value from the addressed range of a constantly updated document. The value can be further processed in many different ways. For example, current information of different documents that can be called from a computer network can be combined and processed to information compiled in accordance with personal preferences.
- Fig. 1 shows a graph for deriving an extract instruction.
- current weather reports are to be inserted in an automatically provided personal radio program as described in, for example, WO 99/39466.
- the required current weather information is constantly available from different Internet pages (HTML documents).
- the user should be allowed to fix the information by means of a computer in a simple manner, which information is subsequently inserted into his daily personal radio program (by means of speech synthesis).
- a computer system with input means (for example, keyboard, mouse) and output means (for example, monitor) is used.
- the computer is connected to the Internet.
- a program is installed on the computer, with which program the user can simply formulate an extract instruction for the data that are interesting to him and transmit these data to the service provider who compiles the personal radio program for him.
- the function of this program will hereinafter be described in detail.
- a grammar is provided for the query to be formulated. It can be defined arbitrarily.
- Such a grammar comprises terminal symbols of the following types:
- Absolute addressing so as to address an absolutely fixed range within a document (for example, TOP, BOTTOM, ROOT) .
- a search command consists of a search range (for example, in_paragraph, in_sub-tree, within_column) and a condition (for example, contains_text (T), has_format (F), is_a_number, is_smaller_than (n), carries_xml_tag (T)), possibly a relative path to the location where the condition should be relevant (for example, the relative addressing as above under 2.) and an indicator with which, in the case of a plurality of hits, a single one can be selected (for example, first_occurrence, last_occurrence, nth_occurrence (n)).
- Extract instructions for different documents can be built up by means of a combination of a plurality of the above-mentioned terminal symbols.
- an extract instruction of the following type can be built up: "Take the third table of the document and select the first occurrence of a number followed by a $ sign in a cell which is present in the row whose first column input is "Canada".
- Such an extract instruction could be formed, for example, as follows:
- TOP to_next_table to_next_table to_next_table find (in_table, is_a_number and has_format ("$") and (to_first_column contains_text ("Canada”)), first_occurrence)
- the program running on the computer receives inputs from the user, with which the interesting data in a document are indicated.
- the program then automatically creates an extract instruction.
- the extract instruction is formulated in the predetermined grammar. In the case of a corresponding execution, i.e. through a corresponding interpreter, in the relevant document, it supplies the indicated data.
- the user lives in Frankfurt and, within the framework of his personal radio program, he would like to be informed daily about the current meteorological values such as temperature and humidity in that city. He searches a HTML page which can be called from the Internet, which page daily gives current information about these topics.
- the following Table shows, by way of example, the contents of such a page:
- the user queries the computer with the program, which query is transmitted to the service provider for the purpose of composing the personal radio program.
- the user calls the document with the above-mentioned Table. He marks the interesting value, here the value for the humidity in Frankfurt (60), the mark has been underlined in the Table) by means of the mouse. Additionally, the user marks the row header ("Frankfurt") as a structural range which can be used when addressing the interesting value.
- the program automatically creates an extract instruction in accordance with the predetermined grammar.
- the program mode has been given as a pseudo code in the following survey:
- TargetExpression is an extract instruction leading to your valid input in the training document d
- THEN indicate the range marked by TargetExpression ask user whether the marked region corresponds to the desired data IF user answers with Indeedyes", THEN GOTO5 4. request the user for an input with which the desired range is marked in the training document d.
- This program uses the following functions:
- MARKING_DUE_TO_LOCATOR-EXPR(Document d, extract instruction) This function interprets the extract instruction and returns the data of the document d which are at the location marked by the extract instruction.
- LOCATOR_EXPRESSION_PATH (Document d, extract instruction): This function returns a set of ranges which are run through when the extract instruction in document d is executed.
- COMPLEXITY(extract instruction L) A complexity measure for the extract instruction L, for example, the length of the expression. This complexity measure is used for selection when otherwise there are several equivalent extract instructions.
- the program operates with a number of training documents. These are preferably different documents that can be called under the same URL at different instants so that the volatility of the interesting document is covered as satisfactorily as possible by the available set of training documents. However, the program may also be used when only few training documents or even a single training document is available.
- the outer loop (2. - 13.) is then run through a correspondingly smaller number of times.
- the program represented as pseudo-code above operates as follows:
- the triplet consisting of training documents, desired ranges and (optionally) structural ranges are attached to a list of DocumentsAndMarksList (step 5).
- a number of extract instructions L is generated from the grammar G.
- These are preferably all the valid expressions in the grammar G which do not exceed a predetermined complexity measure (for example, the overall length of the expression). It will be easily possible for those skilled in the art to automatically generate valid expressions from the grammar definition.
- the result of an extract instruction i.e. the number of correct markings in the available training documents, is compared with the currently highest result (best count). At a higher value, the current expression is maintained as the best candidate. At equal values with the currently best candidate, the expression with the lowest complexity is maintained (step 11).
- ROW_HEADER_SEARCH_EXP :: find (within_column, contains_text(#))
- ROW_ELEMENT_SELECTION select_entire_cell
- the searched cell with the content "60" is two cells further to the right, i.e. it is reached by two calls from cell_right.
- the cell thus found is marked as a whole and supplies the desired content "60".
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Document Processing Apparatus (AREA)
Abstract
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP03813648A EP1576504A2 (fr) | 2002-12-19 | 2003-12-03 | Procede et systeme pour lire des donnees |
Applications Claiming Priority (4)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP02102829 | 2002-12-19 | ||
| EP02102829 | 2002-12-19 | ||
| PCT/IB2003/005601 WO2004057496A2 (fr) | 2002-12-19 | 2003-12-03 | Procede et systeme pour lire des donnees |
| EP03813648A EP1576504A2 (fr) | 2002-12-19 | 2003-12-03 | Procede et systeme pour lire des donnees |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| EP1576504A2 true EP1576504A2 (fr) | 2005-09-21 |
Family
ID=32668886
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| EP03813648A Withdrawn EP1576504A2 (fr) | 2002-12-19 | 2003-12-03 | Procede et systeme pour lire des donnees |
Country Status (6)
| Country | Link |
|---|---|
| EP (1) | EP1576504A2 (fr) |
| JP (1) | JP2006510978A (fr) |
| KR (1) | KR20050084409A (fr) |
| CN (1) | CN1930564A (fr) |
| AU (1) | AU2003303254A1 (fr) |
| WO (1) | WO2004057496A2 (fr) |
Family Cites Families (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6283787A (ja) * | 1985-10-09 | 1987-04-17 | 株式会社日立製作所 | 表示画面の出力制御方式 |
| US5367677A (en) * | 1990-05-11 | 1994-11-22 | Thinking Machines Corporation | System for iterated generation from an array of records of a posting file with row segments based on column entry value ranges |
| WO1995034039A1 (fr) * | 1994-06-02 | 1995-12-14 | Hitachi, Ltd. | Procede et appareil permettant l'extraction de chaines de caracteres qui different entre des documents |
| US6285996B1 (en) * | 1997-07-10 | 2001-09-04 | International Business Machines Corp. | Run-time support for user-defined index ranges and index filters |
| WO1999039466A1 (fr) * | 1998-01-29 | 1999-08-05 | Kwoh Daniel S | Dispositifs, systemes et procedes pour radiodiffusion a la demande |
| US7418440B2 (en) * | 2000-04-13 | 2008-08-26 | Ql2 Software, Inc. | Method and system for extraction and organizing selected data from sources on a network |
-
2003
- 2003-12-03 EP EP03813648A patent/EP1576504A2/fr not_active Withdrawn
- 2003-12-03 CN CNA2003801063991A patent/CN1930564A/zh active Pending
- 2003-12-03 AU AU2003303254A patent/AU2003303254A1/en not_active Abandoned
- 2003-12-03 JP JP2004561775A patent/JP2006510978A/ja not_active Withdrawn
- 2003-12-03 KR KR1020057011343A patent/KR20050084409A/ko not_active Withdrawn
- 2003-12-03 WO PCT/IB2003/005601 patent/WO2004057496A2/fr not_active Ceased
Non-Patent Citations (1)
| Title |
|---|
| See references of WO2004057496A2 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1930564A (zh) | 2007-03-14 |
| WO2004057496A3 (fr) | 2005-01-27 |
| WO2004057496A2 (fr) | 2004-07-08 |
| JP2006510978A (ja) | 2006-03-30 |
| KR20050084409A (ko) | 2005-08-26 |
| AU2003303254A1 (en) | 2004-07-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6714905B1 (en) | Parsing ambiguous grammar | |
| US6745181B1 (en) | Information access method | |
| CN110377560B (zh) | 一种简历信息的结构化方法及装置 | |
| US7386438B1 (en) | Identifying language attributes through probabilistic analysis | |
| US7257574B2 (en) | Navigational learning in a structured transaction processing system | |
| US20080294619A1 (en) | System and method for automatic generation of search suggestions based on recent operator behavior | |
| JP4365074B2 (ja) | ユーザ定義可能なパーソナリティを備えた文書拡充システム | |
| US20160012047A1 (en) | Method and Apparatus for Updating Speech Recognition Databases and Reindexing Audio and Video Content Using the Same | |
| JP5187313B2 (ja) | 文書重要度算出システム、文書重要度算出方法およびプログラム | |
| CN1815477B (zh) | 用于提供基于标记语言的限定词的方法和系统 | |
| US8874590B2 (en) | Apparatus and method for supporting keyword input | |
| US8484015B1 (en) | Entity pages | |
| WO2001084373A2 (fr) | Recherche d'informations | |
| US20030210249A1 (en) | System and method of automatic data checking and correction | |
| US20070130134A1 (en) | Natural-language enabling arbitrary web forms | |
| JP4116599B2 (ja) | 質問応答システム、方法及びプログラム | |
| US20060161564A1 (en) | Method and system for locating information in the invisible or deep world wide web | |
| US7996410B2 (en) | Word pluralization handling in query for web search | |
| KR102280028B1 (ko) | 빅데이터와 인공지능을 이용한 챗봇 기반 콘텐츠 관리 방법 및 장치 | |
| CN114064861A (zh) | 一种查询语句的生成方法和装置 | |
| JPH0981580A (ja) | 情報検索装置及びこれを用いた情報検索システム | |
| US8640017B1 (en) | Bootstrapping in information access systems | |
| US7127450B1 (en) | Intelligent discard in information access system | |
| CN101344892A (zh) | 信息处理设备、信息处理方法及计算机可读信息记录介质 | |
| WO2004057496A2 (fr) | Procede et systeme pour lire des donnees |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
| 17P | Request for examination filed |
Effective date: 20050727 |
|
| AK | Designated contracting states |
Kind code of ref document: A2 Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LI LU MC NL PT RO SE SI SK TR |
|
| AX | Request for extension of the european patent |
Extension state: AL LT LV MK |
|
| DAX | Request for extension of the european patent (deleted) | ||
| RAP1 | Party data changed (applicant data changed or rights of an application transferred) |
Owner name: KONINKLIJKE PHILIPS ELECTRONICS N.V. Owner name: PHILIPS INTELLECTUAL PROPERTY & STANDARDS GMBH |
|
| STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION HAS BEEN WITHDRAWN |
|
| 18W | Application withdrawn |
Effective date: 20070801 |