Patent ID: 7792840

Claim:
A computer-implemented method of deriving a two-level n-gram inverted index in an index system, in a computer-implemented method of deriving an inverted index comprising a front-end inverted index and a back-end inverted index from an n-gram inverted index, the computer-implemented method comprising: converting the n-gram inverted index into a SNDO 1 O 2 relation that obeys a first normal form (1NF), wherein, SNDO 1 O 2 relation has (m-subsequence, n-gram, document ID, offset of ngram on m-subsequence, offset of m-subsequence on document) schema; identifying whether or not a redundancy of position information, caused by a non-trivial multivalued dependency (MVD), exists in the SNDO 1 O 2 relation obtained in the first step; decomposing the SNDO 1 O 2 relation into SNO 1 relation and SDO 2 relation to obey a fourth normal form (4NF) in order to eliminate the redundancy; and converting the SNO 1 relation into the front-end inverted index of an inverted index database on a server and the SDO 2 relation into the back-end inverted index of the inverted index database on the server.