func NewTermsEnumImpl(self TermsEnum) *TermsEnumImpl { return &TermsEnumImpl{self, util.NewAttributeSourceWith(tokenattributes.DEFAULT_ATTRIBUTE_FACTORY)} }
/* A TokenStream using the default attribute factory. */ func NewTokenStream() *TokenStreamImpl { return &TokenStreamImpl{ atts: util.NewAttributeSourceWith(DEFAULT_TOKEN_ATTRIBUTE_FACTORY), } }