Exemplo n.º 1
0
 public static IMachineBuilder AddTextFileTextCorpus(this IMachineBuilder builder,
                                                     IConfiguration config)
 {
     builder.Services.Configure <TextFileTextCorpusOptions>(config);
     return(builder.AddTextFileTextCorpus());
 }
Exemplo n.º 2
0
 public static IMachineBuilder AddTextFileTextCorpus(this IMachineBuilder builder,
                                                     Action <TextFileTextCorpusOptions> configureOptions)
 {
     builder.Services.Configure(configureOptions);
     return(builder.AddTextFileTextCorpus());
 }