BpeTrainer.Feed Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.