GrammarBuilder.AppendDictation 메서드

정의

받아쓰기 문법을 문법 요소의 현재 시퀀스에 추가합니다.

오버로드

AppendDictation()

기본 받아쓰기 문법을 문법 요소의 현재 시퀀스에 추가합니다.

AppendDictation(String)

지정된 받아쓰기 문법을 문법 요소의 현재 시퀀스에 추가합니다.

설명

합니다 AppendDictation 메서드를 사용 하는 규칙으로 받아쓰기 문법에 추가할 수는 GrammarBuilder합니다.

받아쓰기 문법에 대 한 자세한 내용은 참조 하세요. DictationGrammar합니다.

AppendDictation()

기본 받아쓰기 문법을 문법 요소의 현재 시퀀스에 추가합니다.

public:
 void AppendDictation();
public void AppendDictation ();
member this.AppendDictation : unit -> unit
Public Sub AppendDictation ()

예제

다음 예제에서는 받아쓰기를 통합 하는 스피치 인식 그래 머를 만듭니다.

GrammarBuilder builder = new GrammarBuilder();  
builder.Append("begin");  
builder.AppendDictation();  
builder.Append("end");  
Grammar grammarWithDictation = new Grammar(builder);  
grammarWithDictation.Name = "Grammar with Dictation";  

설명

받아쓰기 문법에 대 한 자세한 내용은 참조 하세요. DictationGrammar합니다.

추가 정보

적용 대상

AppendDictation(String)

지정된 받아쓰기 문법을 문법 요소의 현재 시퀀스에 추가합니다.

public:
 void AppendDictation(System::String ^ category);
public void AppendDictation (string category);
member this.AppendDictation : string -> unit
Public Sub AppendDictation (category As String)

매개 변수

category
String

추가할 받아쓰기 문법의 범주입니다.

예제

다음 예제에서는 맞춤법 받아쓰기 문법 규칙을 통합 하는 스피치 인식 그래 머를 만듭니다.

GrammarBuilder builder = new GrammarBuilder();  
builder.Append("begin");  
builder.AppendDictation("spelling");  
builder.Append("end");  
Grammar grammarWithDictation = new Grammar(builder);  
grammarWithDictation.Name = "Grammar with Dictation";  

설명

맞춤법 받아쓰기 문법을 사용 하려면 categoryspelling입니다.

받아쓰기 문법에 대 한 자세한 내용은 참조 하세요. DictationGrammar합니다.

추가 정보

적용 대상