Research Article

Practical Skills of Business English Correspondence Writing Based on Data Mining Algorithm

Table 5

Memory based inverted index establishment algorithm.

InputSentence set

OutputInverted index based on sentence set
(1) Initially traverse the sentence set. For each word, count the number of sentences containing the word .
(2) Create an array of length , and for each word , generate a pointer to the beginning of its record table block.
(3) Traverse the sentence set again, for each word in each sentence d, add the sequence number of sentence d to , and move backward.