tokenchar

package
v8.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2024 License: Apache-2.0 Imports: 1 Imported by: 6

Documentation

Overview

Package tokenchar

Index

Constants

This section is empty.

Variables

View Source
var (
	Letter = TokenChar{"letter"}

	Digit = TokenChar{"digit"}

	Whitespace = TokenChar{"whitespace"}

	Punctuation = TokenChar{"punctuation"}

	Symbol = TokenChar{"symbol"}

	Custom = TokenChar{"custom"}
)

Functions

This section is empty.

Types

type TokenChar

type TokenChar struct {
	Name string
}

https://github.com/elastic/elasticsearch-specification/blob/17ac39c7f9266bc303baa029f90194aecb1c3b7c/specification/_types/analysis/tokenizers.ts#L47-L54

func (TokenChar) MarshalText

func (t TokenChar) MarshalText() (text []byte, err error)

func (TokenChar) String

func (t TokenChar) String() string

func (*TokenChar) UnmarshalText

func (t *TokenChar) UnmarshalText(text []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL