/// <summary> /// Get words and definitions for dictionary, usually from an Oracle database /// </summary> /// <param name="dict"></param> /// <returns></returns> public void GetDefinitions(DictionaryMx dict) { if (Dictionaries == null) { throw new Exception("Dictionary XML not loaded"); } string dictName = dict.Name.ToLower(); if (dict.Words != null) { return; // just return if already have } dict.Initialize(); if (dict.Sql == null || dict.Sql == "") { return; // empty dictionary } ReadDictionary(dict); return; }