Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResultsRepositoryInterface ¶
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 ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.