SrgsGrammarCompiler.Compile 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
SrgsDocument 개체 및 XML 형식의 문법 파일을 확장명이 .cfg인 이진 문법 파일에 컴파일하고 출력을 스트림에 전송합니다.
오버로드
Compile(SrgsDocument, Stream) |
SrgsDocument 개체를 확장명이 .cfg인 이진 문법 파일에 결합하고 출력을 스트림에 전송합니다. |
Compile(String, Stream) |
XML 형식의 문법 파일을 확장명이 .cfg인 이진 문법 파일에 결합하고 출력을 스트림에 전송합니다. |
Compile(XmlReader, Stream) |
XmlReader에서 참조하는 XML 형식의 문법 파일의 데이터를 확장명이 .cfg인 이진 문법 파일에 컴파일하고 출력을 스트림에 전송합니다. |
Compile(SrgsDocument, Stream)
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
SrgsDocument 개체를 확장명이 .cfg인 이진 문법 파일에 결합하고 출력을 스트림에 전송합니다.
public:
static void Compile(System::Speech::Recognition::SrgsGrammar::SrgsDocument ^ srgsGrammar, System::IO::Stream ^ outputStream);
public static void Compile(System.Speech.Recognition.SrgsGrammar.SrgsDocument srgsGrammar, System.IO.Stream outputStream);
static member Compile : System.Speech.Recognition.SrgsGrammar.SrgsDocument * System.IO.Stream -> unit
Public Shared Sub Compile (srgsGrammar As SrgsDocument, outputStream As Stream)
매개 변수
- srgsGrammar
- SrgsDocument
컴파일할 문법입니다.
- outputStream
- Stream
컴파일 결과를 받는 스트림입니다.
예외
설명
자세한 내용은 SRGS 문법을 컴파일합니다.
적용 대상
Compile(String, Stream)
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
XML 형식의 문법 파일을 확장명이 .cfg인 이진 문법 파일에 결합하고 출력을 스트림에 전송합니다.
public:
static void Compile(System::String ^ inputPath, System::IO::Stream ^ outputStream);
public static void Compile(string inputPath, System.IO.Stream outputStream);
static member Compile : string * System.IO.Stream -> unit
Public Shared Sub Compile (inputPath As String, outputStream As Stream)
매개 변수
- inputPath
- String
컴파일할 파일의 경로입니다.
- outputStream
- Stream
컴파일 결과를 받는 스트림입니다.
예외
inputPath
이 빈 문자열인 경우
설명
XML 형식의 문법 파일을 따라야 합니다 음성 인식 문법 Specification (SRGS) 버전 1.0합니다.
파일에 액세스할 때 파일을 만들거나 열 때 보안 검사가 수행 됩니다. 보안 검사를 일반적으로 수행 되지 않으므로 다시 파일을 닫고 다시 하지 않으면.
자세한 내용은 SRGS 문법을 컴파일합니다.
적용 대상
Compile(XmlReader, Stream)
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
- Source:
- SrgsGrammarCompiler.cs
XmlReader에서 참조하는 XML 형식의 문법 파일의 데이터를 확장명이 .cfg인 이진 문법 파일에 컴파일하고 출력을 스트림에 전송합니다.
public:
static void Compile(System::Xml::XmlReader ^ reader, System::IO::Stream ^ outputStream);
public static void Compile(System.Xml.XmlReader reader, System.IO.Stream outputStream);
static member Compile : System.Xml.XmlReader * System.IO.Stream -> unit
Public Shared Sub Compile (reader As XmlReader, outputStream As Stream)
매개 변수
- outputStream
- Stream
컴파일 결과를 받게 되는 스트림입니다.
예외
설명
참조 되는 XML 형식의 문법 파일의 XmlReader 준수 해야 합니다는 음성 인식 문법 Specification (SRGS) 버전 1.0합니다.
자세한 내용은 SRGS 문법을 컴파일합니다.