コード例 #1
0
ファイル: XmlTraceManager.cs プロジェクト: bbriggs/FieldWorks
		public override void PhonologicalRuleNotApplicablePOS(WordSynthesis input, HCObjectSet<PartOfSpeech> requiredPOSs)
		{
			if (m_currentSynthesisPruleTrace != null)
			{
				m_currentSynthesisPruleTrace.Add(new XElement("PhonologicalRuleSynthesisRequiredPOSTrace",
					Write("PhonologicalRuleStemPOS", input.POS),
					new XElement("PhonologicalRuleRequiredPOSes", requiredPOSs.Select(pos => Write("PhonologicalRuleRequiredPOS", pos)))));
			}
		}