예제 #1
0
        /// <summary>Make a ChineseEnglishWordMap with a default CEDict path.</summary>
        /// <remarks>
        /// Make a ChineseEnglishWordMap with a default CEDict path.
        /// It looks for the file "cedict_ts.u8" in the working directory, for the
        /// value of the CEDICT environment variable, and in a Stanford NLP Group
        /// specific place.  It throws an exception if a dictionary cannot be found.
        /// </remarks>
        public ChineseEnglishWordMap()
        {
            string path = CEDict.Path();

            ReadCEDict(path);
        }
 public TraditionalSimplifiedCharacterMap()
     : this(CEDict.Path())
 {
 }