Esempio n. 1
0
		public override void PhonologicalRuleNotApplicableMPRFeatures(MPRFeaturesType type, WordSynthesis input, MPRFeatureSet mprFeatures)
		{
			if (m_currentSynthesisPruleTrace != null)
			{
				m_currentSynthesisPruleTrace.Add(new XElement("PhonologicalRuleSynthesisMPRFeaturesTrace", new XAttribute("type", type == MPRFeaturesType.EXCLUDED ? "excluded" : "required"),
					new XElement("PhonologicalRuleMPRFeatures", input.MPRFeatures.Select(f => Write("PhonologicalRuleMPRFeature", f))),
					new XElement("PhonologicalRuleConstrainingMPRFeatrues", mprFeatures.Select(f => Write("PhonologicalRuleMPRFeature", f)))));
			}
		}