# US 2021/0286763 A1 · Suggesting a destination folder for a file to be saved

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

- Number: US 2021/0286763 A1
- Document ID: US20210286763A1
- Status: Published application
- Kind: A1
- Application number: 17/334,430
- Filed: 2021-05-28
- Published: 2021-09-16
- Earliest claimed: 2018-11-30
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Sunhwan Lee; Shun Jiang; Robert J. Moore; Guangjie Ren; Raphael I. Arar
- Web page: https://patentgrep.com/patent/US20210286763A1

## CPC

- G06F 16/156: {Query results presentation}
- G06F 40/194: Calculation of difference between files
- G06F 16/148: {File search processing}
- G06F 16/16: File or folder operations, e.g. details of user interfaces specifically adapted to file systems
- G06F 40/205: Parsing
- G06F 40/284: Lexical analysis, e.g. tokenisation or collocates
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method according to one embodiment includes determining a starting folder within a file system, computing, for each child folder of the starting folder, a similarity metric indicating a level of similarity to a file, selecting two child folders of the starting folder having greatest similarity metrics, comparing a difference between the greatest similarity metrics of the two child folders to a predetermined threshold, and conditionally selecting the starting folder as a recommended folder to which the file is saved, based on the comparing.

## Claims

### Claim 1

A computer-implemented method, comprising:
determining a starting folder within a file system;
computing, for each child folder of the starting folder, a similarity metric indicating a level of similarity to a file;
selecting two child folders of the starting folder having greatest similarity metrics;
comparing a difference between the greatest similarity metrics of the two child folders to a predetermined threshold; and
conditionally selecting the starting folder as a recommended folder to which the file is saved, based on the comparing.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the starting folder is determined in response to identifying a request to save the file within the file system.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the starting folder is determined based on contextual information, the contextual information including:
a location associated with a saving of a file,
a time associated with the saving of the file,
an application used associated with the saving of the file,
a device associated with the saving of the file,
a network associated with the saving of the file, and
a user associated with the saving of the file.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the starting folder includes a top-most folder within a file system.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the starting folder is manually selected by a user.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, further comprising, in response to determining that the starting folder has only a single child folder, selecting the single child folder as an updated starting folder.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the similarity metric is computed by comparing a language model created for a file to a language model created for each child folder of the starting folder.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein each child folder of the starting folder includes a language model stored as metadata for the child folder.

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein for each child folder of the starting folder, the similarity metric includes a numerical value indicating a level of similarity between the child folder and a file.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein selecting the two child folders of the starting folder having the greatest similarity metrics includes:
comparing a value for the similarity metric for each of the child folders of the starting folder, and
identifying two child folders of the starting folder having a similarity metric greater than similarity metrics of the remaining child folders,
wherein a larger similarity metric indicates a greater level of similarity to the file.

### Claim 11 (depends on 1)

The computer-implemented method of claim 1, further comprising creating a language model for each child folder of the starting folder, including for each child folder:
identifying as tokens all words within files within the child folder, all words within any additional child folders of the child folder, and all terms within metadata associated with the child folder and any additional child folders of the child folder, and
aggregating all of the tokens to create a language model for the child folder,
where the language model includes a count for each of the tokens that is representative of a number of instances of the token within the child folder and any additional child folders of the child folder;
wherein the similarity metric is computed by comparing the language model created for the file to the language model for each child folder.

### Claim 12

A computer program product comprising one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions comprising instructions configured to cause one or more processors to perform a method comprising:
determining a starting folder within a file system, utilizing the one or more processors;
computing, for each child folder of the starting folder, a similarity metric indicating a level of similarity to the file, utilizing the one or more processors;
selecting two child folders of the starting folder having greatest similarity metrics, utilizing the one or more processors;
comparing a difference between the greatest similarity metrics of the two child folders to a predetermined threshold, utilizing the one or more processors; and
conditionally selecting, utilizing the one or more processors, the starting folder as a recommended folder to which the file is saved, based on the comparing.

### Claim 13 (depends on 12)

The computer program product of claim 12, wherein the starting folder is determined in response to identifying a request to save the file within the file system.

### Claim 14 (depends on 12)

The computer program product of claim 12, wherein the starting folder is determined based on contextual information, the contextual information selected from a group consisting of:
a location associated with a saving of a file,
a time associated with the saving of the file,
an application used associated with the saving of the file,
a device associated with the saving of the file,
a network associated with the saving of the file, and
a user associated with the saving of the file.

### Claim 15 (depends on 12)

The computer program product of claim 12, wherein the starting folder includes a top-most folder within a file system.

### Claim 16 (depends on 12)

The computer program product of claim 12, wherein the starting folder is manually selected by a user.

### Claim 17 (depends on 12)

The computer program product of claim 12, further comprising, in response to determining that the starting folder has only a single child folder, selecting the single child folder as an updated starting folder.

### Claim 18 (depends on 12)

The computer program product of claim 12, wherein the similarity metric is computed by comparing a language model created for a file to a language model created for each child folder of the starting folder.

### Claim 19 (depends on 12)

The computer program product of claim 12, wherein each child folder of the starting folder includes a language model stored as metadata for the child folder.

### Claim 20

A system, comprising:
a processor; and
logic integrated with the processor, executable by the processor, or integrated with and executable by the processor, the logic being configured to:
determine a starting folder within a file system;
compute, for each child folder of the starting folder, a similarity metric indicating a level of similarity to a file;
select two child folders of the starting folder having greatest similarity metrics, including:
comparing a value for the similarity metric for each of the child folders of the starting folder, and
identifying two child folders of the starting folder having a similarity metric greater than similarity metrics of the remaining child folders,
wherein a larger similarity metric indicates a greater level of similarity to the file;
compare a difference between the greatest similarity metrics of the two child folders to a predetermined threshold; and
conditionally select the starting folder as a recommended folder to which the file is saved, based on the comparison.
