Interface TrainLanguageModelOptions.WordTypeToAdd

Enclosing class:

public static interface TrainLanguageModelOptions.WordTypeToAdd
_For custom models that are based on previous-generation models_, the type of words from the custom language model's words resource on which to train the model: * `all` (the default) trains the model on all new words, regardless of whether they were extracted from corpora or grammars or were added or modified by the user. * `user` trains the model only on custom words that were added or modified by the user directly. The model is not trained on new words extracted from corpora or grammars.

_For custom models that are based on next-generation models_, the service ignores the parameter. The words resource contains only custom words that the user adds or modifies directly, so the parameter is unnecessary.

  • Field Summary

    Modifier and Type Field Description
    static String ALL
    static String USER