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