Class TrecGov2Parser
Parser for the GOV2 collection format
Inherited Members
Namespace: Lucene.Net.Benchmarks.ByTask.Feeds
Assembly: Lucene.Net.Benchmark.dll
Syntax
public class TrecGov2Parser : TrecDocParser
Methods
Parse(DocData, string, TrecContentSource, StringBuilder, ParsePathType)
Parse the text prepared in docBuf into a result DocData, no synchronization is required.
Declaration
public override DocData Parse(DocData docData, string name, TrecContentSource trecSrc, StringBuilder docBuf, TrecDocParser.ParsePathType pathType)
Parameters
Type | Name | Description |
---|---|---|
DocData | docData | Reusable result. |
string | name | Name that should be set to the result. |
TrecContentSource | trecSrc | Calling trec content source. |
StringBuilder | docBuf | Text to parse. |
TrecDocParser.ParsePathType | pathType | Type of parsed file, or UNKNOWN if unknown - may be used by parsers to alter their behavior according to the file path type. |
Returns
Type | Description |
---|---|
DocData |