Interface TrainLanguageModelOptions.WordTypeToAdd

Enclosing class:
TrainLanguageModelOptions

public static interface TrainLanguageModelOptions.WordTypeToAdd
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 new words that were added or modified by the user directly. The model is not trained on new words extracted from corpora or grammars.
  • Field Summary

    Fields
    Modifier and Type Field Description
    static String ALL
    all.
    static String USER
    user.