splitword

package
v1.0.1-dev-02 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2024 License: MulanPSL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SplitWord

type SplitWord struct {
	// contains filtered or unexported fields
}

type SplitWordRequest

type SplitWordRequest struct {
	// contains filtered or unexported fields
}

func NewSplitWordRequest

func NewSplitWordRequest() *SplitWordRequest

stop word

func (*SplitWordRequest) Count

func (s *SplitWordRequest) Count() int

func (*SplitWordRequest) Retwordlen

func (s *SplitWordRequest) Retwordlen() int

func (*SplitWordRequest) SetCount

func (s *SplitWordRequest) SetCount(count int)

func (*SplitWordRequest) SetRetwordlen

func (s *SplitWordRequest) SetRetwordlen(retwordlen int)

func (*SplitWordRequest) SetSort

func (s *SplitWordRequest) SetSort(sort bool)

func (*SplitWordRequest) SetText

func (s *SplitWordRequest) SetText(text string)

func (*SplitWordRequest) SetTokenizer

func (s *SplitWordRequest) SetTokenizer(tokenizer string)

func (*SplitWordRequest) Sort

func (s *SplitWordRequest) Sort() bool

func (*SplitWordRequest) Text

func (s *SplitWordRequest) Text() string

func (*SplitWordRequest) Tokenizer

func (s *SplitWordRequest) Tokenizer() string

type SplitWordResponse

type SplitWordResponse struct {
	Words []SplitWord

	AnalyzeResp *elastic.IndicesAnalyzeResponse `json:"*_indices_analyze_response,omitempty"`
}

Jump to

Keyboard shortcuts

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