# US 2021/0334238 A1 · Automated file naming and file organization using machine learning

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

- Number: US 2021/0334238 A1
- Document ID: US20210334238A1
- Status: Published application
- Kind: A1
- Application number: 16/855,428
- Filed: 2020-04-22
- Published: 2021-10-28
- Earliest claimed: 2020-04-22
- Assignees: Dell Products L. P.
- Applicants: Dell Products L. P.
- Inventors: Sathish Kumar Bikumala; Ares Sakamoto; Deepak NagarajeGowda
- Web page: https://patentgrep.com/patent/US20210334238A1

## CPC

- G06F 16/164: {File meta data generation}
- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G06N 3/04: Architecture, e.g. interconnection topology
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

In some examples, before saving a file, a device analyzes contents (e.g., text and images) of the file to create a bag of words. The device performs Latent Dirichlet Allocation of the bag of words to determine topics included in the file and orders the topics in descending order of frequency. The device generates a particular name of the file based on the ordered topics and automatically save (or suggest saving) the file with the particular name. The device determines, based on the ordered topics, a folder name of a folder in which to store the file. If an existing folder has the folder name, then the device saves the file in the existing folder. If not, then the device creates a new folder with the folder name and saves the file in the new folder.

## Claims

### Claim 1

A method comprising:
determining, by the one or more processors of a computing device, that a file is to be saved to a storage device of the computing device;
performing, by the one or more processors, an analysis of contents of the file to create a bag of words;
performing, by the one or more processors, a Latent Dirichlet Allocation of the bag of words;
determining, by the one or more processors and based on the Latent Dirichlet Allocation, a plurality of topics included in the file;
ordering, by the one or more processors, the plurality of topics in a descending order of a frequency of individual topics in the plurality of topics to create an ordered set of topics;
generating, by the one or more processors, a particular name of the file based on the ordered set of topics; and
automatically saving, by the one or more processors, the file with the particular name.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
determining a folder name of a folder in which to store the file based on the ordered set of topics.

### Claim 3 (depends on 2)

The method of claim 2, further comprising:
determining that an existing folder among a set of accessible folders has the folder name; and
saving the file in the existing folder.

### Claim 4 (depends on 2)

The method of claim 2, further comprising:
determining that a set of accessible folders does not include a particular folder with the folder name;
creating a new folder with the folder name; and
saving the file in the new folder.

### Claim 5 (depends on 1)

The method of claim 1, wherein performing the analysis of the contents of the file to create the bag of words comprises:
determining text included in the file;
performing a first analysis of the text to create a first bag of words;
determining one or more images in the file;
performing a second analysis of the one or more images to create a second bag of words; and
combining the first bag of words and the second bag of words to create the bag of words.

### Claim 6 (depends on 5)

The method of claim 5, wherein performing the first analysis comprises:
segmenting the text into one or more sentences;
determining a plurality of tokens in each of the one or more sentences;
performing lemmatization of each token of the plurality of tokens;
removing stop words from the plurality of tokens to creating remaining tokens;
determine a part of speech for each token in the remaining tokens;
creating a data structure representing the remaining tokens in each of the one or more sentences; and
determining the plurality of topics based at least in part on the data structure representing the remaining tokens in each of the one or more sentences.

### Claim 7 (depends on 5)

The method of claim 5, wherein performing the second analysis comprises:
determining one or more regions in individual images of the one or more images, wherein individual regions of the one or more regions includes at least one object;
determining a text-based description to describe the at least one object in individual regions;
storing the text-based description of individual regions in the individual images in the second bag of words.

### Claim 8

A computing device comprising:
one or more processors; and
one or more non-transitory computer readable media to store instructions executable by the one or more processors to perform operations comprising:
determining that a file is to be saved to the computing device;
performing an analysis of contents of the file to create a bag of words;
performing a Latent Dirichlet Allocation of the bag of words;
determining, based on the Latent Dirichlet Allocation, a plurality of topics included in the file;
ordering the plurality of topics in a descending order of a frequency of individual topics in the plurality of topics to create an ordered set of topics;
generating a particular name of the file based on the ordered set of topics; and
automatically saving the file with the particular name.

### Claim 9 (depends on 8)

