Dela via


BpeTrainer.Feed Method

Definition

Process the input sequences and feed the result to the model.

public override void Feed (System.Collections.Generic.IEnumerable<string> sequences, Func<string,System.Collections.Generic.IEnumerable<string>> process);
override this.Feed : seq<string> * Func<string, seq<string>> -> unit
Public Overrides Sub Feed (sequences As IEnumerable(Of String), process As Func(Of String, IEnumerable(Of String)))

Parameters

sequences
IEnumerable<String>

The list of sequences to feed the trainer.

process
Func<String,IEnumerable<String>>

Optional process callback for reporting the training progress update.

Applies to