private void FilterStopWord(SuperLinkedList<WordInfo> wordInfoList)
{
if (wordInfoList == null)
{
return;
}
SuperLinkedListNode<WordInfo> cur = wordInfoList.First;
while (cur != null)
{
if (_StopWord.IsStopWord(cur.Value.Word,
_Options.FilterEnglish, _Parameters.FilterEnglishLength,
_Options.FilterNumeric, _Parameters.FilterNumericLength))
{
SuperLinkedListNode<WordInfo> removeItem = cur;
cur = cur.Next;
wordInfoList.Remove(removeItem);
}
else
{
cur = cur.Next;
}
}
}