Skip to content

Latest commit

 

History

History
93 lines (50 loc) · 2.83 KB

TokenizerregexCaptureGroup.md

File metadata and controls

93 lines (50 loc) · 2.83 KB

TokenizerregexCaptureGroup

Properties

Name Type Description Notes
Group int32 Index of the character group within the matching expression to extract into tokens. Use `0` to extract all character groups.
Pattern string Regular expression to match against.
Type string Human-readable label that identifies this tokenizer type.

Methods

NewTokenizerregexCaptureGroup

func NewTokenizerregexCaptureGroup(group int32, pattern string, type_ string, ) *TokenizerregexCaptureGroup

NewTokenizerregexCaptureGroup instantiates a new TokenizerregexCaptureGroup object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewTokenizerregexCaptureGroupWithDefaults

func NewTokenizerregexCaptureGroupWithDefaults() *TokenizerregexCaptureGroup

NewTokenizerregexCaptureGroupWithDefaults instantiates a new TokenizerregexCaptureGroup object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetGroup

func (o *TokenizerregexCaptureGroup) GetGroup() int32

GetGroup returns the Group field if non-nil, zero value otherwise.

GetGroupOk

func (o *TokenizerregexCaptureGroup) GetGroupOk() (*int32, bool)

GetGroupOk returns a tuple with the Group field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetGroup

func (o *TokenizerregexCaptureGroup) SetGroup(v int32)

SetGroup sets Group field to given value.

GetPattern

func (o *TokenizerregexCaptureGroup) GetPattern() string

GetPattern returns the Pattern field if non-nil, zero value otherwise.

GetPatternOk

func (o *TokenizerregexCaptureGroup) GetPatternOk() (*string, bool)

GetPatternOk returns a tuple with the Pattern field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPattern

func (o *TokenizerregexCaptureGroup) SetPattern(v string)

SetPattern sets Pattern field to given value.

GetType

func (o *TokenizerregexCaptureGroup) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *TokenizerregexCaptureGroup) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetType

func (o *TokenizerregexCaptureGroup) SetType(v string)

SetType sets Type field to given value.

[Back to Model list] [Back to API list] [Back to README]