Skip to main content
Version: 0.96

templates.SequenceTokenTypeTemplateSchema

class templates.SequenceTokenTypeTemplateSchema(*args, **kwargs)

Sequence Token Type template

Parameters

NameTypeDefaultInfo
fieldstrField.
token_type{"lowercase", "capitalized", "uppercase"}Token type.
word_boundary_tokenizerboolTrueTokenize or not.
merge_tokenboolFalse to maintain backward compatabilityMerge nearby tokens or not.