// WithLemmatizer sets the lemmatizer option on the Trainer
180473
func WithLemmatizer(l lingo.Lemmatizer) TrainerConsOpt {
	f := func(t *Trainer) {
		// cannot pass in itself!
		if T, ok := l.(*Trainer); ok && T == t {
			panic("Recursive definition of lemmatizer (trying to set the t.lemmatizer = T) !")
		}

		t.l = l
	}
	return f
}
772675
func (f *PrintFlags) WithTypeSetter(scheme *runtime.Scheme) *PrintFlags {
	f.TypeSetterPrinter = printers.NewTypeSetter(scheme)
	return f
}
314149
func (o *PostNodesIdentifierWorkflowsParams) WithIdentifier(identifier string) *PostNodesIdentifierWorkflowsParams {
	o.Identifier = identifier
	return o
}
1113249
func (builder *UpdateMapCommandBuilder) WithMapOperation(mapOperation *MapOperation) *UpdateMapCommandBuilder {
	builder.mapOperation = mapOperation
	return builder
}
110126
func (b Builder) With(options ...Option) Builder {
	for i := range options {
		if options[i] != nil {
			options[i](&b)
		}
	}
	return b
}
1148339
func WithConfigProvider(c context.Context, s ConfigProvider) context.Context {
	return context.WithValue(c, &configProviderKey, s)
}
414412
func WithFinalizer(finalizer Finalizer) options.Opt {
	return func(p options.Params) {
		logger.Debug("Checking finalizerSetter")
		if setter, ok := p.(finalizerSetter); ok {
			setter.SetFinalizer(finalizer)
		}
	}
}
332706
func (mr *MockSummaryVecMockRecorder) With(arg0 interface{}) *gomock.Call {
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "With", reflect.TypeOf((*MockSummaryVec)(nil).With), arg0)
}
1232392
func (o *GetPollersIdentifierDataParams) WithIdentifier(identifier string) *GetPollersIdentifierDataParams {
	o.Identifier = identifier
	return o
}
1208853
func (builder *StoreSchemaCommandBuilder) WithSchema(schema string) *StoreSchemaCommandBuilder {
	builder.protobuf.Schema.Content = []byte(schema)
	return builder
}
414297
func (v *Version) WithMinor(minor uint) *Version {
	result := *v
	result.components = []uint{v.Major(), minor, v.Patch()}
	return &result
}
433371
func WithIDGenerator(generator idgenerator.IDGenerator) TracerOption {
	return func(o *Tracer) error {
		o.generate = generator
		return nil
	}
}
1114331
func (o *PatchNodesIdentifierTagsParams) WithIdentifier(identifier string) *PatchNodesIdentifierTagsParams {
	o.Identifier = identifier
	return o
}
288616
func (s *Server) WithDecisionLoggerWithErr(logger func(context.Context, *Info) error) *Server {
	s.logger = logger
	return s
}
759187
func WithParser(parser *jwt.Parser) ParseFromRequestOption {
	return func(p *fromRequestParser) {
		p.parser = parser
	}
}
1178386
func WithConfig(conf NNConfig) TrainerConsOpt {
	f := func(t *Trainer) {
		t.nn.NNConfig = conf
		t.nn.dict = t.corpus
		t.nn.transitions = t.ts
		t.EvalPerIter = conf.EvalPerIteration
	}
	return f
}
761013
func WithLogger(ctx context.Context, logger Logger) context.Context {
	return context.WithValue(ctx, loggerKey{}, logger)
}