public MyTokenStream(TestTermVectorsReader enclosingInstance) { InitBlock(enclosingInstance); termAtt = AddAttribute <ITermAttribute>(); posIncrAtt = AddAttribute <IPositionIncrementAttribute>(); offsetAtt = AddAttribute <IOffsetAttribute>(); }
public MyTokenStream(TestTermVectorsReader enclosingInstance) { InitBlock(enclosingInstance); termAtt = (TermAttribute)AddAttribute(typeof(TermAttribute)); posIncrAtt = (PositionIncrementAttribute)AddAttribute(typeof(PositionIncrementAttribute)); offsetAtt = (OffsetAttribute)AddAttribute(typeof(OffsetAttribute)); }
public MyTokenizer(TestTermVectorsReader outerInstance, TextReader reader) : base(reader) { this.OuterInstance = outerInstance; TermAtt = AddAttribute <ICharTermAttribute>(); PosIncrAtt = AddAttribute <IPositionIncrementAttribute>(); OffsetAtt = AddAttribute <IOffsetAttribute>(); }
private void InitBlock(TestTermVectorsReader enclosingInstance) { this.enclosingInstance = enclosingInstance; }
public TestToken(TestTermVectorsReader enclosingInstance) { InitBlock(enclosingInstance); }
public MyAnalyzer(TestTermVectorsReader enclosingInstance) { InitBlock(enclosingInstance); }
public MyTokenStream(TestTermVectorsReader enclosingInstance) { InitBlock(enclosingInstance); termAtt = (TermAttribute) AddAttribute(typeof(TermAttribute)); posIncrAtt = (PositionIncrementAttribute) AddAttribute(typeof(PositionIncrementAttribute)); offsetAtt = (OffsetAttribute) AddAttribute(typeof(OffsetAttribute)); }
public TestToken(TestTermVectorsReader outerInstance) { this.OuterInstance = outerInstance; }
public MyAnalyzer(TestTermVectorsReader outerInstance) { this.OuterInstance = outerInstance; }
public MyTokenStream(TestTermVectorsReader enclosingInstance) { InitBlock(enclosingInstance); }