ConvertDictFromRawTextToBinary() публичный Метод

public ConvertDictFromRawTextToBinary ( string strRawFileName, string strDestFileName ) : void
strRawFileName string
strDestFileName string
Результат void
Пример #1
0
        public static void VerifyBinaryDict(string strTestFileName, string strRawDictFileName)
        {
            Console.WriteLine("Convert dictionary from raw text to binary format.");
            DictMatch match = new DictMatch();
            match.ConvertDictFromRawTextToBinary(strRawDictFileName, strRawDictFileName + ".bin");

            Console.WriteLine("Load binary dictionary...");
            match = new DictMatch();
            match.LoadDictFromBinary(strRawDictFileName + ".bin");

            Console.WriteLine("Verify binary dictionary...");
            Match(strTestFileName, match);
        }