Method Add
Add(Int32, Int32, IList<FieldPhraseList.WeightedPhraseInfo>)
convert the list of FieldPhraseList.WeightedPhraseInfo to FieldFragList.WeightedFragInfo, then add it to the fragInfos
Declaration
public abstract void Add(int startOffset, int endOffset, IList<FieldPhraseList.WeightedPhraseInfo> phraseInfoList)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | startOffset | start offset of the fragment |
System.Int32 | endOffset | end offset of the fragment |
IList<FieldPhraseList.WeightedPhraseInfo> | phraseInfoList | list of FieldPhraseList.WeightedPhraseInfo objects |