/// <summary> /// Set hyperparameters alpha and beta of the external scorer. /// </summary> /// <param name="aAlpha">The alpha hyperparameter of the decoder. Language model weight.</param> /// <param name="aBeta">The beta hyperparameter of the decoder. Word insertion weight.</param> /// <exception cref="ArgumentException">Thrown when an external scorer is not enabled.</exception> public unsafe void SetScorerAlphaBeta(float aAlpha, float aBeta) { var resultCode = NativeImp.DS_SetScorerAlphaBeta(_modelStatePP, aAlpha, aBeta); EvaluateResultCode(resultCode); }