Constructor TokenStream
TokenStream()
A TokenStream using the default attribute factory.
Declaration
protected TokenStream()
TokenStream(AttributeSource)
A TokenStream that uses the same attributes as the supplied one.
Declaration
protected TokenStream(AttributeSource input)
Parameters
Type | Name | Description |
---|---|---|
AttributeSource | input |
TokenStream(AttributeSource.AttributeFactory)
A TokenStream using the supplied AttributeSource.AttributeFactory for creating new IAttribute instances.
Declaration
protected TokenStream(AttributeSource.AttributeFactory factory)
Parameters
Type | Name | Description |
---|---|---|
AttributeSource.AttributeFactory | factory |