Ejemplo n.º 1
0
 public TextDictionary(String wordDictionaryFile, String fillerDictionaryFile, List <URL> addendaUrlList,
                       bool addSilEndingPronunciation, String wordReplacement, UnitManager unitManager) :
     this(ConfigurationManagerUtils.ResourceToUrl(wordDictionaryFile), ConfigurationManagerUtils
          .ResourceToUrl(fillerDictionaryFile), addendaUrlList, wordReplacement, unitManager)
 {
 }
Ejemplo n.º 2
0
        //protected Logger logger;

        public JSGFGrammar(String location, String grammarName, bool showGrammar, bool optimizeGrammar, bool addSilenceWords, bool addFillerWords, IDictionary dictionary)
            : this(ConfigurationManagerUtils.ResourceToUrl(location), grammarName, showGrammar, optimizeGrammar, addSilenceWords, addFillerWords, dictionary)
        {
        }
Ejemplo n.º 3
0
 public SimpleNGramModel(String location, IDictionary dictionary, float unigramWeight, int desiredMaxDepth)
     : this(ConfigurationManagerUtils.ResourceToUrl(location), dictionary, unigramWeight, desiredMaxDepth)
 {
 }