摘要 |
A computing device may receive a request for sitelinks corresponding to a document and identify a plurality of hyperlinks corresponding to the document. Each hyperlink, of the plurality of hyperlinks, may include a hyperlink object within the document. The computing device may determine a visual location corresponding to each hyperlink of the plurality of hyperlinks corresponding to the document, and assign a score to each hyperlink, of the plurality of hyperlinks, based on the visual location corresponding to the hyperlink. The computing device may provide a sitelink, corresponding to a hyperlink, of the plurality of hyperlinks, based on the score assigned to the hyperlink. |
主权项 |
1. A method performed by a computing device, the method comprising:
receiving, by the computing device, a request for sitelinks corresponding to a document; identifying, by the computing device, a plurality of hyperlinks corresponding to the document,
each hyperlink, of the plurality of hyperlinks, comprising a hyperlink object within the document; determining, by the computing device, a visual location corresponding to each hyperlink of the plurality of hyperlinks corresponding to the document; assigning, by the computing device, a score to each hyperlink, of one or more of the plurality of hyperlinks, based on the visual location corresponding to the hyperlink,
assigning the score to each hyperlink of the one or more of the plurality of hyperlinks including:
assigning a score to each hyperlink corresponding to a particular hyperlink group,
each hyperlink, not corresponding to the particular hyperlink group, being disregarded,the particular hyperlink group including at least one hyperlink of the plurality of hyperlinks; and providing, by the computing device, at least one sitelink, corresponding to a hyperlink of the one or more of the plurality of hyperlinks, based on the score assigned to the hyperlink. |