SpeechRecognitionResult 클래스

정의

음성 인식 세션의 결과입니다.

public ref class SpeechRecognitionResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class SpeechRecognitionResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class SpeechRecognitionResult
Public NotInheritable Class SpeechRecognitionResult
상속
Object Platform::Object IInspectable SpeechRecognitionResult
특성

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

SpeechRecognizer.RecognizeAsync 또는 SpeechRecognizer.RecognizeWithUIAsync 메서드를 호출하여 이 클래스의 instance 가져옵니다.

속성

Confidence

인식 결과에서 음성 인식기의 신뢰도를 나타내는 값을 가져옵니다.

Constraint

인식 결과에 사용되는 제약 조건을 가져옵니다.

PhraseDuration

발화에 필요한 시간을 가져옵니다.

PhraseStartTime

발화의 시작 시간을 가져옵니다.

RawConfidence

인식 결과와 함께 반환된 대체 항목 컬렉션과 비교할 때 SpeechRecognitionResult 의 상대적 신뢰도를 나타내는 값을 가져옵니다.

RulePath

인식된 구를 반환하도록 트리거된 규칙 요소의 계층 구조를 가져옵니다.

SemanticInterpretation

SRGS(Speech Recognition Grammar Specification) 문법에서 인식된 구의 의미 체계 속성을 포함하는 해석 개체를 가져옵니다.

Status

음성 인식 세션의 결과 상태(SpeechRecognitionResultStatus)를 가져옵니다.

Text

음성 인식 세션의 인식된 구를 가져옵니다.

메서드

GetAlternates(UInt32)

RawConfidence에서 가장 가능성이 가장 낮은 값으로 정렬된 인식 결과 대안의 컬렉션을 가져옵니다. 컬렉션의 첫 번째 항목은 부모 개체가 나타내는 인식 결과입니다.

적용 대상

추가 정보