text: public virtual void Start(string originalText, TokenStream tokenStream){position = -1;currentNumFrags = 1;textSize = originalText.Length;termAtt = tokenStream.AddAttribute<ICharTermAttribute>();posIncAtt = tokenStream.AddAttribute<IPositionIncrementAttribute>();offsetAtt = tokenStream.AddAttribute<IOffsetAttribute>();}