RecognizedPhrase.ConstructSmlFromSemantics 메서드

정의

RecognizedPhrase 개체를 통해 의미 체계 정보에 대한 SML(Semantic Markup Language) 문서를 반환합니다.

public:
 System::Xml::XPath::IXPathNavigable ^ ConstructSmlFromSemantics();
public System.Xml.XPath.IXPathNavigable ConstructSmlFromSemantics ();
member this.ConstructSmlFromSemantics : unit -> System.Xml.XPath.IXPathNavigable
Public Function ConstructSmlFromSemantics () As IXPathNavigable

반환

IXPathNavigable

RecognizedPhrase의 의미 체계에 대한 SML 설명을 XPath 탐색 가능 개체로 반환합니다.

예제

다음 예제에서는 메서드는 인식 된 구의 의미 체계에 대 한 SML을 포함 하는 문자열을 반환 합니다.

private string GetSemanticsSML(RecognizedPhrase result)  
{  
  if (result.Semantics.Count > 0)  
  {  
    return result.ConstructSmlFromSemantics().CreateNavigator().OuterXml;  
  }  
  else  
  {  
    return null;  
  }  
}  

설명

의미 체계 태그 언어 SML ()에 대 한 자세한 내용은 참조는 의미 체계 태그 언어 참조합니다.

적용 대상