Method Map
Map(String, Int32, TermVectorOffsetInfo[], Int32[])
Map the Term Vector information into your own structure
Declaration
public abstract void Map(String term, int frequency, TermVectorOffsetInfo[] offsets, int[] positions)
Parameters
Type | Name | Description |
---|---|---|
System.String | term | The term to add to the vector |
System.Int32 | frequency | The frequency of the term in the document |
TermVectorOffsetInfo[] | offsets | null if the offset is not specified, otherwise the offset into the field of the term |
System.Int32[] | positions | null if the position is not specified, otherwise the position in the field of the term |