ABNF Grammar for MRCPv2 -- Media Resource Control Protocol version 2
|
This page documents the ABNF (Augmented Backus-Naur Form) definitions for MRCPv2
text messages, defined in
[draft-ietf-speechsc-mrcpv2].
Navigation Tip: ABNF non-basic rules (not defined in
RFC 5234) that are used in a rule definition,
and that are not defined under the same banner,
have a link (color: red)
to the banner under which they are defined, within this page or in another page.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| generic-method | = |
"SET-PARAMS"
/
"GET-PARAMS"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| channel-identifier | = |
"Channel-Identifier"
":"
channel-id
CRLF
|
| channel-id | = |
1*alphanum "@"
1*alphanum
|
|
|
|
|
|
|
|
|
|
| | |
| accept | = |
"Accept"
":"
*( media-range
[ accept-params ] )
|
| media-range | = |
( "*/*"
/ ( type
"/"
"*" )
/ ( type
"/"
subtype )
) *( ";"
parameter )
|
| accept-params | = |
";"
"q"
"="
qvalue
*( accept-extension )
|
| accept-extension | = |
";"
token
[ "="
( token
/ quoted-string ) ]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| proxy-sync-id | = |
"Proxy-Sync-Id"
":"
1*VCHAR
CRLF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| content-type | = |
"Content-Type"
":"
media-type-value
CRLF
|
| media-type-value | = |
type
"/"
subtype
*( ";"
parameter )
|
| type | = |
token
|
| subtype | = |
token
|
| parameter | = |
attribute
"="
value
|
| attribute | = |
token
|
| value | = |
token / quoted-string
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| content-encoding | = |
"Content-Encoding"
":"
*WSP content-coding
*(*WSP ","
*WSP content-coding *WSP )
CRLF
|
| content-coding | = |
token
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| content-length | = |
"Content-Length"
":"
1*19DIGIT
CRLF
|
|
|
|
|
|
|
|
| | |
| fetch-timeout | = |
"Fetch-Timeout"
":"
1*19DIGIT
CRLF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| logging-tag | = |
"Logging-Tag"
":"
1*UTFCHAR
CRLF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| vendor-specific | = |
"Vendor-Specific-Parameters"
":"
[ vendor-specific-av-pair
*( ";"
vendor-specific-av-pair
) ]
CRLF
|
| vendor-specific-av-pair | = |
vendor-av-pair-name
"="
value
|
| vendor-av-pair-name | = |
1*UTFCHAR
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| synthesizer-method | = |
"SPEAK"
/ "STOP"
/ "PAUSE"
/ "RESUME"
/ "BARGE-IN-OCCURRED"
/ "CONTROL"
/ "DEFINE-LEXICON"
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| synthesizer-event | = |
"SPEECH-MARKER"
/ "SPEAK-COMPLETE"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| jump-size | = |
"Jump-Size"
":"
speech-length-value
CRLF
|
| speech-length-value | = |
numeric-speech-length
/ text-speech-length
|
| text-speech-length | = |
1*UTFCHAR SP
"Tag"
|
| numeric-speech-length | = |
("+"
/ "-")
positive-speech-length
|
| positive-speech-length | = |
1*19DIGIT SP
numeric-speech-unit
|
| numeric-speech-unit | = |
"Second"
/ "Word"
/ "Sentence"
/ "Paragraph"
|
|
|
|
|
|
|
|
| | |
| kill-on-barge-in | = |
"Kill-On-Barge-In"
":"
BOOLEAN
CRLF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| voice-parameter | = |
voice-gender
/ voice-age
/ voice-variant
/ voice-name
|
| voice-gender | = |
"Voice-Gender:"
voice-gender-value
CRLF
|
| voice-gender-value | = |
"male"
/ "female"
/ "neutral"
|
| voice-age | = |
"Voice-Age:"
1*3DIGIT
CRLF
|
| voice-variant | = |
"Voice-Variant:"
1*19DIGIT
CRLF
|
| voice-name | = |
"Voice-Name:"
1*UTFCHAR *(1*WSP 1*UTFCHAR)
CRLF
|
|
|
|
|
|
|
|
| | |
| prosody-parameter | = |
"Prosody-"
prosody-param-name
":"
[prosody-param-value]
CRLF
|
| prosody-param-name | = |
1*VCHAR
|
| prosody-param-value | = |
1*VCHAR
|
|
|
|
|
|
|
|
| | |
| speech-marker | = |
"Speech-Marker"
":"
timestamp
[ ";" 1*(UTFCHAR / %x20) ]
CRLF
|
| timestamp | = |
"timestamp"
"="
time-stamp-value
|
| time-stamp-value | = |
1*20DIGIT
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| audio-fetch-hint | = |
"Audio-Fetch-Hint"
":"
1*ALPHA
CRLF
|
|
|
|
|
|
|
|
| | |
| speak-restart | = |
"Speak-Restart"
":"
BOOLEAN
CRLF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| load-lexicon | = |
"Load-Lexicon"
":"
BOOLEAN
CRLF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| recognizer-method | = |
recog-only-method
/ enrollment-method
|
| recog-only-method | = |
"DEFINE-GRAMMAR"
/ "RECOGNIZE"
/ "INTERPRET"
/ "GET-RESULT"
/ "START-INPUT-TIMERS"
/ "STOP"
|
| enrollment-method | = |
"START-PHRASE-ENROLLMENT"
/ "ENROLLMENT-ROLLBACK"
/ "END-PHRASE-ENROLLMENT"
/ "MODIFY-PHRASE"
/ "DELETE-PHRASE"
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| recognizer-event | = |
"START-OF-INPUT"
/ "RECOGNITION-COMPLETE"
/ "INTERPRETATION-COMPLETE"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| confidence-threshold | = |
"Confidence-Threshold"
":"
FLOAT
CRLF
|
|
|
|
|
|
|
|
| | |
| speed-vs-accuracy | = |
"Speed-Vs-Accuracy"
":"
FLOAT
CRLF
|
|
|
|
|
|
|
|
| | |
| n-best-list-length | = |
"N-Best-List-Length"
":"
1*19DIGIT
CRLF
|
|
|
|
|
|
|
|
| | |
| recognition-timeout | = |
"Recognition-Timeout"
":"
1*19DIGIT
CRLF
|
|
|
|
|
|
|
|
| | |
| recognizer-context-block | = |
"Recognizer-Context-Block"
":"
[1*VCHAR]
CRLF
|
|
|
|
|
|
|
|
| | |
| speech-incomplete-timeout | = |
"Speech-Incomplete-Timeout"
":"
1*19DIGIT
CRLF
|
|
|
|
|
|
|
|
| | |
| dtmf-interdigit-timeout | = |
"DTMF-Interdigit-Timeout"
":"
1*19DIGIT
CRLF
|
|
|
|
|
|
|
|
| | |
| dtmf-term-timeout | = |
"DTMF-Term-Timeout"
":"
1*19DIGIT
CRLF
|
|
|
|
|
|
|
|
| | |
| dtmf-term-char | = |
"DTMF-Term-Char"
":"
VCHAR
CRLF
|
|
|
|
|
|
|
|
| | |
| recognition-mode | = |
"Recognition-Mode"
":"
1*ALPHA
CRLF
|
|
|
|
|
|
|
|
| | |
| cancel-if-queue | = |
"Cancel-If-Queue"
":"
BOOLEAN
CRLF
|
|
|
|
|
|
|
|
| | |
| hotword-max-duration | = |
"Hotword-Max-Duration"
":"
1*19DIGIT
CRLF
|
|
|
|
|
|
|
|
| | |
| hotword-min-duration | = |
"Hotword-Min-Duration"
":"
1*19DIGIT
CRLF
|
|
|
|
|
|
|
|
| | |
| interpret-text | = |
"Interpret-Text"
":"
1*VCHAR
CRLF
|
|
|
|
|
|
|
|
| | |
| dtmf-buffer-time | = |
"DTMF-Buffer-Time"
":"
1*19DIGIT
CRLF
|
|
|
|
|
|
|
|
| | |
| clear-dtmf-buffer | = |
"Clear-DTMF-Buffer"
":"
BOOLEAN
CRLF
|
|
|
|
|
|
|
|
| | |
| early-no-match | = |
"Early-No-Match"
":"
BOOLEAN
CRLF
|
|
|
|
|
|
|
|
| | |
| num-min-consistent-pronunciations | = |
"Num-Min-Consistent-Pronunciations"
":"
1*19DIGIT
CRLF
|
|
|
|
|
|
|
|
| | |
| consistency-threshold | = |
"Consistency-Threshold"
":"
FLOAT
CRLF
|
|
|
|
|
|
|
|
| | |
| clash-threshold | = |
"Clash-Threshold"
":"
FLOAT
CRLF
|
|
|
|
|
|
|
|
| | |
| personal-grammar-uri | = |
"Personal-Grammar-URI"
":"
uri
CRLF
|
|
|
|
|
|
|
|
| | |
| enroll-utterance | = |
"Enroll-Utterance"
":"
BOOLEAN
CRLF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| phrase-nl | = |
"Phrase-NL"
":"
1*UTFCHAR
CRLF
|
|
|
|
|
|
|
|
| | |
| weight | = |
"Weight"
":"
weight-value
CRLF
|
| weight-value | = |
FLOAT
|
|
|
|
|
|
|
|
| | |
| save-best-waveform | = |
"Save-Best-Waveform"
":"
BOOLEAN
CRLF
|
|
|
|
|
|
|
|
| | |
| new-phrase-id | = |
"New-Phrase-ID"
":"
1*VCHAR
CRLF
|
|
|
|
|
|
|
|
| | |
| confusable-phrases-uri | = |
"Confusable-Phrases-URI"
":"
uri
CRLF
|
|
|
|
|
|
|
|
| | |
| abort-phrase-enrollment | = |
"Abort-Phrase-Enrollment"
":"
BOOLEAN
CRLF
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| recorder-method | = |
"RECORD"
/ "STOP"
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| recorder-event | = |
"START-OF-INPUT"
/ "RECORD-COMPLETE"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| | |
| record-uri | = |
"Record-URI"
":"
[ "<"
uri
">"
";"
"size"
"=" 1*19DIGIT
";"
"duration"
"=" 1*19DIGIT ]
CRLF
|
|
|
|
|
|
|
|
| | |
| max-time | = |
"Max-Time"
  | |