/// <summary>
 /// Returns the default implementation of the Dictionary interface.
 /// </summary>
 public static IDictionary GetDictionary(string searchDirectory)
 {
     if (mDictionary == null)
     {
         try
         {
             mDictionary = new WordnetDictionary(searchDirectory);
         }
         catch (System.IO.IOException e)
         {
             System.Console.Error.WriteLine(e);
         }
     }
     return(mDictionary);
 }
Exemplo n.º 2
0
		/// <summary>
        /// Returns the default implementation of the Dictionary interface.
        /// </summary>
		public static IDictionary GetDictionary(string searchDirectory)
		{
            if (mDictionary == null)
            {
                try
                {
                    mDictionary = new WordnetDictionary(searchDirectory);
                }
                catch (System.IO.IOException e)
                {
                    System.Console.Error.WriteLine(e);
                }
            }
            return mDictionary;
		}