# US 2017/0286466 A1 · Creation of indexes for information retrieval

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

- Number: US 2017/0286466 A1
- Document ID: US20170286466A1
- Status: Published application
- Kind: A1
- Application number: 15/083,323
- Filed: 2016-03-29
- Published: 2017-10-05
- Earliest claimed: 2016-03-29
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Hidekazu Fujiwara; Yohko Nameki; Soh Ohta
- Web page: https://patentgrep.com/patent/US20170286466A1

## CPC

- G06F 16/313: {Selection or weighting of terms for indexing}
- G06F 16/22: Indexing; Data structures therefor; Storage structures
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention may be a method, system, and a computer program product. An embodiment of the present invention provides a method for creating one or more indexes for information retrieval. The method comprises reading a document having hinting information into memory; the hinting information being associated with each unique expression in an original document; and creating the indexes from the document which was read into memory. A first analysis method for generating a contiguous sequence of items from text in the document is used for creating the indexes for each sequence in the unique expression with which the hinting information is associated. A second analysis method for dividing the text into meaningful units is used for creating the indexes for each word in the text other than the unique expression. The first analysis method may be an n-gram analysis and the second analysis method may be a morphological analysis.

## Claims

### Claim 1

A computer-implemented method for creating one or more indexes for information retrieval, the method comprising:
reading a document having hinting information into a memory, wherein the hinting information is associated with a unique expression in an original document; and
creating indexes from the document, a first analysis method for generating a contiguous sequence of items from a text in the document is used for creating the indexes for each sequence in the unique expression with which the hinting information is associated and a second analysis method for dividing the text into meaningful units is used for creating the indexes for each word in the text other than the unique expression.

### Claim 2 (depends on 1)

The method according to claim 1, creating the indexes further comprises:
creating the indexes using the second analysis method until the hinting information is found in the document; and
creating, in response to finding hinting information in the document, the indexes for each sequence in the unique expression associated with the found hinting information using the first analysis method instead of the second analysis method and, after the indexes for each sequence is created, the second analysis method is executed instead of the first analysis method.

### Claim 3 (depends on 2)

The method according to claim 2, wherein a switching between the first analysis method and the second analysis method is executed by a preprocessor.

### Claim 4 (depends on 1)

The method according to claim 1, the method further comprising:
searching the document for hinting information;
creating, in response to finding the hinting information, the indexes for each sequence in the unique expression associated with the found hinting information using the first analysis method; and
creating, in response to not finding the hinting information, the indexes for each word using the second analysis method.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the hinting information is inserted before and after or only before each unique expression in the original document.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the unique expression is identified according to at least one of using an engine for inferring existence of an unique expression, in response to an unique expression being stored in a storage, using a software application, and manually.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the unique expression is at least one of a proper noun, an abbreviation, a coined word, a new word, and a word or phrase which is described in a language different from a base language used in the original document.

### Claim 8 (depends on 1)

The method according to claim 1, wherein the hinting information is at least one of a flag and symbol.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the flag is described in a form of a tag format.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the flag is at least one of a set of a start tag and an end tag, and a tag having information on the number of words or letters or on the number of bytes in a unique expression for which the first analysis method is used.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the hinting information includes information on an attribute of the unique expression, and the indexes for each sequence in the unique expression with which the hinting information is associated is created by executing the first analysis method using the attribute information.

### Claim 12 (depends on 1)

The method according to claim 1, wherein the reading of a document and the creation of the indexes from the document which is now read into memory are repeatedly carried out.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the repetition is carried out according to at least one of a fixed interval, a set time, manually, in response to the document being updated, and in response to generation of a new document having hinting information.

### Claim 14 (depends on 1)

The method according to claim 1, wherein the first analysis method is an n-gram analysis and the second analysis method is a morphological analysis.

### Claim 15

(canceled)

### Claim 16

(canceled)

### Claim 17

(canceled)

### Claim 18

A computer program product for creating indexes for information retrieval, the computer program product comprising a computer usable storage medium having program instructions embodied therewith, wherein the computer readable storage medium is not a transitory signal per se, the program instructions executable by a computer to cause the computer to perform a method comprising:
reading a document having hinting information into a memory; wherein the hinting information is associated with each unique expression in an original document; and
creating the indexes from the document, wherein a first analysis method for generating a contiguous sequence of items from a text in the document is used for creating the indexes for each sequence in the unique expression with which the hinting information is associated and a second analysis method for dividing the text into meaningful units is used for creating the indexes for each word in the text other than the unique expression.

### Claim 19 (depends on 18)

The computer program product according to claim 18, wherein the method further comprises:
creating the indexes using the second analysis method until the hinting information is found in the document; and
creating, in response to finding hinting information in the document, the indexes for each sequence in the unique expression associated with the found hinting information using the first analysis method instead of the second analysis method and, after the indexes for each sequence is created, the second analysis method is executed instead of the first analysis method.

### Claim 20 (depends on 18)

The computer program product according to claim 18, wherein the method further comprising:
searching the document for hinting information;
creating, in response to finding the hinting information, the indexes for each sequence in the unique expression associated with the found hinting information using the first analysis method; and
creating, in response to not finding the hinting information, the indexes for each word using the second analysis method.
