private void makeDictionary(string path, BaseLanguage baseLanguage, List <string> words) { LanguageDatabase languageDatabase = Engine.CreateLanguageDatabase(); Dictionary dictionary = languageDatabase.CreateNewDictionary(path, baseLanguage.LanguageId); dictionary.Name = "CustomDictionary"; // Add words to dictionary foreach (string word in words) { dictionary.AddWord(word, 100); } }