(multiplier float32, moduleName string, lowerCaseInput bool)
| 49 | type TokenizerFuncType func(ctx context.Context, objects []*models.Object, skipObject []bool, cfg moduletools.ClassConfig, objectVectorizer *objectsvectorizer.ObjectVectorizer, encoderCache *EncoderCache) ([]string, []int, []bool, bool, error) |
| 50 | |
| 51 | func ReturnBatchTokenizer(multiplier float32, moduleName string, lowerCaseInput bool) TokenizerFuncType { |
| 52 | return ReturnBatchTokenizerWithAltNames(multiplier, moduleName, nil, lowerCaseInput) |
| 53 | } |
| 54 | |
| 55 | func ReturnBatchTokenizerWithAltNames(multiplier float32, moduleName string, altNames []string, lowerCaseInput bool) TokenizerFuncType { |
| 56 | return func(ctx context.Context, objects []*models.Object, skipObject []bool, cfg moduletools.ClassConfig, objectVectorizer *objectsvectorizer.ObjectVectorizer, encoderCache *EncoderCache) ([]string, []int, []bool, bool, error) { |
searching dependent graphs…