public override bool SetOptions(Properties opts) { bool ret = base.SetOptions(opts); if (opts.Contains(ConfigParser.paramSplit)) { string splitFileName = opts.GetProperty(ConfigParser.paramSplit); splitSet = MakeSplitSet(splitFileName); } CcTagset = PropertiesUtils.GetBool(opts, ConfigParser.paramCCTagset, false); treebank = new MemoryTreebank(new FrenchXMLTreeReaderFactory(CcTagset), FrenchTreebankLanguagePack.FtbEncoding); if (lexMapper == null) { lexMapper = new DefaultMapper(); lexMapper.Setup(null, lexMapOptions.Split(",")); } if (pathsToMappings.Count != 0) { if (posMapper == null) { posMapper = new DefaultMapper(); } foreach (File path in pathsToMappings) { posMapper.Setup(path); } } return(ret); }