Electronic device and method for searching related terms
AssigneeHon Hai Precision Industry Co., Ltd.
InventorsChung-I Lee, Chien-Fa Yeh, Chiu-Hua Lu, Gen-Chi Lu
Life of this patent
Estimating the term…
Abstract
A method for searching related terms first calculates a direct relationship between every two of a plurality of query terms to obtain a direct related matrix, and calculates a related score between every two of the query terms to obtain a related score matrix. The method further calculates an indirect relationship between every two of the query terms according to the direct relationship and the related score, and determines indirect terms of each query term according to the indirect relationship between every two of the query terms.
Claims13
A method for searching related terms using an electronic device, the method comprising:
- obtaining a plurality of query terms from a storage device of the electronic device;
- calculating a direct relationship “Ri, j” between every two of the query terms, and obtaining a direct related matrix “R” according to the direct relationships;
- calculating a related score “Pi, j” between every two of the query terms, and obtaining a related score matrix “P” according to the related scores;
- calculating an indirect relationship “R′i, j” between every two of the query terms according to the direct relationship “Ri, j” and the related score “Pi, j” between every two terms;
- determining indirect terms of each query term according to the indirect relationship between every two of the query terms, and storing the determined indirect terms in the storage device of the electronic device, a first term of the query term being determined as the indirect term of a second term of the query terms upon the condition that the indirect relationship between the first term and the second term is greater than or equal to a preset value;
- and
- obtaining search results from a data source by performing a search operation according to the determined indirect terms, and displaying the search results on a display device of the electronic device.
An electronic device, comprising:
- a storage device;
- at least one processor;
- and
- one or more modules that are stored in the storage device and are executed by the at least one processor, the one or more modules comprising instructions:
- to obtain a plurality of query terms from the storage device;
- to calculate a direct relationship “Ri, j” between every two of the query terms, and obtain a direct related matrix “R” according to the calculated direct relationships;
- to calculate a related score “Pi, j” between every two terms of the query terms, and obtain a related score matrix “P” according to the calculated related scores;
- to calculate an indirect relationship “R′i, j” between every two of the query terms according to the direct relationship “Ri, j” and the related score “Pi, j” between every two terms;
- to determine indirect terms of each query term according to the indirect relationship between every two of the query terms, and store the determined indirect terms in the storage device, a first term of the query term being determined as the indirect term of a second term of the query terms upon the condition that the indirect relationship between the first term and the second term is greater than or equal to a preset value;
- and
- to obtain search results from a data source by performing a search operation according to the determined indirect terms, and display the search results on a display device of the electronic device.
A non-transitory storage medium having stored thereon instructions that, when executed by a processor of an electronic device, causes the processor to perform a method for searching related terms using the electronic device, the method comprising:
- obtaining a plurality of query terms from a storage device of the electronic device;
- calculating a direct relationship “Ri, j” between every two of the query terms, and obtaining a direct related matrix “R” according to the calculated direct relationships;
- calculating a related score “Pi, j” between every two terms of the query terms, and obtaining a related score matrix “P” according to the calculated related scores;
- calculating an indirect relationship “R′i, j” between every two of the query terms according to the direct relationship “Ri, j” and the related score “Pi, j” between every two terms;
- determining indirect terms of each query term according to the indirect relationship between every two of the query terms, and storing the determined indirect terms in the storage device of the electronic device, a first term of the query term being determined as the indirect term of a second term of the query terms upon the condition that the indirect relationship between the first term and the second term is greater than or equal to a preset value;
- and
- obtaining search results from a data source by performing a search operation according to the determined indirect terms, and displaying the search results on a display device of the electronic device.
Dependencies are inferred from the claim text.