if (strcmp(pCur->data.sWord, m_IndexTable[i].pWordItemHead[j].sWord) < 0 || (strcmp(pCur->data.sWord, m_IndexTable[i].pWordItemHead[j].sWord) == 0 && pCur->data.nHandle < m_IndexTable[i].pWordItemHead[j].nHandle)) { //Output the modified data to the file
pCur = pCur->next; //Get next item in the modify table.
}
//频度nFrequecy等于-1说明该词已被删除,跳过它
else if (m_IndexTable[i].pWordItemHead[j].nFrequency == -1) {
j += 1;
}
//如果修改表中的词长度比原表中的长度大或 长度相等但句柄值要多,就把原表的词写入的词典文件中
else if (strcmp(pCur->data.sWord, m_IndexTable[i].pWordItemHead[j].sWord) > 0 || (strcmp(pCur->data.sWord, m_IndexTable[i].pWordItemHead[j].sWord) == 0 && pCur->data.nHandle > m_IndexTable[i].pWordItemHead[j].nHandle)) { //Output the index table data to the file