GrammarBuilder.AppendDictation 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
받아쓰기 문법을 문법 요소의 현재 시퀀스에 추가합니다.
오버로드
| Name | Description |
|---|---|
| AppendDictation() |
문법 요소의 현재 시퀀스에 기본 받아쓰기 문법을 추가합니다. |
| AppendDictation(String) |
지정한 받아쓰기 문법을 문법 요소의 현재 시퀀스에 추가합니다. |
설명
이 AppendDictation 메서드를 사용하면 받아쓰기 문법을 규칙에 추가할 수 있습니다 GrammarBuilder.
받아쓰기 문법에 대한 자세한 내용은 다음을 참조하세요 DictationGrammar.
AppendDictation()
- Source:
- GrammarBuilder.cs
- Source:
- GrammarBuilder.cs
- Source:
- GrammarBuilder.cs
- Source:
- GrammarBuilder.cs
문법 요소의 현재 시퀀스에 기본 받아쓰기 문법을 추가합니다.
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)
- Source:
- GrammarBuilder.cs
- Source:
- GrammarBuilder.cs
- Source:
- GrammarBuilder.cs
- Source:
- GrammarBuilder.cs
지정한 받아쓰기 문법을 문법 요소의 현재 시퀀스에 추가합니다.
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";
설명
맞춤법 받아쓰기 문법을 사용하려면 .로 category설정합니다spelling.
받아쓰기 문법에 대한 자세한 내용은 다음을 참조하세요 DictationGrammar.