The computing device of claim 8, wherein the operations comprise:
determining a folder name of a folder in which to store the file based on the ordered set of topics;
based on determining that an existing folder among a set of accessible folders has the folder name, saving the file in the existing folder; and
based on determining that the set of accessible folders does not include a particular folder with the folder name:
creating a new folder with the folder name; and
saving the file in the new folder.

### Claim 10 (depends on 8)

The computing device of claim 8, further comprising:
saving the file with the particular name in a particular folder;
wherein:
the particular folder includes one or more additional files; and
individual files of the one or more additional files include at least one topic of the plurality of topics included in the file.

### Claim 11 (depends on 8)

The computing device of claim 8, wherein performing the analysis of the contents of the file to create the bag of words comprises:
determining text included in the file;
performing a first analysis of the text to create a first bag of words;
determining one or more images in the file;
performing a second analysis of the one or more images to create a second bag of words; and
combining the first bag of words and the second bag of words to create the bag of words.

### Claim 12 (depends on 11)

The computing device of claim 11, wherein performing the first analysis comprises:
segmenting the text into one or more sentences;
determining a plurality of tokens in each of the one or more sentences;
performing lemmatization of each token of the plurality of tokens;
removing stop words from the plurality of tokens to creating remaining tokens;
determining a part of speech for each token in the remaining tokens;
creating a data structure representing the remaining tokens in each of the one or more sentences; and
determining the plurality of topics based at least in part on the data structure representing the remaining tokens in each of the one or more sentences.

### Claim 13 (depends on 11)

The computing device of claim 11, wherein performing the second analysis comprises:
determining one or more regions in individual images of the one or more images, wherein individual regions of the one or more regions includes at least one object;
determining a text-based description to describe the at least one object in individual regions; and
storing the text-based description of individual regions in the individual images in the second bag of words.

### Claim 14

One or more non-transitory computer readable media storing executable by one or more processors to perform operations comprising:
determining that a file is to be saved to the computing device;
performing an analysis of contents of the file to create a bag of words;
performing a Latent Dirichlet Allocation of the bag of words;
determining, based on the Latent Dirichlet Allocation, a plurality of topics included in the file;
ordering the plurality of topics in a descending order of a frequency of individual topics in the plurality of topics to create an ordered set of topics;
generating a particular name of the file based on the ordered set of topics; and
automatically saving the file with the particular name.

### Claim 15 (depends on 14)

The one or more non-transitory computer readable media of claim 14, wherein the operations comprise:
determining a folder name of a folder in which to store the file based on the ordered set of topics;
based on determining that an existing folder among a set of accessible folders has the folder name, saving the file in the existing folder; and
based on determining that the set of accessible folders does not include a particular folder with the folder name:
creating a new folder with the folder name; and
saving the file in the new folder.

### Claim 16 (depends on 14)

The one or more non-transitory computer readable media of claim 14, further comprising:
saving the file with the particular name in a particular folder that includes one or more additional files, wherein, each file of the one or more additional files includes at least one topic of the plurality of topics.

### Claim 17 (depends on 14)

The one or more non-transitory computer readable media of claim 14, further comprising:
saving the file with the particular name in a particular folder having a particular folder name, wherein the particular folder name includes at least one topic of the plurality of topics.

### Claim 18 (depends on 14)

The one or more non-transitory computer readable media of claim 14, wherein performing the analysis of the contents of the file to create the bag of words comprises:
determining text included in the file;
performing a first analysis of the text to create a first bag of words;
determining one or more images in the file;
performing a second analysis of the one or more images to create a second bag of words; and
combining the first bag of words and the second bag of words to create the bag of words.

### Claim 19 (depends on 18)

The one or more non-transitory computer readable media of claim 18, wherein performing the first analysis comprises:
segmenting the text into one or more sentences;
determining a plurality of tokens in each of the one or more sentences;
performing lemmatization of each token of the plurality of tokens;
removing stop words from the plurality of tokens to creating remaining tokens;
determining a part of speech for each token in the remaining tokens;
creating a data structure representing the remaining tokens in each of the one or more sentences; and
determining the plurality of topics based at least in part on the data structure representing the remaining tokens in each of the one or more sentences.

### Claim 20 (depends on 18)

The one or more non-transitory computer readable media of claim 18, wherein performing the second analysis comprises:
determining one or more regions in individual images of the one or more images, wherein individual regions of the one or more regions includes at least one object;
determining a text-based description to describe the at least one object in individual regions; and
storing the text-based description of individual regions in the individual images in the second bag of words.
