public void Add(Feature feature, SyntacticFeatureType type) { CheckFrozen(); base.Add(feature); switch (type) { case SyntacticFeatureType.Head: _headFeatures.Add(feature); break; case SyntacticFeatureType.Foot: _footFeatures.Add(feature); break; } }
private void LoadSyntacticFeatureSystem(XElement featSysElem, SyntacticFeatureType type) { foreach (XElement featDefElem in featSysElem.Elements().Where(IsActive)) _language.SyntacticFeatureSystem.Add(LoadFeature(featDefElem), type); }