1. Field of the Invention
The present invention is related to handling anchor text for information retrieval.
2. Description of the Related Art
The World Wide Web (also known as WWW or the “Web”) is a collection of some Internet servers that support Web pages that may include links to other Web pages. A Uniform Resource Locator (URL) indicates a location of a Web page. Also, each Web page may contain, for example, text, graphics, audio, and/or video content. For example, a first Web page may contain a link to a second Web page. When the link is selected in the first Web page, the second Web page is typically displayed.
A Web browser is a software application that is used to locate and display Web pages. Currently, there are billions of Web pages on the Web.
Web search engines are used to retrieve Web pages on the Web based on some criteria (e.g., entered via the Web browser). That is, Web search engines are designed to return relevant Web pages given a keyword query. For example, the query “HR” issued against a company intranet search engine is expected to return relevant pages in the intranet that are related to Human Resources (HR). The Web search engine uses indexing techniques that relate search terms (e.g., keywords) to Web pages.
An anchor may be described as a link or path to a document (e.g., a URL). Anchor text may be described as text associated with a path or link (e.g., a URL) that points to a document. For example, anchor text may be text that labels or encloses hypertext text links in Web documents. Anchor text is collected by Web search engines and is associated with target documents. Also, the anchor text and target documents are indexed together.
Web search engines use context information (e.g., title, summary, language, etc.) to enrich search results. This provides a user with screened search results. Anchor text, however, may not be relevant for use as context information. For example, anchor text may be in a different language than the target document, and use of the anchor text without further processing may result in, for example, a Japanese title for an English document. Moreover, anchor text may not be related to the content of the document. For instance, anchor text may contain common words (e.g., “Click here”) that occur often and are used primarily for navigation, but which do not have any meaningful value as a title. Also, anchor text may be inaccurate, impolite or may contain slang, (e.g., an anchor to a “Network Security Guide” has anchor text “Looking for Trouble?”).
Moreover, generation of context information is especially difficult when the contents of a Web page can not be retrieved (e.g., due to server outage, incompleteness of the retrieval of Web pages for processing by the search engine, robots.txt prohibiting access) or when a document is retrieved but cannot be analyzed (e.g., because the file is a video/audio/multimedia file, is in an unknown or unsupported format, is ill-formed or is password protected).
Most search engines display only a Uniform Resource Locator (URL) in the absence of content of a Web page. That, however, makes it hard for the user to capture the usefulness of a search result without looking at the Web page itself.
Thus, there is a need for improved document processing to provide context information for documents, such as Web pages.
Provided are a method, system, and program for processing anchor text. A set of anchors that point to a target document is formed. Anchors with same anchor text are grouped together. Information is computed for each group. Context information is generated for the target document based on the computed information.
Referring now to the drawings in which like reference numbers represent corresponding parts throughout:
In the following description, reference is made to the accompanying drawings which form a part hereof and which illustrate several implementations of the present invention. It is understood that other implementations may be utilized and structural and operational changes may be made without departing from the scope of the present invention.
Certain implementations of the invention make a document available for searching by indexing anchor text instead of or in addition to content. Certain implementations generate context information from the anchor text of anchors that point to a document. For instance, at least a portion of anchor text may be designated as a title or a summary of the document. However, it may be difficult to identify meaningful anchor text because anchor text may be in a different language than the target document, anchor text may not be related to the content of the document, or anchor text may be inaccurate, impolite or may contain slang. Furthermore, special care is taken to remove noise in the anchor text that does not have meaningful value as, for example, a title (e.g., URLs, file names, navigational text such as “next column”).
Thus, certain implementations of the invention process raw anchor text to obtain high quality titles and summaries. Certain implementations of the invention distill raw anchor text to obtain high quality data that can be used for generating title or summary data for search result items. The result of the raw anchor text processing improves the overall search quality and, therefore, user experience in a document retrieval system.
The server computer 120 includes system memory 122, which may be implemented in volatile and/or non-volatile devices. A search engine 130 executes in the system memory 122. In certain implementations, the search engine includes a crawler component 132, a static rank component 134, a document analysis component 136, a duplicate detection component 138, an anchor text component 140, and an indexing component 142. The anchor text component 140 includes a context information generator 141. Although components 132, 134, 136, 138, 140, 141, and 142 are illustrated as separate components, the functionality of components 132, 134, 136, 138, 140, 141, and 142 may be implemented in fewer or more or different components than illustrated. Additionally, the functionality of the components 132, 134, 136, 138, 140, 141, and 142 may be implemented at a Web application server computer or other server computer that is connected to the server computer 120. Additionally, one or more server applications 160 execute in system memory 122.
The server computer 120 provides the client computer 100 with access to data in at least one data store 170 (e.g., a database). Although a single data store 170 is illustrated, for ease of understanding, data in data store 170 may be stored in data stores at other computers connected to server computer 120.
Also, an operator console 180 executes one or more applications 182 and is used to access the server computer 120 and the data store 170.
The data store 170 may comprise an array of storage devices, such as Direct Access Storage Devices (DASDs), Just a Bunch of Disks (JBOD), Redundant Array of Independent Disks (RAID), virtualization device, etc. The data store 170 includes data that is used with certain implementations of the invention.
In block 202, documents that are to be indexed by the search engine 130 are obtained. In certain implementations, the documents are published or pushed (e.g., as may be the case with newspaper articles) to the indexing component 142. In certain implementations, the crawler component 132 discovers, fetches, and stores the documents. In certain implementations, the crawler component 132 may discover documents based on, for example, certain criteria (e.g., documents were accessed within the last month). Additionally, the crawler component 132 may discover documents in one or more data stores connected directly (e.g., data store 170) or indirectly (e.g., connected to server computer 120 via another computing device (not shown)) to server computer 120. In certain implementations, the crawler component 132 discovers, fetches, and stores Web pages in data store 170. These stored documents may be referred to as a “collection of documents”.
In block 204, the document analysis component 136 performs per document analysis. In particular, the document analysis component 136 reviews the stored documents, parses and tokenizes the documents, and determines, for each document, the language in which each document was written, extracts anchor text, and performs other tasks such as, categorization and classification of the documents. The language information is stored for later use. For example, the document analysis component 136 determines whether the primary language used in the document is English, Japanese, German, etc. As part of extracting the anchor text, the document analysis component 136 also associates a proximity class with each anchor. A proximity class may be described as specifying how close a source document is to a target document (e.g., whether they are on the same server, and if so, whether they are in the same directory). Also, the extracted anchor text is ready to be processed by the anchor text component 140.
In block 206, the static rank component 134 reviews the stored documents and assigns a rank to the documents. The rank may be described as the importance of the source document relative to other documents that have been stored by the crawler component 132. Any type of ranking technique may be used. For example, documents that are accessed more frequently may receive a higher rank.
In block 208, the context information generator 141 sorts the anchors by target document. This results in the set of anchors for a target document being grouped together in a set for further processing. Each set is separately processed for each target document, as will be described with reference to
In block 302, the context information generator 141 removes anchors that have anchor text that contains a path (e.g., URL) or a portion of a path to the target document. In block 304, the context information generator 141 removes anchor text based on whether and in which order or combination the anchor text contains words from a configurable set of words (e.g., anchor text that contains only words from the configurable set, that contains at least a number of words from the configurable set or contains words from the configurable set in a certain order may be removed). The configurable set of words may be, for example, determined by a system administrator. For example, the configurable set of words may include stop words, such as “click here” or “the”.
In block 306, the context information generator 141 sorts the set of anchors by anchor text and groups together anchors having the same anchor text. In block 308, the context information generator 141 computes a weighted sum of occurrences of the text for each group. The weight of each individual occurrence of the text may be determined by the proximity class of the anchor. For example, if a first document has a proximity class A, a second document has a proximity class B, and a third document has proximity class C, and classes A, B and C have weight 10, 5, and 2 respectively, the weighted sum is 17.
In block 310, the context information generator 141 computes an accumulated rank for each group. That is, each anchor in the group contributes to this rank according to the rank of its source document and its proximity class. For example, if a first document has a proximity class A, a second document has a proximity class B, and a third document has proximity class C, and classes A, B and C have weight 10, 5, and 2 respectively, if the first, second and third documents have static ranks 9, 13, and 16, respectively, and if the accumulated rank is computed by weighted average, the accumulated rank is (9*10+13*5+16*2)/(10+5+2)=187/17=11. Other techniques of computing accumulated rank include minimum, maximum, or both of these in combination with preferring the ranks of one proximity class over the others, etc.
In block 312, the context information generator 141 computes a linguistic score for each group. In certain implementations, this score may be computed by a linguistic analysis of the text that scores the text for displayability as a title. For example, displayability as a title may be determined by considering the number of words in the text (e.g, a title should be brief), further linguistic analysis of the text, statistical analysis of each word or the number of occurrences of the words in all anchors in the set of anchors that point to a target document or the similarity of the anchor to the content of the target document when the target document is available for access.
In block 314, the context information generator 141 computes a combined relevance score from the weighted sum of occurrences, the accumulated static rank, and the linguistic score for each group.
In block 316, the context information generator 141 generates context information for the target document. In certain implementations, the context information generator 141 selects the text of the group with the highest combined relevance score as a pseudo-title, composes an anchor-based static summary for the target document from the anchor texts of the n groups with the highest relevance score, and concludes the language of T from the predominant source language.
Once anchor text processing is completed, the indexing component 142 generates an index, using the processed anchor text.
Thus, certain implementations of the invention provide a technique for generating high-quality context information for search result items from a collection of anchors. In certain implementations, an analysis of each document is performed to identify the language in which the document was written, a global analysis of all documents is performed to assign a static rank to each document, and anchors are sorted by target document to obtain for each target document a logical collection of all anchors that point to the target document. For each collection of anchors pointing to a target document, the following may be performed: analysis of the distribution of the languages of the source documents; pruning of anchors from the collection based on the language distribution; noise filtering based on stop word and URL detection; classification of each anchor according to the proximity of the source to the target; and, assigning of a weight to each proximity class. Additionally, each anchor may be scored based on linguistic analysis of anchor text of the anchor. Furthermore, relevance-ordering of remaining unique anchor texts (i.e., the same text can be on different anchors) may be performed based on the weighted sum of occurrences in each proximity class, the accumulated rank of all source documents, and the linguistic score of the text.
The results of the anchor text processing are high quality titles, summaries, and other contextual information (e.g, the most likely language for each target). For search results where the target document is not available, this context information may be displayed to the user. If the target document itself is available, the generated context information may be used to enrich the information gained from the target document (e.g., by finding similarities between the document and its anchors).
The described techniques for handling anchor text may be implemented as a method, apparatus or article of manufacture using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof. The term “article of manufacture” as used herein refers to code or logic implemented in hardware logic (e.g., an integrated circuit chip, Programmable Gate Array (PGA), Application Specific Integrated Circuit (ASIC), etc.) or a computer readable medium, such as magnetic storage medium (e.g., hard disk drives, floppy disks, tape, etc.), optical storage (CD-ROMs, optical disks, etc.), volatile and non-volatile memory devices (e.g., EEPROMs, ROMs, PROMs, RAMs, DRAMs, SRAMs, firmware, programmable logic, etc.). Code in the computer readable medium is accessed and executed by a processor. The code in which various implementations are implemented may further be accessible through a transmission media or from a file server over a network. In such cases, the article of manufacture in which the code is implemented may comprise a transmission media, such as a network transmission line, wireless transmission media, signals propagating through space, radio waves, infrared signals, etc. Thus, the “article of manufacture” may comprise the medium in which the code is embodied. Additionally, the “article of manufacture” may comprise a combination of hardware and software components in which the code is embodied, processed, and executed. Of course, those skilled in the art will recognize that many modifications may be made to this configuration without departing from the scope of the present invention, and that the article of manufacture may comprise any information bearing medium known in the art.
The logic of
The illustrated logic of
The computer architecture 500 may comprise any computing device known in the art, such as a mainframe, server, personal computer, workstation, laptop, handheld computer, telephony device, network appliance, virtualization device, storage controller, etc. Any processor 502 and operating system 505 known in the art may be used.
The foregoing description of implementations of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations are possible in light of the above teaching. It is intended that the scope of the invention be limited not by this detailed description, but rather by the claims appended hereto. The above specification, examples and data provide a complete description of the manufacture and use of the composition of the invention. Since many implementations of the invention can be made without departing from the spirit and scope of the invention, the invention resides in the claims hereinafter appended.
Number | Name | Date | Kind |
---|---|---|---|
4965763 | Zamora | Oct 1990 | A |
5187790 | East et al. | Feb 1993 | A |
5265221 | Miller | Nov 1993 | A |
5287496 | Chen et al. | Feb 1994 | A |
5297039 | Kanaegami et al. | Mar 1994 | A |
5574906 | Morris | Nov 1996 | A |
5638543 | Pedersen et al. | Jun 1997 | A |
5685003 | Peltonen et al. | Nov 1997 | A |
5701469 | Brandli et al. | Dec 1997 | A |
5708825 | Sotomayor | Jan 1998 | A |
5721938 | Stuckey | Feb 1998 | A |
5721939 | Kaplan | Feb 1998 | A |
5724033 | Burrows | Mar 1998 | A |
5729730 | Wlaschin et al. | Mar 1998 | A |
5745889 | Burrows | Apr 1998 | A |
5745890 | Burrows | Apr 1998 | A |
5745894 | Burrows et al. | Apr 1998 | A |
5745898 | Burrows | Apr 1998 | A |
5745899 | Burrows | Apr 1998 | A |
5745900 | Burrows | Apr 1998 | A |
5745904 | King et al. | Apr 1998 | A |
5745906 | Squibb | Apr 1998 | A |
5765149 | Burrows | Jun 1998 | A |
5765150 | Burrows | Jun 1998 | A |
5765158 | Burrows | Jun 1998 | A |
5765168 | Burrows | Jun 1998 | A |
5787435 | Burrows | Jul 1998 | A |
5797008 | Burrows | Aug 1998 | A |
5809502 | Burrows | Sep 1998 | A |
5832480 | Byrd et al. | Nov 1998 | A |
5832500 | Burrows | Nov 1998 | A |
5832519 | Bowen et al. | Nov 1998 | A |
5852820 | Burrows | Dec 1998 | A |
5862325 | Reed et al. | Jan 1999 | A |
5864863 | Burrows | Jan 1999 | A |
5873097 | Harris et al. | Feb 1999 | A |
5884305 | Kleinberg et al. | Mar 1999 | A |
5890103 | Carus | Mar 1999 | A |
5893119 | Squibb | Apr 1999 | A |
5903646 | Rackman | May 1999 | A |
5903891 | Chen et al. | May 1999 | A |
5909677 | Broder et al. | Jun 1999 | A |
5914679 | Burrows | Jun 1999 | A |
5915251 | Burrows et al. | Jun 1999 | A |
5920859 | Li | Jul 1999 | A |
5933822 | Braden-Harder et al. | Aug 1999 | A |
5963940 | Liddy et al. | Oct 1999 | A |
5963954 | Burrows | Oct 1999 | A |
5966703 | Burrows | Oct 1999 | A |
5966710 | Burrows | Oct 1999 | A |
5970497 | Burrows | Oct 1999 | A |
5974412 | Hazlehurst et al. | Oct 1999 | A |
5995980 | Olson et al. | Nov 1999 | A |
6005503 | Burrows | Dec 1999 | A |
6016493 | Burrows | Jan 2000 | A |
6016501 | Martin et al. | Jan 2000 | A |
6021409 | Burrows | Feb 2000 | A |
6026388 | Liddy et al. | Feb 2000 | A |
6026413 | Challenger et al. | Feb 2000 | A |
6029165 | Gable | Feb 2000 | A |
6035268 | Carus et al. | Mar 2000 | A |
6047286 | Burrows | Apr 2000 | A |
6067543 | Burrows | May 2000 | A |
6078914 | Redfern | Jun 2000 | A |
6078916 | Culliss | Jun 2000 | A |
6078923 | Burrows | Jun 2000 | A |
6088694 | Burns et al. | Jul 2000 | A |
6105019 | Burrows | Aug 2000 | A |
6119124 | Broder et al. | Sep 2000 | A |
6182062 | Fujisawa et al. | Jan 2001 | B1 |
6182121 | Wlaschin | Jan 2001 | B1 |
6192258 | Kamada et al. | Feb 2001 | B1 |
6192333 | Pentheroudakis | Feb 2001 | B1 |
6205451 | Norcott et al. | Mar 2001 | B1 |
6205456 | Nakao | Mar 2001 | B1 |
6216175 | Sliger et al. | Apr 2001 | B1 |
6233571 | Egger et al. | May 2001 | B1 |
6243713 | Nelson et al. | Jun 2001 | B1 |
6243718 | Klein et al. | Jun 2001 | B1 |
6269361 | Davis et al. | Jul 2001 | B1 |
6278992 | Curtis et al. | Aug 2001 | B1 |
6285999 | Page | Sep 2001 | B1 |
6295529 | Corston-Oliver et al. | Sep 2001 | B1 |
6308179 | Petersen et al. | Oct 2001 | B1 |
6324566 | Himmel et al. | Nov 2001 | B1 |
6336117 | Massarani | Jan 2002 | B1 |
6339772 | Klein et al. | Jan 2002 | B1 |
6374268 | Testardi | Apr 2002 | B1 |
6381602 | Shoroff et al. | Apr 2002 | B1 |
6385616 | Gardner | May 2002 | B1 |
6418433 | Chakrabarti et al. | Jul 2002 | B1 |
6421655 | Horvitz et al. | Jul 2002 | B1 |
6463439 | Dahlberg | Oct 2002 | B1 |
6519592 | Getchius et al. | Feb 2003 | B1 |
6519593 | Matias et al. | Feb 2003 | B1 |
6519597 | Cheng et al. | Feb 2003 | B1 |
6542906 | Korn | Apr 2003 | B2 |
6547829 | Meyerzon et al. | Apr 2003 | B1 |
6553385 | Johnson et al. | Apr 2003 | B2 |
6567804 | Ramasamy et al. | May 2003 | B1 |
6578032 | Chandrasekar et al. | Jun 2003 | B1 |
6584458 | Millett et al. | Jun 2003 | B1 |
6594682 | Peterson et al. | Jul 2003 | B2 |
6615209 | Gomes et al. | Sep 2003 | B1 |
6618725 | Fukuda et al. | Sep 2003 | B1 |
6622211 | Henry et al. | Sep 2003 | B2 |
6631369 | Meyerzon et al. | Oct 2003 | B1 |
6631496 | Li et al. | Oct 2003 | B1 |
6633872 | Ambrosini et al. | Oct 2003 | B2 |
6643650 | Slaughter et al. | Nov 2003 | B1 |
6658406 | Mazner et al. | Dec 2003 | B1 |
6658423 | Pugh et al. | Dec 2003 | B1 |
6665657 | Dibachi | Dec 2003 | B1 |
6678409 | Wu et al. | Jan 2004 | B1 |
6754873 | Law et al. | Jun 2004 | B1 |
6763362 | McKeeth | Jul 2004 | B2 |
6766316 | Caudill et al. | Jul 2004 | B2 |
6789077 | Slaughter et al. | Sep 2004 | B1 |
6810375 | Ejerhed | Oct 2004 | B1 |
6839665 | Meyers | Jan 2005 | B1 |
6839702 | Patel et al. | Jan 2005 | B1 |
6839843 | Bacha et al. | Jan 2005 | B1 |
6842730 | Ejerhed et al. | Jan 2005 | B1 |
6845009 | Whitted | Jan 2005 | B1 |
6850979 | Saulpaugh et al. | Feb 2005 | B1 |
6865575 | Smith et al. | Mar 2005 | B1 |
6868447 | Slaughter et al. | Mar 2005 | B1 |
6870095 | Whitted | Mar 2005 | B1 |
6877136 | Bess et al. | Apr 2005 | B2 |
6904454 | Stickler | Jun 2005 | B2 |
6906920 | Whitted | Jun 2005 | B1 |
6934634 | Ge | Aug 2005 | B1 |
7031954 | Kirsch | Apr 2006 | B1 |
7051023 | Kapur et al. | May 2006 | B2 |
20010027451 | Taguchi et al. | Oct 2001 | A1 |
20010049671 | Joerg | Dec 2001 | A1 |
20020032705 | Higashiyama et al. | Mar 2002 | A1 |
20020065957 | Rubin | May 2002 | A1 |
20020099723 | Garcia-Chiesa | Jul 2002 | A1 |
20020120685 | Srivastava et al. | Aug 2002 | A1 |
20020129014 | Kim et al. | Sep 2002 | A1 |
20020129015 | Caudill et al. | Sep 2002 | A1 |
20020165707 | Call | Nov 2002 | A1 |
20020169770 | Kim et al. | Nov 2002 | A1 |
20020174149 | Conroy et al. | Nov 2002 | A1 |
20020188615 | Latarche et al. | Dec 2002 | A1 |
20030028564 | Sanfilippo | Feb 2003 | A1 |
20030046311 | Baidya et al. | Mar 2003 | A1 |
20030055626 | Miyahira et al. | Mar 2003 | A1 |
20030093409 | Weil et al. | May 2003 | A1 |
20030163454 | Jacobsen et al. | Aug 2003 | A1 |
20030177127 | Goodwin et al. | Sep 2003 | A1 |
20030182282 | Ripley | Sep 2003 | A1 |
20030187833 | Plu | Oct 2003 | A1 |
20030217052 | Rubenczyk et al. | Nov 2003 | A1 |
20030225763 | Guilak et al. | Dec 2003 | A1 |
20030225779 | Matsuda | Dec 2003 | A1 |
20030229604 | Zaragoza et al. | Dec 2003 | A1 |
20040078356 | Mazner et al. | Apr 2004 | A1 |
20040078753 | Doyle | Apr 2004 | A1 |
20040111408 | Caudill et al. | Jun 2004 | A1 |
20040123104 | Boyen et al. | Jun 2004 | A1 |
20040162997 | Hopmann et al. | Aug 2004 | A1 |
20040215606 | Cossock | Oct 2004 | A1 |
20040243554 | Broder et al. | Dec 2004 | A1 |
20040243556 | Ferrucci et al. | Dec 2004 | A1 |
20040243557 | Broder et al. | Dec 2004 | A1 |
20040243560 | Broder et al. | Dec 2004 | A1 |
20040243581 | Weissman et al. | Dec 2004 | A1 |
20040243645 | Broder et al. | Dec 2004 | A1 |
20050044411 | Somin et al. | Feb 2005 | A1 |
20050120004 | Stata et al. | Jun 2005 | A1 |
20050149499 | Franz et al. | Jul 2005 | A1 |
20050149576 | Marmaros et al. | Jul 2005 | A1 |
20050149851 | Mittal | Jul 2005 | A1 |
20050198076 | Stata et al. | Sep 2005 | A1 |
20060047825 | Steenstra et al. | Mar 2006 | A1 |
20060074962 | Fontoura et al. | Apr 2006 | A1 |
20070271268 | Fontoura et al. | Nov 2007 | A1 |
20070282829 | Fontoura et al. | Dec 2007 | A1 |
Number | Date | Country |
---|---|---|
0 809 197 | Nov 1997 | EP |
0809197 | Nov 1997 | EP |
10289246 | Oct 1998 | JP |
10293767 | Nov 1998 | JP |
2000339309 | Dec 2000 | JP |
9749048 | Dec 1997 | WO |
WO-9749048 | Dec 1997 | WO |
Number | Date | Country | |
---|---|---|---|
20050165781 A1 | Jul 2005 | US |