private void LoadModel(string segLoc)
        {
            // don't write very much, because the CRFClassifier already reports loading
            if (Verbose)
            {
                log.Info("Loading segmentation model ... ");
            }
            Properties modelProps = new Properties();

            modelProps.SetProperty("model", segLoc);
            segmenter = ArabicSegmenter.GetSegmenter(modelProps);
        }
        private void LoadModel(string segLoc, Properties props)
        {
            // don't write very much, because the CRFClassifier already reports loading
            if (Verbose)
            {
                log.Info("Loading Segmentation Model ... ");
            }
            Properties modelProps = new Properties();

            modelProps.SetProperty("model", segLoc);
            modelProps.PutAll(props);
            try
            {
                segmenter = ArabicSegmenter.GetSegmenter(modelProps);
            }
            catch (Exception e)
            {
                throw;
            }
            catch (Exception e)
            {
                throw new Exception(e);
            }
        }