mocks

package
v0.0.0-...-b2170da Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResultsRepositoryInterface

type ResultsRepositoryInterface struct {
	mock.Mock
}

ResultsRepositoryInterface is an autogenerated mock type for the ResultsRepositoryInterface type

func (*ResultsRepositoryInterface) GetTrainedModel

func (_m *ResultsRepositoryInterface) GetTrainedModel(brainID int64) (classifier.TrainedModelInterface, error)

GetTrainedModel provides a mock function with given fields: brainID

type TokenRepositoryInterface

type TokenRepositoryInterface struct {
	mock.Mock
}

TokenRepositoryInterface is an autogenerated mock type for the TokenRepositoryInterface type

func (*TokenRepositoryInterface) GetTokenIDs

func (_m *TokenRepositoryInterface) GetTokenIDs(brainID int64, tokens []string) ([]int64, error)

GetTokenIDs provides a mock function with given fields: brainID, tokens

type TokenizerInterface

type TokenizerInterface struct {
	mock.Mock
}

TokenizerInterface is an autogenerated mock type for the TokenizerInterface type

func (*TokenizerInterface) Tokenize

func (_m *TokenizerInterface) Tokenize(sentence string) []string

Tokenize provides a mock function with given fields: sentence

Jump to

Keyboard shortcuts

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