Beispiel #1
0
        private bool LoadDat(string path)
        {
            var ba = ByteArray.Create(path);

            if (ba == null)
            {
                return(false);
            }

            _crfModel = new CRFDependencyModel(new DoubleArrayTrie <FeatureFunction>());
            return(_crfModel.LoadFromBin(ba));
        }