Ejemplo n.º 1
0
        private void LoadLanguageModelRNN(string strLMFileName)
        {
            float regularization = 0.0000001f;
            float dynamic        = 0;

            lmDecoder_rnn = new RNNDecoder();
            lmDecoder_rnn.setLambda(0.5);
            lmDecoder_rnn.setRegularization(regularization);
            lmDecoder_rnn.setDynamic(dynamic);
            lmDecoder_rnn.LoadLM(strLMFileName);
        }