# US 2022/0035885 A1 · Link localization by country

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0035885 A1
- Document ID: US20220035885A1
- Status: Published application
- Kind: A1
- Application number: 17/403,667
- Filed: 2021-08-16
- Published: 2022-02-03
- Earliest claimed: 2019-02-01
- Assignees: Pinterest, Inc.
- Applicants: Pinterest, Inc.
- Inventors: Fei Liu; Jun Liu; Siyang Xie; Yang Xiao
- Web page: https://patentgrep.com/patent/US20220035885A1

## CPC

- G06F 16/9566: {URL specific, e.g. using aliases, detecting broken or misspelled links}
- G06F 16/90332: {Natural language query formulation or dialogue systems}
- G06F 16/909: using geographical or spatial information, e.g. location (spatiotemporally dependent retrieval from the web G06F16/9537)
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/52: specially adapted for the location of the user terminal
- H04L 67/306: User profiles
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Described are systems and methods that solve localization problems using Machine Learning models to compute country vectors for each linked content item and present content items in response to requests based on the country vectors. For example, a request from a user in Country A may be processed to determine candidate content items responsive to the request and to determine Country A as the country corresponding to the request. The candidate content items may then be processed to determine, for each candidate content item, a country vector corresponding to Country A as indicative of the relevance of the content item to Country A. Content items that are more likely than not to be relevant to the country of the request (e.g., Country A), as indicated by the respective country vector, may be considered as responsive and all other candidate content items discarded.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method comprising:
determining a country associated with a request for content items;
determining, based at least in part on the request, a plurality of candidate content items responsive to the request, each of the plurality of candidate content items being associated with a corresponding link;
computing, for each of the plurality of candidate content items and using a trained machine learning system, a corresponding country vector;
comparing each corresponding country vector against a threshold;
determining that a first corresponding country vector of the corresponding country vectors exceeds the threshold;
returning, in response to the request, the corresponding link associated with a first content item corresponding to the first corresponding country vector.

### Claim 22 (depends on 21)

The method of claim 21, further comprising:
determining that a second corresponding country vector from the corresponding country vectors does not exceed the threshold; and
discarding, based on the determination that the second corresponding country vector does not exceed the threshold, a second content item corresponding to the second corresponding country vector.

### Claim 23 (depends on 21)

The method of claim 21, further comprising:
determining that a second corresponding country vector from the corresponding country vectors does not exceed the threshold; and
discarding, based on the determination that the second corresponding country vector does not exceed the threshold, a second content item corresponding to the second corresponding country vector.

### Claim 24 (depends on 23)

The method of claim 23, wherein computing each corresponding country vector based at least in part on each corresponding link includes retracting a link path of the corresponding link.

### Claim 25 (depends on 21)

The method of claim 21, wherein computing the corresponding country vector for each of the plurality of content items includes at least one of:
determining a language corresponding to the content item;
determining a historical user preference corresponding to a historical access to the content item; or
determining a link locale corresponding to a link of the content item.

### Claim 26

A computing system, comprising:
one or more processors; and
a memory storing program instructions that, when executed by the one or more processors, cause the one or more processors to at least:
receive a request;
determine a location corresponding to the request;
for each of a plurality of content items:
compute a vector indicative of a relevance of the content item to the location; and
determine if the vector exceeds a threshold; and
return, as responsive to the request, at least one content item of the plurality of content items having a vector that exceeds the threshold.

### Claim 27 (depends on 26)

The computing system of claim 26, wherein determining the location corresponding to the request includes determining at least one of a language corresponding to the request, a location of a device associated with the request, or a user country preference.

### Claim 28 (depends on 26)

The computing system of claim 26, wherein the program instructions, when executed by the one or more processors, further cause the one or more processors to determine at least one of:
a language corresponding to a content item of the plurality of content items;
a historical user preference of the content item;
a link locale for the content item; or
third party data corresponding to the content item.

### Claim 29 (depends on 28)

The computing system of claim 28, wherein the program instructions, when executed by the one or more processors to cause the one or more processors to compute the vector, further cause the one or more processors to at least:
compute the vector based at least in part on one or more of the language, the historical user preference, or the link locale.

### Claim 30 (depends on 26)

The computing system of claim 26, wherein the computation of the vector is performed at least in part by a machine learning system.

### Claim 31 (depends on 26)

The computing system of claim 26, wherein the program instructions, when executed by the one or more processors, further cause the one or more processors to at least:
determine a plurality of locations corresponding to the request; and
for each of the plurality of content items:
compute, for each of the plurality of locations, a vector indicative of a relevance of the content item to the location.

### Claim 32 (depends on 26)

The computing system of claim 26, wherein:
each of the plurality of content items is associated with a corresponding link; and
computing the vector for each of the plurality of content items is based at least in part on the corresponding link.

### Claim 33 (depends on 32)

The computing system of claim 32, wherein computing the vector for each of the plurality of content items based at least in part on each corresponding link includes retracting a link path of the corresponding link.

### Claim 34 (depends on 26)

The computing system of claim 26, wherein the program instructions, when executed by the one or more processors, further cause the one or more processors to at least:
discard at least one content item of the plurality of content items having a vector that does not exceed the threshold.

### Claim 35 (depends on 26)

The computing system of claim 26, wherein the program instructions, when executed by the one or more processors, further cause the one or more processors to at least:
rank the plurality of content items based at least in part on one or more of a relevance to the request or the vector corresponding to each content item.

### Claim 36 (depends on 26)

The computing system of claim 26, wherein the program instructions, when executed by the one or more processors, further cause the one or more processors to at least:
maintain, in a data store, the vectors computed for each of content items.

### Claim 37

A computer-implemented method, comprising:
determining a first location corresponding to a request for content items from a user;
for each of a first plurality of content items, computing at least one location vector, the location vector indicative of a relevance of the content item to the first location;
determining from the first plurality of content items, a second plurality of content items having a location vector value that exceeds a threshold, wherein the second plurality of content items is less than the first plurality of content items; and
providing access to at least a portion of the second plurality of content items to a user.

### Claim 38 (depends on 37)

The computer-implemented method of claim 37, wherein the first location is determined based on one or more of a language corresponding to the request, a second location of a device from which the request was received, a third location of a user, or a user country preference.

### Claim 39 (depends on 37)

The computer-implemented method of claim 37, wherein computing at least one location vector includes:
determining, for the content item, at least one of a language of the content item, a language of a link to the content item, a historical user preference corresponding to the content item, a link locale for the content item, or third party data corresponding to the content item;
providing, as input to a machine learning system, at least one of the language of the content item, the language of the link to the content item, the historical user preference corresponding to the content item, the link locale for the content item, or the third party data corresponding to the content item; and
receiving, from the machine learning system and in response to the input, the at least one location vector for the content item.

### Claim 40 (depends on 37)

The computer-implemented method of claim 37, further comprising:
ranking the at least a portion of the second plurality of content items to generate a ranked list of the second plurality of content items,
wherein providing access includes providing, for presentation to the user, the ranked list.
