public void start(String originalText, TokenStream stream) {offsetAtt = stream.addAttribute(OffsetAttribute.class);currentNumFrags = 1;}
public virtual void Start(string originalText, TokenStream stream){offsetAtt = stream.AddAttribute<IOffsetAttribute>();currentNumFrags = 1;}