grammar: The grammar or recognition rule matched by this
result. The format of the grammar attribute will match the
rule reference semantics defined in the grammar specification.
@@ -6288,7 +6288,7 @@
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
- grammar="http://www.example.com/grammar">
+ grammar="http://www.example.com/grammar">
<interpretation>
....
</interpretation>
@@ -6303,7 +6303,7 @@
An <interpretation> element contains a single semantic
interpretation.¶
Attributes:¶
-
+
confidence: A float value from 0.0-1.0 indicating the
semantic analyzer's confidence in this interpretation. A value
of 1.0 indicates maximum confidence. The values are
@@ -6359,7 +6359,7 @@
objects created, nor any semantic translation, the instance value
is the same as the input value.¶
Attributes:¶
-
+
confidence: Each element of the instance MAY have a
confidence attribute, defined in the NLSML namespace. The
confidence attribute contains a float value in the range from
@@ -6380,7 +6380,7 @@
<state>CA</state>
<zip>90952</zip>
</nameAddress>
-</instance>
+</instance>
<input>
My address is 123 Maple Street,
Mill Valley, California, 90952
@@ -6393,7 +6393,7 @@
<instance>
I would like to buy a coca-cola
-</instance>
+</instance>
<input>
I would like to buy a coke
</input>
@@ -6418,7 +6418,7 @@
spoken utterance, in ISO 8601
format [ISO.8601.1988 ] .¶
Attributes:¶
-
+
timestamp-start: The time at which the input began.
(optional)¶
@@ -6441,7 +6441,7 @@
When there is no time zone designator, ISO 8601 time
representations default to local time.¶
There are three possible formats for the <input> element.¶
-
+
The <input> element can contain simple text:¶
@@ -6465,12 +6465,12 @@
for individual words and word-level confidences.
¶
- <input>
+ <input>
<input mode="speech" confidence="0.5"
- timestamp-start="2000-04-03T0:00:00"
+ timestamp-start="2000-04-03T0:00:00"
timestamp-end="2000-04-03T0:00:00.2">fried</input>
<input mode="speech" confidence="1.0"
- timestamp-start="2000-04-03T0:00:00.25"
+ timestamp-start="2000-04-03T0:00:00.25"
timestamp-end="2000-04-03T0:00:00.6">onions</input>
</input>
¶
@@ -6497,14 +6497,14 @@
<interpretation>
<instance/>
- <input confidence="0.1">
+ <input confidence="0.1">
<nomatch/>
</input>
</interpretation>
-<interpretation>
- <instance/>
- <input mode="speech" confidence="0.1">
- <nomatch>I want to go to New York</nomatch>
+<interpretation>
+ <instance/>
+ <input mode="speech" confidence="0.1">
+ <nomatch>I want to go to New York</nomatch>
</input>
</interpretation>
¶
@@ -6533,7 +6533,7 @@
in DTMF modality". For example, to represent garbled speech
combined with DTMF "1 2 3 4", the markup would be:
¶
-
<input>
+<input>
<input mode="speech"><nomatch/></input>
<input mode="dtmf">1 2 3 4</input>
</input> ¶
@@ -6555,7 +6555,7 @@
<enrollment‑result> element under <result>. The elements
are described below and have the schema defined in Section 16.2 . The following elements
are defined:¶
-
+
num-clashes¶
num-good-repetitions¶
@@ -6686,8 +6686,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -6737,8 +6737,8 @@
"http://www.w3.org/TR/speech-grammar/grammar.dtd">
<grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/2001/06/grammar
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.w3.org/2001/06/grammar
http://www.w3.org/TR/speech-grammar/grammar.xsd"
version="1.0" mode="voice" root="basicCmd">
@@ -6748,7 +6748,7 @@
<example> please move the window </example>
<example> open a file </example>
- <ruleref
+ <ruleref
uri="http://grammar.example.com/politeness.grxml#startPolite"/>
<ruleref uri="#command"/>
@@ -6806,7 +6806,7 @@
S->C:MRCP/2.0 ... START-OF-INPUT 543260 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C:MRCP/2.0 ... RECOGNITION-COMPLETE 543260 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
@@ -6864,7 +6864,7 @@
useful in applications like VoiceXML browsers to order grammars
specified at the dialog, document, and root level of a VoiceXML
application.¶
-
+
The grammar MAY be placed directly in the message body as typed
content. If more than one grammar is included in the body, the
order of inclusion controls the corresponding precedence for the
@@ -6961,7 +6961,7 @@
the Speech-Complete-Timer is started. If it matches partially with one
or more of the active grammars, with more speech needed before a full
match is achieved, then the Speech-Incomplete-Timer is started.¶
-
+
When the No-Input-Timer expires, the recognizer MUST complete
with a Completion-Cause code of "no-input-timeout".¶
@@ -7006,7 +7006,7 @@
For recognition in hotword mode:¶
Note that for recognition in hotword mode the START-OF-INPUT event is
not generated when speech or a DTMF digit is detected.¶
-
+
When the No-Input-Timer expires, the recognizer MUST complete
with a Completion-Cause code of "no-input-timeout".¶
@@ -7043,7 +7043,7 @@
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
-<grammar xmlns="http://www.w3.org/2001/06/grammar"
+<grammar xmlns="http://www.w3.org/2001/06/grammar"
xml:lang="en-US" version="1.0" root="request">
<!-- single language attachment to tokens -->
@@ -7051,8 +7051,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -7070,7 +7070,7 @@
S->C:MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C:MRCP/2.0 ... RECOGNITION-COMPLETE 543257 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
@@ -7100,14 +7100,14 @@
occur in normal usage.¶
-C->S: MRCP/2.0 ... RECOGNIZE 543257
- Channel-Identifier:32AECB23433801@speechrecog
- Confidence-Threshold:0.9
+C->S: MRCP/2.0 ... RECOGNIZE 543257
+ Channel-Identifier:32AECB23433801@speechrecog
+ Confidence-Threshold:0.9
Fetch-Timeout:20
- Content-Type:application/srgs+xml
+ Content-Type:application/srgs+xml
Content-Length:...
-
- <?xml version="1.0"? Version="1.0" mode="voice"
+
+ <?xml version="1.0"? Version="1.0" mode="voice"
root="Basic md">
<rule id="rule_list" scope="public">
<one-of>
@@ -7151,7 +7151,7 @@
Content-Type:application/srgs+xml
Content-ID:<request1@form-level.store>
Content-Length:...
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
@@ -7163,8 +7163,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -7209,13 +7209,13 @@
C->S: MRCP/2.0 ... GET-RESULT 543257
Channel-Identifier:32AECB23433801@speechrecog
Confidence-Threshold:0.9
-
+
S->C: MRCP/2.0 ... 543257 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -7297,7 +7297,7 @@
Content-Type:application/srgs+xml
Content-ID:<request1@form-level.store>
Content-Length:...
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
@@ -7309,8 +7309,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -7327,7 +7327,7 @@
S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... RECOGNITION-COMPLETE 543257 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
@@ -7335,7 +7335,7 @@
size=342456;duration=25435
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -7360,22 +7360,22 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version= "1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="Personal-Grammar-URI">
<enrollment-result>
<num-clashes> 2 </num-clashes>
<num-good-repetitions> 1 </num-good-repetitions>
- <num-repetitions-still-needed>
- 1
+ <num-repetitions-still-needed>
+ 1
</num-repetitions-still-needed>
<consistency-status> consistent </consistency-status>
- <clash-phrase-ids>
- <item> Jeff </item> <item> Andre </item>
+ <clash-phrase-ids>
+ <item> Jeff </item> <item> Andre </item>
</clash-phrase-ids>
<transcriptions>
- <item> m ay b r ow k er </item>
+ <item> m ay b r ow k er </item>
<item> m ax r aa k ah </item>
</transcriptions>
<confusable-phrases>
@@ -7483,7 +7483,7 @@
C->S: MRCP/2.0 ... END-PHRASE-ENROLLMENT 543262
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... 543262 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
@@ -7503,7 +7503,7 @@
effect.¶
-C->S: MRCP/2.0 ... MODIFY-PHRASE 543265
+C->S: MRCP/2.0 ... MODIFY-PHRASE 543265
Channel-Identifier:32AECB23433801@speechrecog
Personal-Grammar-URI:<personal grammar uri>
Phrase-Id:<phrase id>
@@ -7511,7 +7511,7 @@
Phrase-NL:<NL phrase>
Weight:1
-S->C: MRCP/2.0 ... 543265 200 COMPLETE
+S->C: MRCP/2.0 ... 543265 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog ¶
@@ -7557,56 +7557,56 @@
C->S: MRCP/2.0 ... INTERPRET 543266
- Channel-Identifier:32AECB23433801@speechrecog
- Interpret-Text:may I speak to Andre Roy
- Content-Type:application/srgs+xml
- Content-ID:<request1@form-level.store>
+ Channel-Identifier:32AECB23433801@speechrecog
+ Interpret-Text:may I speak to Andre Roy
+ Content-Type:application/srgs+xml
+ Content-ID:<request1@form-level.store>
Content-Length:...
-
- <?xml version="1.0"?>
- <!-- the default grammar language is US English -->
+
+ <?xml version="1.0"?>
+ <!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
- xml:lang="en-US" version="1.0" root="request">
- <!-- single language attachment to tokens -->
- <rule id="yes">
- <one-of>
- <item xml:lang="fr-CA">oui</item>
- <item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
-
- <!-- single language attachment to a rule expansion -->
- <rule id="request">
- may I speak to
- <one-of xml:lang="fr-CA">
- <item>Michel Tremblay</item>
- <item>Andre Roy</item>
- </one-of>
- </rule>
- </grammar>
-
+ xml:lang="en-US" version="1.0" root="request">
+ <!-- single language attachment to tokens -->
+ <rule id="yes">
+ <one-of>
+ <item xml:lang="fr-CA">oui</item>
+ <item xml:lang="en-US">yes</item>
+ </one-of>
+ </rule>
+
+ <!-- single language attachment to a rule expansion -->
+ <rule id="request">
+ may I speak to
+ <one-of xml:lang="fr-CA">
+ <item>Michel Tremblay</item>
+ <item>Andre Roy</item>
+ </one-of>
+ </rule>
+ </grammar>
+
S->C: MRCP/2.0 ... 543266 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... INTERPRETATION-COMPLETE 543266 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
- Completion-Cause:000 success
- Content-Type:application/nlsml+xml
+ Completion-Cause:000 success
+ Content-Type:application/nlsml+xml
Content-Length:...
-
- <?xml version="1.0"?>
+
+ <?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
- grammar="session:request1@form-level.store">
- <interpretation>
- <instance name="Person">
- <ex:Person>
- <ex:Name> Andre Roy </ex:Name>
- </ex:Person>
- </instance>
- <input> may I speak to Andre Roy </input>
- </interpretation>
- </result>
+ grammar="session:request1@form-level.store">
+ <interpretation>
+ <instance name="Person">
+ <ex:Person>
+ <ex:Name> Andre Roy </ex:Name>
+ </ex:Person>
+ </instance>
+ <input> may I speak to Andre Roy </input>
+ </interpretation>
+ </result>
¶
@@ -7625,55 +7625,55 @@
C->S: MRCP/2.0 ... INTERPRET 543266
- Channel-Identifier:32AECB23433801@speechrecog
- Interpret-Text:may I speak to Andre Roy
- Content-Type:application/srgs+xml
- Content-ID:<request1@form-level.store>
+ Channel-Identifier:32AECB23433801@speechrecog
+ Interpret-Text:may I speak to Andre Roy
+ Content-Type:application/srgs+xml
+ Content-ID:<request1@form-level.store>
Content-Length:...
-
- <?xml version="1.0"?>
- <!-- the default grammar language is US English -->
+
+ <?xml version="1.0"?>
+ <!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
- xml:lang="en-US" version="1.0" root="request">
- <!-- single language attachment to tokens -->
- <rule id="yes">
- <one-of>
+ xml:lang="en-US" version="1.0" root="request">
+ <!-- single language attachment to tokens -->
+ <rule id="yes">
+ <one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
</one-of>
</rule>
-
- <!-- single language attachment to a rule expansion -->
- <rule id="request">
- may I speak to
- <one-of xml:lang="fr-CA">
- <item>Michel Tremblay</item>
- <item>Andre Roy</item>
- </one-of>
- </rule>
- </grammar>
-
+
+ <!-- single language attachment to a rule expansion -->
+ <rule id="request">
+ may I speak to
+ <one-of xml:lang="fr-CA">
+ <item>Michel Tremblay</item>
+ <item>Andre Roy</item>
+ </one-of>
+ </rule>
+ </grammar>
+
S->C: MRCP/2.0 ... 543266 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... INTERPRETATION-COMPLETE 543266 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
- Completion-Cause:000 success
- Content-Type:application/nlsml+xml
+ Completion-Cause:000 success
+ Content-Type:application/nlsml+xml
Content-Length:...
-
- <?xml version="1.0"?>
+
+ <?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
- grammar="session:request1@form-level.store">
- <interpretation>
- <instance name="Person">
- <ex:Person>
- <ex:Name> Andre Roy </ex:Name>
- </ex:Person>
- </instance>
- <input> may I speak to Andre Roy </input>
- </interpretation>
+ grammar="session:request1@form-level.store">
+ <interpretation>
+ <instance name="Person">
+ <ex:Person>
+ <ex:Name> Andre Roy </ex:Name>
+ </ex:Person>
+ </instance>
+ <input> may I speak to Andre Roy </input>
+ </interpretation>
</result>
¶
@@ -7696,7 +7696,7 @@
This resource captures received audio and video and stores it as
content pointed to by a URI. The main usages of recorders are¶
-
+
to capture speech audio that may be submitted for recognition at
a later time, and¶
@@ -7756,7 +7756,7 @@
recorder-method = "RECORD"
/ "STOP"
/ "START-INPUT-TIMERS"
- ¶
+ ¶
@@ -7768,7 +7768,7 @@
recorder-event = "START-OF-INPUT"
/ "RECORD-COMPLETE"
- ¶
+ ¶
@@ -7781,7 +7781,7 @@
associated with.¶
-recorder-header = sensitivity-level
+recorder-header = sensitivity-level
/ no-input-timeout
/ completion-cause
/ completion-reason
@@ -7796,7 +7796,7 @@
/ ver-buffer-utterance
/ start-input-timers
/ new-audio-channel
- ¶
+
¶
@@ -7812,7 +7812,7 @@
sensitivity-level = "Sensitivity-Level" ":" FLOAT CRLF
- ¶
+
¶
@@ -7830,7 +7830,7 @@
no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -7851,7 +7851,7 @@
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
- ¶
+¶
Table 7
@@ -7908,7 +7908,7 @@
completion-reason = "Completion-Reason" ":"
quoted-string CRLF
- ¶
+¶
@@ -7921,7 +7921,7 @@
failed-uri = "Failed-URI" ":" absoluteURI CRLF
- ¶
+
¶
@@ -7937,9 +7937,9 @@
response code.¶
-failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR
+failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR
CRLF
- ¶
+
¶
@@ -7966,10 +7966,10 @@
implementations already exist that support other schemes.
¶
-record-uri = "Record-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
+record-uri = "Record-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
- ¶
+
¶
@@ -7981,9 +7981,9 @@
to the server the media type of the captured audio or video.¶
-media-type = "Media-Type" ":" media-type-value
+media-type = "Media-Type" ":" media-type-value
CRLF
- ¶
+
¶
@@ -8006,7 +8006,7 @@
max-time = "Max-Time" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8020,7 +8020,7 @@
trim-length = "Trim-Length" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8039,7 +8039,7 @@
final-silence = "Final-Silence" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8055,7 +8055,7 @@
capture-on-speech = "Capture-On-Speech " ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8091,7 +8091,7 @@
start-input-timers = "Start-Input-Timers" ":"
BOOLEAN CRLF
- ¶
+¶
@@ -8148,20 +8148,20 @@
C->S: MRCP/2.0 ... RECORD 543257
Channel-Identifier:32AECB23433802@recorder
- Record-URI:<file://mediaserver/recordings/myfile.wav>
+ Record-URI:<file://mediaserver/recordings/myfile.wav>
Media-Type:audio/wav
Capture-On-Speech:true
Final-Silence:300
Max-Time:6000
-
-S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
- Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
+ Channel-Identifier:32AECB23433802@recorder
Completion-Cause:000 success-silence
Record-URI:<file://mediaserver/recordings/myfile.wav>;
size=242552;duration=25645
@@ -8194,23 +8194,23 @@
C->S: MRCP/2.0 ... RECORD 543257
Channel-Identifier:32AECB23433802@recorder
- Record-URI:<file://mediaserver/recordings/myfile.wav>
+ Record-URI:<file://mediaserver/recordings/myfile.wav>
Capture-On-Speech:true
Final-Silence:300
Max-Time:6000
-
-S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
+
+S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
C->S: MRCP/2.0 ... STOP 543257
- Channel-Identifier:32AECB23433802@recorder
+ Channel-Identifier:32AECB23433802@recorder
Trim-Length:200
-
-S->C: MRCP/2.0 ... 543257 200 COMPLETE
- Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... 543257 200 COMPLETE
+ Channel-Identifier:32AECB23433802@recorder
Record-URI:<file://mediaserver/recordings/myfile.wav>;
size=324253;duration=24561
Active-Request-Id-List:543257
@@ -8235,19 +8235,19 @@
C->S: MRCP/2.0 ... RECORD 543257
Channel-Identifier:32AECB23433802@recorder
- Record-URI:<file://mediaserver/recordings/myfile.wav>
+ Record-URI:<file://mediaserver/recordings/myfile.wav>
Capture-On-Speech:true
Final-Silence:300
Max-Time:6000
-
-S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
- Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
+ Channel-Identifier:32AECB23433802@recorder
Completion-Cause:000 success
Record-URI:<file://mediaserver/recordings/myfile.wav>;
size=325325;duration=24652
@@ -8430,14 +8430,14 @@
| |<---------| |
| | |
|----------| | |
- | STOP | |
+ | STOP | |
|<---------| | |
| |----------| |
| | CLEAR-BUFFER |
| |<---------| |
| | |
|----------| | |
- | CLEAR-BUFFER | |
+ | CLEAR-BUFFER | |
|<---------| | |
| | |
| |----------| |
@@ -8479,7 +8479,7 @@
/ "CLEAR-BUFFER"
/ "START-INPUT-TIMERS"
/ "GET-INTERMEDIATE-RESULT"
- ¶
+ ¶
These methods allow the client to control the mode and target of
verification or identification operations within the context of a
@@ -8497,13 +8497,13 @@
appropriate for the resource, with the header field
Ver‑Buffer‑Utterance. Then, when the following method is called,
verification is performed using the set of buffered audio.¶
-
+
VERIFY-FROM-BUFFER¶
The following methods are used for verification of live audio
utterances:¶
-
+
VERIFY¶
START-INPUT-TIMERS¶
@@ -8511,7 +8511,7 @@
The following methods are used for configuring the verifier
resource and for establishing resource states:¶
-
+
START-SESSION¶
END-SESSION¶
@@ -8529,7 +8529,7 @@
The following method allows the polling of a verification in progress
for intermediate results.¶
-
+
GET-INTERMEDIATE-RESULT¶
@@ -8543,7 +8543,7 @@
verifier-event = "VERIFICATION-COMPLETE"
/ "START-OF-INPUT"
- ¶
+ ¶
@@ -8576,7 +8576,7 @@
/ new-audio-channel
/ abort-verification
/ start-input-timers
- ¶
+¶
@@ -8590,7 +8590,7 @@
repository-uri = "Repository-URI" ":" uri CRLF
- ¶
+
¶
@@ -8610,10 +8610,10 @@
group identifier instead of a list of voiceprint identifiers.¶
-voiceprint-identifier = "Voiceprint-Identifier" ":"
+voiceprint-identifier = "Voiceprint-Identifier" ":"
vid *[";" vid] CRLF
vid = 1*VCHAR ["." 1*VCHAR]
- ¶
+
¶
@@ -8644,7 +8644,7 @@
caller's response without any participation by the verifier
resource.¶
Once the following conditions have been met:¶
-
+
the voiceprint identity has been successfully established through
the Voiceprint-Identifier header fields of the START-SESSION
method, and¶
@@ -8665,12 +8665,12 @@
error and the mode retains its current value.¶
-verification-mode = "Verification-Mode" ":"
+verification-mode = "Verification-Mode" ":"
verification-mode-string
verification-mode-string = "train"
/ "verify"
- ¶
+
¶
@@ -8688,7 +8688,7 @@
adapt-model = "Adapt-Model" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8708,7 +8708,7 @@
abort-model = "Abort-Model" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8723,9 +8723,9 @@
this header field is implementation specific.¶
-min-verification-score = "Min-Verification-Score" ":"
+min-verification-score = "Min-Verification-Score" ":"
[ %x2D ] FLOAT CRLF
- ¶
+
¶
@@ -8742,9 +8742,9 @@
START-SESSION, SET-PARAMS, or GET-PARAMS.¶
-num-min-verification-phrases = "Num-Min-Verification-Phrases" ":"
+num-min-verification-phrases = "Num-Min-Verification-Phrases" ":"
1*19DIGIT CRLF
- ¶
+
¶
@@ -8761,9 +8761,9 @@
START-SESSION, SET-PARAMS, or GET-PARAMS.¶
-num-max-verification-phrases = "Num-Max-Verification-Phrases" ":"
+num-max-verification-phrases = "Num-Max-Verification-Phrases" ":"
1*19DIGIT CRLF
- ¶
+
¶
@@ -8784,7 +8784,7 @@
no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8807,7 +8807,7 @@
save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8820,9 +8820,9 @@
by the Waveform-URI header field.¶
-media-type = "Media-Type" ":" media-type-value
+media-type = "Media-Type" ":" media-type-value
CRLF
- ¶
+
¶
@@ -8848,10 +8848,10 @@
associated with the header field.¶
-waveform-uri = "Waveform-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
+waveform-uri = "Waveform-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
- ¶
+
¶
@@ -8866,7 +8866,7 @@
voiceprint-exists = "Voiceprint-Exists" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8885,7 +8885,7 @@
ver-buffer-utterance = "Ver-Buffer-Utterance" ":" BOOLEAN
CRLF
- ¶
+
¶
@@ -8903,7 +8903,7 @@
input-waveform-uri = "Input-Waveform-URI" ":" uri CRLF
- ¶
+
¶
@@ -8925,7 +8925,7 @@
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
- ¶
+¶
Table 8
@@ -9024,9 +9024,9 @@
interpret the completion reason text.¶
-completion-reason = "Completion-Reason" ":"
+completion-reason = "Completion-Reason" ":"
quoted-string CRLF
- ¶
+
¶
@@ -9058,7 +9058,7 @@
abort-verification = "Abort-Verification " ":" BOOLEAN CRLF
- ¶
+
¶
@@ -9082,7 +9082,7 @@
start-input-timers = "Start-Input-Timers" ":"
BOOLEAN CRLF
- ¶
+¶
@@ -9111,7 +9111,7 @@
<verification-result> element under <result>. The
elements are described below and have the schema defined in Section 16.2 . The following elements
are defined:¶
-
+
<voiceprint>¶
<incremental>¶
@@ -9386,7 +9386,7 @@
The END-SESSION method terminates an ongoing verification session
and releases the verification voiceprint resources. The session may
terminate in one of three ways:¶
-
+
abort - the voiceprint adaptation or creation may be aborted so
that the voiceprint remains unchanged (or is not created).¶
@@ -9415,7 +9415,7 @@
S->C: MRCP/2.0 ... 314174 200 COMPLETE
Channel-Identifier:32AECB23433801@speakverify
- ¶
+¶
@@ -9451,7 +9451,7 @@
Repository-URI:http://www.example.com/voiceprints/
Voiceprint-Identifier:johnsmith.voiceprint
Voiceprint-Exists:true
- ¶
+¶
The following example assumes that the URI provided in the
Repository-URI header field is a bad URI.¶
@@ -9580,7 +9580,7 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
@@ -9636,7 +9636,7 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
@@ -9735,9 +9735,9 @@
C->S: MRCP/2.0 ... VERIFY 314177
Channel-Identifier:32AECB23433801@speakverify
-S->C: MRCP/2.0 ... 314177 200 IN-PROGRESS
+S->C: MRCP/2.0 ... 314177 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speakverify
-
+
C->S: MRCP/2.0 ... STOP 314178
Channel-Identifier:32AECB23433801@speakverify
@@ -9781,7 +9781,7 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
@@ -9869,8 +9869,8 @@
Channel-Identifier:32AECB23433801@speakverify
Content-Type:application/nlsml+xml
Content-Length:...
-
- <?xml version="1.0"?>
+
+ <?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
<verification-result>
@@ -9924,7 +9924,7 @@
by SDP within the context of a SIP dialog. In order to ensure secure
rendezvous between MRCPv2 clients and servers, the following are
required:¶
-
+
The SIP implementation in MRCPv2 clients and servers MUST
support SIP digest authentication [RFC3261 ]
and SHOULD employ it.¶
@@ -10203,7 +10203,7 @@
Proxy-Sync-Id Generic [RFC6787]
Accept-Charset Generic [RFC2616]
Content-Type Generic [RFC6787]
-Content-ID Generic
+Content-ID Generic
[RFC2392], [RFC2046], and [RFC5322]
Content-Base Generic [RFC6787]
Content-Encoding Generic [RFC6787]
@@ -10285,10 +10285,10 @@
Record-URI Recorder [RFC6787]
Media-Type Recorder [RFC6787]
Max-Time Recorder [RFC6787]
-Trim-Length Recorder [RFC6787]
+Trim-Length Recorder [RFC6787]
Final-Silence Recorder [RFC6787]
-Capture-On-Speech Recorder [RFC6787]
-Ver-Buffer-Utterance Recorder [RFC6787]
+Capture-On-Speech Recorder [RFC6787]
+Ver-Buffer-Utterance Recorder [RFC6787]
Start-Input-Timers Recorder [RFC6787]
New-Audio-Channel Recorder [RFC6787]
Repository-URI Verifier [RFC6787]
@@ -10864,7 +10864,7 @@
Contact:<sip:sarvi@client.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2614933546 2614933546 IN IP4 192.0.2.12
s=Set up MRCPv2 control and audio
@@ -10923,23 +10923,23 @@
Contact:<sip:sarvi@client.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2614933546 2614933547 IN IP4 192.0.2.12
s=Set up MRCPv2 control and audio
i=Add TCP channel, synthesizer and one-way audio
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:new
- a=resource:speechsynth
+ a=resource:speechsynth
a=cmid:1
m=audio 49170 RTP/AVP 0 96
a=rtpmap:0 pcmu/8000
- a=rtpmap:96 telephone-event/8000
- a=fmtp:96 0-15
- a=recvonly
+ a=rtpmap:96 telephone-event/8000
+ a=fmtp:96 0-15
+ a=recvonly
a=mid:1
@@ -10954,21 +10954,21 @@
Contact:<sip:mresources@server.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=- 3000000001 3000000002 IN IP4 192.0.2.11
s=Set up MRCPv2 control and audio
i=Add TCP channel, synthesizer and one-way audio
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
+ m=application 32416 TCP/MRCPv2 1
a=setup:passive
a=connection:new
- a=channel:32AECB23433801@speechsynth
+ a=channel:32AECB23433801@speechsynth
a=cmid:1
m=audio 48260 RTP/AVP 0
a=rtpmap:0 pcmu/8000
- a=sendonly
+ a=sendonly
a=mid:1
@@ -11002,34 +11002,34 @@
Contact:<sip:sarvi@client.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2614933546 2614933548 IN IP4 192.0.2.12
s=Set up MRCPv2 control and audio
i=Add recognizer and duplex the audio
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
- a=resource:speechsynth
+ a=resource:speechsynth
a=cmid:1
m=audio 49170 RTP/AVP 0 96
a=rtpmap:0 pcmu/8000
- a=rtpmap:96 telephone-event/8000
- a=fmtp:96 0-15
- a=recvonly
+ a=rtpmap:96 telephone-event/8000
+ a=fmtp:96 0-15
+ a=recvonly
a=mid:1
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
- a=resource:speechrecog
+ a=resource:speechrecog
a=cmid:2
m=audio 49180 RTP/AVP 0 96
a=rtpmap:0 pcmu/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
- a=sendonly
+ a=sendonly
a=mid:2
@@ -11044,28 +11044,28 @@
Contact:<sip:mresources@server.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=- 3000000001 3000000003 IN IP4 192.0.2.11
s=Set up MRCPv2 control and audio
i=Add recognizer and duplex the audio
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
- a=channel:32AECB23433801@speechsynth
+ m=application 32416 TCP/MRCPv2 1
+ a=channel:32AECB23433801@speechsynth
a=cmid:1
m=audio 48260 RTP/AVP 0
a=rtpmap:0 pcmu/8000
- a=sendonly
+ a=sendonly
a=mid:1
- m=application 32416 TCP/MRCPv2 1
- a=channel:32AECB23433801@speechrecog
+ m=application 32416 TCP/MRCPv2 1
+ a=channel:32AECB23433801@speechrecog
a=cmid:2
m=audio 48260 RTP/AVP 0
a=rtpmap:0 pcmu/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
- a=recvonly
+ a=recvonly
a=mid:2
@@ -11093,9 +11093,9 @@
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -11103,7 +11103,7 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams
+ <s>The first is from Stephanie Williams
<mark name="Stephanie"/>
and arrived at <break/>
<say-as interpret-as="vxml:time">0345p</say-as>.</s>
@@ -11113,7 +11113,7 @@
</speak>
S->C:
- MRCP/2.0 ... 543257 200 IN-PROGRESS
+ MRCP/2.0 ... 543257 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechsynth
Speech-Marker:timestamp=857205015059
@@ -11123,7 +11123,7 @@
and faithfully informs the client of the event.¶
-S->C: MRCP/2.0 ... SPEECH-MARKER 543257 IN-PROGRESS
+S->C: MRCP/2.0 ... SPEECH-MARKER 543257 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechsynth
Speech-Marker:timestamp=857206027059;Stephanie
¶
@@ -11145,7 +11145,7 @@
Channel-Identifier:32AECB23433801@speechrecog
Content-Type:application/srgs+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
@@ -11173,9 +11173,9 @@
Kill-On-Barge-In:true
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -11238,12 +11238,12 @@
S->C: MRCP/2.0 ... RECOGNITION-COMPLETE 543258 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
- Completion-Cause:000 success
+ Completion-Cause:000 success
Waveform-URI:<http://web.media.com/session123/audio.wav>;
size=423523;duration=25432
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -11290,7 +11290,7 @@
System: To which city will you be traveling?
User: I want to go to Pittsburgh.
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
grammar="http://www.example.com/flight">
@@ -11323,7 +11323,7 @@
System: What would you like?
-User: I would like 2 pizzas, one with pepperoni and cheese,
+User: I would like 2 pizzas, one with pepperoni and cheese,
one with sausage and a bottle of coke, to go.
¶
@@ -11335,7 +11335,7 @@
resolve the two "one"s as "pizza".¶
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<nl:result xmlns:nl="urn:ietf:params:xml:ns:mrcpv2"
xmlns="http://www.example.com/example"
grammar="http://www.example.com/foodorder">
@@ -11383,11 +11383,11 @@
<input>
<input mode="speech" confidence ="1.0"
- timestamp-start="2000-04-03T0:00:00"
+ timestamp-start="2000-04-03T0:00:00"
timestamp-end="2000-04-03T0:00:01.5">My pin is
</input>
<input mode="dtmf" confidence ="1.0"
- timestamp-start="2000-04-03T0:00:01.5"
+ timestamp-start="2000-04-03T0:00:01.5"
timestamp-end="2000-04-03T0:00:02.0">1 2 3 4
</input>
</input>
@@ -11463,18 +11463,18 @@
for actually resolving the reference).¶
-Example: (ignoring the issue of representing the input from the
+Example: (ignoring the issue of representing the input from the
pointing gesture.)
System: What do you want to drink?
User: I want this. (clicks on picture of large root beer.)
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<nl:result xmlns:nl="urn:ietf:params:xml:ns:mrcpv2"
xmlns="http://www.example.com/example"
- grammar="http://www.example.com/beverages.grxml">
+ grammar="http://www.example.com/beverages.grxml">
<nl:interpretation>
- <nl:instance>
+ <nl:instance>
<doer>I</doer>
<action>want</action>
<object>this</object>
@@ -11545,7 +11545,7 @@
SWS = [LWS] ; sep whitespace
-UTF8-NONASCII = %xC0-DF 1UTF8-CONT
+UTF8-NONASCII = %xC0-DF 1UTF8-CONT
/ %xE0-EF 2UTF8-CONT
/ %xF0-F7 3UTF8-CONT
/ %xF8-FB 4UTF8-CONT
@@ -11556,7 +11556,7 @@
/ UTF8-NONASCII
param = *pchar
-quoted-string = SWS DQUOTE *(qdtext / quoted-pair )
+quoted-string = SWS DQUOTE *(qdtext / quoted-pair )
DQUOTE
qdtext = LWS / %x21 / %x23-5B / %x5D-7E
@@ -11567,7 +11567,7 @@
token = 1*(alphanum / "-" / "." / "!" / "%" / "*"
/ "_" / "+" / "`" / "'" / "~" )
-reserved = ";" / "/" / "?" / ":" / "@" / "&" / "="
+reserved = ";" / "/" / "?" / ":" / "@" / "&" / "="
/ "+" / "$" / ","
mark = "-" / "_" / "." / "!" / "~" / "*" / "'"
@@ -11580,7 +11580,7 @@
alphanum = ALPHA / DIGIT
-BOOLEAN = "true" / "false"
+BOOLEAN = "true" / "false"
FLOAT = *DIGIT ["." *DIGIT]
@@ -11588,12 +11588,12 @@
fragment = *uric
-uri = [ absoluteURI / relativeURI ]
+uri = [ absoluteURI / relativeURI ]
[ "#" fragment ]
absoluteURI = scheme ":" ( hier-part / opaque-part )
-relativeURI = ( net-path / abs-path / rel-path )
+relativeURI = ( net-path / abs-path / rel-path )
[ "?" query ]
hier-part = ( net-path / abs-path ) [ "?" query ]
@@ -11604,14 +11604,14 @@
rel-path = rel-segment [ abs-path ]
-rel-segment = 1*( unreserved / escaped / ";" / "@"
- / "&" / "=" / "+" / "$" / "," )
+rel-segment = 1*( unreserved / escaped / ";" / "@"
+ / "&" / "=" / "+" / "$" / "," )
opaque-part = uric-no-slash *uric
uric = reserved / unreserved / escaped
-uric-no-slash = unreserved / escaped / ";" / "?" / ":"
+uric-no-slash = unreserved / escaped / ";" / "?" / ":"
/ "@" / "&" / "=" / "+" / "$" / ","
path-segments = segment *( "/" segment )
@@ -11631,13 +11631,13 @@
userinfo = ( user ) [ ":" password ] "@"
-user = 1*( unreserved / escaped
+user = 1*( unreserved / escaped
/ user-unreserved )
-user-unreserved = "&" / "=" / "+" / "$" / "," / ";"
+user-unreserved = "&" / "=" / "+" / "$" / "," / ";"
/ "?" / "/"
-password = *( unreserved / escaped
+password = *( unreserved / escaped
/ "&" / "=" / "+" / "$" / "," )
hostport = host [ ":" port ]
@@ -11652,14 +11652,14 @@
toplabel = ALPHA / ALPHA *( alphanum / "-" )
alphanum
-IPv4address = 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "."
+IPv4address = 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "."
1*3DIGIT
IPv6reference = "[" IPv6address "]"
IPv6address = hexpart [ ":" IPv4address ]
-hexpart = hexseq / hexseq "::" [ hexseq ] / "::"
+hexpart = hexseq / hexseq "::" [ hexseq ] / "::"
[ hexseq ]
hexseq = hex4 *( ":" hex4)
@@ -11670,23 +11670,23 @@
; generic-message is the top-level rule
-generic-message = start-line message-header CRLF
- [ message-body ]
+generic-message = start-line message-header CRLF
+ [ message-body ]
message-body = *OCTET
-
-start-line = request-line / response-line / event-line
+
+start-line = request-line / response-line / event-line
request-line = mrcp-version SP message-length SP method-name
- SP request-id CRLF
+ SP request-id CRLF
-response-line = mrcp-version SP message-length SP request-id
- SP status-code SP request-state CRLF
+response-line = mrcp-version SP message-length SP request-id
+ SP status-code SP request-state CRLF
event-line = mrcp-version SP message-length SP event-name
- SP request-id SP request-state CRLF
+ SP request-id SP request-state CRLF
-method-name = generic-method
+method-name = generic-method
/ synthesizer-method
/ recognizer-method
/ recorder-method
@@ -11695,15 +11695,15 @@
generic-method = "SET-PARAMS"
/ "GET-PARAMS"
-request-state = "COMPLETE"
- / "IN-PROGRESS"
- / "PENDING"
+request-state = "COMPLETE"
+ / "IN-PROGRESS"
+ / "PENDING"
event-name = synthesizer-event
/ recognizer-event
/ recorder-event
/ verifier-event
-
+
message-header = 1*(generic-header / resource-header /
generic-field)
@@ -11717,7 +11717,7 @@
resource-header = synthesizer-header
/ recognizer-header
/ recorder-header
- / verifier-header
+ / verifier-header
generic-header = channel-identifier
/ accept
@@ -11732,30 +11732,30 @@
/ content-length
/ fetch-timeout
/ cache-control
- / logging-tag
+ / logging-tag
/ set-cookie
/ vendor-specific
-
+
; -- content-id is as defined in RFC 2392, RFC 2046 and RFC 5322
; -- accept and accept-charset are as defined in RFC 2616
-mrcp-version = "MRCP" "/" 1*2DIGIT "." 1*2DIGIT
+mrcp-version = "MRCP" "/" 1*2DIGIT "." 1*2DIGIT
message-length = 1*19DIGIT
-request-id = 1*10DIGIT
+request-id = 1*10DIGIT
status-code = 3DIGIT
-channel-identifier = "Channel-Identifier" ":"
+channel-identifier = "Channel-Identifier" ":"
channel-id CRLF
channel-id = 1*alphanum "@" 1*alphanum
-active-request-id-list = "Active-Request-Id-List" ":"
- request-id *("," request-id) CRLF
+active-request-id-list = "Active-Request-Id-List" ":"
+ request-id *("," request-id) CRLF
-proxy-sync-id = "Proxy-Sync-Id" ":" 1*VCHAR CRLF
+proxy-sync-id = "Proxy-Sync-Id" ":" 1*VCHAR CRLF
content-base = "Content-Base" ":" absoluteURI CRLF
@@ -11774,8 +11774,8 @@
attribute = token
value = token / quoted-string
-
-content-encoding = "Content-Encoding" ":"
+
+content-encoding = "Content-Encoding" ":"
*WSP content-coding
*(*WSP "," *WSP content-coding *WSP )
CRLF
@@ -11783,30 +11783,30 @@
content-coding = token
-content-location = "Content-Location" ":"
+content-location = "Content-Location" ":"
( absoluteURI / relativeURI ) CRLF
-cache-control = "Cache-Control" ":"
+cache-control = "Cache-Control" ":"
[*WSP cache-directive
*( *WSP "," *WSP cache-directive *WSP )]
CRLF
-fetch-timeout = "Fetch-Timeout" ":" 1*19DIGIT CRLF
+fetch-timeout = "Fetch-Timeout" ":" 1*19DIGIT CRLF
-cache-directive = "max-age" "=" delta-seconds
- / "max-stale" ["=" delta-seconds ]
- / "min-fresh" "=" delta-seconds
+cache-directive = "max-age" "=" delta-seconds
+ / "max-stale" ["=" delta-seconds ]
+ / "min-fresh" "=" delta-seconds
-delta-seconds = 1*19DIGIT
+delta-seconds = 1*19DIGIT
-logging-tag = "Logging-Tag" ":" 1*UTFCHAR CRLF
+logging-tag = "Logging-Tag" ":" 1*UTFCHAR CRLF
-vendor-specific = "Vendor-Specific-Parameters" ":"
- [vendor-specific-av-pair
- *(";" vendor-specific-av-pair)] 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-specific-av-pair = vendor-av-pair-name "="
+ value
vendor-av-pair-name = 1*UTFCHAR
@@ -11833,66 +11833,66 @@
httponly-av = "HttpOnly"
extension-av = <any CHAR except CTLs or ";">
age-av = "Age=" delta-seconds
-
+
; Synthesizer ABNF
-synthesizer-method = "SPEAK"
- / "STOP"
- / "PAUSE"
- / "RESUME"
- / "BARGE-IN-OCCURRED"
+synthesizer-method = "SPEAK"
+ / "STOP"
+ / "PAUSE"
+ / "RESUME"
+ / "BARGE-IN-OCCURRED"
/ "CONTROL"
- / "DEFINE-LEXICON"
+ / "DEFINE-LEXICON"
-synthesizer-event = "SPEECH-MARKER"
- / "SPEAK-COMPLETE"
+synthesizer-event = "SPEECH-MARKER"
+ / "SPEAK-COMPLETE"
-synthesizer-header = jump-size
- / kill-on-barge-in
- / speaker-profile
+synthesizer-header = jump-size
+ / kill-on-barge-in
+ / speaker-profile
/ completion-cause
- / completion-reason
- / voice-parameter
- / prosody-parameter
- / speech-marker
- / speech-language
- / fetch-hint
- / audio-fetch-hint
- / failed-uri
- / failed-uri-cause
- / speak-restart
+ / completion-reason
+ / voice-parameter
+ / prosody-parameter
+ / speech-marker
+ / speech-language
+ / fetch-hint
+ / audio-fetch-hint
+ / failed-uri
+ / failed-uri-cause
+ / speak-restart
/ speak-length
/ load-lexicon
- / lexicon-search-order
+ / lexicon-search-order
+
+jump-size = "Jump-Size" ":" speech-length-value CRLF
-jump-size = "Jump-Size" ":" speech-length-value CRLF
+speech-length-value = numeric-speech-length
+ / text-speech-length
-speech-length-value = numeric-speech-length
- / text-speech-length
+text-speech-length = 1*UTFCHAR SP "Tag"
-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
+numeric-speech-unit = "Second"
+ / "Word"
+ / "Sentence"
+ / "Paragraph"
+
+kill-on-barge-in = "Kill-On-Barge-In" ":" BOOLEAN
+ CRLF
-speaker-profile = "Speaker-Profile" ":" uri CRLF
+speaker-profile = "Speaker-Profile" ":" uri CRLF
completion-cause = "Completion-Cause" ":" cause-code SP
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
-completion-reason = "Completion-Reason" ":"
+completion-reason = "Completion-Reason" ":"
quoted-string CRLF
voice-parameter = voice-gender
@@ -11913,8 +11913,8 @@
voice-name = "Voice-Name:"
1*UTFCHAR *(1*WSP 1*UTFCHAR) CRLF
-prosody-parameter = "Prosody-" prosody-param-name ":"
- prosody-param-value CRLF
+prosody-parameter = "Prosody-" prosody-param-name ":"
+ prosody-param-value CRLF
prosody-param-name = 1*VCHAR
@@ -11929,44 +11929,44 @@
[";" 1*(UTFCHAR / %x20)] CRLF
speech-language = "Speech-Language" ":"
- 1*VCHAR CRLF
+ 1*VCHAR CRLF
fetch-hint = "Fetch-Hint" ":"
- ("prefetch" / "safe") CRLF
+ ("prefetch" / "safe") CRLF
-audio-fetch-hint = "Audio-Fetch-Hint" ":"
- ("prefetch" / "safe" / "stream") CRLF
+audio-fetch-hint = "Audio-Fetch-Hint" ":"
+ ("prefetch" / "safe" / "stream") CRLF
-failed-uri = "Failed-URI" ":" absoluteURI CRLF
+failed-uri = "Failed-URI" ":" absoluteURI CRLF
-failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR CRLF
+failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR CRLF
-speak-restart = "Speak-Restart" ":" BOOLEAN CRLF
+speak-restart = "Speak-Restart" ":" BOOLEAN CRLF
-speak-length = "Speak-Length" ":" positive-length-value
- CRLF
+speak-length = "Speak-Length" ":" positive-length-value
+ CRLF
-positive-length-value = positive-speech-length
- / text-speech-length
+positive-length-value = positive-speech-length
+ / text-speech-length
load-lexicon = "Load-Lexicon" ":" BOOLEAN CRLF
-lexicon-search-order = "Lexicon-Search-Order" ":"
+lexicon-search-order = "Lexicon-Search-Order" ":"
"<" absoluteURI ">" *(" " "<" absoluteURI ">") CRLF
-; Recognizer ABNF
+; Recognizer ABNF
recognizer-method = recog-only-method
/ enrollment-method
-recog-only-method = "DEFINE-GRAMMAR"
- / "RECOGNIZE"
+recog-only-method = "DEFINE-GRAMMAR"
+ / "RECOGNIZE"
/ "INTERPRET"
- / "GET-RESULT"
- / "START-INPUT-TIMERS"
+ / "GET-RESULT"
+ / "START-INPUT-TIMERS"
/ "STOP"
-enrollment-method = "START-PHRASE-ENROLLMENT"
+enrollment-method = "START-PHRASE-ENROLLMENT"
/ "ENROLLMENT-ROLLBACK"
/ "END-PHRASE-ENROLLMENT"
/ "MODIFY-PHRASE"
@@ -11980,30 +11980,30 @@
/ enrollment-header
-recog-only-header = confidence-threshold
- / sensitivity-level
- / speed-vs-accuracy
- / n-best-list-length
- / input-type
- / no-input-timeout
- / recognition-timeout
- / waveform-uri
- / input-waveform-uri
- / completion-cause
+recog-only-header = confidence-threshold
+ / sensitivity-level
+ / speed-vs-accuracy
+ / n-best-list-length
+ / input-type
+ / no-input-timeout
+ / recognition-timeout
+ / waveform-uri
+ / input-waveform-uri
+ / completion-cause
/ completion-reason
- / recognizer-context-block
- / start-input-timers
- / speech-complete-timeout
- / speech-incomplete-timeout
- / dtmf-interdigit-timeout
- / dtmf-term-timeout
- / dtmf-term-char
- / failed-uri
- / failed-uri-cause
- / save-waveform
+ / recognizer-context-block
+ / start-input-timers
+ / speech-complete-timeout
+ / speech-incomplete-timeout
+ / dtmf-interdigit-timeout
+ / dtmf-term-timeout
+ / dtmf-term-char
+ / failed-uri
+ / failed-uri-cause
+ / save-waveform
/ media-type
/ new-audio-channel
- / speech-language
+ / speech-language
/ ver-buffer-utterance
/ recognition-mode
/ cancel-if-queue
@@ -12016,66 +12016,66 @@
enrollment-header = num-min-consistent-pronunciations
- / consistency-threshold
- / clash-threshold
- / personal-grammar-uri
+ / consistency-threshold
+ / clash-threshold
+ / personal-grammar-uri
/ enroll-utterance
- / phrase-id
- / phrase-nl
- / weight
- / save-best-waveform
- / new-phrase-id
- / confusable-phrases-uri
+ / phrase-id
+ / phrase-nl
+ / weight
+ / save-best-waveform
+ / new-phrase-id
+ / confusable-phrases-uri
/ abort-phrase-enrollment
-confidence-threshold = "Confidence-Threshold" ":"
- FLOAT CRLF
+confidence-threshold = "Confidence-Threshold" ":"
+ FLOAT CRLF
sensitivity-level = "Sensitivity-Level" ":" FLOAT
- CRLF
+ CRLF
-speed-vs-accuracy = "Speed-Vs-Accuracy" ":" FLOAT
- CRLF
+speed-vs-accuracy = "Speed-Vs-Accuracy" ":" FLOAT
+ CRLF
-n-best-list-length = "N-Best-List-Length" ":" 1*19DIGIT
- CRLF
+n-best-list-length = "N-Best-List-Length" ":" 1*19DIGIT
+ CRLF
input-type = "Input-Type" ":" inputs CRLF
inputs = "speech" / "dtmf"
-no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT
- CRLF
+no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT
+ CRLF
recognition-timeout = "Recognition-Timeout" ":" 1*19DIGIT
- CRLF
+ CRLF
-waveform-uri = "Waveform-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
- ";" "duration" "=" 1*19DIGIT] CRLF
+waveform-uri = "Waveform-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
+ ";" "duration" "=" 1*19DIGIT] CRLF
-recognizer-context-block = "Recognizer-Context-Block" ":"
- [1*VCHAR] CRLF
+recognizer-context-block = "Recognizer-Context-Block" ":"
+ [1*VCHAR] CRLF
-start-input-timers = "Start-Input-Timers" ":"
- BOOLEAN CRLF
-
-speech-complete-timeout = "Speech-Complete-Timeout" ":"
- 1*19DIGIT CRLF
+start-input-timers = "Start-Input-Timers" ":"
+ BOOLEAN CRLF
-speech-incomplete-timeout = "Speech-Incomplete-Timeout" ":"
- 1*19DIGIT CRLF
+speech-complete-timeout = "Speech-Complete-Timeout" ":"
+ 1*19DIGIT CRLF
+
+speech-incomplete-timeout = "Speech-Incomplete-Timeout" ":"
+ 1*19DIGIT CRLF
-dtmf-interdigit-timeout = "DTMF-Interdigit-Timeout" ":"
- 1*19DIGIT CRLF
+dtmf-interdigit-timeout = "DTMF-Interdigit-Timeout" ":"
+ 1*19DIGIT CRLF
-dtmf-term-timeout = "DTMF-Term-Timeout" ":" 1*19DIGIT
- CRLF
+dtmf-term-timeout = "DTMF-Term-Timeout" ":" 1*19DIGIT
+ CRLF
-dtmf-term-char = "DTMF-Term-Char" ":" VCHAR CRLF
+dtmf-term-char = "DTMF-Term-Char" ":" VCHAR CRLF
-save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
+save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
-new-audio-channel = "New-Audio-Channel" ":"
+new-audio-channel = "New-Audio-Channel" ":"
BOOLEAN CRLF
recognition-mode = "Recognition-Mode" ":"
@@ -12083,13 +12083,13 @@
cancel-if-queue = "Cancel-If-Queue" ":" BOOLEAN CRLF
-hotword-max-duration = "Hotword-Max-Duration" ":"
+hotword-max-duration = "Hotword-Max-Duration" ":"
1*19DIGIT CRLF
-hotword-min-duration = "Hotword-Min-Duration" ":"
+hotword-min-duration = "Hotword-Min-Duration" ":"
1*19DIGIT CRLF
-interpret-text = "Interpret-Text" ":" 1*VCHAR CRLF
+interpret-text = "Interpret-Text" ":" 1*VCHAR CRLF
dtmf-buffer-time = "DTMF-Buffer-Time" ":" 1*19DIGIT CRLF
@@ -12097,13 +12097,13 @@
early-no-match = "Early-No-Match" ":" BOOLEAN CRLF
-num-min-consistent-pronunciations =
- "Num-Min-Consistent-Pronunciations" ":" 1*19DIGIT CRLF
+num-min-consistent-pronunciations =
+ "Num-Min-Consistent-Pronunciations" ":" 1*19DIGIT CRLF
-consistency-threshold = "Consistency-Threshold" ":" FLOAT
+consistency-threshold = "Consistency-Threshold" ":" FLOAT
CRLF
-
+
clash-threshold = "Clash-Threshold" ":" FLOAT CRLF
personal-grammar-uri = "Personal-Grammar-URI" ":" uri CRLF
@@ -12116,15 +12116,15 @@
weight = "Weight" ":" FLOAT CRLF
-save-best-waveform = "Save-Best-Waveform" ":"
+save-best-waveform = "Save-Best-Waveform" ":"
BOOLEAN CRLF
new-phrase-id = "New-Phrase-ID" ":" 1*VCHAR CRLF
-confusable-phrases-uri = "Confusable-Phrases-URI" ":"
+confusable-phrases-uri = "Confusable-Phrases-URI" ":"
uri CRLF
-abort-phrase-enrollment = "Abort-Phrase-Enrollment" ":"
+abort-phrase-enrollment = "Abort-Phrase-Enrollment" ":"
BOOLEAN CRLF
@@ -12150,11 +12150,11 @@
/ final-silence
/ capture-on-speech
/ ver-buffer-utterance
- / start-input-timers
+ / start-input-timers
/ new-audio-channel
-record-uri = "Record-URI" ":" [ "<" uri ">"
- ";" "size" "=" 1*19DIGIT
+record-uri = "Record-URI" ":" [ "<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
media-type = "Media-Type" ":" media-type-value CRLF
@@ -12165,7 +12165,7 @@
final-silence = "Final-Silence" ":" 1*19DIGIT CRLF
-capture-on-speech = "Capture-On-Speech " ":"
+capture-on-speech = "Capture-On-Speech " ":"
BOOLEAN CRLF
@@ -12188,38 +12188,38 @@
/ "START-OF-INPUT"
-verifier-header = repository-uri
+verifier-header = repository-uri
/ voiceprint-identifier
- / verification-mode
- / adapt-model
- / abort-model
- / min-verification-score
+ / verification-mode
+ / adapt-model
+ / abort-model
+ / min-verification-score
/ num-min-verification-phrases
/ num-max-verification-phrases
- / no-input-timeout
- / save-waveform
+ / no-input-timeout
+ / save-waveform
/ media-type
- / waveform-uri
- / voiceprint-exists
- / ver-buffer-utterance
- / input-waveform-uri
- / completion-cause
+ / waveform-uri
+ / voiceprint-exists
+ / ver-buffer-utterance
+ / input-waveform-uri
+ / completion-cause
/ completion-reason
- / speech-complete-timeout
+ / speech-complete-timeout
/ new-audio-channel
/ abort-verification
- / start-input-timers
+ / start-input-timers
/ input-type
repository-uri = "Repository-URI" ":" uri CRLF
-voiceprint-identifier = "Voiceprint-Identifier" ":"
+voiceprint-identifier = "Voiceprint-Identifier" ":"
vid *[";" vid] CRLF
vid = 1*VCHAR ["." 1*VCHAR]
-verification-mode = "Verification-Mode" ":"
+verification-mode = "Verification-Mode" ":"
verification-mode-string
verification-mode-string = "train" / "verify"
@@ -12228,25 +12228,25 @@
abort-model = "Abort-Model" ":" BOOLEAN CRLF
-min-verification-score = "Min-Verification-Score" ":"
+min-verification-score = "Min-Verification-Score" ":"
[ %x2D ] FLOAT CRLF
-num-min-verification-phrases = "Num-Min-Verification-Phrases"
+num-min-verification-phrases = "Num-Min-Verification-Phrases"
":" 1*19DIGIT CRLF
-num-max-verification-phrases = "Num-Max-Verification-Phrases"
+num-max-verification-phrases = "Num-Max-Verification-Phrases"
":" 1*19DIGIT CRLF
-
-voiceprint-exists = "Voiceprint-Exists" ":"
+
+voiceprint-exists = "Voiceprint-Exists" ":"
BOOLEAN CRLF
-ver-buffer-utterance = "Ver-Buffer-Utterance" ":"
- BOOLEAN CRLF
+ver-buffer-utterance = "Ver-Buffer-Utterance" ":"
+ BOOLEAN CRLF
input-waveform-uri = "Input-Waveform-URI" ":" uri CRLF
-abort-verification = "Abort-Verification " ":"
- BOOLEAN CRLF ¶
+abort-verification = "Abort-Verification " ":"
+ BOOLEAN CRLF
¶
The following productions add a new SDP session-level attribute. See
Section 13.7.2, Paragraph 7 .¶
@@ -12271,13 +12271,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:ietf:params:xml:ns:mrcpv2"
xmlns="urn:ietf:params:xml:ns:mrcpv2"
- elementFormDefault="qualified"
+ elementFormDefault="qualified"
attributeFormDefault="unqualified" >
<xs:annotation>
- <xs:documentation> Natural Language Semantic Markup Schema
+ <xs:documentation> Natural Language Semantic Markup Schema
</xs:documentation>
</xs:annotation>
<xs:include schemaLocation="enrollment-schema.rng"/>
@@ -12306,12 +12306,12 @@
<xs:attribute name="mode"
type="xs:string"
default="speech"/>
- <xs:attribute name="confidence"
- type="confidenceinfo"
+ <xs:attribute name="confidence"
+ type="confidenceinfo"
default="1.0"/>
- <xs:attribute name="timestamp-start"
+ <xs:attribute name="timestamp-start"
type="xs:string"/>
- <xs:attribute name="timestamp-end"
+ <xs:attribute name="timestamp-end"
type="xs:string"/>
</xs:complexType>
</xs:element>
@@ -12327,7 +12327,7 @@
<xs:element name="verification-result"
type="verification-contents"/>
</xs:sequence>
- <xs:attribute name="grammar" type="xs:anyURI"
+ <xs:attribute name="grammar" type="xs:anyURI"
use="optional"/>
</xs:complexType>
</xs:element>
@@ -12426,7 +12426,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- MRCP Verification Results Schema
+<!-- MRCP Verification Results Schema
(See http://www.oasis-open.org/committees/relax-ng/spec.html)
-->
@@ -12766,23 +12766,23 @@
-Pierre Forgues
-Nuance Communications Ltd.
+Pierre Forgues
+Nuance Communications Ltd.
1500 University Street
Suite 935
-Montreal, Quebec
-Canada H3A 3S7
-
-EMail: forgues@nuance.com
+Montreal, Quebec
+Canada H3A 3S7
+
+EMail: forgues@nuance.com
+
+Charles Galles
+Intervoice, Inc.
+17811 Waterview Parkway
+Dallas, Texas 75252
+USA
-Charles Galles
-Intervoice, Inc.
-17811 Waterview Parkway
-Dallas, Texas 75252
-USA
-
-EMail: charles.galles@intervoice.com
+EMail: charles.galles@intervoice.com
Klaus Reifenrath
@@ -12792,8 +12792,8 @@
9820 Merelbeke
Belgium
-EMail: klaus.reifenrath@scansoft.com
- ¶
+EMail: klaus.reifenrath@scansoft.com
+
¶
@@ -12822,7 +12822,7 @@
Suresh Kaliannan (Cisco Systems, Inc.)
Skip Cave (Intervoice, Inc.)
Thomas Gal (LumenVox)
- ¶
+
¶
The chairs of the SPEECHSC work group are Eric Burger (Georgetown
University) and Dave Oran (Cisco Systems, Inc.).¶
diff -Nru xml2rfc-2.39.0/tests/valid/rfc6787.v3.py35.html xml2rfc-2.40.0/tests/valid/rfc6787.v3.py35.html
--- xml2rfc-2.39.0/tests/valid/rfc6787.v3.py35.html 2019-12-22 18:00:56.000000000 +0000
+++ xml2rfc-2.40.0/tests/valid/rfc6787.v3.py35.html 2020-02-18 20:15:35.000000000 +0000
@@ -21,7 +21,7 @@
established above, allowing the client to control the media processing
resources on the speech resource server.
' name="description">
-
+
@@ -1260,7 +1260,7 @@
|--------------------| || ||
| ||----------------------------------||
SIP |------------------------------------|
- | /
+ | /
|-------------------| RTP
| | /
| Media Source/Sink |---------/
@@ -1345,7 +1345,7 @@
sip:mrcpv2@example.net or
sips:mrcpv2@example.net
- ¶
+ ¶
@@ -1564,69 +1564,69 @@
-C->S: INVITE sip:mresources@example.com SIP/2.0
- Via:SIP/2.0/TCP client.atlanta.example.com:5060;
- branch=z9hG4bK74bf1
- Max-Forwards:6
- To:MediaServer <sip:mresources@example.com>
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314161 INVITE
- Contact:<sip:sarvi@client.example.com>
- Content-Type:application/sdp
+C->S: INVITE sip:mresources@example.com SIP/2.0
+ Via:SIP/2.0/TCP client.atlanta.example.com:5060;
+ branch=z9hG4bK74bf1
+ Max-Forwards:6
+ To:MediaServer <sip:mresources@example.com>
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314161 INVITE
+ Contact:<sip:sarvi@client.example.com>
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=sarvi 2890844526 2890844526 IN IP4 192.0.2.12
- s=-
+
+ v=0
+ o=sarvi 2890844526 2890844526 IN IP4 192.0.2.12
+ s=-
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:new
a=resource:speechsynth
a=cmid:1
- m=audio 49170 RTP/AVP 0
- a=rtpmap:0 pcmu/8000
- a=recvonly
+ m=audio 49170 RTP/AVP 0
+ a=rtpmap:0 pcmu/8000
+ a=recvonly
a=mid:1
-
-S->C: SIP/2.0 200 OK
+
+S->C: SIP/2.0 200 OK
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf1;received=192.0.32.10
- To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314161 INVITE
- Contact:<sip:mresources@server.example.com>
- Content-Type:application/sdp
- Content-Length:...
-
- v=0
- o=- 2890842808 2890842808 IN IP4 192.0.2.11
- s=-
+ To:MediaServer <sip:mresources@example.com>;tag=62784
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314161 INVITE
+ Contact:<sip:mresources@server.example.com>
+ Content-Type:application/sdp
+ Content-Length:...
+
+ v=0
+ o=- 2890842808 2890842808 IN IP4 192.0.2.11
+ s=-
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
+ m=application 32416 TCP/MRCPv2 1
a=setup:passive
a=connection:new
- a=channel:32AECB234338@speechsynth
+ a=channel:32AECB234338@speechsynth
a=cmid:1
- m=audio 48260 RTP/AVP 0
- a=rtpmap:0 pcmu/8000
- a=sendonly
- a=mid:1
-
+ m=audio 48260 RTP/AVP 0
+ a=rtpmap:0 pcmu/8000
+ a=sendonly
+ a=mid:1
+
-C->S: ACK sip:mresources@server.example.com SIP/2.0
+C->S: ACK sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf2
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:Sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314161 ACK
+ From:Sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314161 ACK
Content-Length:0
@@ -1641,83 +1641,83 @@
-C->S: INVITE sip:mresources@server.example.com SIP/2.0
+C->S: INVITE sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf3
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314162 INVITE
- Contact:<sip:sarvi@client.example.com>
- Content-Type:application/sdp
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314162 INVITE
+ Contact:<sip:sarvi@client.example.com>
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=sarvi 2890844526 2890844527 IN IP4 192.0.2.12
+
+ v=0
+ o=sarvi 2890844526 2890844527 IN IP4 192.0.2.12
s=-
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
a=resource:speechsynth
a=cmid:1
- m=audio 49170 RTP/AVP 0 96
- a=rtpmap:0 pcmu/8000
- a=rtpmap:96 telephone-event/8000
- a=fmtp:96 0-15
- a=sendrecv
+ m=audio 49170 RTP/AVP 0 96
+ a=rtpmap:0 pcmu/8000
+ a=rtpmap:96 telephone-event/8000
+ a=fmtp:96 0-15
+ a=sendrecv
a=mid:1
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
a=resource:speechrecog
a=cmid:1
-
-S->C: SIP/2.0 200 OK
+
+S->C: SIP/2.0 200 OK
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf3;received=192.0.32.10
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314162 INVITE
- Contact:<sip:mresources@server.example.com>
- Content-Type:application/sdp
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314162 INVITE
+ Contact:<sip:mresources@server.example.com>
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=- 2890842808 2890842809 IN IP4 192.0.2.11
+
+ v=0
+ o=- 2890842808 2890842809 IN IP4 192.0.2.11
s=-
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
+ m=application 32416 TCP/MRCPv2 1
a=setup:passive
a=connection:existing
a=channel:32AECB234338@speechsynth
a=cmid:1
- m=audio 48260 RTP/AVP 0 96
- a=rtpmap:0 pcmu/8000
- a=rtpmap:96 telephone-event/8000
- a=fmtp:96 0-15
- a=sendrecv
+ m=audio 48260 RTP/AVP 0 96
+ a=rtpmap:0 pcmu/8000
+ a=rtpmap:96 telephone-event/8000
+ a=fmtp:96 0-15
+ a=sendrecv
a=mid:1
- m=application 32416 TCP/MRCPv2 1
+ m=application 32416 TCP/MRCPv2 1
a=setup:passive
a=connection:existing
a=channel:32AECB234338@speechrecog
a=cmid:1
-
-C->S: ACK sip:mresources@server.example.com SIP/2.0
+
+C->S: ACK sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf4
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:Sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314162 ACK
+ From:Sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314162 ACK
Content-Length:0
@@ -1731,71 +1731,71 @@
-C->S: INVITE sip:mresources@server.example.com SIP/2.0
+C->S: INVITE sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf5
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314163 INVITE
- Contact:<sip:sarvi@client.example.com>
- Content-Type:application/sdp
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314163 INVITE
+ Contact:<sip:sarvi@client.example.com>
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=sarvi 2890844526 2890844528 IN IP4 192.0.2.12
+
+ v=0
+ o=sarvi 2890844526 2890844528 IN IP4 192.0.2.12
s=-
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
- a=resource:speechsynth
+ m=application 9 TCP/MRCPv2 1
+ a=resource:speechsynth
a=cmid:1
- m=audio 49170 RTP/AVP 0
- a=rtpmap:0 pcmu/8000
- a=recvonly
+ m=audio 49170 RTP/AVP 0
+ a=rtpmap:0 pcmu/8000
+ a=recvonly
a=mid:1
- m=application 0 TCP/MRCPv2 1
- a=resource:speechrecog
+ m=application 0 TCP/MRCPv2 1
+ a=resource:speechrecog
a=cmid:1
-
-S->C: SIP/2.0 200 OK
+
+S->C: SIP/2.0 200 OK
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf5;received=192.0.32.10
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314163 INVITE
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314163 INVITE
Contact:<sip:mresources@server.example.com>
- Content-Type:application/sdp
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=- 2890842808 2890842810 IN IP4 192.0.2.11
+
+ v=0
+ o=- 2890842808 2890842810 IN IP4 192.0.2.11
s=-
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
- a=channel:32AECB234338@speechsynth
+ m=application 32416 TCP/MRCPv2 1
+ a=channel:32AECB234338@speechsynth
a=cmid:1
- m=audio 48260 RTP/AVP 0
- a=rtpmap:0 pcmu/8000
- a=sendonly
+ m=audio 48260 RTP/AVP 0
+ a=rtpmap:0 pcmu/8000
+ a=sendonly
a=mid:1
- m=application 0 TCP/MRCPv2 1
- a=channel:32AECB234338@speechrecog
+ m=application 0 TCP/MRCPv2 1
+ a=channel:32AECB234338@speechrecog
a=cmid:1
-
-C->S: ACK sip:mresources@server.example.com SIP/2.0
+
+C->S: ACK sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf6
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:Sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314163 ACK
+ From:Sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314163 ACK
Content-Length:0
@@ -1997,7 +1997,7 @@
mrcp-version = "MRCP" "/" 1*2DIGIT "." 1*2DIGIT
- ¶
+
¶
¶
The message-length field specifies the length of the message in
@@ -2015,7 +2015,7 @@
message-length = 1*19DIGIT
- ¶
+
¶
The following sample MRCP exchange demonstrates proper
message-length values. The values for message-length have been removed
@@ -2025,12 +2025,12 @@
C->S: MRCP/2.0 877 INTERPRET 543266
- Channel-Identifier:32AECB23433801@speechrecog
- Interpret-Text:may I speak to Andre Roy
- Content-Type:application/srgs+xml
- Content-ID:<request1@form-level.store>
+ Channel-Identifier:32AECB23433801@speechrecog
+ Interpret-Text:may I speak to Andre Roy
+ Content-Type:application/srgs+xml
+ Content-ID:<request1@form-level.store>
Content-Length:661
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
@@ -2042,7 +2042,7 @@
<item xml:lang="en-US">yes</item>
</one-of>
</rule>
-
+
<!-- single language attachment to a rule expansion -->
<rule id="request">
may I speak to
@@ -2052,16 +2052,16 @@
</one-of>
</rule>
</grammar>
-
+
S->C: MRCP/2.0 82 543266 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 634 INTERPRETATION-COMPLETE 543266 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:441
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -2104,7 +2104,7 @@
request-line = mrcp-version SP message-length SP method-name
SP request-id CRLF
- ¶
+ ¶
The mrcp-version field is the MRCP protocol version that is being
used by the client.¶
@@ -2123,7 +2123,7 @@
/ recognizer-method
/ recorder-method
/ verifier-method
- ¶
+ ¶
The request-id field is a unique identifier representable as an
unsigned 32-bit integer created by the client and sent to the server.
@@ -2144,7 +2144,7 @@
request-id = 1*10DIGIT
- ¶
+
¶
@@ -2162,7 +2162,7 @@
response-line = mrcp-version SP message-length SP request-id
SP status-code SP request-state CRLF
- ¶
+¶
The mrcp-version field MUST contain the version of the request if
supported; otherwise, it MUST contain the highest version of
@@ -2178,7 +2178,7 @@
status-code = 3DIGIT
- ¶
+
¶
The request-state field indicates if the action initiated by the
Request is PENDING, IN-PROGRESS, or COMPLETE. The COMPLETE status means
@@ -2194,7 +2194,7 @@
request-state = "COMPLETE"
/ "IN-PROGRESS"
/ "PENDING"
- ¶
+¶
@@ -2440,7 +2440,7 @@
S->C: MRCP/2.0 ... 543256 200 COMPLETE
Channel-Identifier:32AECB23433802@speechsynth
- ¶
+¶
@@ -2555,7 +2555,7 @@
/ content-length
/ fetch-timeout
/ cache-control
- / logging-tag
+ / logging-tag
/ set-cookie
/ vendor-specific
¶
@@ -2626,7 +2626,7 @@
RECOGNITION-COMPLETE events for the terminated requests.¶
-active-request-id-list = "Active-Request-Id-List" ":"
+active-request-id-list = "Active-Request-Id-List" ":"
request-id *("," request-id) CRLF
¶
@@ -2652,7 +2652,7 @@
proxy-sync-id = "Proxy-Sync-Id" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -2694,7 +2694,7 @@
attribute = token
value = token / quoted-string
- ¶
+¶
@@ -2722,7 +2722,7 @@
content-base = "Content-Base" ":" absoluteURI CRLF
- ¶
+
¶
Note, however, that the base URI of the contents within the
entity-body may be redefined within that entity-body. An example of
@@ -2744,8 +2744,8 @@
on all messages.¶
-content-encoding = "Content-Encoding" ":"
- *WSP content-coding
+content-encoding = "Content-Encoding" ":"
+ *WSP content-coding
*(*WSP "," *WSP content-coding *WSP )
CRLF
¶
@@ -2826,7 +2826,7 @@
fetch-timeout = "Fetch-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -2854,16 +2854,16 @@
on requests.
¶
-cache-control = "Cache-Control" ":"
+cache-control = "Cache-Control" ":"
[*WSP cache-directive
*( *WSP "," *WSP cache-directive *WSP )]
CRLF
-cache-directive = "max-age" "=" delta-seconds
+cache-directive = "max-age" "=" delta-seconds
/ "max-stale" [ "=" delta-seconds ]
- / "min-fresh" "=" delta-seconds
+ / "min-fresh" "=" delta-seconds
-delta-seconds = 1*19DIGIT
+delta-seconds = 1*19DIGIT
¶
Here, delta-seconds is a decimal time value specifying the number
@@ -2929,7 +2929,7 @@
logging-tag = "Logging-Tag" ":" 1*UTFCHAR CRLF
- ¶
+
¶
@@ -3041,10 +3041,10 @@
vendor-specific = "Vendor-Specific-Parameters" ":"
- [vendor-specific-av-pair
- *(";" vendor-specific-av-pair)] CRLF
+ [vendor-specific-av-pair
+ *(";" vendor-specific-av-pair)] CRLF
-vendor-specific-av-pair = vendor-av-pair-name "="
+vendor-specific-av-pair = vendor-av-pair-name "="
value
vendor-av-pair-name = 1*UTFCHAR
@@ -3199,14 +3199,14 @@
Supported:foo
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2890844536 2890842811 IN IP4 192.0.2.12
s=-
i=MRCPv2 server capabilities
c=IN IP4 192.0.2.12/127
t=0 0
- m=application 0 TCP/TLS/MRCPv2 1
+ m=application 0 TCP/TLS/MRCPv2 1
a=resource:speechsynth
a=resource:speechrecog
a=resource:speakverify
@@ -3327,21 +3327,21 @@
is associated with.¶
-synthesizer-header = jump-size
- / kill-on-barge-in
- / speaker-profile
+synthesizer-header = jump-size
+ / kill-on-barge-in
+ / speaker-profile
/ completion-cause
- / completion-reason
- / voice-parameter
+ / completion-reason
+ / voice-parameter
/ prosody-parameter
- / speech-marker
- / speech-language
- / fetch-hint
- / audio-fetch-hint
- / failed-uri
- / failed-uri-cause
- / speak-restart
- / speak-length
+ / speech-marker
+ / speech-language
+ / fetch-hint
+ / audio-fetch-hint
+ / failed-uri
+ / failed-uri-cause
+ / speak-restart
+ / speak-length
/ load-lexicon
/ lexicon-search-order
¶
@@ -3516,7 +3516,7 @@
as an error in parsing the speech markup text.
¶
-completion-reason = "Completion-Reason" ":"
+completion-reason = "Completion-Reason" ":"
quoted-string CRLF
¶
@@ -3648,7 +3648,7 @@
speech-language = "Speech-Language" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -3668,7 +3668,7 @@
fetch-hint = "Fetch-Hint" ":"
("prefetch" / "safe") CRLF
- ¶
+¶
@@ -3689,7 +3689,7 @@
audio-fetch-hint = "Audio-Fetch-Hint" ":"
("prefetch" / "safe" / "stream") CRLF
- ¶
+¶
@@ -3704,7 +3704,7 @@
failed-uri = "Failed-URI" ":" absoluteURI CRLF
- ¶
+
¶
@@ -3735,7 +3735,7 @@
speak-restart = "Speak-Restart" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -3787,7 +3787,7 @@
load-lexicon = "Load-Lexicon" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -3806,7 +3806,7 @@
lexicon-search-order = "Lexicon-Search-Order" ":"
"<" absoluteURI ">" *(" " "<" absoluteURI ">") CRLF
- ¶
+
¶
@@ -3876,7 +3876,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -3910,13 +3910,13 @@
http://www.example.com/ASR-Document-Part1.ssml
http://www.example.com/ASR-Document-Part2.ssml
http://www.example.com/ASR-Conclusion.ssml
-
+
--break
Content-Type:application/ssml+xml
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4012,16 +4012,16 @@
-C->S: MRCP/2.0 ... SPEAK 543257
+C->S: MRCP/2.0 ... SPEAK 543257
Channel-Identifier:32AECB23433802@speechsynth
Voice-gender:neutral
Voice-Age:25
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4033,7 +4033,7 @@
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.
</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody>
</s>
</p>
@@ -4086,7 +4086,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4094,10 +4094,10 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams and arrived at
+ <s>The first is from Stephanie Williams and arrived at
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4128,7 +4128,7 @@
means to communicate the occurrence of the event to the synthesizer
resource.¶
This method is useful in two scenarios:¶
-
+
The client has detected DTMF digits in the input media or some
other barge-in-able event and wants to communicate that to the
synthesizer resource.¶
@@ -4178,7 +4178,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4186,10 +4186,10 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams and arrived at
+ <s>The first is from Stephanie Williams and arrived at
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4237,7 +4237,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4245,11 +4245,11 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams and arrived at
+ <s>The first is from Stephanie Williams and arrived at
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4293,9 +4293,9 @@
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4303,10 +4303,10 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams and arrived at
+ <s>The first is from Stephanie Williams and arrived at
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4375,9 +4375,9 @@
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4446,7 +4446,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4457,7 +4457,7 @@
<s>The first is from Stephanie Williams
and arrived at <break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4504,9 +4504,9 @@
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4518,7 +4518,7 @@
and arrived at <break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
<mark name="here"/>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody>
</s>
<mark name="ANSWER"/>
@@ -4588,7 +4588,7 @@
generate asynchronous events to the client to indicate conditions of
interest during the processing of the method.¶
This section applies to the following resource types.¶
-
+
speechrecog¶
dtmfrecog¶
@@ -4688,7 +4688,7 @@
| STOP |
|<------| |
|<-------------------STOP--------------------------|
- |<-------------------DEFINE-GRAMMAR----------------|
+ |<-------------------DEFINE-GRAMMAR----------------|
Figure 19 :
@@ -4862,7 +4862,7 @@
sensitivity-level = "Sensitivity-Level" ":" FLOAT CRLF
- ¶
+
¶
@@ -4883,7 +4883,7 @@
speed-vs-accuracy = "Speed-Vs-Accuracy" ":" FLOAT CRLF
- ¶
+
¶
@@ -4905,7 +4905,7 @@
n-best-list-length = "N-Best-List-Length" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -4920,7 +4920,7 @@
input-type = "Input-Type" ":" inputs CRLF
inputs = "speech" / "dtmf"
- ¶
+¶
@@ -4939,7 +4939,7 @@
no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -4957,7 +4957,7 @@
recognition-timeout = "Recognition-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -4991,10 +4991,10 @@
associated with the header field.¶
-waveform-uri = "Waveform-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
+waveform-uri = "Waveform-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
- ¶
+
¶
@@ -5007,9 +5007,9 @@
captured and returned by the Waveform-URI header field.¶
-media-type = "Media-Type" ":" media-type-value
+media-type = "Media-Type" ":" media-type-value
CRLF
- ¶
+
¶
@@ -5023,7 +5023,7 @@
input-waveform-uri = "Input-Waveform-URI" ":" uri CRLF
- ¶
+
¶
@@ -5044,7 +5044,7 @@
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
- ¶
+¶
Table 6
@@ -5178,9 +5178,9 @@
interpret the completion reason text.¶
-completion-reason = "Completion-Reason" ":"
+completion-reason = "Completion-Reason" ":"
quoted-string CRLF
- ¶
+
¶
@@ -5208,7 +5208,7 @@
recognizer-context-block = "Recognizer-Context-Block" ":"
[1*VCHAR] CRLF
- ¶
+¶
@@ -5253,7 +5253,7 @@
speech-complete-timeout = "Speech-Complete-Timeout" ":"
1*19DIGIT CRLF
- ¶
+¶
A long Speech-Complete-Timeout value delays the result to the
client and therefore makes the application's response to a user
@@ -5280,9 +5280,9 @@
implementation specific.¶
-speech-incomplete-timeout = "Speech-Incomplete-Timeout" ":" 1*19DIGIT
+speech-incomplete-timeout = "Speech-Incomplete-Timeout" ":" 1*19DIGIT
CRLF
- ¶
+
¶
The Speech-Incomplete-Timeout also applies when the speech prior
to the silence is a complete match of an active grammar, but where
@@ -5312,7 +5312,7 @@
dtmf-interdigit-timeout = "DTMF-Interdigit-Timeout" ":"
1*19DIGIT CRLF
- ¶
+¶
@@ -5328,7 +5328,7 @@
dtmf-term-timeout = "DTMF-Term-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -5342,7 +5342,7 @@
dtmf-term-char = "DTMF-Term-Char" ":" VCHAR CRLF
- ¶
+
¶
@@ -5357,7 +5357,7 @@
failed-uri = "Failed-URI" ":" absoluteURI CRLF
- ¶
+
¶
@@ -5374,7 +5374,7 @@
failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR CRLF
- ¶
+
¶
@@ -5395,7 +5395,7 @@
save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5420,9 +5420,9 @@
session for multiple telephone calls.
¶
-new-audio-channel = "New-Audio-Channel" ":" BOOLEAN
+new-audio-channel = "New-Audio-Channel" ":" BOOLEAN
CRLF
- ¶
+
¶
@@ -5437,7 +5437,7 @@
speech-language = "Speech-Language" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -5523,7 +5523,7 @@
hotword-max-duration = "Hotword-Max-Duration" ":" 1*19DIGIT
CRLF
- ¶
+¶
@@ -5543,7 +5543,7 @@
hotword-min-duration = "Hotword-Min-Duration" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -5560,8 +5560,8 @@
the INTERPRET method.
¶
-interpret-text = "Interpret-Text" ":" 1*VCHAR CRLF
- ¶
+interpret-text = "Interpret-Text" ":" 1*VCHAR CRLF
+
¶
@@ -5581,7 +5581,7 @@
dtmf-buffer-time = "DTMF-Buffer-Time" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -5599,7 +5599,7 @@
clear-dtmf-buffer = "Clear-DTMF-Buffer" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5617,7 +5617,7 @@
early-no-match = "Early-No-Match" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5631,9 +5631,9 @@
implementation specific and MAY be greater than 1.¶
-num-min-consistent-pronunciations =
+num-min-consistent-pronunciations =
"Num-Min-Consistent-Pronunciations" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -5653,7 +5653,7 @@
consistency-threshold = "Consistency-Threshold" ":" FLOAT CRLF
- ¶
+
¶
@@ -5676,7 +5676,7 @@
clash-threshold = "Clash-Threshold" ":" FLOAT CRLF
- ¶
+
¶
@@ -5695,7 +5695,7 @@
personal-grammar-uri = "Personal-Grammar-URI" ":" uri CRLF
- ¶
+
¶
@@ -5711,7 +5711,7 @@
enroll-utterance = "Enroll-Utterance" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5728,7 +5728,7 @@
phrase-id = "Phrase-ID" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -5743,7 +5743,7 @@
phrase-nl = "Phrase-NL" ":" 1*UTFCHAR CRLF
- ¶
+
¶
@@ -5769,7 +5769,7 @@
weight = "Weight" ":" FLOAT CRLF
- ¶
+
¶
@@ -5789,7 +5789,7 @@
save-best-waveform = "Save-Best-Waveform" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5803,7 +5803,7 @@
new-phrase-id = "New-Phrase-ID" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -5818,7 +5818,7 @@
confusable-phrases-uri = "Confusable-Phrases-URI" ":" uri CRLF
- ¶
+
¶
@@ -5830,9 +5830,9 @@
phrase to the personal grammar.¶
-abort-phrase-enrollment = "Abort-Phrase-Enrollment" ":"
+abort-phrase-enrollment = "Abort-Phrase-Enrollment" ":"
BOOLEAN CRLF
- ¶
+
¶
@@ -5936,8 +5936,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -6012,8 +6012,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -6159,7 +6159,7 @@
uncertainty in speech recognition or natural language
understanding. There are at least two reasons for providing
multiple interpretations:¶
-
+
The client application might have additional information,
for example, information from a database, that would allow it
to select a preferred interpretation from among the possible
@@ -6181,7 +6181,7 @@
These are elements and attributes representing additional
information about the interpretation, over and above the
interpretation itself. Side information includes:¶
-
+
Whether an interpretation was achieved (the <nomatch>
element) and the system's confidence in an interpretation (the
"confidence" attribute of <interpretation>).¶
@@ -6213,7 +6213,7 @@
9.6.2. Overview of Recognizer Result Elements and Their Relationships
The recognizer elements in NLSML fall into two categories:¶
-
+
description of the input that was processed, and¶
description of the meaning which was extracted from the
@@ -6267,7 +6267,7 @@
result, it can be overridden for individual interpretations at the
<interpretation> level.¶
Attributes:¶
-
+
grammar: The grammar or recognition rule matched by this
result. The format of the grammar attribute will match the
rule reference semantics defined in the grammar specification.
@@ -6288,7 +6288,7 @@
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
- grammar="http://www.example.com/grammar">
+ grammar="http://www.example.com/grammar">
<interpretation>
....
</interpretation>
@@ -6303,7 +6303,7 @@
An <interpretation> element contains a single semantic
interpretation.¶
Attributes:¶
-
+
confidence: A float value from 0.0-1.0 indicating the
semantic analyzer's confidence in this interpretation. A value
of 1.0 indicates maximum confidence. The values are
@@ -6359,7 +6359,7 @@
objects created, nor any semantic translation, the instance value
is the same as the input value.¶
Attributes:¶
-
+
confidence: Each element of the instance MAY have a
confidence attribute, defined in the NLSML namespace. The
confidence attribute contains a float value in the range from
@@ -6380,7 +6380,7 @@
<state>CA</state>
<zip>90952</zip>
</nameAddress>
-</instance>
+</instance>
<input>
My address is 123 Maple Street,
Mill Valley, California, 90952
@@ -6393,7 +6393,7 @@
<instance>
I would like to buy a coca-cola
-</instance>
+</instance>
<input>
I would like to buy a coke
</input>
@@ -6418,7 +6418,7 @@
spoken utterance, in ISO 8601
format [ISO.8601.1988 ] .¶
Attributes:¶
-
+
timestamp-start: The time at which the input began.
(optional)¶
@@ -6441,7 +6441,7 @@
When there is no time zone designator, ISO 8601 time
representations default to local time.¶
There are three possible formats for the <input> element.¶
-
+
The <input> element can contain simple text:¶
@@ -6465,12 +6465,12 @@
for individual words and word-level confidences.
¶
- <input>
+ <input>
<input mode="speech" confidence="0.5"
- timestamp-start="2000-04-03T0:00:00"
+ timestamp-start="2000-04-03T0:00:00"
timestamp-end="2000-04-03T0:00:00.2">fried</input>
<input mode="speech" confidence="1.0"
- timestamp-start="2000-04-03T0:00:00.25"
+ timestamp-start="2000-04-03T0:00:00.25"
timestamp-end="2000-04-03T0:00:00.6">onions</input>
</input>
¶
@@ -6497,14 +6497,14 @@
<interpretation>
<instance/>
- <input confidence="0.1">
+ <input confidence="0.1">
<nomatch/>
</input>
</interpretation>
-<interpretation>
- <instance/>
- <input mode="speech" confidence="0.1">
- <nomatch>I want to go to New York</nomatch>
+<interpretation>
+ <instance/>
+ <input mode="speech" confidence="0.1">
+ <nomatch>I want to go to New York</nomatch>
</input>
</interpretation>
¶
@@ -6533,7 +6533,7 @@
in DTMF modality". For example, to represent garbled speech
combined with DTMF "1 2 3 4", the markup would be:
¶
-
<input>
+<input>
<input mode="speech"><nomatch/></input>
<input mode="dtmf">1 2 3 4</input>
</input> ¶
@@ -6555,7 +6555,7 @@
<enrollment‑result> element under <result>. The elements
are described below and have the schema defined in Section 16.2 . The following elements
are defined:¶
-
+
num-clashes¶
num-good-repetitions¶
@@ -6686,8 +6686,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -6737,8 +6737,8 @@
"http://www.w3.org/TR/speech-grammar/grammar.dtd">
<grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/2001/06/grammar
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.w3.org/2001/06/grammar
http://www.w3.org/TR/speech-grammar/grammar.xsd"
version="1.0" mode="voice" root="basicCmd">
@@ -6748,7 +6748,7 @@
<example> please move the window </example>
<example> open a file </example>
- <ruleref
+ <ruleref
uri="http://grammar.example.com/politeness.grxml#startPolite"/>
<ruleref uri="#command"/>
@@ -6806,7 +6806,7 @@
S->C:MRCP/2.0 ... START-OF-INPUT 543260 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C:MRCP/2.0 ... RECOGNITION-COMPLETE 543260 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
@@ -6864,7 +6864,7 @@
useful in applications like VoiceXML browsers to order grammars
specified at the dialog, document, and root level of a VoiceXML
application.¶
-
+
The grammar MAY be placed directly in the message body as typed
content. If more than one grammar is included in the body, the
order of inclusion controls the corresponding precedence for the
@@ -6961,7 +6961,7 @@
the Speech-Complete-Timer is started. If it matches partially with one
or more of the active grammars, with more speech needed before a full
match is achieved, then the Speech-Incomplete-Timer is started.¶
-
+
When the No-Input-Timer expires, the recognizer MUST complete
with a Completion-Cause code of "no-input-timeout".¶
@@ -7006,7 +7006,7 @@
For recognition in hotword mode:¶
Note that for recognition in hotword mode the START-OF-INPUT event is
not generated when speech or a DTMF digit is detected.¶
-
+
When the No-Input-Timer expires, the recognizer MUST complete
with a Completion-Cause code of "no-input-timeout".¶
@@ -7043,7 +7043,7 @@
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
-<grammar xmlns="http://www.w3.org/2001/06/grammar"
+<grammar xmlns="http://www.w3.org/2001/06/grammar"
xml:lang="en-US" version="1.0" root="request">
<!-- single language attachment to tokens -->
@@ -7051,8 +7051,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -7070,7 +7070,7 @@
S->C:MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C:MRCP/2.0 ... RECOGNITION-COMPLETE 543257 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
@@ -7100,14 +7100,14 @@
occur in normal usage.¶
-C->S: MRCP/2.0 ... RECOGNIZE 543257
- Channel-Identifier:32AECB23433801@speechrecog
- Confidence-Threshold:0.9
+C->S: MRCP/2.0 ... RECOGNIZE 543257
+ Channel-Identifier:32AECB23433801@speechrecog
+ Confidence-Threshold:0.9
Fetch-Timeout:20
- Content-Type:application/srgs+xml
+ Content-Type:application/srgs+xml
Content-Length:...
-
- <?xml version="1.0"? Version="1.0" mode="voice"
+
+ <?xml version="1.0"? Version="1.0" mode="voice"
root="Basic md">
<rule id="rule_list" scope="public">
<one-of>
@@ -7151,7 +7151,7 @@
Content-Type:application/srgs+xml
Content-ID:<request1@form-level.store>
Content-Length:...
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
@@ -7163,8 +7163,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -7209,13 +7209,13 @@
C->S: MRCP/2.0 ... GET-RESULT 543257
Channel-Identifier:32AECB23433801@speechrecog
Confidence-Threshold:0.9
-
+
S->C: MRCP/2.0 ... 543257 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -7297,7 +7297,7 @@
Content-Type:application/srgs+xml
Content-ID:<request1@form-level.store>
Content-Length:...
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
@@ -7309,8 +7309,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -7327,7 +7327,7 @@
S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... RECOGNITION-COMPLETE 543257 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
@@ -7335,7 +7335,7 @@
size=342456;duration=25435
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -7360,22 +7360,22 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version= "1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="Personal-Grammar-URI">
<enrollment-result>
<num-clashes> 2 </num-clashes>
<num-good-repetitions> 1 </num-good-repetitions>
- <num-repetitions-still-needed>
- 1
+ <num-repetitions-still-needed>
+ 1
</num-repetitions-still-needed>
<consistency-status> consistent </consistency-status>
- <clash-phrase-ids>
- <item> Jeff </item> <item> Andre </item>
+ <clash-phrase-ids>
+ <item> Jeff </item> <item> Andre </item>
</clash-phrase-ids>
<transcriptions>
- <item> m ay b r ow k er </item>
+ <item> m ay b r ow k er </item>
<item> m ax r aa k ah </item>
</transcriptions>
<confusable-phrases>
@@ -7483,7 +7483,7 @@
C->S: MRCP/2.0 ... END-PHRASE-ENROLLMENT 543262
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... 543262 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
@@ -7503,7 +7503,7 @@
effect.¶
-C->S: MRCP/2.0 ... MODIFY-PHRASE 543265
+C->S: MRCP/2.0 ... MODIFY-PHRASE 543265
Channel-Identifier:32AECB23433801@speechrecog
Personal-Grammar-URI:<personal grammar uri>
Phrase-Id:<phrase id>
@@ -7511,7 +7511,7 @@
Phrase-NL:<NL phrase>
Weight:1
-S->C: MRCP/2.0 ... 543265 200 COMPLETE
+S->C: MRCP/2.0 ... 543265 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog ¶
@@ -7557,56 +7557,56 @@
C->S: MRCP/2.0 ... INTERPRET 543266
- Channel-Identifier:32AECB23433801@speechrecog
- Interpret-Text:may I speak to Andre Roy
- Content-Type:application/srgs+xml
- Content-ID:<request1@form-level.store>
+ Channel-Identifier:32AECB23433801@speechrecog
+ Interpret-Text:may I speak to Andre Roy
+ Content-Type:application/srgs+xml
+ Content-ID:<request1@form-level.store>
Content-Length:...
-
- <?xml version="1.0"?>
- <!-- the default grammar language is US English -->
+
+ <?xml version="1.0"?>
+ <!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
- xml:lang="en-US" version="1.0" root="request">
- <!-- single language attachment to tokens -->
- <rule id="yes">
- <one-of>
- <item xml:lang="fr-CA">oui</item>
- <item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
-
- <!-- single language attachment to a rule expansion -->
- <rule id="request">
- may I speak to
- <one-of xml:lang="fr-CA">
- <item>Michel Tremblay</item>
- <item>Andre Roy</item>
- </one-of>
- </rule>
- </grammar>
-
+ xml:lang="en-US" version="1.0" root="request">
+ <!-- single language attachment to tokens -->
+ <rule id="yes">
+ <one-of>
+ <item xml:lang="fr-CA">oui</item>
+ <item xml:lang="en-US">yes</item>
+ </one-of>
+ </rule>
+
+ <!-- single language attachment to a rule expansion -->
+ <rule id="request">
+ may I speak to
+ <one-of xml:lang="fr-CA">
+ <item>Michel Tremblay</item>
+ <item>Andre Roy</item>
+ </one-of>
+ </rule>
+ </grammar>
+
S->C: MRCP/2.0 ... 543266 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... INTERPRETATION-COMPLETE 543266 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
- Completion-Cause:000 success
- Content-Type:application/nlsml+xml
+ Completion-Cause:000 success
+ Content-Type:application/nlsml+xml
Content-Length:...
-
- <?xml version="1.0"?>
+
+ <?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
- grammar="session:request1@form-level.store">
- <interpretation>
- <instance name="Person">
- <ex:Person>
- <ex:Name> Andre Roy </ex:Name>
- </ex:Person>
- </instance>
- <input> may I speak to Andre Roy </input>
- </interpretation>
- </result>
+ grammar="session:request1@form-level.store">
+ <interpretation>
+ <instance name="Person">
+ <ex:Person>
+ <ex:Name> Andre Roy </ex:Name>
+ </ex:Person>
+ </instance>
+ <input> may I speak to Andre Roy </input>
+ </interpretation>
+ </result>
¶
@@ -7625,55 +7625,55 @@
C->S: MRCP/2.0 ... INTERPRET 543266
- Channel-Identifier:32AECB23433801@speechrecog
- Interpret-Text:may I speak to Andre Roy
- Content-Type:application/srgs+xml
- Content-ID:<request1@form-level.store>
+ Channel-Identifier:32AECB23433801@speechrecog
+ Interpret-Text:may I speak to Andre Roy
+ Content-Type:application/srgs+xml
+ Content-ID:<request1@form-level.store>
Content-Length:...
-
- <?xml version="1.0"?>
- <!-- the default grammar language is US English -->
+
+ <?xml version="1.0"?>
+ <!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
- xml:lang="en-US" version="1.0" root="request">
- <!-- single language attachment to tokens -->
- <rule id="yes">
- <one-of>
+ xml:lang="en-US" version="1.0" root="request">
+ <!-- single language attachment to tokens -->
+ <rule id="yes">
+ <one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
</one-of>
</rule>
-
- <!-- single language attachment to a rule expansion -->
- <rule id="request">
- may I speak to
- <one-of xml:lang="fr-CA">
- <item>Michel Tremblay</item>
- <item>Andre Roy</item>
- </one-of>
- </rule>
- </grammar>
-
+
+ <!-- single language attachment to a rule expansion -->
+ <rule id="request">
+ may I speak to
+ <one-of xml:lang="fr-CA">
+ <item>Michel Tremblay</item>
+ <item>Andre Roy</item>
+ </one-of>
+ </rule>
+ </grammar>
+
S->C: MRCP/2.0 ... 543266 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... INTERPRETATION-COMPLETE 543266 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
- Completion-Cause:000 success
- Content-Type:application/nlsml+xml
+ Completion-Cause:000 success
+ Content-Type:application/nlsml+xml
Content-Length:...
-
- <?xml version="1.0"?>
+
+ <?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
- grammar="session:request1@form-level.store">
- <interpretation>
- <instance name="Person">
- <ex:Person>
- <ex:Name> Andre Roy </ex:Name>
- </ex:Person>
- </instance>
- <input> may I speak to Andre Roy </input>
- </interpretation>
+ grammar="session:request1@form-level.store">
+ <interpretation>
+ <instance name="Person">
+ <ex:Person>
+ <ex:Name> Andre Roy </ex:Name>
+ </ex:Person>
+ </instance>
+ <input> may I speak to Andre Roy </input>
+ </interpretation>
</result>
¶
@@ -7696,7 +7696,7 @@
This resource captures received audio and video and stores it as
content pointed to by a URI. The main usages of recorders are¶
-
+
to capture speech audio that may be submitted for recognition at
a later time, and¶
@@ -7756,7 +7756,7 @@
recorder-method = "RECORD"
/ "STOP"
/ "START-INPUT-TIMERS"
- ¶
+ ¶
@@ -7768,7 +7768,7 @@
recorder-event = "START-OF-INPUT"
/ "RECORD-COMPLETE"
- ¶
+ ¶
@@ -7781,7 +7781,7 @@
associated with.¶
-recorder-header = sensitivity-level
+recorder-header = sensitivity-level
/ no-input-timeout
/ completion-cause
/ completion-reason
@@ -7796,7 +7796,7 @@
/ ver-buffer-utterance
/ start-input-timers
/ new-audio-channel
- ¶
+
¶
@@ -7812,7 +7812,7 @@
sensitivity-level = "Sensitivity-Level" ":" FLOAT CRLF
- ¶
+
¶
@@ -7830,7 +7830,7 @@
no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -7851,7 +7851,7 @@
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
- ¶
+¶
Table 7
@@ -7908,7 +7908,7 @@
completion-reason = "Completion-Reason" ":"
quoted-string CRLF
- ¶
+¶
@@ -7921,7 +7921,7 @@
failed-uri = "Failed-URI" ":" absoluteURI CRLF
- ¶
+
¶
@@ -7937,9 +7937,9 @@
response code.¶
-failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR
+failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR
CRLF
- ¶
+
¶
@@ -7966,10 +7966,10 @@
implementations already exist that support other schemes.
¶
-record-uri = "Record-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
+record-uri = "Record-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
- ¶
+
¶
@@ -7981,9 +7981,9 @@
to the server the media type of the captured audio or video.¶
-media-type = "Media-Type" ":" media-type-value
+media-type = "Media-Type" ":" media-type-value
CRLF
- ¶
+
¶
@@ -8006,7 +8006,7 @@
max-time = "Max-Time" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8020,7 +8020,7 @@
trim-length = "Trim-Length" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8039,7 +8039,7 @@
final-silence = "Final-Silence" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8055,7 +8055,7 @@
capture-on-speech = "Capture-On-Speech " ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8091,7 +8091,7 @@
start-input-timers = "Start-Input-Timers" ":"
BOOLEAN CRLF
- ¶
+¶
@@ -8148,20 +8148,20 @@
C->S: MRCP/2.0 ... RECORD 543257
Channel-Identifier:32AECB23433802@recorder
- Record-URI:<file://mediaserver/recordings/myfile.wav>
+ Record-URI:<file://mediaserver/recordings/myfile.wav>
Media-Type:audio/wav
Capture-On-Speech:true
Final-Silence:300
Max-Time:6000
-
-S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
- Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
+ Channel-Identifier:32AECB23433802@recorder
Completion-Cause:000 success-silence
Record-URI:<file://mediaserver/recordings/myfile.wav>;
size=242552;duration=25645
@@ -8194,23 +8194,23 @@
C->S: MRCP/2.0 ... RECORD 543257
Channel-Identifier:32AECB23433802@recorder
- Record-URI:<file://mediaserver/recordings/myfile.wav>
+ Record-URI:<file://mediaserver/recordings/myfile.wav>
Capture-On-Speech:true
Final-Silence:300
Max-Time:6000
-
-S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
+
+S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
C->S: MRCP/2.0 ... STOP 543257
- Channel-Identifier:32AECB23433802@recorder
+ Channel-Identifier:32AECB23433802@recorder
Trim-Length:200
-
-S->C: MRCP/2.0 ... 543257 200 COMPLETE
- Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... 543257 200 COMPLETE
+ Channel-Identifier:32AECB23433802@recorder
Record-URI:<file://mediaserver/recordings/myfile.wav>;
size=324253;duration=24561
Active-Request-Id-List:543257
@@ -8235,19 +8235,19 @@
C->S: MRCP/2.0 ... RECORD 543257
Channel-Identifier:32AECB23433802@recorder
- Record-URI:<file://mediaserver/recordings/myfile.wav>
+ Record-URI:<file://mediaserver/recordings/myfile.wav>
Capture-On-Speech:true
Final-Silence:300
Max-Time:6000
-
-S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
- Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
+ Channel-Identifier:32AECB23433802@recorder
Completion-Cause:000 success
Record-URI:<file://mediaserver/recordings/myfile.wav>;
size=325325;duration=24652
@@ -8430,14 +8430,14 @@
| |<---------| |
| | |
|----------| | |
- | STOP | |
+ | STOP | |
|<---------| | |
| |----------| |
| | CLEAR-BUFFER |
| |<---------| |
| | |
|----------| | |
- | CLEAR-BUFFER | |
+ | CLEAR-BUFFER | |
|<---------| | |
| | |
| |----------| |
@@ -8479,7 +8479,7 @@
/ "CLEAR-BUFFER"
/ "START-INPUT-TIMERS"
/ "GET-INTERMEDIATE-RESULT"
- ¶
+ ¶
These methods allow the client to control the mode and target of
verification or identification operations within the context of a
@@ -8497,13 +8497,13 @@
appropriate for the resource, with the header field
Ver‑Buffer‑Utterance. Then, when the following method is called,
verification is performed using the set of buffered audio.¶
-
+
VERIFY-FROM-BUFFER¶
The following methods are used for verification of live audio
utterances:¶
-
+
VERIFY¶
START-INPUT-TIMERS¶
@@ -8511,7 +8511,7 @@
The following methods are used for configuring the verifier
resource and for establishing resource states:¶
-
+
START-SESSION¶
END-SESSION¶
@@ -8529,7 +8529,7 @@
The following method allows the polling of a verification in progress
for intermediate results.¶
-
+
GET-INTERMEDIATE-RESULT¶
@@ -8543,7 +8543,7 @@
verifier-event = "VERIFICATION-COMPLETE"
/ "START-OF-INPUT"
- ¶
+ ¶
@@ -8576,7 +8576,7 @@
/ new-audio-channel
/ abort-verification
/ start-input-timers
- ¶
+¶
@@ -8590,7 +8590,7 @@
repository-uri = "Repository-URI" ":" uri CRLF
- ¶
+
¶
@@ -8610,10 +8610,10 @@
group identifier instead of a list of voiceprint identifiers.¶
-voiceprint-identifier = "Voiceprint-Identifier" ":"
+voiceprint-identifier = "Voiceprint-Identifier" ":"
vid *[";" vid] CRLF
vid = 1*VCHAR ["." 1*VCHAR]
- ¶
+
¶
@@ -8644,7 +8644,7 @@
caller's response without any participation by the verifier
resource.¶
Once the following conditions have been met:¶
-
+
the voiceprint identity has been successfully established through
the Voiceprint-Identifier header fields of the START-SESSION
method, and¶
@@ -8665,12 +8665,12 @@
error and the mode retains its current value.¶
-verification-mode = "Verification-Mode" ":"
+verification-mode = "Verification-Mode" ":"
verification-mode-string
verification-mode-string = "train"
/ "verify"
- ¶
+
¶
@@ -8688,7 +8688,7 @@
adapt-model = "Adapt-Model" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8708,7 +8708,7 @@
abort-model = "Abort-Model" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8723,9 +8723,9 @@
this header field is implementation specific.¶
-min-verification-score = "Min-Verification-Score" ":"
+min-verification-score = "Min-Verification-Score" ":"
[ %x2D ] FLOAT CRLF
- ¶
+
¶
@@ -8742,9 +8742,9 @@
START-SESSION, SET-PARAMS, or GET-PARAMS.¶
-num-min-verification-phrases = "Num-Min-Verification-Phrases" ":"
+num-min-verification-phrases = "Num-Min-Verification-Phrases" ":"
1*19DIGIT CRLF
- ¶
+
¶
@@ -8761,9 +8761,9 @@
START-SESSION, SET-PARAMS, or GET-PARAMS.¶
-num-max-verification-phrases = "Num-Max-Verification-Phrases" ":"
+num-max-verification-phrases = "Num-Max-Verification-Phrases" ":"
1*19DIGIT CRLF
- ¶
+
¶
@@ -8784,7 +8784,7 @@
no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8807,7 +8807,7 @@
save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8820,9 +8820,9 @@
by the Waveform-URI header field.¶
-media-type = "Media-Type" ":" media-type-value
+media-type = "Media-Type" ":" media-type-value
CRLF
- ¶
+
¶
@@ -8848,10 +8848,10 @@
associated with the header field.¶
-waveform-uri = "Waveform-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
+waveform-uri = "Waveform-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
- ¶
+
¶
@@ -8866,7 +8866,7 @@
voiceprint-exists = "Voiceprint-Exists" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8885,7 +8885,7 @@
ver-buffer-utterance = "Ver-Buffer-Utterance" ":" BOOLEAN
CRLF
- ¶
+
¶
@@ -8903,7 +8903,7 @@
input-waveform-uri = "Input-Waveform-URI" ":" uri CRLF
- ¶
+
¶
@@ -8925,7 +8925,7 @@
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
- ¶
+¶
Table 8
@@ -9024,9 +9024,9 @@
interpret the completion reason text.¶
-completion-reason = "Completion-Reason" ":"
+completion-reason = "Completion-Reason" ":"
quoted-string CRLF
- ¶
+
¶
@@ -9058,7 +9058,7 @@
abort-verification = "Abort-Verification " ":" BOOLEAN CRLF
- ¶
+
¶
@@ -9082,7 +9082,7 @@
start-input-timers = "Start-Input-Timers" ":"
BOOLEAN CRLF
- ¶
+¶
@@ -9111,7 +9111,7 @@
<verification-result> element under <result>. The
elements are described below and have the schema defined in Section 16.2 . The following elements
are defined:¶
-
+
<voiceprint>¶
<incremental>¶
@@ -9386,7 +9386,7 @@
The END-SESSION method terminates an ongoing verification session
and releases the verification voiceprint resources. The session may
terminate in one of three ways:¶
-
+
abort - the voiceprint adaptation or creation may be aborted so
that the voiceprint remains unchanged (or is not created).¶
@@ -9415,7 +9415,7 @@
S->C: MRCP/2.0 ... 314174 200 COMPLETE
Channel-Identifier:32AECB23433801@speakverify
- ¶
+¶
@@ -9451,7 +9451,7 @@
Repository-URI:http://www.example.com/voiceprints/
Voiceprint-Identifier:johnsmith.voiceprint
Voiceprint-Exists:true
- ¶
+¶
The following example assumes that the URI provided in the
Repository-URI header field is a bad URI.¶
@@ -9580,7 +9580,7 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
@@ -9636,7 +9636,7 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
@@ -9735,9 +9735,9 @@
C->S: MRCP/2.0 ... VERIFY 314177
Channel-Identifier:32AECB23433801@speakverify
-S->C: MRCP/2.0 ... 314177 200 IN-PROGRESS
+S->C: MRCP/2.0 ... 314177 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speakverify
-
+
C->S: MRCP/2.0 ... STOP 314178
Channel-Identifier:32AECB23433801@speakverify
@@ -9781,7 +9781,7 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
@@ -9869,8 +9869,8 @@
Channel-Identifier:32AECB23433801@speakverify
Content-Type:application/nlsml+xml
Content-Length:...
-
- <?xml version="1.0"?>
+
+ <?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
<verification-result>
@@ -9924,7 +9924,7 @@
by SDP within the context of a SIP dialog. In order to ensure secure
rendezvous between MRCPv2 clients and servers, the following are
required:¶
-
+
The SIP implementation in MRCPv2 clients and servers MUST
support SIP digest authentication [RFC3261 ]
and SHOULD employ it.¶
@@ -10203,7 +10203,7 @@
Proxy-Sync-Id Generic [RFC6787]
Accept-Charset Generic [RFC2616]
Content-Type Generic [RFC6787]
-Content-ID Generic
+Content-ID Generic
[RFC2392], [RFC2046], and [RFC5322]
Content-Base Generic [RFC6787]
Content-Encoding Generic [RFC6787]
@@ -10285,10 +10285,10 @@
Record-URI Recorder [RFC6787]
Media-Type Recorder [RFC6787]
Max-Time Recorder [RFC6787]
-Trim-Length Recorder [RFC6787]
+Trim-Length Recorder [RFC6787]
Final-Silence Recorder [RFC6787]
-Capture-On-Speech Recorder [RFC6787]
-Ver-Buffer-Utterance Recorder [RFC6787]
+Capture-On-Speech Recorder [RFC6787]
+Ver-Buffer-Utterance Recorder [RFC6787]
Start-Input-Timers Recorder [RFC6787]
New-Audio-Channel Recorder [RFC6787]
Repository-URI Verifier [RFC6787]
@@ -10864,7 +10864,7 @@
Contact:<sip:sarvi@client.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2614933546 2614933546 IN IP4 192.0.2.12
s=Set up MRCPv2 control and audio
@@ -10923,23 +10923,23 @@
Contact:<sip:sarvi@client.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2614933546 2614933547 IN IP4 192.0.2.12
s=Set up MRCPv2 control and audio
i=Add TCP channel, synthesizer and one-way audio
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:new
- a=resource:speechsynth
+ a=resource:speechsynth
a=cmid:1
m=audio 49170 RTP/AVP 0 96
a=rtpmap:0 pcmu/8000
- a=rtpmap:96 telephone-event/8000
- a=fmtp:96 0-15
- a=recvonly
+ a=rtpmap:96 telephone-event/8000
+ a=fmtp:96 0-15
+ a=recvonly
a=mid:1
@@ -10954,21 +10954,21 @@
Contact:<sip:mresources@server.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=- 3000000001 3000000002 IN IP4 192.0.2.11
s=Set up MRCPv2 control and audio
i=Add TCP channel, synthesizer and one-way audio
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
+ m=application 32416 TCP/MRCPv2 1
a=setup:passive
a=connection:new
- a=channel:32AECB23433801@speechsynth
+ a=channel:32AECB23433801@speechsynth
a=cmid:1
m=audio 48260 RTP/AVP 0
a=rtpmap:0 pcmu/8000
- a=sendonly
+ a=sendonly
a=mid:1
@@ -11002,34 +11002,34 @@
Contact:<sip:sarvi@client.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2614933546 2614933548 IN IP4 192.0.2.12
s=Set up MRCPv2 control and audio
i=Add recognizer and duplex the audio
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
- a=resource:speechsynth
+ a=resource:speechsynth
a=cmid:1
m=audio 49170 RTP/AVP 0 96
a=rtpmap:0 pcmu/8000
- a=rtpmap:96 telephone-event/8000
- a=fmtp:96 0-15
- a=recvonly
+ a=rtpmap:96 telephone-event/8000
+ a=fmtp:96 0-15
+ a=recvonly
a=mid:1
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
- a=resource:speechrecog
+ a=resource:speechrecog
a=cmid:2
m=audio 49180 RTP/AVP 0 96
a=rtpmap:0 pcmu/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
- a=sendonly
+ a=sendonly
a=mid:2
@@ -11044,28 +11044,28 @@
Contact:<sip:mresources@server.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=- 3000000001 3000000003 IN IP4 192.0.2.11
s=Set up MRCPv2 control and audio
i=Add recognizer and duplex the audio
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
- a=channel:32AECB23433801@speechsynth
+ m=application 32416 TCP/MRCPv2 1
+ a=channel:32AECB23433801@speechsynth
a=cmid:1
m=audio 48260 RTP/AVP 0
a=rtpmap:0 pcmu/8000
- a=sendonly
+ a=sendonly
a=mid:1
- m=application 32416 TCP/MRCPv2 1
- a=channel:32AECB23433801@speechrecog
+ m=application 32416 TCP/MRCPv2 1
+ a=channel:32AECB23433801@speechrecog
a=cmid:2
m=audio 48260 RTP/AVP 0
a=rtpmap:0 pcmu/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
- a=recvonly
+ a=recvonly
a=mid:2
@@ -11093,9 +11093,9 @@
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -11103,7 +11103,7 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams
+ <s>The first is from Stephanie Williams
<mark name="Stephanie"/>
and arrived at <break/>
<say-as interpret-as="vxml:time">0345p</say-as>.</s>
@@ -11113,7 +11113,7 @@
</speak>
S->C:
- MRCP/2.0 ... 543257 200 IN-PROGRESS
+ MRCP/2.0 ... 543257 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechsynth
Speech-Marker:timestamp=857205015059
@@ -11123,7 +11123,7 @@
and faithfully informs the client of the event.¶
-S->C: MRCP/2.0 ... SPEECH-MARKER 543257 IN-PROGRESS
+S->C: MRCP/2.0 ... SPEECH-MARKER 543257 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechsynth
Speech-Marker:timestamp=857206027059;Stephanie
¶
@@ -11145,7 +11145,7 @@
Channel-Identifier:32AECB23433801@speechrecog
Content-Type:application/srgs+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
@@ -11173,9 +11173,9 @@
Kill-On-Barge-In:true
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -11238,12 +11238,12 @@
S->C: MRCP/2.0 ... RECOGNITION-COMPLETE 543258 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
- Completion-Cause:000 success
+ Completion-Cause:000 success
Waveform-URI:<http://web.media.com/session123/audio.wav>;
size=423523;duration=25432
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -11290,7 +11290,7 @@
System: To which city will you be traveling?
User: I want to go to Pittsburgh.
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
grammar="http://www.example.com/flight">
@@ -11323,7 +11323,7 @@
System: What would you like?
-User: I would like 2 pizzas, one with pepperoni and cheese,
+User: I would like 2 pizzas, one with pepperoni and cheese,
one with sausage and a bottle of coke, to go.
¶
@@ -11335,7 +11335,7 @@
resolve the two "one"s as "pizza".¶
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<nl:result xmlns:nl="urn:ietf:params:xml:ns:mrcpv2"
xmlns="http://www.example.com/example"
grammar="http://www.example.com/foodorder">
@@ -11383,11 +11383,11 @@
<input>
<input mode="speech" confidence ="1.0"
- timestamp-start="2000-04-03T0:00:00"
+ timestamp-start="2000-04-03T0:00:00"
timestamp-end="2000-04-03T0:00:01.5">My pin is
</input>
<input mode="dtmf" confidence ="1.0"
- timestamp-start="2000-04-03T0:00:01.5"
+ timestamp-start="2000-04-03T0:00:01.5"
timestamp-end="2000-04-03T0:00:02.0">1 2 3 4
</input>
</input>
@@ -11463,18 +11463,18 @@
for actually resolving the reference).¶
-Example: (ignoring the issue of representing the input from the
+Example: (ignoring the issue of representing the input from the
pointing gesture.)
System: What do you want to drink?
User: I want this. (clicks on picture of large root beer.)
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<nl:result xmlns:nl="urn:ietf:params:xml:ns:mrcpv2"
xmlns="http://www.example.com/example"
- grammar="http://www.example.com/beverages.grxml">
+ grammar="http://www.example.com/beverages.grxml">
<nl:interpretation>
- <nl:instance>
+ <nl:instance>
<doer>I</doer>
<action>want</action>
<object>this</object>
@@ -11545,7 +11545,7 @@
SWS = [LWS] ; sep whitespace
-UTF8-NONASCII = %xC0-DF 1UTF8-CONT
+UTF8-NONASCII = %xC0-DF 1UTF8-CONT
/ %xE0-EF 2UTF8-CONT
/ %xF0-F7 3UTF8-CONT
/ %xF8-FB 4UTF8-CONT
@@ -11556,7 +11556,7 @@
/ UTF8-NONASCII
param = *pchar
-quoted-string = SWS DQUOTE *(qdtext / quoted-pair )
+quoted-string = SWS DQUOTE *(qdtext / quoted-pair )
DQUOTE
qdtext = LWS / %x21 / %x23-5B / %x5D-7E
@@ -11567,7 +11567,7 @@
token = 1*(alphanum / "-" / "." / "!" / "%" / "*"
/ "_" / "+" / "`" / "'" / "~" )
-reserved = ";" / "/" / "?" / ":" / "@" / "&" / "="
+reserved = ";" / "/" / "?" / ":" / "@" / "&" / "="
/ "+" / "$" / ","
mark = "-" / "_" / "." / "!" / "~" / "*" / "'"
@@ -11580,7 +11580,7 @@
alphanum = ALPHA / DIGIT
-BOOLEAN = "true" / "false"
+BOOLEAN = "true" / "false"
FLOAT = *DIGIT ["." *DIGIT]
@@ -11588,12 +11588,12 @@
fragment = *uric
-uri = [ absoluteURI / relativeURI ]
+uri = [ absoluteURI / relativeURI ]
[ "#" fragment ]
absoluteURI = scheme ":" ( hier-part / opaque-part )
-relativeURI = ( net-path / abs-path / rel-path )
+relativeURI = ( net-path / abs-path / rel-path )
[ "?" query ]
hier-part = ( net-path / abs-path ) [ "?" query ]
@@ -11604,14 +11604,14 @@
rel-path = rel-segment [ abs-path ]
-rel-segment = 1*( unreserved / escaped / ";" / "@"
- / "&" / "=" / "+" / "$" / "," )
+rel-segment = 1*( unreserved / escaped / ";" / "@"
+ / "&" / "=" / "+" / "$" / "," )
opaque-part = uric-no-slash *uric
uric = reserved / unreserved / escaped
-uric-no-slash = unreserved / escaped / ";" / "?" / ":"
+uric-no-slash = unreserved / escaped / ";" / "?" / ":"
/ "@" / "&" / "=" / "+" / "$" / ","
path-segments = segment *( "/" segment )
@@ -11631,13 +11631,13 @@
userinfo = ( user ) [ ":" password ] "@"
-user = 1*( unreserved / escaped
+user = 1*( unreserved / escaped
/ user-unreserved )
-user-unreserved = "&" / "=" / "+" / "$" / "," / ";"
+user-unreserved = "&" / "=" / "+" / "$" / "," / ";"
/ "?" / "/"
-password = *( unreserved / escaped
+password = *( unreserved / escaped
/ "&" / "=" / "+" / "$" / "," )
hostport = host [ ":" port ]
@@ -11652,14 +11652,14 @@
toplabel = ALPHA / ALPHA *( alphanum / "-" )
alphanum
-IPv4address = 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "."
+IPv4address = 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "."
1*3DIGIT
IPv6reference = "[" IPv6address "]"
IPv6address = hexpart [ ":" IPv4address ]
-hexpart = hexseq / hexseq "::" [ hexseq ] / "::"
+hexpart = hexseq / hexseq "::" [ hexseq ] / "::"
[ hexseq ]
hexseq = hex4 *( ":" hex4)
@@ -11670,23 +11670,23 @@
; generic-message is the top-level rule
-generic-message = start-line message-header CRLF
- [ message-body ]
+generic-message = start-line message-header CRLF
+ [ message-body ]
message-body = *OCTET
-
-start-line = request-line / response-line / event-line
+
+start-line = request-line / response-line / event-line
request-line = mrcp-version SP message-length SP method-name
- SP request-id CRLF
+ SP request-id CRLF
-response-line = mrcp-version SP message-length SP request-id
- SP status-code SP request-state CRLF
+response-line = mrcp-version SP message-length SP request-id
+ SP status-code SP request-state CRLF
event-line = mrcp-version SP message-length SP event-name
- SP request-id SP request-state CRLF
+ SP request-id SP request-state CRLF
-method-name = generic-method
+method-name = generic-method
/ synthesizer-method
/ recognizer-method
/ recorder-method
@@ -11695,15 +11695,15 @@
generic-method = "SET-PARAMS"
/ "GET-PARAMS"
-request-state = "COMPLETE"
- / "IN-PROGRESS"
- / "PENDING"
+request-state = "COMPLETE"
+ / "IN-PROGRESS"
+ / "PENDING"
event-name = synthesizer-event
/ recognizer-event
/ recorder-event
/ verifier-event
-
+
message-header = 1*(generic-header / resource-header /
generic-field)
@@ -11717,7 +11717,7 @@
resource-header = synthesizer-header
/ recognizer-header
/ recorder-header
- / verifier-header
+ / verifier-header
generic-header = channel-identifier
/ accept
@@ -11732,30 +11732,30 @@
/ content-length
/ fetch-timeout
/ cache-control
- / logging-tag
+ / logging-tag
/ set-cookie
/ vendor-specific
-
+
; -- content-id is as defined in RFC 2392, RFC 2046 and RFC 5322
; -- accept and accept-charset are as defined in RFC 2616
-mrcp-version = "MRCP" "/" 1*2DIGIT "." 1*2DIGIT
+mrcp-version = "MRCP" "/" 1*2DIGIT "." 1*2DIGIT
message-length = 1*19DIGIT
-request-id = 1*10DIGIT
+request-id = 1*10DIGIT
status-code = 3DIGIT
-channel-identifier = "Channel-Identifier" ":"
+channel-identifier = "Channel-Identifier" ":"
channel-id CRLF
channel-id = 1*alphanum "@" 1*alphanum
-active-request-id-list = "Active-Request-Id-List" ":"
- request-id *("," request-id) CRLF
+active-request-id-list = "Active-Request-Id-List" ":"
+ request-id *("," request-id) CRLF
-proxy-sync-id = "Proxy-Sync-Id" ":" 1*VCHAR CRLF
+proxy-sync-id = "Proxy-Sync-Id" ":" 1*VCHAR CRLF
content-base = "Content-Base" ":" absoluteURI CRLF
@@ -11774,8 +11774,8 @@
attribute = token
value = token / quoted-string
-
-content-encoding = "Content-Encoding" ":"
+
+content-encoding = "Content-Encoding" ":"
*WSP content-coding
*(*WSP "," *WSP content-coding *WSP )
CRLF
@@ -11783,30 +11783,30 @@
content-coding = token
-content-location = "Content-Location" ":"
+content-location = "Content-Location" ":"
( absoluteURI / relativeURI ) CRLF
-cache-control = "Cache-Control" ":"
+cache-control = "Cache-Control" ":"
[*WSP cache-directive
*( *WSP "," *WSP cache-directive *WSP )]
CRLF
-fetch-timeout = "Fetch-Timeout" ":" 1*19DIGIT CRLF
+fetch-timeout = "Fetch-Timeout" ":" 1*19DIGIT CRLF
-cache-directive = "max-age" "=" delta-seconds
- / "max-stale" ["=" delta-seconds ]
- / "min-fresh" "=" delta-seconds
+cache-directive = "max-age" "=" delta-seconds
+ / "max-stale" ["=" delta-seconds ]
+ / "min-fresh" "=" delta-seconds
-delta-seconds = 1*19DIGIT
+delta-seconds = 1*19DIGIT
-logging-tag = "Logging-Tag" ":" 1*UTFCHAR CRLF
+logging-tag = "Logging-Tag" ":" 1*UTFCHAR CRLF
-vendor-specific = "Vendor-Specific-Parameters" ":"
- [vendor-specific-av-pair
- *(";" vendor-specific-av-pair)] 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-specific-av-pair = vendor-av-pair-name "="
+ value
vendor-av-pair-name = 1*UTFCHAR
@@ -11833,66 +11833,66 @@
httponly-av = "HttpOnly"
extension-av = <any CHAR except CTLs or ";">
age-av = "Age=" delta-seconds
-
+
; Synthesizer ABNF
-synthesizer-method = "SPEAK"
- / "STOP"
- / "PAUSE"
- / "RESUME"
- / "BARGE-IN-OCCURRED"
+synthesizer-method = "SPEAK"
+ / "STOP"
+ / "PAUSE"
+ / "RESUME"
+ / "BARGE-IN-OCCURRED"
/ "CONTROL"
- / "DEFINE-LEXICON"
+ / "DEFINE-LEXICON"
-synthesizer-event = "SPEECH-MARKER"
- / "SPEAK-COMPLETE"
+synthesizer-event = "SPEECH-MARKER"
+ / "SPEAK-COMPLETE"
-synthesizer-header = jump-size
- / kill-on-barge-in
- / speaker-profile
+synthesizer-header = jump-size
+ / kill-on-barge-in
+ / speaker-profile
/ completion-cause
- / completion-reason
- / voice-parameter
- / prosody-parameter
- / speech-marker
- / speech-language
- / fetch-hint
- / audio-fetch-hint
- / failed-uri
- / failed-uri-cause
- / speak-restart
+ / completion-reason
+ / voice-parameter
+ / prosody-parameter
+ / speech-marker
+ / speech-language
+ / fetch-hint
+ / audio-fetch-hint
+ / failed-uri
+ / failed-uri-cause
+ / speak-restart
/ speak-length
/ load-lexicon
- / lexicon-search-order
+ / lexicon-search-order
+
+jump-size = "Jump-Size" ":" speech-length-value CRLF
-jump-size = "Jump-Size" ":" speech-length-value CRLF
+speech-length-value = numeric-speech-length
+ / text-speech-length
-speech-length-value = numeric-speech-length
- / text-speech-length
+text-speech-length = 1*UTFCHAR SP "Tag"
-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
+numeric-speech-unit = "Second"
+ / "Word"
+ / "Sentence"
+ / "Paragraph"
+
+kill-on-barge-in = "Kill-On-Barge-In" ":" BOOLEAN
+ CRLF
-speaker-profile = "Speaker-Profile" ":" uri CRLF
+speaker-profile = "Speaker-Profile" ":" uri CRLF
completion-cause = "Completion-Cause" ":" cause-code SP
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
-completion-reason = "Completion-Reason" ":"
+completion-reason = "Completion-Reason" ":"
quoted-string CRLF
voice-parameter = voice-gender
@@ -11913,8 +11913,8 @@
voice-name = "Voice-Name:"
1*UTFCHAR *(1*WSP 1*UTFCHAR) CRLF
-prosody-parameter = "Prosody-" prosody-param-name ":"
- prosody-param-value CRLF
+prosody-parameter = "Prosody-" prosody-param-name ":"
+ prosody-param-value CRLF
prosody-param-name = 1*VCHAR
@@ -11929,44 +11929,44 @@
[";" 1*(UTFCHAR / %x20)] CRLF
speech-language = "Speech-Language" ":"
- 1*VCHAR CRLF
+ 1*VCHAR CRLF
fetch-hint = "Fetch-Hint" ":"
- ("prefetch" / "safe") CRLF
+ ("prefetch" / "safe") CRLF
-audio-fetch-hint = "Audio-Fetch-Hint" ":"
- ("prefetch" / "safe" / "stream") CRLF
+audio-fetch-hint = "Audio-Fetch-Hint" ":"
+ ("prefetch" / "safe" / "stream") CRLF
-failed-uri = "Failed-URI" ":" absoluteURI CRLF
+failed-uri = "Failed-URI" ":" absoluteURI CRLF
-failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR CRLF
+failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR CRLF
-speak-restart = "Speak-Restart" ":" BOOLEAN CRLF
+speak-restart = "Speak-Restart" ":" BOOLEAN CRLF
-speak-length = "Speak-Length" ":" positive-length-value
- CRLF
+speak-length = "Speak-Length" ":" positive-length-value
+ CRLF
-positive-length-value = positive-speech-length
- / text-speech-length
+positive-length-value = positive-speech-length
+ / text-speech-length
load-lexicon = "Load-Lexicon" ":" BOOLEAN CRLF
-lexicon-search-order = "Lexicon-Search-Order" ":"
+lexicon-search-order = "Lexicon-Search-Order" ":"
"<" absoluteURI ">" *(" " "<" absoluteURI ">") CRLF
-; Recognizer ABNF
+; Recognizer ABNF
recognizer-method = recog-only-method
/ enrollment-method
-recog-only-method = "DEFINE-GRAMMAR"
- / "RECOGNIZE"
+recog-only-method = "DEFINE-GRAMMAR"
+ / "RECOGNIZE"
/ "INTERPRET"
- / "GET-RESULT"
- / "START-INPUT-TIMERS"
+ / "GET-RESULT"
+ / "START-INPUT-TIMERS"
/ "STOP"
-enrollment-method = "START-PHRASE-ENROLLMENT"
+enrollment-method = "START-PHRASE-ENROLLMENT"
/ "ENROLLMENT-ROLLBACK"
/ "END-PHRASE-ENROLLMENT"
/ "MODIFY-PHRASE"
@@ -11980,30 +11980,30 @@
/ enrollment-header
-recog-only-header = confidence-threshold
- / sensitivity-level
- / speed-vs-accuracy
- / n-best-list-length
- / input-type
- / no-input-timeout
- / recognition-timeout
- / waveform-uri
- / input-waveform-uri
- / completion-cause
+recog-only-header = confidence-threshold
+ / sensitivity-level
+ / speed-vs-accuracy
+ / n-best-list-length
+ / input-type
+ / no-input-timeout
+ / recognition-timeout
+ / waveform-uri
+ / input-waveform-uri
+ / completion-cause
/ completion-reason
- / recognizer-context-block
- / start-input-timers
- / speech-complete-timeout
- / speech-incomplete-timeout
- / dtmf-interdigit-timeout
- / dtmf-term-timeout
- / dtmf-term-char
- / failed-uri
- / failed-uri-cause
- / save-waveform
+ / recognizer-context-block
+ / start-input-timers
+ / speech-complete-timeout
+ / speech-incomplete-timeout
+ / dtmf-interdigit-timeout
+ / dtmf-term-timeout
+ / dtmf-term-char
+ / failed-uri
+ / failed-uri-cause
+ / save-waveform
/ media-type
/ new-audio-channel
- / speech-language
+ / speech-language
/ ver-buffer-utterance
/ recognition-mode
/ cancel-if-queue
@@ -12016,66 +12016,66 @@
enrollment-header = num-min-consistent-pronunciations
- / consistency-threshold
- / clash-threshold
- / personal-grammar-uri
+ / consistency-threshold
+ / clash-threshold
+ / personal-grammar-uri
/ enroll-utterance
- / phrase-id
- / phrase-nl
- / weight
- / save-best-waveform
- / new-phrase-id
- / confusable-phrases-uri
+ / phrase-id
+ / phrase-nl
+ / weight
+ / save-best-waveform
+ / new-phrase-id
+ / confusable-phrases-uri
/ abort-phrase-enrollment
-confidence-threshold = "Confidence-Threshold" ":"
- FLOAT CRLF
+confidence-threshold = "Confidence-Threshold" ":"
+ FLOAT CRLF
sensitivity-level = "Sensitivity-Level" ":" FLOAT
- CRLF
+ CRLF
-speed-vs-accuracy = "Speed-Vs-Accuracy" ":" FLOAT
- CRLF
+speed-vs-accuracy = "Speed-Vs-Accuracy" ":" FLOAT
+ CRLF
-n-best-list-length = "N-Best-List-Length" ":" 1*19DIGIT
- CRLF
+n-best-list-length = "N-Best-List-Length" ":" 1*19DIGIT
+ CRLF
input-type = "Input-Type" ":" inputs CRLF
inputs = "speech" / "dtmf"
-no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT
- CRLF
+no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT
+ CRLF
recognition-timeout = "Recognition-Timeout" ":" 1*19DIGIT
- CRLF
+ CRLF
-waveform-uri = "Waveform-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
- ";" "duration" "=" 1*19DIGIT] CRLF
+waveform-uri = "Waveform-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
+ ";" "duration" "=" 1*19DIGIT] CRLF
-recognizer-context-block = "Recognizer-Context-Block" ":"
- [1*VCHAR] CRLF
+recognizer-context-block = "Recognizer-Context-Block" ":"
+ [1*VCHAR] CRLF
-start-input-timers = "Start-Input-Timers" ":"
- BOOLEAN CRLF
-
-speech-complete-timeout = "Speech-Complete-Timeout" ":"
- 1*19DIGIT CRLF
+start-input-timers = "Start-Input-Timers" ":"
+ BOOLEAN CRLF
-speech-incomplete-timeout = "Speech-Incomplete-Timeout" ":"
- 1*19DIGIT CRLF
+speech-complete-timeout = "Speech-Complete-Timeout" ":"
+ 1*19DIGIT CRLF
+
+speech-incomplete-timeout = "Speech-Incomplete-Timeout" ":"
+ 1*19DIGIT CRLF
-dtmf-interdigit-timeout = "DTMF-Interdigit-Timeout" ":"
- 1*19DIGIT CRLF
+dtmf-interdigit-timeout = "DTMF-Interdigit-Timeout" ":"
+ 1*19DIGIT CRLF
-dtmf-term-timeout = "DTMF-Term-Timeout" ":" 1*19DIGIT
- CRLF
+dtmf-term-timeout = "DTMF-Term-Timeout" ":" 1*19DIGIT
+ CRLF
-dtmf-term-char = "DTMF-Term-Char" ":" VCHAR CRLF
+dtmf-term-char = "DTMF-Term-Char" ":" VCHAR CRLF
-save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
+save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
-new-audio-channel = "New-Audio-Channel" ":"
+new-audio-channel = "New-Audio-Channel" ":"
BOOLEAN CRLF
recognition-mode = "Recognition-Mode" ":"
@@ -12083,13 +12083,13 @@
cancel-if-queue = "Cancel-If-Queue" ":" BOOLEAN CRLF
-hotword-max-duration = "Hotword-Max-Duration" ":"
+hotword-max-duration = "Hotword-Max-Duration" ":"
1*19DIGIT CRLF
-hotword-min-duration = "Hotword-Min-Duration" ":"
+hotword-min-duration = "Hotword-Min-Duration" ":"
1*19DIGIT CRLF
-interpret-text = "Interpret-Text" ":" 1*VCHAR CRLF
+interpret-text = "Interpret-Text" ":" 1*VCHAR CRLF
dtmf-buffer-time = "DTMF-Buffer-Time" ":" 1*19DIGIT CRLF
@@ -12097,13 +12097,13 @@
early-no-match = "Early-No-Match" ":" BOOLEAN CRLF
-num-min-consistent-pronunciations =
- "Num-Min-Consistent-Pronunciations" ":" 1*19DIGIT CRLF
+num-min-consistent-pronunciations =
+ "Num-Min-Consistent-Pronunciations" ":" 1*19DIGIT CRLF
-consistency-threshold = "Consistency-Threshold" ":" FLOAT
+consistency-threshold = "Consistency-Threshold" ":" FLOAT
CRLF
-
+
clash-threshold = "Clash-Threshold" ":" FLOAT CRLF
personal-grammar-uri = "Personal-Grammar-URI" ":" uri CRLF
@@ -12116,15 +12116,15 @@
weight = "Weight" ":" FLOAT CRLF
-save-best-waveform = "Save-Best-Waveform" ":"
+save-best-waveform = "Save-Best-Waveform" ":"
BOOLEAN CRLF
new-phrase-id = "New-Phrase-ID" ":" 1*VCHAR CRLF
-confusable-phrases-uri = "Confusable-Phrases-URI" ":"
+confusable-phrases-uri = "Confusable-Phrases-URI" ":"
uri CRLF
-abort-phrase-enrollment = "Abort-Phrase-Enrollment" ":"
+abort-phrase-enrollment = "Abort-Phrase-Enrollment" ":"
BOOLEAN CRLF
@@ -12150,11 +12150,11 @@
/ final-silence
/ capture-on-speech
/ ver-buffer-utterance
- / start-input-timers
+ / start-input-timers
/ new-audio-channel
-record-uri = "Record-URI" ":" [ "<" uri ">"
- ";" "size" "=" 1*19DIGIT
+record-uri = "Record-URI" ":" [ "<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
media-type = "Media-Type" ":" media-type-value CRLF
@@ -12165,7 +12165,7 @@
final-silence = "Final-Silence" ":" 1*19DIGIT CRLF
-capture-on-speech = "Capture-On-Speech " ":"
+capture-on-speech = "Capture-On-Speech " ":"
BOOLEAN CRLF
@@ -12188,38 +12188,38 @@
/ "START-OF-INPUT"
-verifier-header = repository-uri
+verifier-header = repository-uri
/ voiceprint-identifier
- / verification-mode
- / adapt-model
- / abort-model
- / min-verification-score
+ / verification-mode
+ / adapt-model
+ / abort-model
+ / min-verification-score
/ num-min-verification-phrases
/ num-max-verification-phrases
- / no-input-timeout
- / save-waveform
+ / no-input-timeout
+ / save-waveform
/ media-type
- / waveform-uri
- / voiceprint-exists
- / ver-buffer-utterance
- / input-waveform-uri
- / completion-cause
+ / waveform-uri
+ / voiceprint-exists
+ / ver-buffer-utterance
+ / input-waveform-uri
+ / completion-cause
/ completion-reason
- / speech-complete-timeout
+ / speech-complete-timeout
/ new-audio-channel
/ abort-verification
- / start-input-timers
+ / start-input-timers
/ input-type
repository-uri = "Repository-URI" ":" uri CRLF
-voiceprint-identifier = "Voiceprint-Identifier" ":"
+voiceprint-identifier = "Voiceprint-Identifier" ":"
vid *[";" vid] CRLF
vid = 1*VCHAR ["." 1*VCHAR]
-verification-mode = "Verification-Mode" ":"
+verification-mode = "Verification-Mode" ":"
verification-mode-string
verification-mode-string = "train" / "verify"
@@ -12228,25 +12228,25 @@
abort-model = "Abort-Model" ":" BOOLEAN CRLF
-min-verification-score = "Min-Verification-Score" ":"
+min-verification-score = "Min-Verification-Score" ":"
[ %x2D ] FLOAT CRLF
-num-min-verification-phrases = "Num-Min-Verification-Phrases"
+num-min-verification-phrases = "Num-Min-Verification-Phrases"
":" 1*19DIGIT CRLF
-num-max-verification-phrases = "Num-Max-Verification-Phrases"
+num-max-verification-phrases = "Num-Max-Verification-Phrases"
":" 1*19DIGIT CRLF
-
-voiceprint-exists = "Voiceprint-Exists" ":"
+
+voiceprint-exists = "Voiceprint-Exists" ":"
BOOLEAN CRLF
-ver-buffer-utterance = "Ver-Buffer-Utterance" ":"
- BOOLEAN CRLF
+ver-buffer-utterance = "Ver-Buffer-Utterance" ":"
+ BOOLEAN CRLF
input-waveform-uri = "Input-Waveform-URI" ":" uri CRLF
-abort-verification = "Abort-Verification " ":"
- BOOLEAN CRLF ¶
+abort-verification = "Abort-Verification " ":"
+ BOOLEAN CRLF
¶
The following productions add a new SDP session-level attribute. See
Section 13.7.2, Paragraph 7 .¶
@@ -12271,13 +12271,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:ietf:params:xml:ns:mrcpv2"
xmlns="urn:ietf:params:xml:ns:mrcpv2"
- elementFormDefault="qualified"
+ elementFormDefault="qualified"
attributeFormDefault="unqualified" >
<xs:annotation>
- <xs:documentation> Natural Language Semantic Markup Schema
+ <xs:documentation> Natural Language Semantic Markup Schema
</xs:documentation>
</xs:annotation>
<xs:include schemaLocation="enrollment-schema.rng"/>
@@ -12306,12 +12306,12 @@
<xs:attribute name="mode"
type="xs:string"
default="speech"/>
- <xs:attribute name="confidence"
- type="confidenceinfo"
+ <xs:attribute name="confidence"
+ type="confidenceinfo"
default="1.0"/>
- <xs:attribute name="timestamp-start"
+ <xs:attribute name="timestamp-start"
type="xs:string"/>
- <xs:attribute name="timestamp-end"
+ <xs:attribute name="timestamp-end"
type="xs:string"/>
</xs:complexType>
</xs:element>
@@ -12327,7 +12327,7 @@
<xs:element name="verification-result"
type="verification-contents"/>
</xs:sequence>
- <xs:attribute name="grammar" type="xs:anyURI"
+ <xs:attribute name="grammar" type="xs:anyURI"
use="optional"/>
</xs:complexType>
</xs:element>
@@ -12426,7 +12426,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- MRCP Verification Results Schema
+<!-- MRCP Verification Results Schema
(See http://www.oasis-open.org/committees/relax-ng/spec.html)
-->
@@ -12766,23 +12766,23 @@
-Pierre Forgues
-Nuance Communications Ltd.
+Pierre Forgues
+Nuance Communications Ltd.
1500 University Street
Suite 935
-Montreal, Quebec
-Canada H3A 3S7
-
-EMail: forgues@nuance.com
+Montreal, Quebec
+Canada H3A 3S7
+
+EMail: forgues@nuance.com
+
+Charles Galles
+Intervoice, Inc.
+17811 Waterview Parkway
+Dallas, Texas 75252
+USA
-Charles Galles
-Intervoice, Inc.
-17811 Waterview Parkway
-Dallas, Texas 75252
-USA
-
-EMail: charles.galles@intervoice.com
+EMail: charles.galles@intervoice.com
Klaus Reifenrath
@@ -12792,8 +12792,8 @@
9820 Merelbeke
Belgium
-EMail: klaus.reifenrath@scansoft.com
- ¶
+EMail: klaus.reifenrath@scansoft.com
+
¶
@@ -12822,7 +12822,7 @@
Suresh Kaliannan (Cisco Systems, Inc.)
Skip Cave (Intervoice, Inc.)
Thomas Gal (LumenVox)
- ¶
+
¶
The chairs of the SPEECHSC work group are Eric Burger (Georgetown
University) and Dave Oran (Cisco Systems, Inc.).¶
diff -Nru xml2rfc-2.39.0/tests/valid/rfc6787.v3.py36.html xml2rfc-2.40.0/tests/valid/rfc6787.v3.py36.html
--- xml2rfc-2.39.0/tests/valid/rfc6787.v3.py36.html 2019-12-22 18:00:56.000000000 +0000
+++ xml2rfc-2.40.0/tests/valid/rfc6787.v3.py36.html 2020-02-18 20:15:35.000000000 +0000
@@ -21,7 +21,7 @@
established above, allowing the client to control the media processing
resources on the speech resource server.
' name="description">
-
+
@@ -1260,7 +1260,7 @@
|--------------------| || ||
| ||----------------------------------||
SIP |------------------------------------|
- | /
+ | /
|-------------------| RTP
| | /
| Media Source/Sink |---------/
@@ -1345,7 +1345,7 @@
sip:mrcpv2@example.net or
sips:mrcpv2@example.net
- ¶
+ ¶
@@ -1564,69 +1564,69 @@
-C->S: INVITE sip:mresources@example.com SIP/2.0
- Via:SIP/2.0/TCP client.atlanta.example.com:5060;
- branch=z9hG4bK74bf1
- Max-Forwards:6
- To:MediaServer <sip:mresources@example.com>
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314161 INVITE
- Contact:<sip:sarvi@client.example.com>
- Content-Type:application/sdp
+C->S: INVITE sip:mresources@example.com SIP/2.0
+ Via:SIP/2.0/TCP client.atlanta.example.com:5060;
+ branch=z9hG4bK74bf1
+ Max-Forwards:6
+ To:MediaServer <sip:mresources@example.com>
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314161 INVITE
+ Contact:<sip:sarvi@client.example.com>
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=sarvi 2890844526 2890844526 IN IP4 192.0.2.12
- s=-
+
+ v=0
+ o=sarvi 2890844526 2890844526 IN IP4 192.0.2.12
+ s=-
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:new
a=resource:speechsynth
a=cmid:1
- m=audio 49170 RTP/AVP 0
- a=rtpmap:0 pcmu/8000
- a=recvonly
+ m=audio 49170 RTP/AVP 0
+ a=rtpmap:0 pcmu/8000
+ a=recvonly
a=mid:1
-
-S->C: SIP/2.0 200 OK
+
+S->C: SIP/2.0 200 OK
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf1;received=192.0.32.10
- To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314161 INVITE
- Contact:<sip:mresources@server.example.com>
- Content-Type:application/sdp
- Content-Length:...
-
- v=0
- o=- 2890842808 2890842808 IN IP4 192.0.2.11
- s=-
+ To:MediaServer <sip:mresources@example.com>;tag=62784
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314161 INVITE
+ Contact:<sip:mresources@server.example.com>
+ Content-Type:application/sdp
+ Content-Length:...
+
+ v=0
+ o=- 2890842808 2890842808 IN IP4 192.0.2.11
+ s=-
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
+ m=application 32416 TCP/MRCPv2 1
a=setup:passive
a=connection:new
- a=channel:32AECB234338@speechsynth
+ a=channel:32AECB234338@speechsynth
a=cmid:1
- m=audio 48260 RTP/AVP 0
- a=rtpmap:0 pcmu/8000
- a=sendonly
- a=mid:1
-
+ m=audio 48260 RTP/AVP 0
+ a=rtpmap:0 pcmu/8000
+ a=sendonly
+ a=mid:1
+
-C->S: ACK sip:mresources@server.example.com SIP/2.0
+C->S: ACK sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf2
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:Sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314161 ACK
+ From:Sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314161 ACK
Content-Length:0
@@ -1641,83 +1641,83 @@
-C->S: INVITE sip:mresources@server.example.com SIP/2.0
+C->S: INVITE sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf3
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314162 INVITE
- Contact:<sip:sarvi@client.example.com>
- Content-Type:application/sdp
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314162 INVITE
+ Contact:<sip:sarvi@client.example.com>
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=sarvi 2890844526 2890844527 IN IP4 192.0.2.12
+
+ v=0
+ o=sarvi 2890844526 2890844527 IN IP4 192.0.2.12
s=-
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
a=resource:speechsynth
a=cmid:1
- m=audio 49170 RTP/AVP 0 96
- a=rtpmap:0 pcmu/8000
- a=rtpmap:96 telephone-event/8000
- a=fmtp:96 0-15
- a=sendrecv
+ m=audio 49170 RTP/AVP 0 96
+ a=rtpmap:0 pcmu/8000
+ a=rtpmap:96 telephone-event/8000
+ a=fmtp:96 0-15
+ a=sendrecv
a=mid:1
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
a=resource:speechrecog
a=cmid:1
-
-S->C: SIP/2.0 200 OK
+
+S->C: SIP/2.0 200 OK
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf3;received=192.0.32.10
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314162 INVITE
- Contact:<sip:mresources@server.example.com>
- Content-Type:application/sdp
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314162 INVITE
+ Contact:<sip:mresources@server.example.com>
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=- 2890842808 2890842809 IN IP4 192.0.2.11
+
+ v=0
+ o=- 2890842808 2890842809 IN IP4 192.0.2.11
s=-
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
+ m=application 32416 TCP/MRCPv2 1
a=setup:passive
a=connection:existing
a=channel:32AECB234338@speechsynth
a=cmid:1
- m=audio 48260 RTP/AVP 0 96
- a=rtpmap:0 pcmu/8000
- a=rtpmap:96 telephone-event/8000
- a=fmtp:96 0-15
- a=sendrecv
+ m=audio 48260 RTP/AVP 0 96
+ a=rtpmap:0 pcmu/8000
+ a=rtpmap:96 telephone-event/8000
+ a=fmtp:96 0-15
+ a=sendrecv
a=mid:1
- m=application 32416 TCP/MRCPv2 1
+ m=application 32416 TCP/MRCPv2 1
a=setup:passive
a=connection:existing
a=channel:32AECB234338@speechrecog
a=cmid:1
-
-C->S: ACK sip:mresources@server.example.com SIP/2.0
+
+C->S: ACK sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf4
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:Sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314162 ACK
+ From:Sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314162 ACK
Content-Length:0
@@ -1731,71 +1731,71 @@
-C->S: INVITE sip:mresources@server.example.com SIP/2.0
+C->S: INVITE sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf5
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314163 INVITE
- Contact:<sip:sarvi@client.example.com>
- Content-Type:application/sdp
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314163 INVITE
+ Contact:<sip:sarvi@client.example.com>
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=sarvi 2890844526 2890844528 IN IP4 192.0.2.12
+
+ v=0
+ o=sarvi 2890844526 2890844528 IN IP4 192.0.2.12
s=-
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
- a=resource:speechsynth
+ m=application 9 TCP/MRCPv2 1
+ a=resource:speechsynth
a=cmid:1
- m=audio 49170 RTP/AVP 0
- a=rtpmap:0 pcmu/8000
- a=recvonly
+ m=audio 49170 RTP/AVP 0
+ a=rtpmap:0 pcmu/8000
+ a=recvonly
a=mid:1
- m=application 0 TCP/MRCPv2 1
- a=resource:speechrecog
+ m=application 0 TCP/MRCPv2 1
+ a=resource:speechrecog
a=cmid:1
-
-S->C: SIP/2.0 200 OK
+
+S->C: SIP/2.0 200 OK
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf5;received=192.0.32.10
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314163 INVITE
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314163 INVITE
Contact:<sip:mresources@server.example.com>
- Content-Type:application/sdp
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=- 2890842808 2890842810 IN IP4 192.0.2.11
+
+ v=0
+ o=- 2890842808 2890842810 IN IP4 192.0.2.11
s=-
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
- a=channel:32AECB234338@speechsynth
+ m=application 32416 TCP/MRCPv2 1
+ a=channel:32AECB234338@speechsynth
a=cmid:1
- m=audio 48260 RTP/AVP 0
- a=rtpmap:0 pcmu/8000
- a=sendonly
+ m=audio 48260 RTP/AVP 0
+ a=rtpmap:0 pcmu/8000
+ a=sendonly
a=mid:1
- m=application 0 TCP/MRCPv2 1
- a=channel:32AECB234338@speechrecog
+ m=application 0 TCP/MRCPv2 1
+ a=channel:32AECB234338@speechrecog
a=cmid:1
-
-C->S: ACK sip:mresources@server.example.com SIP/2.0
+
+C->S: ACK sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf6
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:Sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314163 ACK
+ From:Sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314163 ACK
Content-Length:0
@@ -1997,7 +1997,7 @@
mrcp-version = "MRCP" "/" 1*2DIGIT "." 1*2DIGIT
- ¶
+
¶
¶
The message-length field specifies the length of the message in
@@ -2015,7 +2015,7 @@
message-length = 1*19DIGIT
- ¶
+
¶
The following sample MRCP exchange demonstrates proper
message-length values. The values for message-length have been removed
@@ -2025,12 +2025,12 @@
C->S: MRCP/2.0 877 INTERPRET 543266
- Channel-Identifier:32AECB23433801@speechrecog
- Interpret-Text:may I speak to Andre Roy
- Content-Type:application/srgs+xml
- Content-ID:<request1@form-level.store>
+ Channel-Identifier:32AECB23433801@speechrecog
+ Interpret-Text:may I speak to Andre Roy
+ Content-Type:application/srgs+xml
+ Content-ID:<request1@form-level.store>
Content-Length:661
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
@@ -2042,7 +2042,7 @@
<item xml:lang="en-US">yes</item>
</one-of>
</rule>
-
+
<!-- single language attachment to a rule expansion -->
<rule id="request">
may I speak to
@@ -2052,16 +2052,16 @@
</one-of>
</rule>
</grammar>
-
+
S->C: MRCP/2.0 82 543266 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 634 INTERPRETATION-COMPLETE 543266 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:441
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -2104,7 +2104,7 @@
request-line = mrcp-version SP message-length SP method-name
SP request-id CRLF
- ¶
+ ¶
The mrcp-version field is the MRCP protocol version that is being
used by the client.¶
@@ -2123,7 +2123,7 @@
/ recognizer-method
/ recorder-method
/ verifier-method
- ¶
+ ¶
The request-id field is a unique identifier representable as an
unsigned 32-bit integer created by the client and sent to the server.
@@ -2144,7 +2144,7 @@
request-id = 1*10DIGIT
- ¶
+
¶
@@ -2162,7 +2162,7 @@
response-line = mrcp-version SP message-length SP request-id
SP status-code SP request-state CRLF
- ¶
+¶
The mrcp-version field MUST contain the version of the request if
supported; otherwise, it MUST contain the highest version of
@@ -2178,7 +2178,7 @@
status-code = 3DIGIT
- ¶
+
¶
The request-state field indicates if the action initiated by the
Request is PENDING, IN-PROGRESS, or COMPLETE. The COMPLETE status means
@@ -2194,7 +2194,7 @@
request-state = "COMPLETE"
/ "IN-PROGRESS"
/ "PENDING"
- ¶
+¶
@@ -2440,7 +2440,7 @@
S->C: MRCP/2.0 ... 543256 200 COMPLETE
Channel-Identifier:32AECB23433802@speechsynth
- ¶
+¶
@@ -2555,7 +2555,7 @@
/ content-length
/ fetch-timeout
/ cache-control
- / logging-tag
+ / logging-tag
/ set-cookie
/ vendor-specific
¶
@@ -2626,7 +2626,7 @@
RECOGNITION-COMPLETE events for the terminated requests.¶
-active-request-id-list = "Active-Request-Id-List" ":"
+active-request-id-list = "Active-Request-Id-List" ":"
request-id *("," request-id) CRLF
¶
@@ -2652,7 +2652,7 @@
proxy-sync-id = "Proxy-Sync-Id" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -2694,7 +2694,7 @@
attribute = token
value = token / quoted-string
- ¶
+¶
@@ -2722,7 +2722,7 @@
content-base = "Content-Base" ":" absoluteURI CRLF
- ¶
+
¶
Note, however, that the base URI of the contents within the
entity-body may be redefined within that entity-body. An example of
@@ -2744,8 +2744,8 @@
on all messages.¶
-content-encoding = "Content-Encoding" ":"
- *WSP content-coding
+content-encoding = "Content-Encoding" ":"
+ *WSP content-coding
*(*WSP "," *WSP content-coding *WSP )
CRLF
¶
@@ -2826,7 +2826,7 @@
fetch-timeout = "Fetch-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -2854,16 +2854,16 @@
on requests.
¶
-cache-control = "Cache-Control" ":"
+cache-control = "Cache-Control" ":"
[*WSP cache-directive
*( *WSP "," *WSP cache-directive *WSP )]
CRLF
-cache-directive = "max-age" "=" delta-seconds
+cache-directive = "max-age" "=" delta-seconds
/ "max-stale" [ "=" delta-seconds ]
- / "min-fresh" "=" delta-seconds
+ / "min-fresh" "=" delta-seconds
-delta-seconds = 1*19DIGIT
+delta-seconds = 1*19DIGIT
¶
Here, delta-seconds is a decimal time value specifying the number
@@ -2929,7 +2929,7 @@
logging-tag = "Logging-Tag" ":" 1*UTFCHAR CRLF
- ¶
+
¶
@@ -3041,10 +3041,10 @@
vendor-specific = "Vendor-Specific-Parameters" ":"
- [vendor-specific-av-pair
- *(";" vendor-specific-av-pair)] CRLF
+ [vendor-specific-av-pair
+ *(";" vendor-specific-av-pair)] CRLF
-vendor-specific-av-pair = vendor-av-pair-name "="
+vendor-specific-av-pair = vendor-av-pair-name "="
value
vendor-av-pair-name = 1*UTFCHAR
@@ -3199,14 +3199,14 @@
Supported:foo
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2890844536 2890842811 IN IP4 192.0.2.12
s=-
i=MRCPv2 server capabilities
c=IN IP4 192.0.2.12/127
t=0 0
- m=application 0 TCP/TLS/MRCPv2 1
+ m=application 0 TCP/TLS/MRCPv2 1
a=resource:speechsynth
a=resource:speechrecog
a=resource:speakverify
@@ -3327,21 +3327,21 @@
is associated with.¶
-synthesizer-header = jump-size
- / kill-on-barge-in
- / speaker-profile
+synthesizer-header = jump-size
+ / kill-on-barge-in
+ / speaker-profile
/ completion-cause
- / completion-reason
- / voice-parameter
+ / completion-reason
+ / voice-parameter
/ prosody-parameter
- / speech-marker
- / speech-language
- / fetch-hint
- / audio-fetch-hint
- / failed-uri
- / failed-uri-cause
- / speak-restart
- / speak-length
+ / speech-marker
+ / speech-language
+ / fetch-hint
+ / audio-fetch-hint
+ / failed-uri
+ / failed-uri-cause
+ / speak-restart
+ / speak-length
/ load-lexicon
/ lexicon-search-order
¶
@@ -3516,7 +3516,7 @@
as an error in parsing the speech markup text.
¶
-completion-reason = "Completion-Reason" ":"
+completion-reason = "Completion-Reason" ":"
quoted-string CRLF
¶
@@ -3648,7 +3648,7 @@
speech-language = "Speech-Language" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -3668,7 +3668,7 @@
fetch-hint = "Fetch-Hint" ":"
("prefetch" / "safe") CRLF
- ¶
+¶
@@ -3689,7 +3689,7 @@
audio-fetch-hint = "Audio-Fetch-Hint" ":"
("prefetch" / "safe" / "stream") CRLF
- ¶
+¶
@@ -3704,7 +3704,7 @@
failed-uri = "Failed-URI" ":" absoluteURI CRLF
- ¶
+
¶
@@ -3735,7 +3735,7 @@
speak-restart = "Speak-Restart" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -3787,7 +3787,7 @@
load-lexicon = "Load-Lexicon" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -3806,7 +3806,7 @@
lexicon-search-order = "Lexicon-Search-Order" ":"
"<" absoluteURI ">" *(" " "<" absoluteURI ">") CRLF
- ¶
+
¶
@@ -3876,7 +3876,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -3910,13 +3910,13 @@
http://www.example.com/ASR-Document-Part1.ssml
http://www.example.com/ASR-Document-Part2.ssml
http://www.example.com/ASR-Conclusion.ssml
-
+
--break
Content-Type:application/ssml+xml
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4012,16 +4012,16 @@
-C->S: MRCP/2.0 ... SPEAK 543257
+C->S: MRCP/2.0 ... SPEAK 543257
Channel-Identifier:32AECB23433802@speechsynth
Voice-gender:neutral
Voice-Age:25
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4033,7 +4033,7 @@
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.
</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody>
</s>
</p>
@@ -4086,7 +4086,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4094,10 +4094,10 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams and arrived at
+ <s>The first is from Stephanie Williams and arrived at
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4128,7 +4128,7 @@
means to communicate the occurrence of the event to the synthesizer
resource.¶
This method is useful in two scenarios:¶
-
+
The client has detected DTMF digits in the input media or some
other barge-in-able event and wants to communicate that to the
synthesizer resource.¶
@@ -4178,7 +4178,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4186,10 +4186,10 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams and arrived at
+ <s>The first is from Stephanie Williams and arrived at
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4237,7 +4237,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4245,11 +4245,11 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams and arrived at
+ <s>The first is from Stephanie Williams and arrived at
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4293,9 +4293,9 @@
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4303,10 +4303,10 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams and arrived at
+ <s>The first is from Stephanie Williams and arrived at
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4375,9 +4375,9 @@
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4446,7 +4446,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4457,7 +4457,7 @@
<s>The first is from Stephanie Williams
and arrived at <break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4504,9 +4504,9 @@
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4518,7 +4518,7 @@
and arrived at <break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
<mark name="here"/>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody>
</s>
<mark name="ANSWER"/>
@@ -4588,7 +4588,7 @@
generate asynchronous events to the client to indicate conditions of
interest during the processing of the method.¶
This section applies to the following resource types.¶
-
+
speechrecog¶
dtmfrecog¶
@@ -4688,7 +4688,7 @@
| STOP |
|<------| |
|<-------------------STOP--------------------------|
- |<-------------------DEFINE-GRAMMAR----------------|
+ |<-------------------DEFINE-GRAMMAR----------------|
Figure 19 :
@@ -4862,7 +4862,7 @@
sensitivity-level = "Sensitivity-Level" ":" FLOAT CRLF
- ¶
+
¶
@@ -4883,7 +4883,7 @@
speed-vs-accuracy = "Speed-Vs-Accuracy" ":" FLOAT CRLF
- ¶
+
¶
@@ -4905,7 +4905,7 @@
n-best-list-length = "N-Best-List-Length" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -4920,7 +4920,7 @@
input-type = "Input-Type" ":" inputs CRLF
inputs = "speech" / "dtmf"
- ¶
+¶
@@ -4939,7 +4939,7 @@
no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -4957,7 +4957,7 @@
recognition-timeout = "Recognition-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -4991,10 +4991,10 @@
associated with the header field.¶
-waveform-uri = "Waveform-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
+waveform-uri = "Waveform-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
- ¶
+
¶
@@ -5007,9 +5007,9 @@
captured and returned by the Waveform-URI header field.¶
-media-type = "Media-Type" ":" media-type-value
+media-type = "Media-Type" ":" media-type-value
CRLF
- ¶
+
¶
@@ -5023,7 +5023,7 @@
input-waveform-uri = "Input-Waveform-URI" ":" uri CRLF
- ¶
+
¶
@@ -5044,7 +5044,7 @@
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
- ¶
+¶
Table 6
@@ -5178,9 +5178,9 @@
interpret the completion reason text.¶
-completion-reason = "Completion-Reason" ":"
+completion-reason = "Completion-Reason" ":"
quoted-string CRLF
- ¶
+
¶
@@ -5208,7 +5208,7 @@
recognizer-context-block = "Recognizer-Context-Block" ":"
[1*VCHAR] CRLF
- ¶
+¶
@@ -5253,7 +5253,7 @@
speech-complete-timeout = "Speech-Complete-Timeout" ":"
1*19DIGIT CRLF
- ¶
+¶
A long Speech-Complete-Timeout value delays the result to the
client and therefore makes the application's response to a user
@@ -5280,9 +5280,9 @@
implementation specific.¶
-speech-incomplete-timeout = "Speech-Incomplete-Timeout" ":" 1*19DIGIT
+speech-incomplete-timeout = "Speech-Incomplete-Timeout" ":" 1*19DIGIT
CRLF
- ¶
+
¶
The Speech-Incomplete-Timeout also applies when the speech prior
to the silence is a complete match of an active grammar, but where
@@ -5312,7 +5312,7 @@
dtmf-interdigit-timeout = "DTMF-Interdigit-Timeout" ":"
1*19DIGIT CRLF
- ¶
+¶
@@ -5328,7 +5328,7 @@
dtmf-term-timeout = "DTMF-Term-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -5342,7 +5342,7 @@
dtmf-term-char = "DTMF-Term-Char" ":" VCHAR CRLF
- ¶
+
¶
@@ -5357,7 +5357,7 @@
failed-uri = "Failed-URI" ":" absoluteURI CRLF
- ¶
+
¶
@@ -5374,7 +5374,7 @@
failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR CRLF
- ¶
+
¶
@@ -5395,7 +5395,7 @@
save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5420,9 +5420,9 @@
session for multiple telephone calls.
¶
-new-audio-channel = "New-Audio-Channel" ":" BOOLEAN
+new-audio-channel = "New-Audio-Channel" ":" BOOLEAN
CRLF
- ¶
+
¶
@@ -5437,7 +5437,7 @@
speech-language = "Speech-Language" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -5523,7 +5523,7 @@
hotword-max-duration = "Hotword-Max-Duration" ":" 1*19DIGIT
CRLF
- ¶
+¶
@@ -5543,7 +5543,7 @@
hotword-min-duration = "Hotword-Min-Duration" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -5560,8 +5560,8 @@
the INTERPRET method.
¶
-interpret-text = "Interpret-Text" ":" 1*VCHAR CRLF
- ¶
+interpret-text = "Interpret-Text" ":" 1*VCHAR CRLF
+
¶
@@ -5581,7 +5581,7 @@
dtmf-buffer-time = "DTMF-Buffer-Time" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -5599,7 +5599,7 @@
clear-dtmf-buffer = "Clear-DTMF-Buffer" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5617,7 +5617,7 @@
early-no-match = "Early-No-Match" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5631,9 +5631,9 @@
implementation specific and MAY be greater than 1.¶
-num-min-consistent-pronunciations =
+num-min-consistent-pronunciations =
"Num-Min-Consistent-Pronunciations" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -5653,7 +5653,7 @@
consistency-threshold = "Consistency-Threshold" ":" FLOAT CRLF
- ¶
+
¶
@@ -5676,7 +5676,7 @@
clash-threshold = "Clash-Threshold" ":" FLOAT CRLF
- ¶
+
¶
@@ -5695,7 +5695,7 @@
personal-grammar-uri = "Personal-Grammar-URI" ":" uri CRLF
- ¶
+
¶
@@ -5711,7 +5711,7 @@
enroll-utterance = "Enroll-Utterance" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5728,7 +5728,7 @@
phrase-id = "Phrase-ID" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -5743,7 +5743,7 @@
phrase-nl = "Phrase-NL" ":" 1*UTFCHAR CRLF
- ¶
+
¶
@@ -5769,7 +5769,7 @@
weight = "Weight" ":" FLOAT CRLF
- ¶
+
¶
@@ -5789,7 +5789,7 @@
save-best-waveform = "Save-Best-Waveform" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5803,7 +5803,7 @@
new-phrase-id = "New-Phrase-ID" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -5818,7 +5818,7 @@
confusable-phrases-uri = "Confusable-Phrases-URI" ":" uri CRLF
- ¶
+
¶
@@ -5830,9 +5830,9 @@
phrase to the personal grammar.¶
-abort-phrase-enrollment = "Abort-Phrase-Enrollment" ":"
+abort-phrase-enrollment = "Abort-Phrase-Enrollment" ":"
BOOLEAN CRLF
- ¶
+
¶
@@ -5936,8 +5936,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -6012,8 +6012,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -6159,7 +6159,7 @@
uncertainty in speech recognition or natural language
understanding. There are at least two reasons for providing
multiple interpretations:¶
-
+
The client application might have additional information,
for example, information from a database, that would allow it
to select a preferred interpretation from among the possible
@@ -6181,7 +6181,7 @@
These are elements and attributes representing additional
information about the interpretation, over and above the
interpretation itself. Side information includes:¶
-
+
Whether an interpretation was achieved (the <nomatch>
element) and the system's confidence in an interpretation (the
"confidence" attribute of <interpretation>).¶
@@ -6213,7 +6213,7 @@
9.6.2. Overview of Recognizer Result Elements and Their Relationships
The recognizer elements in NLSML fall into two categories:¶
-
+
description of the input that was processed, and¶
description of the meaning which was extracted from the
@@ -6267,7 +6267,7 @@
result, it can be overridden for individual interpretations at the
<interpretation> level.¶
Attributes:¶
-
+
grammar: The grammar or recognition rule matched by this
result. The format of the grammar attribute will match the
rule reference semantics defined in the grammar specification.
@@ -6288,7 +6288,7 @@
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
- grammar="http://www.example.com/grammar">
+ grammar="http://www.example.com/grammar">
<interpretation>
....
</interpretation>
@@ -6303,7 +6303,7 @@
An <interpretation> element contains a single semantic
interpretation.¶
Attributes:¶
-
+
confidence: A float value from 0.0-1.0 indicating the
semantic analyzer's confidence in this interpretation. A value
of 1.0 indicates maximum confidence. The values are
@@ -6359,7 +6359,7 @@
objects created, nor any semantic translation, the instance value
is the same as the input value.¶
Attributes:¶
-
+
confidence: Each element of the instance MAY have a
confidence attribute, defined in the NLSML namespace. The
confidence attribute contains a float value in the range from
@@ -6380,7 +6380,7 @@
<state>CA</state>
<zip>90952</zip>
</nameAddress>
-</instance>
+</instance>
<input>
My address is 123 Maple Street,
Mill Valley, California, 90952
@@ -6393,7 +6393,7 @@
<instance>
I would like to buy a coca-cola
-</instance>
+</instance>
<input>
I would like to buy a coke
</input>
@@ -6418,7 +6418,7 @@
spoken utterance, in ISO 8601
format [ISO.8601.1988 ] .¶
Attributes:¶
-
+
timestamp-start: The time at which the input began.
(optional)¶
@@ -6441,7 +6441,7 @@
When there is no time zone designator, ISO 8601 time
representations default to local time.¶
There are three possible formats for the <input> element.¶
-
+
The <input> element can contain simple text:¶
@@ -6465,12 +6465,12 @@
for individual words and word-level confidences.
¶
- <input>
+ <input>
<input mode="speech" confidence="0.5"
- timestamp-start="2000-04-03T0:00:00"
+ timestamp-start="2000-04-03T0:00:00"
timestamp-end="2000-04-03T0:00:00.2">fried</input>
<input mode="speech" confidence="1.0"
- timestamp-start="2000-04-03T0:00:00.25"
+ timestamp-start="2000-04-03T0:00:00.25"
timestamp-end="2000-04-03T0:00:00.6">onions</input>
</input>
¶
@@ -6497,14 +6497,14 @@
<interpretation>
<instance/>
- <input confidence="0.1">
+ <input confidence="0.1">
<nomatch/>
</input>
</interpretation>
-<interpretation>
- <instance/>
- <input mode="speech" confidence="0.1">
- <nomatch>I want to go to New York</nomatch>
+<interpretation>
+ <instance/>
+ <input mode="speech" confidence="0.1">
+ <nomatch>I want to go to New York</nomatch>
</input>
</interpretation>
¶
@@ -6533,7 +6533,7 @@
in DTMF modality". For example, to represent garbled speech
combined with DTMF "1 2 3 4", the markup would be:
¶
-
<input>
+<input>
<input mode="speech"><nomatch/></input>
<input mode="dtmf">1 2 3 4</input>
</input> ¶
@@ -6555,7 +6555,7 @@
<enrollment‑result> element under <result>. The elements
are described below and have the schema defined in Section 16.2 . The following elements
are defined:¶
-
+
num-clashes¶
num-good-repetitions¶
@@ -6686,8 +6686,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -6737,8 +6737,8 @@
"http://www.w3.org/TR/speech-grammar/grammar.dtd">
<grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/2001/06/grammar
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.w3.org/2001/06/grammar
http://www.w3.org/TR/speech-grammar/grammar.xsd"
version="1.0" mode="voice" root="basicCmd">
@@ -6748,7 +6748,7 @@
<example> please move the window </example>
<example> open a file </example>
- <ruleref
+ <ruleref
uri="http://grammar.example.com/politeness.grxml#startPolite"/>
<ruleref uri="#command"/>
@@ -6806,7 +6806,7 @@
S->C:MRCP/2.0 ... START-OF-INPUT 543260 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C:MRCP/2.0 ... RECOGNITION-COMPLETE 543260 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
@@ -6864,7 +6864,7 @@
useful in applications like VoiceXML browsers to order grammars
specified at the dialog, document, and root level of a VoiceXML
application.¶
-
+
The grammar MAY be placed directly in the message body as typed
content. If more than one grammar is included in the body, the
order of inclusion controls the corresponding precedence for the
@@ -6961,7 +6961,7 @@
the Speech-Complete-Timer is started. If it matches partially with one
or more of the active grammars, with more speech needed before a full
match is achieved, then the Speech-Incomplete-Timer is started.¶
-
+
When the No-Input-Timer expires, the recognizer MUST complete
with a Completion-Cause code of "no-input-timeout".¶
@@ -7006,7 +7006,7 @@
For recognition in hotword mode:¶
Note that for recognition in hotword mode the START-OF-INPUT event is
not generated when speech or a DTMF digit is detected.¶
-
+
When the No-Input-Timer expires, the recognizer MUST complete
with a Completion-Cause code of "no-input-timeout".¶
@@ -7043,7 +7043,7 @@
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
-<grammar xmlns="http://www.w3.org/2001/06/grammar"
+<grammar xmlns="http://www.w3.org/2001/06/grammar"
xml:lang="en-US" version="1.0" root="request">
<!-- single language attachment to tokens -->
@@ -7051,8 +7051,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -7070,7 +7070,7 @@
S->C:MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C:MRCP/2.0 ... RECOGNITION-COMPLETE 543257 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
@@ -7100,14 +7100,14 @@
occur in normal usage.¶
-C->S: MRCP/2.0 ... RECOGNIZE 543257
- Channel-Identifier:32AECB23433801@speechrecog
- Confidence-Threshold:0.9
+C->S: MRCP/2.0 ... RECOGNIZE 543257
+ Channel-Identifier:32AECB23433801@speechrecog
+ Confidence-Threshold:0.9
Fetch-Timeout:20
- Content-Type:application/srgs+xml
+ Content-Type:application/srgs+xml
Content-Length:...
-
- <?xml version="1.0"? Version="1.0" mode="voice"
+
+ <?xml version="1.0"? Version="1.0" mode="voice"
root="Basic md">
<rule id="rule_list" scope="public">
<one-of>
@@ -7151,7 +7151,7 @@
Content-Type:application/srgs+xml
Content-ID:<request1@form-level.store>
Content-Length:...
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
@@ -7163,8 +7163,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -7209,13 +7209,13 @@
C->S: MRCP/2.0 ... GET-RESULT 543257
Channel-Identifier:32AECB23433801@speechrecog
Confidence-Threshold:0.9
-
+
S->C: MRCP/2.0 ... 543257 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -7297,7 +7297,7 @@
Content-Type:application/srgs+xml
Content-ID:<request1@form-level.store>
Content-Length:...
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
@@ -7309,8 +7309,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -7327,7 +7327,7 @@
S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... RECOGNITION-COMPLETE 543257 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
@@ -7335,7 +7335,7 @@
size=342456;duration=25435
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -7360,22 +7360,22 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version= "1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="Personal-Grammar-URI">
<enrollment-result>
<num-clashes> 2 </num-clashes>
<num-good-repetitions> 1 </num-good-repetitions>
- <num-repetitions-still-needed>
- 1
+ <num-repetitions-still-needed>
+ 1
</num-repetitions-still-needed>
<consistency-status> consistent </consistency-status>
- <clash-phrase-ids>
- <item> Jeff </item> <item> Andre </item>
+ <clash-phrase-ids>
+ <item> Jeff </item> <item> Andre </item>
</clash-phrase-ids>
<transcriptions>
- <item> m ay b r ow k er </item>
+ <item> m ay b r ow k er </item>
<item> m ax r aa k ah </item>
</transcriptions>
<confusable-phrases>
@@ -7483,7 +7483,7 @@
C->S: MRCP/2.0 ... END-PHRASE-ENROLLMENT 543262
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... 543262 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
@@ -7503,7 +7503,7 @@
effect.¶
-C->S: MRCP/2.0 ... MODIFY-PHRASE 543265
+C->S: MRCP/2.0 ... MODIFY-PHRASE 543265
Channel-Identifier:32AECB23433801@speechrecog
Personal-Grammar-URI:<personal grammar uri>
Phrase-Id:<phrase id>
@@ -7511,7 +7511,7 @@
Phrase-NL:<NL phrase>
Weight:1
-S->C: MRCP/2.0 ... 543265 200 COMPLETE
+S->C: MRCP/2.0 ... 543265 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog ¶
@@ -7557,56 +7557,56 @@
C->S: MRCP/2.0 ... INTERPRET 543266
- Channel-Identifier:32AECB23433801@speechrecog
- Interpret-Text:may I speak to Andre Roy
- Content-Type:application/srgs+xml
- Content-ID:<request1@form-level.store>
+ Channel-Identifier:32AECB23433801@speechrecog
+ Interpret-Text:may I speak to Andre Roy
+ Content-Type:application/srgs+xml
+ Content-ID:<request1@form-level.store>
Content-Length:...
-
- <?xml version="1.0"?>
- <!-- the default grammar language is US English -->
+
+ <?xml version="1.0"?>
+ <!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
- xml:lang="en-US" version="1.0" root="request">
- <!-- single language attachment to tokens -->
- <rule id="yes">
- <one-of>
- <item xml:lang="fr-CA">oui</item>
- <item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
-
- <!-- single language attachment to a rule expansion -->
- <rule id="request">
- may I speak to
- <one-of xml:lang="fr-CA">
- <item>Michel Tremblay</item>
- <item>Andre Roy</item>
- </one-of>
- </rule>
- </grammar>
-
+ xml:lang="en-US" version="1.0" root="request">
+ <!-- single language attachment to tokens -->
+ <rule id="yes">
+ <one-of>
+ <item xml:lang="fr-CA">oui</item>
+ <item xml:lang="en-US">yes</item>
+ </one-of>
+ </rule>
+
+ <!-- single language attachment to a rule expansion -->
+ <rule id="request">
+ may I speak to
+ <one-of xml:lang="fr-CA">
+ <item>Michel Tremblay</item>
+ <item>Andre Roy</item>
+ </one-of>
+ </rule>
+ </grammar>
+
S->C: MRCP/2.0 ... 543266 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... INTERPRETATION-COMPLETE 543266 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
- Completion-Cause:000 success
- Content-Type:application/nlsml+xml
+ Completion-Cause:000 success
+ Content-Type:application/nlsml+xml
Content-Length:...
-
- <?xml version="1.0"?>
+
+ <?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
- grammar="session:request1@form-level.store">
- <interpretation>
- <instance name="Person">
- <ex:Person>
- <ex:Name> Andre Roy </ex:Name>
- </ex:Person>
- </instance>
- <input> may I speak to Andre Roy </input>
- </interpretation>
- </result>
+ grammar="session:request1@form-level.store">
+ <interpretation>
+ <instance name="Person">
+ <ex:Person>
+ <ex:Name> Andre Roy </ex:Name>
+ </ex:Person>
+ </instance>
+ <input> may I speak to Andre Roy </input>
+ </interpretation>
+ </result>
¶
@@ -7625,55 +7625,55 @@
C->S: MRCP/2.0 ... INTERPRET 543266
- Channel-Identifier:32AECB23433801@speechrecog
- Interpret-Text:may I speak to Andre Roy
- Content-Type:application/srgs+xml
- Content-ID:<request1@form-level.store>
+ Channel-Identifier:32AECB23433801@speechrecog
+ Interpret-Text:may I speak to Andre Roy
+ Content-Type:application/srgs+xml
+ Content-ID:<request1@form-level.store>
Content-Length:...
-
- <?xml version="1.0"?>
- <!-- the default grammar language is US English -->
+
+ <?xml version="1.0"?>
+ <!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
- xml:lang="en-US" version="1.0" root="request">
- <!-- single language attachment to tokens -->
- <rule id="yes">
- <one-of>
+ xml:lang="en-US" version="1.0" root="request">
+ <!-- single language attachment to tokens -->
+ <rule id="yes">
+ <one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
</one-of>
</rule>
-
- <!-- single language attachment to a rule expansion -->
- <rule id="request">
- may I speak to
- <one-of xml:lang="fr-CA">
- <item>Michel Tremblay</item>
- <item>Andre Roy</item>
- </one-of>
- </rule>
- </grammar>
-
+
+ <!-- single language attachment to a rule expansion -->
+ <rule id="request">
+ may I speak to
+ <one-of xml:lang="fr-CA">
+ <item>Michel Tremblay</item>
+ <item>Andre Roy</item>
+ </one-of>
+ </rule>
+ </grammar>
+
S->C: MRCP/2.0 ... 543266 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... INTERPRETATION-COMPLETE 543266 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
- Completion-Cause:000 success
- Content-Type:application/nlsml+xml
+ Completion-Cause:000 success
+ Content-Type:application/nlsml+xml
Content-Length:...
-
- <?xml version="1.0"?>
+
+ <?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
- grammar="session:request1@form-level.store">
- <interpretation>
- <instance name="Person">
- <ex:Person>
- <ex:Name> Andre Roy </ex:Name>
- </ex:Person>
- </instance>
- <input> may I speak to Andre Roy </input>
- </interpretation>
+ grammar="session:request1@form-level.store">
+ <interpretation>
+ <instance name="Person">
+ <ex:Person>
+ <ex:Name> Andre Roy </ex:Name>
+ </ex:Person>
+ </instance>
+ <input> may I speak to Andre Roy </input>
+ </interpretation>
</result>
¶
@@ -7696,7 +7696,7 @@
This resource captures received audio and video and stores it as
content pointed to by a URI. The main usages of recorders are¶
-
+
to capture speech audio that may be submitted for recognition at
a later time, and¶
@@ -7756,7 +7756,7 @@
recorder-method = "RECORD"
/ "STOP"
/ "START-INPUT-TIMERS"
- ¶
+ ¶
@@ -7768,7 +7768,7 @@
recorder-event = "START-OF-INPUT"
/ "RECORD-COMPLETE"
- ¶
+ ¶
@@ -7781,7 +7781,7 @@
associated with.¶
-recorder-header = sensitivity-level
+recorder-header = sensitivity-level
/ no-input-timeout
/ completion-cause
/ completion-reason
@@ -7796,7 +7796,7 @@
/ ver-buffer-utterance
/ start-input-timers
/ new-audio-channel
- ¶
+
¶
@@ -7812,7 +7812,7 @@
sensitivity-level = "Sensitivity-Level" ":" FLOAT CRLF
- ¶
+
¶
@@ -7830,7 +7830,7 @@
no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -7851,7 +7851,7 @@
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
- ¶
+¶
Table 7
@@ -7908,7 +7908,7 @@
completion-reason = "Completion-Reason" ":"
quoted-string CRLF
- ¶
+¶
@@ -7921,7 +7921,7 @@
failed-uri = "Failed-URI" ":" absoluteURI CRLF
- ¶
+
¶
@@ -7937,9 +7937,9 @@
response code.¶
-failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR
+failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR
CRLF
- ¶
+
¶
@@ -7966,10 +7966,10 @@
implementations already exist that support other schemes.
¶
-record-uri = "Record-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
+record-uri = "Record-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
- ¶
+
¶
@@ -7981,9 +7981,9 @@
to the server the media type of the captured audio or video.¶
-media-type = "Media-Type" ":" media-type-value
+media-type = "Media-Type" ":" media-type-value
CRLF
- ¶
+
¶
@@ -8006,7 +8006,7 @@
max-time = "Max-Time" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8020,7 +8020,7 @@
trim-length = "Trim-Length" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8039,7 +8039,7 @@
final-silence = "Final-Silence" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8055,7 +8055,7 @@
capture-on-speech = "Capture-On-Speech " ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8091,7 +8091,7 @@
start-input-timers = "Start-Input-Timers" ":"
BOOLEAN CRLF
- ¶
+¶
@@ -8148,20 +8148,20 @@
C->S: MRCP/2.0 ... RECORD 543257
Channel-Identifier:32AECB23433802@recorder
- Record-URI:<file://mediaserver/recordings/myfile.wav>
+ Record-URI:<file://mediaserver/recordings/myfile.wav>
Media-Type:audio/wav
Capture-On-Speech:true
Final-Silence:300
Max-Time:6000
-
-S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
- Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
+ Channel-Identifier:32AECB23433802@recorder
Completion-Cause:000 success-silence
Record-URI:<file://mediaserver/recordings/myfile.wav>;
size=242552;duration=25645
@@ -8194,23 +8194,23 @@
C->S: MRCP/2.0 ... RECORD 543257
Channel-Identifier:32AECB23433802@recorder
- Record-URI:<file://mediaserver/recordings/myfile.wav>
+ Record-URI:<file://mediaserver/recordings/myfile.wav>
Capture-On-Speech:true
Final-Silence:300
Max-Time:6000
-
-S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
+
+S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
C->S: MRCP/2.0 ... STOP 543257
- Channel-Identifier:32AECB23433802@recorder
+ Channel-Identifier:32AECB23433802@recorder
Trim-Length:200
-
-S->C: MRCP/2.0 ... 543257 200 COMPLETE
- Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... 543257 200 COMPLETE
+ Channel-Identifier:32AECB23433802@recorder
Record-URI:<file://mediaserver/recordings/myfile.wav>;
size=324253;duration=24561
Active-Request-Id-List:543257
@@ -8235,19 +8235,19 @@
C->S: MRCP/2.0 ... RECORD 543257
Channel-Identifier:32AECB23433802@recorder
- Record-URI:<file://mediaserver/recordings/myfile.wav>
+ Record-URI:<file://mediaserver/recordings/myfile.wav>
Capture-On-Speech:true
Final-Silence:300
Max-Time:6000
-
-S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
- Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
+ Channel-Identifier:32AECB23433802@recorder
Completion-Cause:000 success
Record-URI:<file://mediaserver/recordings/myfile.wav>;
size=325325;duration=24652
@@ -8430,14 +8430,14 @@
| |<---------| |
| | |
|----------| | |
- | STOP | |
+ | STOP | |
|<---------| | |
| |----------| |
| | CLEAR-BUFFER |
| |<---------| |
| | |
|----------| | |
- | CLEAR-BUFFER | |
+ | CLEAR-BUFFER | |
|<---------| | |
| | |
| |----------| |
@@ -8479,7 +8479,7 @@
/ "CLEAR-BUFFER"
/ "START-INPUT-TIMERS"
/ "GET-INTERMEDIATE-RESULT"
- ¶
+ ¶
These methods allow the client to control the mode and target of
verification or identification operations within the context of a
@@ -8497,13 +8497,13 @@
appropriate for the resource, with the header field
Ver‑Buffer‑Utterance. Then, when the following method is called,
verification is performed using the set of buffered audio.¶
-
+
VERIFY-FROM-BUFFER¶
The following methods are used for verification of live audio
utterances:¶
-
+
VERIFY¶
START-INPUT-TIMERS¶
@@ -8511,7 +8511,7 @@
The following methods are used for configuring the verifier
resource and for establishing resource states:¶
-
+
START-SESSION¶
END-SESSION¶
@@ -8529,7 +8529,7 @@
The following method allows the polling of a verification in progress
for intermediate results.¶
-
+
GET-INTERMEDIATE-RESULT¶
@@ -8543,7 +8543,7 @@
verifier-event = "VERIFICATION-COMPLETE"
/ "START-OF-INPUT"
- ¶
+ ¶
@@ -8576,7 +8576,7 @@
/ new-audio-channel
/ abort-verification
/ start-input-timers
- ¶
+¶
@@ -8590,7 +8590,7 @@
repository-uri = "Repository-URI" ":" uri CRLF
- ¶
+
¶
@@ -8610,10 +8610,10 @@
group identifier instead of a list of voiceprint identifiers.¶
-voiceprint-identifier = "Voiceprint-Identifier" ":"
+voiceprint-identifier = "Voiceprint-Identifier" ":"
vid *[";" vid] CRLF
vid = 1*VCHAR ["." 1*VCHAR]
- ¶
+
¶
@@ -8644,7 +8644,7 @@
caller's response without any participation by the verifier
resource.¶
Once the following conditions have been met:¶
-
+
the voiceprint identity has been successfully established through
the Voiceprint-Identifier header fields of the START-SESSION
method, and¶
@@ -8665,12 +8665,12 @@
error and the mode retains its current value.¶
-verification-mode = "Verification-Mode" ":"
+verification-mode = "Verification-Mode" ":"
verification-mode-string
verification-mode-string = "train"
/ "verify"
- ¶
+
¶
@@ -8688,7 +8688,7 @@
adapt-model = "Adapt-Model" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8708,7 +8708,7 @@
abort-model = "Abort-Model" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8723,9 +8723,9 @@
this header field is implementation specific.¶
-min-verification-score = "Min-Verification-Score" ":"
+min-verification-score = "Min-Verification-Score" ":"
[ %x2D ] FLOAT CRLF
- ¶
+
¶
@@ -8742,9 +8742,9 @@
START-SESSION, SET-PARAMS, or GET-PARAMS.¶
-num-min-verification-phrases = "Num-Min-Verification-Phrases" ":"
+num-min-verification-phrases = "Num-Min-Verification-Phrases" ":"
1*19DIGIT CRLF
- ¶
+
¶
@@ -8761,9 +8761,9 @@
START-SESSION, SET-PARAMS, or GET-PARAMS.¶
-num-max-verification-phrases = "Num-Max-Verification-Phrases" ":"
+num-max-verification-phrases = "Num-Max-Verification-Phrases" ":"
1*19DIGIT CRLF
- ¶
+
¶
@@ -8784,7 +8784,7 @@
no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8807,7 +8807,7 @@
save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8820,9 +8820,9 @@
by the Waveform-URI header field.¶
-media-type = "Media-Type" ":" media-type-value
+media-type = "Media-Type" ":" media-type-value
CRLF
- ¶
+
¶
@@ -8848,10 +8848,10 @@
associated with the header field.¶
-waveform-uri = "Waveform-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
+waveform-uri = "Waveform-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
- ¶
+
¶
@@ -8866,7 +8866,7 @@
voiceprint-exists = "Voiceprint-Exists" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8885,7 +8885,7 @@
ver-buffer-utterance = "Ver-Buffer-Utterance" ":" BOOLEAN
CRLF
- ¶
+
¶
@@ -8903,7 +8903,7 @@
input-waveform-uri = "Input-Waveform-URI" ":" uri CRLF
- ¶
+
¶
@@ -8925,7 +8925,7 @@
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
- ¶
+¶
Table 8
@@ -9024,9 +9024,9 @@
interpret the completion reason text.¶
-completion-reason = "Completion-Reason" ":"
+completion-reason = "Completion-Reason" ":"
quoted-string CRLF
- ¶
+
¶
@@ -9058,7 +9058,7 @@
abort-verification = "Abort-Verification " ":" BOOLEAN CRLF
- ¶
+
¶
@@ -9082,7 +9082,7 @@
start-input-timers = "Start-Input-Timers" ":"
BOOLEAN CRLF
- ¶
+¶
@@ -9111,7 +9111,7 @@
<verification-result> element under <result>. The
elements are described below and have the schema defined in Section 16.2 . The following elements
are defined:¶
-
+
<voiceprint>¶
<incremental>¶
@@ -9386,7 +9386,7 @@
The END-SESSION method terminates an ongoing verification session
and releases the verification voiceprint resources. The session may
terminate in one of three ways:¶
-
+
abort - the voiceprint adaptation or creation may be aborted so
that the voiceprint remains unchanged (or is not created).¶
@@ -9415,7 +9415,7 @@
S->C: MRCP/2.0 ... 314174 200 COMPLETE
Channel-Identifier:32AECB23433801@speakverify
- ¶
+¶
@@ -9451,7 +9451,7 @@
Repository-URI:http://www.example.com/voiceprints/
Voiceprint-Identifier:johnsmith.voiceprint
Voiceprint-Exists:true
- ¶
+¶
The following example assumes that the URI provided in the
Repository-URI header field is a bad URI.¶
@@ -9580,7 +9580,7 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
@@ -9636,7 +9636,7 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
@@ -9735,9 +9735,9 @@
C->S: MRCP/2.0 ... VERIFY 314177
Channel-Identifier:32AECB23433801@speakverify
-S->C: MRCP/2.0 ... 314177 200 IN-PROGRESS
+S->C: MRCP/2.0 ... 314177 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speakverify
-
+
C->S: MRCP/2.0 ... STOP 314178
Channel-Identifier:32AECB23433801@speakverify
@@ -9781,7 +9781,7 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
@@ -9869,8 +9869,8 @@
Channel-Identifier:32AECB23433801@speakverify
Content-Type:application/nlsml+xml
Content-Length:...
-
- <?xml version="1.0"?>
+
+ <?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
<verification-result>
@@ -9924,7 +9924,7 @@
by SDP within the context of a SIP dialog. In order to ensure secure
rendezvous between MRCPv2 clients and servers, the following are
required:¶
-
+
The SIP implementation in MRCPv2 clients and servers MUST
support SIP digest authentication [RFC3261 ]
and SHOULD employ it.¶
@@ -10203,7 +10203,7 @@
Proxy-Sync-Id Generic [RFC6787]
Accept-Charset Generic [RFC2616]
Content-Type Generic [RFC6787]
-Content-ID Generic
+Content-ID Generic
[RFC2392], [RFC2046], and [RFC5322]
Content-Base Generic [RFC6787]
Content-Encoding Generic [RFC6787]
@@ -10285,10 +10285,10 @@
Record-URI Recorder [RFC6787]
Media-Type Recorder [RFC6787]
Max-Time Recorder [RFC6787]
-Trim-Length Recorder [RFC6787]
+Trim-Length Recorder [RFC6787]
Final-Silence Recorder [RFC6787]
-Capture-On-Speech Recorder [RFC6787]
-Ver-Buffer-Utterance Recorder [RFC6787]
+Capture-On-Speech Recorder [RFC6787]
+Ver-Buffer-Utterance Recorder [RFC6787]
Start-Input-Timers Recorder [RFC6787]
New-Audio-Channel Recorder [RFC6787]
Repository-URI Verifier [RFC6787]
@@ -10864,7 +10864,7 @@
Contact:<sip:sarvi@client.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2614933546 2614933546 IN IP4 192.0.2.12
s=Set up MRCPv2 control and audio
@@ -10923,23 +10923,23 @@
Contact:<sip:sarvi@client.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2614933546 2614933547 IN IP4 192.0.2.12
s=Set up MRCPv2 control and audio
i=Add TCP channel, synthesizer and one-way audio
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:new
- a=resource:speechsynth
+ a=resource:speechsynth
a=cmid:1
m=audio 49170 RTP/AVP 0 96
a=rtpmap:0 pcmu/8000
- a=rtpmap:96 telephone-event/8000
- a=fmtp:96 0-15
- a=recvonly
+ a=rtpmap:96 telephone-event/8000
+ a=fmtp:96 0-15
+ a=recvonly
a=mid:1
@@ -10954,21 +10954,21 @@
Contact:<sip:mresources@server.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=- 3000000001 3000000002 IN IP4 192.0.2.11
s=Set up MRCPv2 control and audio
i=Add TCP channel, synthesizer and one-way audio
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
+ m=application 32416 TCP/MRCPv2 1
a=setup:passive
a=connection:new
- a=channel:32AECB23433801@speechsynth
+ a=channel:32AECB23433801@speechsynth
a=cmid:1
m=audio 48260 RTP/AVP 0
a=rtpmap:0 pcmu/8000
- a=sendonly
+ a=sendonly
a=mid:1
@@ -11002,34 +11002,34 @@
Contact:<sip:sarvi@client.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2614933546 2614933548 IN IP4 192.0.2.12
s=Set up MRCPv2 control and audio
i=Add recognizer and duplex the audio
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
- a=resource:speechsynth
+ a=resource:speechsynth
a=cmid:1
m=audio 49170 RTP/AVP 0 96
a=rtpmap:0 pcmu/8000
- a=rtpmap:96 telephone-event/8000
- a=fmtp:96 0-15
- a=recvonly
+ a=rtpmap:96 telephone-event/8000
+ a=fmtp:96 0-15
+ a=recvonly
a=mid:1
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
- a=resource:speechrecog
+ a=resource:speechrecog
a=cmid:2
m=audio 49180 RTP/AVP 0 96
a=rtpmap:0 pcmu/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
- a=sendonly
+ a=sendonly
a=mid:2
@@ -11044,28 +11044,28 @@
Contact:<sip:mresources@server.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=- 3000000001 3000000003 IN IP4 192.0.2.11
s=Set up MRCPv2 control and audio
i=Add recognizer and duplex the audio
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
- a=channel:32AECB23433801@speechsynth
+ m=application 32416 TCP/MRCPv2 1
+ a=channel:32AECB23433801@speechsynth
a=cmid:1
m=audio 48260 RTP/AVP 0
a=rtpmap:0 pcmu/8000
- a=sendonly
+ a=sendonly
a=mid:1
- m=application 32416 TCP/MRCPv2 1
- a=channel:32AECB23433801@speechrecog
+ m=application 32416 TCP/MRCPv2 1
+ a=channel:32AECB23433801@speechrecog
a=cmid:2
m=audio 48260 RTP/AVP 0
a=rtpmap:0 pcmu/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
- a=recvonly
+ a=recvonly
a=mid:2
@@ -11093,9 +11093,9 @@
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -11103,7 +11103,7 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams
+ <s>The first is from Stephanie Williams
<mark name="Stephanie"/>
and arrived at <break/>
<say-as interpret-as="vxml:time">0345p</say-as>.</s>
@@ -11113,7 +11113,7 @@
</speak>
S->C:
- MRCP/2.0 ... 543257 200 IN-PROGRESS
+ MRCP/2.0 ... 543257 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechsynth
Speech-Marker:timestamp=857205015059
@@ -11123,7 +11123,7 @@
and faithfully informs the client of the event.¶
-S->C: MRCP/2.0 ... SPEECH-MARKER 543257 IN-PROGRESS
+S->C: MRCP/2.0 ... SPEECH-MARKER 543257 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechsynth
Speech-Marker:timestamp=857206027059;Stephanie
¶
@@ -11145,7 +11145,7 @@
Channel-Identifier:32AECB23433801@speechrecog
Content-Type:application/srgs+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
@@ -11173,9 +11173,9 @@
Kill-On-Barge-In:true
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -11238,12 +11238,12 @@
S->C: MRCP/2.0 ... RECOGNITION-COMPLETE 543258 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
- Completion-Cause:000 success
+ Completion-Cause:000 success
Waveform-URI:<http://web.media.com/session123/audio.wav>;
size=423523;duration=25432
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -11290,7 +11290,7 @@
System: To which city will you be traveling?
User: I want to go to Pittsburgh.
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
grammar="http://www.example.com/flight">
@@ -11323,7 +11323,7 @@
System: What would you like?
-User: I would like 2 pizzas, one with pepperoni and cheese,
+User: I would like 2 pizzas, one with pepperoni and cheese,
one with sausage and a bottle of coke, to go.
¶
@@ -11335,7 +11335,7 @@
resolve the two "one"s as "pizza".¶
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<nl:result xmlns:nl="urn:ietf:params:xml:ns:mrcpv2"
xmlns="http://www.example.com/example"
grammar="http://www.example.com/foodorder">
@@ -11383,11 +11383,11 @@
<input>
<input mode="speech" confidence ="1.0"
- timestamp-start="2000-04-03T0:00:00"
+ timestamp-start="2000-04-03T0:00:00"
timestamp-end="2000-04-03T0:00:01.5">My pin is
</input>
<input mode="dtmf" confidence ="1.0"
- timestamp-start="2000-04-03T0:00:01.5"
+ timestamp-start="2000-04-03T0:00:01.5"
timestamp-end="2000-04-03T0:00:02.0">1 2 3 4
</input>
</input>
@@ -11463,18 +11463,18 @@
for actually resolving the reference).¶
-Example: (ignoring the issue of representing the input from the
+Example: (ignoring the issue of representing the input from the
pointing gesture.)
System: What do you want to drink?
User: I want this. (clicks on picture of large root beer.)
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<nl:result xmlns:nl="urn:ietf:params:xml:ns:mrcpv2"
xmlns="http://www.example.com/example"
- grammar="http://www.example.com/beverages.grxml">
+ grammar="http://www.example.com/beverages.grxml">
<nl:interpretation>
- <nl:instance>
+ <nl:instance>
<doer>I</doer>
<action>want</action>
<object>this</object>
@@ -11545,7 +11545,7 @@
SWS = [LWS] ; sep whitespace
-UTF8-NONASCII = %xC0-DF 1UTF8-CONT
+UTF8-NONASCII = %xC0-DF 1UTF8-CONT
/ %xE0-EF 2UTF8-CONT
/ %xF0-F7 3UTF8-CONT
/ %xF8-FB 4UTF8-CONT
@@ -11556,7 +11556,7 @@
/ UTF8-NONASCII
param = *pchar
-quoted-string = SWS DQUOTE *(qdtext / quoted-pair )
+quoted-string = SWS DQUOTE *(qdtext / quoted-pair )
DQUOTE
qdtext = LWS / %x21 / %x23-5B / %x5D-7E
@@ -11567,7 +11567,7 @@
token = 1*(alphanum / "-" / "." / "!" / "%" / "*"
/ "_" / "+" / "`" / "'" / "~" )
-reserved = ";" / "/" / "?" / ":" / "@" / "&" / "="
+reserved = ";" / "/" / "?" / ":" / "@" / "&" / "="
/ "+" / "$" / ","
mark = "-" / "_" / "." / "!" / "~" / "*" / "'"
@@ -11580,7 +11580,7 @@
alphanum = ALPHA / DIGIT
-BOOLEAN = "true" / "false"
+BOOLEAN = "true" / "false"
FLOAT = *DIGIT ["." *DIGIT]
@@ -11588,12 +11588,12 @@
fragment = *uric
-uri = [ absoluteURI / relativeURI ]
+uri = [ absoluteURI / relativeURI ]
[ "#" fragment ]
absoluteURI = scheme ":" ( hier-part / opaque-part )
-relativeURI = ( net-path / abs-path / rel-path )
+relativeURI = ( net-path / abs-path / rel-path )
[ "?" query ]
hier-part = ( net-path / abs-path ) [ "?" query ]
@@ -11604,14 +11604,14 @@
rel-path = rel-segment [ abs-path ]
-rel-segment = 1*( unreserved / escaped / ";" / "@"
- / "&" / "=" / "+" / "$" / "," )
+rel-segment = 1*( unreserved / escaped / ";" / "@"
+ / "&" / "=" / "+" / "$" / "," )
opaque-part = uric-no-slash *uric
uric = reserved / unreserved / escaped
-uric-no-slash = unreserved / escaped / ";" / "?" / ":"
+uric-no-slash = unreserved / escaped / ";" / "?" / ":"
/ "@" / "&" / "=" / "+" / "$" / ","
path-segments = segment *( "/" segment )
@@ -11631,13 +11631,13 @@
userinfo = ( user ) [ ":" password ] "@"
-user = 1*( unreserved / escaped
+user = 1*( unreserved / escaped
/ user-unreserved )
-user-unreserved = "&" / "=" / "+" / "$" / "," / ";"
+user-unreserved = "&" / "=" / "+" / "$" / "," / ";"
/ "?" / "/"
-password = *( unreserved / escaped
+password = *( unreserved / escaped
/ "&" / "=" / "+" / "$" / "," )
hostport = host [ ":" port ]
@@ -11652,14 +11652,14 @@
toplabel = ALPHA / ALPHA *( alphanum / "-" )
alphanum
-IPv4address = 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "."
+IPv4address = 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "."
1*3DIGIT
IPv6reference = "[" IPv6address "]"
IPv6address = hexpart [ ":" IPv4address ]
-hexpart = hexseq / hexseq "::" [ hexseq ] / "::"
+hexpart = hexseq / hexseq "::" [ hexseq ] / "::"
[ hexseq ]
hexseq = hex4 *( ":" hex4)
@@ -11670,23 +11670,23 @@
; generic-message is the top-level rule
-generic-message = start-line message-header CRLF
- [ message-body ]
+generic-message = start-line message-header CRLF
+ [ message-body ]
message-body = *OCTET
-
-start-line = request-line / response-line / event-line
+
+start-line = request-line / response-line / event-line
request-line = mrcp-version SP message-length SP method-name
- SP request-id CRLF
+ SP request-id CRLF
-response-line = mrcp-version SP message-length SP request-id
- SP status-code SP request-state CRLF
+response-line = mrcp-version SP message-length SP request-id
+ SP status-code SP request-state CRLF
event-line = mrcp-version SP message-length SP event-name
- SP request-id SP request-state CRLF
+ SP request-id SP request-state CRLF
-method-name = generic-method
+method-name = generic-method
/ synthesizer-method
/ recognizer-method
/ recorder-method
@@ -11695,15 +11695,15 @@
generic-method = "SET-PARAMS"
/ "GET-PARAMS"
-request-state = "COMPLETE"
- / "IN-PROGRESS"
- / "PENDING"
+request-state = "COMPLETE"
+ / "IN-PROGRESS"
+ / "PENDING"
event-name = synthesizer-event
/ recognizer-event
/ recorder-event
/ verifier-event
-
+
message-header = 1*(generic-header / resource-header /
generic-field)
@@ -11717,7 +11717,7 @@
resource-header = synthesizer-header
/ recognizer-header
/ recorder-header
- / verifier-header
+ / verifier-header
generic-header = channel-identifier
/ accept
@@ -11732,30 +11732,30 @@
/ content-length
/ fetch-timeout
/ cache-control
- / logging-tag
+ / logging-tag
/ set-cookie
/ vendor-specific
-
+
; -- content-id is as defined in RFC 2392, RFC 2046 and RFC 5322
; -- accept and accept-charset are as defined in RFC 2616
-mrcp-version = "MRCP" "/" 1*2DIGIT "." 1*2DIGIT
+mrcp-version = "MRCP" "/" 1*2DIGIT "." 1*2DIGIT
message-length = 1*19DIGIT
-request-id = 1*10DIGIT
+request-id = 1*10DIGIT
status-code = 3DIGIT
-channel-identifier = "Channel-Identifier" ":"
+channel-identifier = "Channel-Identifier" ":"
channel-id CRLF
channel-id = 1*alphanum "@" 1*alphanum
-active-request-id-list = "Active-Request-Id-List" ":"
- request-id *("," request-id) CRLF
+active-request-id-list = "Active-Request-Id-List" ":"
+ request-id *("," request-id) CRLF
-proxy-sync-id = "Proxy-Sync-Id" ":" 1*VCHAR CRLF
+proxy-sync-id = "Proxy-Sync-Id" ":" 1*VCHAR CRLF
content-base = "Content-Base" ":" absoluteURI CRLF
@@ -11774,8 +11774,8 @@
attribute = token
value = token / quoted-string
-
-content-encoding = "Content-Encoding" ":"
+
+content-encoding = "Content-Encoding" ":"
*WSP content-coding
*(*WSP "," *WSP content-coding *WSP )
CRLF
@@ -11783,30 +11783,30 @@
content-coding = token
-content-location = "Content-Location" ":"
+content-location = "Content-Location" ":"
( absoluteURI / relativeURI ) CRLF
-cache-control = "Cache-Control" ":"
+cache-control = "Cache-Control" ":"
[*WSP cache-directive
*( *WSP "," *WSP cache-directive *WSP )]
CRLF
-fetch-timeout = "Fetch-Timeout" ":" 1*19DIGIT CRLF
+fetch-timeout = "Fetch-Timeout" ":" 1*19DIGIT CRLF
-cache-directive = "max-age" "=" delta-seconds
- / "max-stale" ["=" delta-seconds ]
- / "min-fresh" "=" delta-seconds
+cache-directive = "max-age" "=" delta-seconds
+ / "max-stale" ["=" delta-seconds ]
+ / "min-fresh" "=" delta-seconds
-delta-seconds = 1*19DIGIT
+delta-seconds = 1*19DIGIT
-logging-tag = "Logging-Tag" ":" 1*UTFCHAR CRLF
+logging-tag = "Logging-Tag" ":" 1*UTFCHAR CRLF
-vendor-specific = "Vendor-Specific-Parameters" ":"
- [vendor-specific-av-pair
- *(";" vendor-specific-av-pair)] 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-specific-av-pair = vendor-av-pair-name "="
+ value
vendor-av-pair-name = 1*UTFCHAR
@@ -11833,66 +11833,66 @@
httponly-av = "HttpOnly"
extension-av = <any CHAR except CTLs or ";">
age-av = "Age=" delta-seconds
-
+
; Synthesizer ABNF
-synthesizer-method = "SPEAK"
- / "STOP"
- / "PAUSE"
- / "RESUME"
- / "BARGE-IN-OCCURRED"
+synthesizer-method = "SPEAK"
+ / "STOP"
+ / "PAUSE"
+ / "RESUME"
+ / "BARGE-IN-OCCURRED"
/ "CONTROL"
- / "DEFINE-LEXICON"
+ / "DEFINE-LEXICON"
-synthesizer-event = "SPEECH-MARKER"
- / "SPEAK-COMPLETE"
+synthesizer-event = "SPEECH-MARKER"
+ / "SPEAK-COMPLETE"
-synthesizer-header = jump-size
- / kill-on-barge-in
- / speaker-profile
+synthesizer-header = jump-size
+ / kill-on-barge-in
+ / speaker-profile
/ completion-cause
- / completion-reason
- / voice-parameter
- / prosody-parameter
- / speech-marker
- / speech-language
- / fetch-hint
- / audio-fetch-hint
- / failed-uri
- / failed-uri-cause
- / speak-restart
+ / completion-reason
+ / voice-parameter
+ / prosody-parameter
+ / speech-marker
+ / speech-language
+ / fetch-hint
+ / audio-fetch-hint
+ / failed-uri
+ / failed-uri-cause
+ / speak-restart
/ speak-length
/ load-lexicon
- / lexicon-search-order
+ / lexicon-search-order
+
+jump-size = "Jump-Size" ":" speech-length-value CRLF
-jump-size = "Jump-Size" ":" speech-length-value CRLF
+speech-length-value = numeric-speech-length
+ / text-speech-length
-speech-length-value = numeric-speech-length
- / text-speech-length
+text-speech-length = 1*UTFCHAR SP "Tag"
-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
+numeric-speech-unit = "Second"
+ / "Word"
+ / "Sentence"
+ / "Paragraph"
+
+kill-on-barge-in = "Kill-On-Barge-In" ":" BOOLEAN
+ CRLF
-speaker-profile = "Speaker-Profile" ":" uri CRLF
+speaker-profile = "Speaker-Profile" ":" uri CRLF
completion-cause = "Completion-Cause" ":" cause-code SP
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
-completion-reason = "Completion-Reason" ":"
+completion-reason = "Completion-Reason" ":"
quoted-string CRLF
voice-parameter = voice-gender
@@ -11913,8 +11913,8 @@
voice-name = "Voice-Name:"
1*UTFCHAR *(1*WSP 1*UTFCHAR) CRLF
-prosody-parameter = "Prosody-" prosody-param-name ":"
- prosody-param-value CRLF
+prosody-parameter = "Prosody-" prosody-param-name ":"
+ prosody-param-value CRLF
prosody-param-name = 1*VCHAR
@@ -11929,44 +11929,44 @@
[";" 1*(UTFCHAR / %x20)] CRLF
speech-language = "Speech-Language" ":"
- 1*VCHAR CRLF
+ 1*VCHAR CRLF
fetch-hint = "Fetch-Hint" ":"
- ("prefetch" / "safe") CRLF
+ ("prefetch" / "safe") CRLF
-audio-fetch-hint = "Audio-Fetch-Hint" ":"
- ("prefetch" / "safe" / "stream") CRLF
+audio-fetch-hint = "Audio-Fetch-Hint" ":"
+ ("prefetch" / "safe" / "stream") CRLF
-failed-uri = "Failed-URI" ":" absoluteURI CRLF
+failed-uri = "Failed-URI" ":" absoluteURI CRLF
-failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR CRLF
+failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR CRLF
-speak-restart = "Speak-Restart" ":" BOOLEAN CRLF
+speak-restart = "Speak-Restart" ":" BOOLEAN CRLF
-speak-length = "Speak-Length" ":" positive-length-value
- CRLF
+speak-length = "Speak-Length" ":" positive-length-value
+ CRLF
-positive-length-value = positive-speech-length
- / text-speech-length
+positive-length-value = positive-speech-length
+ / text-speech-length
load-lexicon = "Load-Lexicon" ":" BOOLEAN CRLF
-lexicon-search-order = "Lexicon-Search-Order" ":"
+lexicon-search-order = "Lexicon-Search-Order" ":"
"<" absoluteURI ">" *(" " "<" absoluteURI ">") CRLF
-; Recognizer ABNF
+; Recognizer ABNF
recognizer-method = recog-only-method
/ enrollment-method
-recog-only-method = "DEFINE-GRAMMAR"
- / "RECOGNIZE"
+recog-only-method = "DEFINE-GRAMMAR"
+ / "RECOGNIZE"
/ "INTERPRET"
- / "GET-RESULT"
- / "START-INPUT-TIMERS"
+ / "GET-RESULT"
+ / "START-INPUT-TIMERS"
/ "STOP"
-enrollment-method = "START-PHRASE-ENROLLMENT"
+enrollment-method = "START-PHRASE-ENROLLMENT"
/ "ENROLLMENT-ROLLBACK"
/ "END-PHRASE-ENROLLMENT"
/ "MODIFY-PHRASE"
@@ -11980,30 +11980,30 @@
/ enrollment-header
-recog-only-header = confidence-threshold
- / sensitivity-level
- / speed-vs-accuracy
- / n-best-list-length
- / input-type
- / no-input-timeout
- / recognition-timeout
- / waveform-uri
- / input-waveform-uri
- / completion-cause
+recog-only-header = confidence-threshold
+ / sensitivity-level
+ / speed-vs-accuracy
+ / n-best-list-length
+ / input-type
+ / no-input-timeout
+ / recognition-timeout
+ / waveform-uri
+ / input-waveform-uri
+ / completion-cause
/ completion-reason
- / recognizer-context-block
- / start-input-timers
- / speech-complete-timeout
- / speech-incomplete-timeout
- / dtmf-interdigit-timeout
- / dtmf-term-timeout
- / dtmf-term-char
- / failed-uri
- / failed-uri-cause
- / save-waveform
+ / recognizer-context-block
+ / start-input-timers
+ / speech-complete-timeout
+ / speech-incomplete-timeout
+ / dtmf-interdigit-timeout
+ / dtmf-term-timeout
+ / dtmf-term-char
+ / failed-uri
+ / failed-uri-cause
+ / save-waveform
/ media-type
/ new-audio-channel
- / speech-language
+ / speech-language
/ ver-buffer-utterance
/ recognition-mode
/ cancel-if-queue
@@ -12016,66 +12016,66 @@
enrollment-header = num-min-consistent-pronunciations
- / consistency-threshold
- / clash-threshold
- / personal-grammar-uri
+ / consistency-threshold
+ / clash-threshold
+ / personal-grammar-uri
/ enroll-utterance
- / phrase-id
- / phrase-nl
- / weight
- / save-best-waveform
- / new-phrase-id
- / confusable-phrases-uri
+ / phrase-id
+ / phrase-nl
+ / weight
+ / save-best-waveform
+ / new-phrase-id
+ / confusable-phrases-uri
/ abort-phrase-enrollment
-confidence-threshold = "Confidence-Threshold" ":"
- FLOAT CRLF
+confidence-threshold = "Confidence-Threshold" ":"
+ FLOAT CRLF
sensitivity-level = "Sensitivity-Level" ":" FLOAT
- CRLF
+ CRLF
-speed-vs-accuracy = "Speed-Vs-Accuracy" ":" FLOAT
- CRLF
+speed-vs-accuracy = "Speed-Vs-Accuracy" ":" FLOAT
+ CRLF
-n-best-list-length = "N-Best-List-Length" ":" 1*19DIGIT
- CRLF
+n-best-list-length = "N-Best-List-Length" ":" 1*19DIGIT
+ CRLF
input-type = "Input-Type" ":" inputs CRLF
inputs = "speech" / "dtmf"
-no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT
- CRLF
+no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT
+ CRLF
recognition-timeout = "Recognition-Timeout" ":" 1*19DIGIT
- CRLF
+ CRLF
-waveform-uri = "Waveform-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
- ";" "duration" "=" 1*19DIGIT] CRLF
+waveform-uri = "Waveform-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
+ ";" "duration" "=" 1*19DIGIT] CRLF
-recognizer-context-block = "Recognizer-Context-Block" ":"
- [1*VCHAR] CRLF
+recognizer-context-block = "Recognizer-Context-Block" ":"
+ [1*VCHAR] CRLF
-start-input-timers = "Start-Input-Timers" ":"
- BOOLEAN CRLF
-
-speech-complete-timeout = "Speech-Complete-Timeout" ":"
- 1*19DIGIT CRLF
+start-input-timers = "Start-Input-Timers" ":"
+ BOOLEAN CRLF
-speech-incomplete-timeout = "Speech-Incomplete-Timeout" ":"
- 1*19DIGIT CRLF
+speech-complete-timeout = "Speech-Complete-Timeout" ":"
+ 1*19DIGIT CRLF
+
+speech-incomplete-timeout = "Speech-Incomplete-Timeout" ":"
+ 1*19DIGIT CRLF
-dtmf-interdigit-timeout = "DTMF-Interdigit-Timeout" ":"
- 1*19DIGIT CRLF
+dtmf-interdigit-timeout = "DTMF-Interdigit-Timeout" ":"
+ 1*19DIGIT CRLF
-dtmf-term-timeout = "DTMF-Term-Timeout" ":" 1*19DIGIT
- CRLF
+dtmf-term-timeout = "DTMF-Term-Timeout" ":" 1*19DIGIT
+ CRLF
-dtmf-term-char = "DTMF-Term-Char" ":" VCHAR CRLF
+dtmf-term-char = "DTMF-Term-Char" ":" VCHAR CRLF
-save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
+save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
-new-audio-channel = "New-Audio-Channel" ":"
+new-audio-channel = "New-Audio-Channel" ":"
BOOLEAN CRLF
recognition-mode = "Recognition-Mode" ":"
@@ -12083,13 +12083,13 @@
cancel-if-queue = "Cancel-If-Queue" ":" BOOLEAN CRLF
-hotword-max-duration = "Hotword-Max-Duration" ":"
+hotword-max-duration = "Hotword-Max-Duration" ":"
1*19DIGIT CRLF
-hotword-min-duration = "Hotword-Min-Duration" ":"
+hotword-min-duration = "Hotword-Min-Duration" ":"
1*19DIGIT CRLF
-interpret-text = "Interpret-Text" ":" 1*VCHAR CRLF
+interpret-text = "Interpret-Text" ":" 1*VCHAR CRLF
dtmf-buffer-time = "DTMF-Buffer-Time" ":" 1*19DIGIT CRLF
@@ -12097,13 +12097,13 @@
early-no-match = "Early-No-Match" ":" BOOLEAN CRLF
-num-min-consistent-pronunciations =
- "Num-Min-Consistent-Pronunciations" ":" 1*19DIGIT CRLF
+num-min-consistent-pronunciations =
+ "Num-Min-Consistent-Pronunciations" ":" 1*19DIGIT CRLF
-consistency-threshold = "Consistency-Threshold" ":" FLOAT
+consistency-threshold = "Consistency-Threshold" ":" FLOAT
CRLF
-
+
clash-threshold = "Clash-Threshold" ":" FLOAT CRLF
personal-grammar-uri = "Personal-Grammar-URI" ":" uri CRLF
@@ -12116,15 +12116,15 @@
weight = "Weight" ":" FLOAT CRLF
-save-best-waveform = "Save-Best-Waveform" ":"
+save-best-waveform = "Save-Best-Waveform" ":"
BOOLEAN CRLF
new-phrase-id = "New-Phrase-ID" ":" 1*VCHAR CRLF
-confusable-phrases-uri = "Confusable-Phrases-URI" ":"
+confusable-phrases-uri = "Confusable-Phrases-URI" ":"
uri CRLF
-abort-phrase-enrollment = "Abort-Phrase-Enrollment" ":"
+abort-phrase-enrollment = "Abort-Phrase-Enrollment" ":"
BOOLEAN CRLF
@@ -12150,11 +12150,11 @@
/ final-silence
/ capture-on-speech
/ ver-buffer-utterance
- / start-input-timers
+ / start-input-timers
/ new-audio-channel
-record-uri = "Record-URI" ":" [ "<" uri ">"
- ";" "size" "=" 1*19DIGIT
+record-uri = "Record-URI" ":" [ "<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
media-type = "Media-Type" ":" media-type-value CRLF
@@ -12165,7 +12165,7 @@
final-silence = "Final-Silence" ":" 1*19DIGIT CRLF
-capture-on-speech = "Capture-On-Speech " ":"
+capture-on-speech = "Capture-On-Speech " ":"
BOOLEAN CRLF
@@ -12188,38 +12188,38 @@
/ "START-OF-INPUT"
-verifier-header = repository-uri
+verifier-header = repository-uri
/ voiceprint-identifier
- / verification-mode
- / adapt-model
- / abort-model
- / min-verification-score
+ / verification-mode
+ / adapt-model
+ / abort-model
+ / min-verification-score
/ num-min-verification-phrases
/ num-max-verification-phrases
- / no-input-timeout
- / save-waveform
+ / no-input-timeout
+ / save-waveform
/ media-type
- / waveform-uri
- / voiceprint-exists
- / ver-buffer-utterance
- / input-waveform-uri
- / completion-cause
+ / waveform-uri
+ / voiceprint-exists
+ / ver-buffer-utterance
+ / input-waveform-uri
+ / completion-cause
/ completion-reason
- / speech-complete-timeout
+ / speech-complete-timeout
/ new-audio-channel
/ abort-verification
- / start-input-timers
+ / start-input-timers
/ input-type
repository-uri = "Repository-URI" ":" uri CRLF
-voiceprint-identifier = "Voiceprint-Identifier" ":"
+voiceprint-identifier = "Voiceprint-Identifier" ":"
vid *[";" vid] CRLF
vid = 1*VCHAR ["." 1*VCHAR]
-verification-mode = "Verification-Mode" ":"
+verification-mode = "Verification-Mode" ":"
verification-mode-string
verification-mode-string = "train" / "verify"
@@ -12228,25 +12228,25 @@
abort-model = "Abort-Model" ":" BOOLEAN CRLF
-min-verification-score = "Min-Verification-Score" ":"
+min-verification-score = "Min-Verification-Score" ":"
[ %x2D ] FLOAT CRLF
-num-min-verification-phrases = "Num-Min-Verification-Phrases"
+num-min-verification-phrases = "Num-Min-Verification-Phrases"
":" 1*19DIGIT CRLF
-num-max-verification-phrases = "Num-Max-Verification-Phrases"
+num-max-verification-phrases = "Num-Max-Verification-Phrases"
":" 1*19DIGIT CRLF
-
-voiceprint-exists = "Voiceprint-Exists" ":"
+
+voiceprint-exists = "Voiceprint-Exists" ":"
BOOLEAN CRLF
-ver-buffer-utterance = "Ver-Buffer-Utterance" ":"
- BOOLEAN CRLF
+ver-buffer-utterance = "Ver-Buffer-Utterance" ":"
+ BOOLEAN CRLF
input-waveform-uri = "Input-Waveform-URI" ":" uri CRLF
-abort-verification = "Abort-Verification " ":"
- BOOLEAN CRLF ¶
+abort-verification = "Abort-Verification " ":"
+ BOOLEAN CRLF
¶
The following productions add a new SDP session-level attribute. See
Section 13.7.2, Paragraph 7 .¶
@@ -12271,13 +12271,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:ietf:params:xml:ns:mrcpv2"
xmlns="urn:ietf:params:xml:ns:mrcpv2"
- elementFormDefault="qualified"
+ elementFormDefault="qualified"
attributeFormDefault="unqualified" >
<xs:annotation>
- <xs:documentation> Natural Language Semantic Markup Schema
+ <xs:documentation> Natural Language Semantic Markup Schema
</xs:documentation>
</xs:annotation>
<xs:include schemaLocation="enrollment-schema.rng"/>
@@ -12306,12 +12306,12 @@
<xs:attribute name="mode"
type="xs:string"
default="speech"/>
- <xs:attribute name="confidence"
- type="confidenceinfo"
+ <xs:attribute name="confidence"
+ type="confidenceinfo"
default="1.0"/>
- <xs:attribute name="timestamp-start"
+ <xs:attribute name="timestamp-start"
type="xs:string"/>
- <xs:attribute name="timestamp-end"
+ <xs:attribute name="timestamp-end"
type="xs:string"/>
</xs:complexType>
</xs:element>
@@ -12327,7 +12327,7 @@
<xs:element name="verification-result"
type="verification-contents"/>
</xs:sequence>
- <xs:attribute name="grammar" type="xs:anyURI"
+ <xs:attribute name="grammar" type="xs:anyURI"
use="optional"/>
</xs:complexType>
</xs:element>
@@ -12426,7 +12426,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- MRCP Verification Results Schema
+<!-- MRCP Verification Results Schema
(See http://www.oasis-open.org/committees/relax-ng/spec.html)
-->
@@ -12766,23 +12766,23 @@
-Pierre Forgues
-Nuance Communications Ltd.
+Pierre Forgues
+Nuance Communications Ltd.
1500 University Street
Suite 935
-Montreal, Quebec
-Canada H3A 3S7
-
-EMail: forgues@nuance.com
+Montreal, Quebec
+Canada H3A 3S7
+
+EMail: forgues@nuance.com
+
+Charles Galles
+Intervoice, Inc.
+17811 Waterview Parkway
+Dallas, Texas 75252
+USA
-Charles Galles
-Intervoice, Inc.
-17811 Waterview Parkway
-Dallas, Texas 75252
-USA
-
-EMail: charles.galles@intervoice.com
+EMail: charles.galles@intervoice.com
Klaus Reifenrath
@@ -12792,8 +12792,8 @@
9820 Merelbeke
Belgium
-EMail: klaus.reifenrath@scansoft.com
- ¶
+EMail: klaus.reifenrath@scansoft.com
+
¶
@@ -12822,7 +12822,7 @@
Suresh Kaliannan (Cisco Systems, Inc.)
Skip Cave (Intervoice, Inc.)
Thomas Gal (LumenVox)
- ¶
+
¶
The chairs of the SPEECHSC work group are Eric Burger (Georgetown
University) and Dave Oran (Cisco Systems, Inc.).¶
diff -Nru xml2rfc-2.39.0/tests/valid/rfc6787.v3.py37.html xml2rfc-2.40.0/tests/valid/rfc6787.v3.py37.html
--- xml2rfc-2.39.0/tests/valid/rfc6787.v3.py37.html 2019-12-22 18:00:56.000000000 +0000
+++ xml2rfc-2.40.0/tests/valid/rfc6787.v3.py37.html 2020-02-18 20:15:35.000000000 +0000
@@ -21,7 +21,7 @@
established above, allowing the client to control the media processing
resources on the speech resource server.
' name="description">
-
+
@@ -1260,7 +1260,7 @@
|--------------------| || ||
| ||----------------------------------||
SIP |------------------------------------|
- | /
+ | /
|-------------------| RTP
| | /
| Media Source/Sink |---------/
@@ -1345,7 +1345,7 @@
sip:mrcpv2@example.net or
sips:mrcpv2@example.net
- ¶
+ ¶
@@ -1564,69 +1564,69 @@
-C->S: INVITE sip:mresources@example.com SIP/2.0
- Via:SIP/2.0/TCP client.atlanta.example.com:5060;
- branch=z9hG4bK74bf1
- Max-Forwards:6
- To:MediaServer <sip:mresources@example.com>
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314161 INVITE
- Contact:<sip:sarvi@client.example.com>
- Content-Type:application/sdp
+C->S: INVITE sip:mresources@example.com SIP/2.0
+ Via:SIP/2.0/TCP client.atlanta.example.com:5060;
+ branch=z9hG4bK74bf1
+ Max-Forwards:6
+ To:MediaServer <sip:mresources@example.com>
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314161 INVITE
+ Contact:<sip:sarvi@client.example.com>
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=sarvi 2890844526 2890844526 IN IP4 192.0.2.12
- s=-
+
+ v=0
+ o=sarvi 2890844526 2890844526 IN IP4 192.0.2.12
+ s=-
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:new
a=resource:speechsynth
a=cmid:1
- m=audio 49170 RTP/AVP 0
- a=rtpmap:0 pcmu/8000
- a=recvonly
+ m=audio 49170 RTP/AVP 0
+ a=rtpmap:0 pcmu/8000
+ a=recvonly
a=mid:1
-
-S->C: SIP/2.0 200 OK
+
+S->C: SIP/2.0 200 OK
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf1;received=192.0.32.10
- To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314161 INVITE
- Contact:<sip:mresources@server.example.com>
- Content-Type:application/sdp
- Content-Length:...
-
- v=0
- o=- 2890842808 2890842808 IN IP4 192.0.2.11
- s=-
+ To:MediaServer <sip:mresources@example.com>;tag=62784
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314161 INVITE
+ Contact:<sip:mresources@server.example.com>
+ Content-Type:application/sdp
+ Content-Length:...
+
+ v=0
+ o=- 2890842808 2890842808 IN IP4 192.0.2.11
+ s=-
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
+ m=application 32416 TCP/MRCPv2 1
a=setup:passive
a=connection:new
- a=channel:32AECB234338@speechsynth
+ a=channel:32AECB234338@speechsynth
a=cmid:1
- m=audio 48260 RTP/AVP 0
- a=rtpmap:0 pcmu/8000
- a=sendonly
- a=mid:1
-
+ m=audio 48260 RTP/AVP 0
+ a=rtpmap:0 pcmu/8000
+ a=sendonly
+ a=mid:1
+
-C->S: ACK sip:mresources@server.example.com SIP/2.0
+C->S: ACK sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf2
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:Sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314161 ACK
+ From:Sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314161 ACK
Content-Length:0
@@ -1641,83 +1641,83 @@
-C->S: INVITE sip:mresources@server.example.com SIP/2.0
+C->S: INVITE sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf3
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314162 INVITE
- Contact:<sip:sarvi@client.example.com>
- Content-Type:application/sdp
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314162 INVITE
+ Contact:<sip:sarvi@client.example.com>
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=sarvi 2890844526 2890844527 IN IP4 192.0.2.12
+
+ v=0
+ o=sarvi 2890844526 2890844527 IN IP4 192.0.2.12
s=-
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
a=resource:speechsynth
a=cmid:1
- m=audio 49170 RTP/AVP 0 96
- a=rtpmap:0 pcmu/8000
- a=rtpmap:96 telephone-event/8000
- a=fmtp:96 0-15
- a=sendrecv
+ m=audio 49170 RTP/AVP 0 96
+ a=rtpmap:0 pcmu/8000
+ a=rtpmap:96 telephone-event/8000
+ a=fmtp:96 0-15
+ a=sendrecv
a=mid:1
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
a=resource:speechrecog
a=cmid:1
-
-S->C: SIP/2.0 200 OK
+
+S->C: SIP/2.0 200 OK
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf3;received=192.0.32.10
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314162 INVITE
- Contact:<sip:mresources@server.example.com>
- Content-Type:application/sdp
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314162 INVITE
+ Contact:<sip:mresources@server.example.com>
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=- 2890842808 2890842809 IN IP4 192.0.2.11
+
+ v=0
+ o=- 2890842808 2890842809 IN IP4 192.0.2.11
s=-
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
+ m=application 32416 TCP/MRCPv2 1
a=setup:passive
a=connection:existing
a=channel:32AECB234338@speechsynth
a=cmid:1
- m=audio 48260 RTP/AVP 0 96
- a=rtpmap:0 pcmu/8000
- a=rtpmap:96 telephone-event/8000
- a=fmtp:96 0-15
- a=sendrecv
+ m=audio 48260 RTP/AVP 0 96
+ a=rtpmap:0 pcmu/8000
+ a=rtpmap:96 telephone-event/8000
+ a=fmtp:96 0-15
+ a=sendrecv
a=mid:1
- m=application 32416 TCP/MRCPv2 1
+ m=application 32416 TCP/MRCPv2 1
a=setup:passive
a=connection:existing
a=channel:32AECB234338@speechrecog
a=cmid:1
-
-C->S: ACK sip:mresources@server.example.com SIP/2.0
+
+C->S: ACK sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf4
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:Sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314162 ACK
+ From:Sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314162 ACK
Content-Length:0
@@ -1731,71 +1731,71 @@
-C->S: INVITE sip:mresources@server.example.com SIP/2.0
+C->S: INVITE sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf5
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314163 INVITE
- Contact:<sip:sarvi@client.example.com>
- Content-Type:application/sdp
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314163 INVITE
+ Contact:<sip:sarvi@client.example.com>
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=sarvi 2890844526 2890844528 IN IP4 192.0.2.12
+
+ v=0
+ o=sarvi 2890844526 2890844528 IN IP4 192.0.2.12
s=-
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
- a=resource:speechsynth
+ m=application 9 TCP/MRCPv2 1
+ a=resource:speechsynth
a=cmid:1
- m=audio 49170 RTP/AVP 0
- a=rtpmap:0 pcmu/8000
- a=recvonly
+ m=audio 49170 RTP/AVP 0
+ a=rtpmap:0 pcmu/8000
+ a=recvonly
a=mid:1
- m=application 0 TCP/MRCPv2 1
- a=resource:speechrecog
+ m=application 0 TCP/MRCPv2 1
+ a=resource:speechrecog
a=cmid:1
-
-S->C: SIP/2.0 200 OK
+
+S->C: SIP/2.0 200 OK
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf5;received=192.0.32.10
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314163 INVITE
+ From:sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314163 INVITE
Contact:<sip:mresources@server.example.com>
- Content-Type:application/sdp
+ Content-Type:application/sdp
Content-Length:...
-
- v=0
- o=- 2890842808 2890842810 IN IP4 192.0.2.11
+
+ v=0
+ o=- 2890842808 2890842810 IN IP4 192.0.2.11
s=-
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
- a=channel:32AECB234338@speechsynth
+ m=application 32416 TCP/MRCPv2 1
+ a=channel:32AECB234338@speechsynth
a=cmid:1
- m=audio 48260 RTP/AVP 0
- a=rtpmap:0 pcmu/8000
- a=sendonly
+ m=audio 48260 RTP/AVP 0
+ a=rtpmap:0 pcmu/8000
+ a=sendonly
a=mid:1
- m=application 0 TCP/MRCPv2 1
- a=channel:32AECB234338@speechrecog
+ m=application 0 TCP/MRCPv2 1
+ a=channel:32AECB234338@speechrecog
a=cmid:1
-
-C->S: ACK sip:mresources@server.example.com SIP/2.0
+
+C->S: ACK sip:mresources@server.example.com SIP/2.0
Via:SIP/2.0/TCP client.atlanta.example.com:5060;
branch=z9hG4bK74bf6
- Max-Forwards:6
+ Max-Forwards:6
To:MediaServer <sip:mresources@example.com>;tag=62784
- From:Sarvi <sip:sarvi@example.com>;tag=1928301774
- Call-ID:a84b4c76e66710
- CSeq:314163 ACK
+ From:Sarvi <sip:sarvi@example.com>;tag=1928301774
+ Call-ID:a84b4c76e66710
+ CSeq:314163 ACK
Content-Length:0
@@ -1997,7 +1997,7 @@
mrcp-version = "MRCP" "/" 1*2DIGIT "." 1*2DIGIT
- ¶
+
¶
¶
The message-length field specifies the length of the message in
@@ -2015,7 +2015,7 @@
message-length = 1*19DIGIT
- ¶
+
¶
The following sample MRCP exchange demonstrates proper
message-length values. The values for message-length have been removed
@@ -2025,12 +2025,12 @@
C->S: MRCP/2.0 877 INTERPRET 543266
- Channel-Identifier:32AECB23433801@speechrecog
- Interpret-Text:may I speak to Andre Roy
- Content-Type:application/srgs+xml
- Content-ID:<request1@form-level.store>
+ Channel-Identifier:32AECB23433801@speechrecog
+ Interpret-Text:may I speak to Andre Roy
+ Content-Type:application/srgs+xml
+ Content-ID:<request1@form-level.store>
Content-Length:661
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
@@ -2042,7 +2042,7 @@
<item xml:lang="en-US">yes</item>
</one-of>
</rule>
-
+
<!-- single language attachment to a rule expansion -->
<rule id="request">
may I speak to
@@ -2052,16 +2052,16 @@
</one-of>
</rule>
</grammar>
-
+
S->C: MRCP/2.0 82 543266 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 634 INTERPRETATION-COMPLETE 543266 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:441
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -2104,7 +2104,7 @@
request-line = mrcp-version SP message-length SP method-name
SP request-id CRLF
- ¶
+ ¶
The mrcp-version field is the MRCP protocol version that is being
used by the client.¶
@@ -2123,7 +2123,7 @@
/ recognizer-method
/ recorder-method
/ verifier-method
- ¶
+ ¶
The request-id field is a unique identifier representable as an
unsigned 32-bit integer created by the client and sent to the server.
@@ -2144,7 +2144,7 @@
request-id = 1*10DIGIT
- ¶
+
¶
@@ -2162,7 +2162,7 @@
response-line = mrcp-version SP message-length SP request-id
SP status-code SP request-state CRLF
- ¶
+¶
The mrcp-version field MUST contain the version of the request if
supported; otherwise, it MUST contain the highest version of
@@ -2178,7 +2178,7 @@
status-code = 3DIGIT
- ¶
+
¶
The request-state field indicates if the action initiated by the
Request is PENDING, IN-PROGRESS, or COMPLETE. The COMPLETE status means
@@ -2194,7 +2194,7 @@
request-state = "COMPLETE"
/ "IN-PROGRESS"
/ "PENDING"
- ¶
+¶
@@ -2440,7 +2440,7 @@
S->C: MRCP/2.0 ... 543256 200 COMPLETE
Channel-Identifier:32AECB23433802@speechsynth
- ¶
+¶
@@ -2555,7 +2555,7 @@
/ content-length
/ fetch-timeout
/ cache-control
- / logging-tag
+ / logging-tag
/ set-cookie
/ vendor-specific
¶
@@ -2626,7 +2626,7 @@
RECOGNITION-COMPLETE events for the terminated requests.¶
-active-request-id-list = "Active-Request-Id-List" ":"
+active-request-id-list = "Active-Request-Id-List" ":"
request-id *("," request-id) CRLF
¶
@@ -2652,7 +2652,7 @@
proxy-sync-id = "Proxy-Sync-Id" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -2694,7 +2694,7 @@
attribute = token
value = token / quoted-string
- ¶
+¶
@@ -2722,7 +2722,7 @@
content-base = "Content-Base" ":" absoluteURI CRLF
- ¶
+
¶
Note, however, that the base URI of the contents within the
entity-body may be redefined within that entity-body. An example of
@@ -2744,8 +2744,8 @@
on all messages.¶
-content-encoding = "Content-Encoding" ":"
- *WSP content-coding
+content-encoding = "Content-Encoding" ":"
+ *WSP content-coding
*(*WSP "," *WSP content-coding *WSP )
CRLF
¶
@@ -2826,7 +2826,7 @@
fetch-timeout = "Fetch-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -2854,16 +2854,16 @@
on requests.
¶
-cache-control = "Cache-Control" ":"
+cache-control = "Cache-Control" ":"
[*WSP cache-directive
*( *WSP "," *WSP cache-directive *WSP )]
CRLF
-cache-directive = "max-age" "=" delta-seconds
+cache-directive = "max-age" "=" delta-seconds
/ "max-stale" [ "=" delta-seconds ]
- / "min-fresh" "=" delta-seconds
+ / "min-fresh" "=" delta-seconds
-delta-seconds = 1*19DIGIT
+delta-seconds = 1*19DIGIT
¶
Here, delta-seconds is a decimal time value specifying the number
@@ -2929,7 +2929,7 @@
logging-tag = "Logging-Tag" ":" 1*UTFCHAR CRLF
- ¶
+
¶
@@ -3041,10 +3041,10 @@
vendor-specific = "Vendor-Specific-Parameters" ":"
- [vendor-specific-av-pair
- *(";" vendor-specific-av-pair)] CRLF
+ [vendor-specific-av-pair
+ *(";" vendor-specific-av-pair)] CRLF
-vendor-specific-av-pair = vendor-av-pair-name "="
+vendor-specific-av-pair = vendor-av-pair-name "="
value
vendor-av-pair-name = 1*UTFCHAR
@@ -3199,14 +3199,14 @@
Supported:foo
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2890844536 2890842811 IN IP4 192.0.2.12
s=-
i=MRCPv2 server capabilities
c=IN IP4 192.0.2.12/127
t=0 0
- m=application 0 TCP/TLS/MRCPv2 1
+ m=application 0 TCP/TLS/MRCPv2 1
a=resource:speechsynth
a=resource:speechrecog
a=resource:speakverify
@@ -3327,21 +3327,21 @@
is associated with.¶
-synthesizer-header = jump-size
- / kill-on-barge-in
- / speaker-profile
+synthesizer-header = jump-size
+ / kill-on-barge-in
+ / speaker-profile
/ completion-cause
- / completion-reason
- / voice-parameter
+ / completion-reason
+ / voice-parameter
/ prosody-parameter
- / speech-marker
- / speech-language
- / fetch-hint
- / audio-fetch-hint
- / failed-uri
- / failed-uri-cause
- / speak-restart
- / speak-length
+ / speech-marker
+ / speech-language
+ / fetch-hint
+ / audio-fetch-hint
+ / failed-uri
+ / failed-uri-cause
+ / speak-restart
+ / speak-length
/ load-lexicon
/ lexicon-search-order
¶
@@ -3516,7 +3516,7 @@
as an error in parsing the speech markup text.
¶
-completion-reason = "Completion-Reason" ":"
+completion-reason = "Completion-Reason" ":"
quoted-string CRLF
¶
@@ -3648,7 +3648,7 @@
speech-language = "Speech-Language" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -3668,7 +3668,7 @@
fetch-hint = "Fetch-Hint" ":"
("prefetch" / "safe") CRLF
- ¶
+¶
@@ -3689,7 +3689,7 @@
audio-fetch-hint = "Audio-Fetch-Hint" ":"
("prefetch" / "safe" / "stream") CRLF
- ¶
+¶
@@ -3704,7 +3704,7 @@
failed-uri = "Failed-URI" ":" absoluteURI CRLF
- ¶
+
¶
@@ -3735,7 +3735,7 @@
speak-restart = "Speak-Restart" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -3787,7 +3787,7 @@
load-lexicon = "Load-Lexicon" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -3806,7 +3806,7 @@
lexicon-search-order = "Lexicon-Search-Order" ":"
"<" absoluteURI ">" *(" " "<" absoluteURI ">") CRLF
- ¶
+
¶
@@ -3876,7 +3876,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -3910,13 +3910,13 @@
http://www.example.com/ASR-Document-Part1.ssml
http://www.example.com/ASR-Document-Part2.ssml
http://www.example.com/ASR-Conclusion.ssml
-
+
--break
Content-Type:application/ssml+xml
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4012,16 +4012,16 @@
-C->S: MRCP/2.0 ... SPEAK 543257
+C->S: MRCP/2.0 ... SPEAK 543257
Channel-Identifier:32AECB23433802@speechsynth
Voice-gender:neutral
Voice-Age:25
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4033,7 +4033,7 @@
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.
</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody>
</s>
</p>
@@ -4086,7 +4086,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4094,10 +4094,10 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams and arrived at
+ <s>The first is from Stephanie Williams and arrived at
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4128,7 +4128,7 @@
means to communicate the occurrence of the event to the synthesizer
resource.¶
This method is useful in two scenarios:¶
-
+
The client has detected DTMF digits in the input media or some
other barge-in-able event and wants to communicate that to the
synthesizer resource.¶
@@ -4178,7 +4178,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4186,10 +4186,10 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams and arrived at
+ <s>The first is from Stephanie Williams and arrived at
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4237,7 +4237,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4245,11 +4245,11 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams and arrived at
+ <s>The first is from Stephanie Williams and arrived at
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4293,9 +4293,9 @@
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4303,10 +4303,10 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams and arrived at
+ <s>The first is from Stephanie Williams and arrived at
<break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4375,9 +4375,9 @@
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4446,7 +4446,7 @@
Content-Length:...
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4457,7 +4457,7 @@
<s>The first is from Stephanie Williams
and arrived at <break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody></s>
</p>
</speak>
@@ -4504,9 +4504,9 @@
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -4518,7 +4518,7 @@
and arrived at <break/>
<say-as interpret-as="vxml:time">0342p</say-as>.</s>
<mark name="here"/>
- <s>The subject is
+ <s>The subject is
<prosody rate="-20%">ski trip</prosody>
</s>
<mark name="ANSWER"/>
@@ -4588,7 +4588,7 @@
generate asynchronous events to the client to indicate conditions of
interest during the processing of the method.¶
This section applies to the following resource types.¶
-
+
speechrecog¶
dtmfrecog¶
@@ -4688,7 +4688,7 @@
| STOP |
|<------| |
|<-------------------STOP--------------------------|
- |<-------------------DEFINE-GRAMMAR----------------|
+ |<-------------------DEFINE-GRAMMAR----------------|
Figure 19 :
@@ -4862,7 +4862,7 @@
sensitivity-level = "Sensitivity-Level" ":" FLOAT CRLF
- ¶
+
¶
@@ -4883,7 +4883,7 @@
speed-vs-accuracy = "Speed-Vs-Accuracy" ":" FLOAT CRLF
- ¶
+
¶
@@ -4905,7 +4905,7 @@
n-best-list-length = "N-Best-List-Length" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -4920,7 +4920,7 @@
input-type = "Input-Type" ":" inputs CRLF
inputs = "speech" / "dtmf"
- ¶
+¶
@@ -4939,7 +4939,7 @@
no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -4957,7 +4957,7 @@
recognition-timeout = "Recognition-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -4991,10 +4991,10 @@
associated with the header field.¶
-waveform-uri = "Waveform-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
+waveform-uri = "Waveform-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
- ¶
+
¶
@@ -5007,9 +5007,9 @@
captured and returned by the Waveform-URI header field.¶
-media-type = "Media-Type" ":" media-type-value
+media-type = "Media-Type" ":" media-type-value
CRLF
- ¶
+
¶
@@ -5023,7 +5023,7 @@
input-waveform-uri = "Input-Waveform-URI" ":" uri CRLF
- ¶
+
¶
@@ -5044,7 +5044,7 @@
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
- ¶
+¶
Table 6
@@ -5178,9 +5178,9 @@
interpret the completion reason text.¶
-completion-reason = "Completion-Reason" ":"
+completion-reason = "Completion-Reason" ":"
quoted-string CRLF
- ¶
+
¶
@@ -5208,7 +5208,7 @@
recognizer-context-block = "Recognizer-Context-Block" ":"
[1*VCHAR] CRLF
- ¶
+¶
@@ -5253,7 +5253,7 @@
speech-complete-timeout = "Speech-Complete-Timeout" ":"
1*19DIGIT CRLF
- ¶
+¶
A long Speech-Complete-Timeout value delays the result to the
client and therefore makes the application's response to a user
@@ -5280,9 +5280,9 @@
implementation specific.¶
-speech-incomplete-timeout = "Speech-Incomplete-Timeout" ":" 1*19DIGIT
+speech-incomplete-timeout = "Speech-Incomplete-Timeout" ":" 1*19DIGIT
CRLF
- ¶
+
¶
The Speech-Incomplete-Timeout also applies when the speech prior
to the silence is a complete match of an active grammar, but where
@@ -5312,7 +5312,7 @@
dtmf-interdigit-timeout = "DTMF-Interdigit-Timeout" ":"
1*19DIGIT CRLF
- ¶
+¶
@@ -5328,7 +5328,7 @@
dtmf-term-timeout = "DTMF-Term-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -5342,7 +5342,7 @@
dtmf-term-char = "DTMF-Term-Char" ":" VCHAR CRLF
- ¶
+
¶
@@ -5357,7 +5357,7 @@
failed-uri = "Failed-URI" ":" absoluteURI CRLF
- ¶
+
¶
@@ -5374,7 +5374,7 @@
failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR CRLF
- ¶
+
¶
@@ -5395,7 +5395,7 @@
save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5420,9 +5420,9 @@
session for multiple telephone calls.
¶
-new-audio-channel = "New-Audio-Channel" ":" BOOLEAN
+new-audio-channel = "New-Audio-Channel" ":" BOOLEAN
CRLF
- ¶
+
¶
@@ -5437,7 +5437,7 @@
speech-language = "Speech-Language" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -5523,7 +5523,7 @@
hotword-max-duration = "Hotword-Max-Duration" ":" 1*19DIGIT
CRLF
- ¶
+¶
@@ -5543,7 +5543,7 @@
hotword-min-duration = "Hotword-Min-Duration" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -5560,8 +5560,8 @@
the INTERPRET method.
¶
-interpret-text = "Interpret-Text" ":" 1*VCHAR CRLF
- ¶
+interpret-text = "Interpret-Text" ":" 1*VCHAR CRLF
+
¶
@@ -5581,7 +5581,7 @@
dtmf-buffer-time = "DTMF-Buffer-Time" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -5599,7 +5599,7 @@
clear-dtmf-buffer = "Clear-DTMF-Buffer" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5617,7 +5617,7 @@
early-no-match = "Early-No-Match" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5631,9 +5631,9 @@
implementation specific and MAY be greater than 1.¶
-num-min-consistent-pronunciations =
+num-min-consistent-pronunciations =
"Num-Min-Consistent-Pronunciations" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -5653,7 +5653,7 @@
consistency-threshold = "Consistency-Threshold" ":" FLOAT CRLF
- ¶
+
¶
@@ -5676,7 +5676,7 @@
clash-threshold = "Clash-Threshold" ":" FLOAT CRLF
- ¶
+
¶
@@ -5695,7 +5695,7 @@
personal-grammar-uri = "Personal-Grammar-URI" ":" uri CRLF
- ¶
+
¶
@@ -5711,7 +5711,7 @@
enroll-utterance = "Enroll-Utterance" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5728,7 +5728,7 @@
phrase-id = "Phrase-ID" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -5743,7 +5743,7 @@
phrase-nl = "Phrase-NL" ":" 1*UTFCHAR CRLF
- ¶
+
¶
@@ -5769,7 +5769,7 @@
weight = "Weight" ":" FLOAT CRLF
- ¶
+
¶
@@ -5789,7 +5789,7 @@
save-best-waveform = "Save-Best-Waveform" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -5803,7 +5803,7 @@
new-phrase-id = "New-Phrase-ID" ":" 1*VCHAR CRLF
- ¶
+
¶
@@ -5818,7 +5818,7 @@
confusable-phrases-uri = "Confusable-Phrases-URI" ":" uri CRLF
- ¶
+
¶
@@ -5830,9 +5830,9 @@
phrase to the personal grammar.¶
-abort-phrase-enrollment = "Abort-Phrase-Enrollment" ":"
+abort-phrase-enrollment = "Abort-Phrase-Enrollment" ":"
BOOLEAN CRLF
- ¶
+
¶
@@ -5936,8 +5936,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -6012,8 +6012,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -6159,7 +6159,7 @@
uncertainty in speech recognition or natural language
understanding. There are at least two reasons for providing
multiple interpretations:¶
-
+
The client application might have additional information,
for example, information from a database, that would allow it
to select a preferred interpretation from among the possible
@@ -6181,7 +6181,7 @@
These are elements and attributes representing additional
information about the interpretation, over and above the
interpretation itself. Side information includes:¶
-
+
Whether an interpretation was achieved (the <nomatch>
element) and the system's confidence in an interpretation (the
"confidence" attribute of <interpretation>).¶
@@ -6213,7 +6213,7 @@
9.6.2. Overview of Recognizer Result Elements and Their Relationships
The recognizer elements in NLSML fall into two categories:¶
-
+
description of the input that was processed, and¶
description of the meaning which was extracted from the
@@ -6267,7 +6267,7 @@
result, it can be overridden for individual interpretations at the
<interpretation> level.¶
Attributes:¶
-
+
grammar: The grammar or recognition rule matched by this
result. The format of the grammar attribute will match the
rule reference semantics defined in the grammar specification.
@@ -6288,7 +6288,7 @@
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
- grammar="http://www.example.com/grammar">
+ grammar="http://www.example.com/grammar">
<interpretation>
....
</interpretation>
@@ -6303,7 +6303,7 @@
An <interpretation> element contains a single semantic
interpretation.¶
Attributes:¶
-
+
confidence: A float value from 0.0-1.0 indicating the
semantic analyzer's confidence in this interpretation. A value
of 1.0 indicates maximum confidence. The values are
@@ -6359,7 +6359,7 @@
objects created, nor any semantic translation, the instance value
is the same as the input value.¶
Attributes:¶
-
+
confidence: Each element of the instance MAY have a
confidence attribute, defined in the NLSML namespace. The
confidence attribute contains a float value in the range from
@@ -6380,7 +6380,7 @@
<state>CA</state>
<zip>90952</zip>
</nameAddress>
-</instance>
+</instance>
<input>
My address is 123 Maple Street,
Mill Valley, California, 90952
@@ -6393,7 +6393,7 @@
<instance>
I would like to buy a coca-cola
-</instance>
+</instance>
<input>
I would like to buy a coke
</input>
@@ -6418,7 +6418,7 @@
spoken utterance, in ISO 8601
format [ISO.8601.1988 ] .¶
Attributes:¶
-
+
timestamp-start: The time at which the input began.
(optional)¶
@@ -6441,7 +6441,7 @@
When there is no time zone designator, ISO 8601 time
representations default to local time.¶
There are three possible formats for the <input> element.¶
-
+
The <input> element can contain simple text:¶
@@ -6465,12 +6465,12 @@
for individual words and word-level confidences.
¶
- <input>
+ <input>
<input mode="speech" confidence="0.5"
- timestamp-start="2000-04-03T0:00:00"
+ timestamp-start="2000-04-03T0:00:00"
timestamp-end="2000-04-03T0:00:00.2">fried</input>
<input mode="speech" confidence="1.0"
- timestamp-start="2000-04-03T0:00:00.25"
+ timestamp-start="2000-04-03T0:00:00.25"
timestamp-end="2000-04-03T0:00:00.6">onions</input>
</input>
¶
@@ -6497,14 +6497,14 @@
<interpretation>
<instance/>
- <input confidence="0.1">
+ <input confidence="0.1">
<nomatch/>
</input>
</interpretation>
-<interpretation>
- <instance/>
- <input mode="speech" confidence="0.1">
- <nomatch>I want to go to New York</nomatch>
+<interpretation>
+ <instance/>
+ <input mode="speech" confidence="0.1">
+ <nomatch>I want to go to New York</nomatch>
</input>
</interpretation>
¶
@@ -6533,7 +6533,7 @@
in DTMF modality". For example, to represent garbled speech
combined with DTMF "1 2 3 4", the markup would be:
¶
-
<input>
+<input>
<input mode="speech"><nomatch/></input>
<input mode="dtmf">1 2 3 4</input>
</input> ¶
@@ -6555,7 +6555,7 @@
<enrollment‑result> element under <result>. The elements
are described below and have the schema defined in Section 16.2 . The following elements
are defined:¶
-
+
num-clashes¶
num-good-repetitions¶
@@ -6686,8 +6686,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -6737,8 +6737,8 @@
"http://www.w3.org/TR/speech-grammar/grammar.dtd">
<grammar xmlns="http://www.w3.org/2001/06/grammar" xml:lang="en"
-xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://www.w3.org/2001/06/grammar
+xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://www.w3.org/2001/06/grammar
http://www.w3.org/TR/speech-grammar/grammar.xsd"
version="1.0" mode="voice" root="basicCmd">
@@ -6748,7 +6748,7 @@
<example> please move the window </example>
<example> open a file </example>
- <ruleref
+ <ruleref
uri="http://grammar.example.com/politeness.grxml#startPolite"/>
<ruleref uri="#command"/>
@@ -6806,7 +6806,7 @@
S->C:MRCP/2.0 ... START-OF-INPUT 543260 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C:MRCP/2.0 ... RECOGNITION-COMPLETE 543260 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
@@ -6864,7 +6864,7 @@
useful in applications like VoiceXML browsers to order grammars
specified at the dialog, document, and root level of a VoiceXML
application.¶
-
+
The grammar MAY be placed directly in the message body as typed
content. If more than one grammar is included in the body, the
order of inclusion controls the corresponding precedence for the
@@ -6961,7 +6961,7 @@
the Speech-Complete-Timer is started. If it matches partially with one
or more of the active grammars, with more speech needed before a full
match is achieved, then the Speech-Incomplete-Timer is started.¶
-
+
When the No-Input-Timer expires, the recognizer MUST complete
with a Completion-Cause code of "no-input-timeout".¶
@@ -7006,7 +7006,7 @@
For recognition in hotword mode:¶
Note that for recognition in hotword mode the START-OF-INPUT event is
not generated when speech or a DTMF digit is detected.¶
-
+
When the No-Input-Timer expires, the recognizer MUST complete
with a Completion-Cause code of "no-input-timeout".¶
@@ -7043,7 +7043,7 @@
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
-<grammar xmlns="http://www.w3.org/2001/06/grammar"
+<grammar xmlns="http://www.w3.org/2001/06/grammar"
xml:lang="en-US" version="1.0" root="request">
<!-- single language attachment to tokens -->
@@ -7051,8 +7051,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -7070,7 +7070,7 @@
S->C:MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C:MRCP/2.0 ... RECOGNITION-COMPLETE 543257 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
@@ -7100,14 +7100,14 @@
occur in normal usage.¶
-C->S: MRCP/2.0 ... RECOGNIZE 543257
- Channel-Identifier:32AECB23433801@speechrecog
- Confidence-Threshold:0.9
+C->S: MRCP/2.0 ... RECOGNIZE 543257
+ Channel-Identifier:32AECB23433801@speechrecog
+ Confidence-Threshold:0.9
Fetch-Timeout:20
- Content-Type:application/srgs+xml
+ Content-Type:application/srgs+xml
Content-Length:...
-
- <?xml version="1.0"? Version="1.0" mode="voice"
+
+ <?xml version="1.0"? Version="1.0" mode="voice"
root="Basic md">
<rule id="rule_list" scope="public">
<one-of>
@@ -7151,7 +7151,7 @@
Content-Type:application/srgs+xml
Content-ID:<request1@form-level.store>
Content-Length:...
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
@@ -7163,8 +7163,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -7209,13 +7209,13 @@
C->S: MRCP/2.0 ... GET-RESULT 543257
Channel-Identifier:32AECB23433801@speechrecog
Confidence-Threshold:0.9
-
+
S->C: MRCP/2.0 ... 543257 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -7297,7 +7297,7 @@
Content-Type:application/srgs+xml
Content-ID:<request1@form-level.store>
Content-Length:...
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
@@ -7309,8 +7309,8 @@
<one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
+ </one-of>
+ </rule>
<!-- single language attachment to a rule expansion -->
<rule id="request">
@@ -7327,7 +7327,7 @@
S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... RECOGNITION-COMPLETE 543257 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
Completion-Cause:000 success
@@ -7335,7 +7335,7 @@
size=342456;duration=25435
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -7360,22 +7360,22 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version= "1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="Personal-Grammar-URI">
<enrollment-result>
<num-clashes> 2 </num-clashes>
<num-good-repetitions> 1 </num-good-repetitions>
- <num-repetitions-still-needed>
- 1
+ <num-repetitions-still-needed>
+ 1
</num-repetitions-still-needed>
<consistency-status> consistent </consistency-status>
- <clash-phrase-ids>
- <item> Jeff </item> <item> Andre </item>
+ <clash-phrase-ids>
+ <item> Jeff </item> <item> Andre </item>
</clash-phrase-ids>
<transcriptions>
- <item> m ay b r ow k er </item>
+ <item> m ay b r ow k er </item>
<item> m ax r aa k ah </item>
</transcriptions>
<confusable-phrases>
@@ -7483,7 +7483,7 @@
C->S: MRCP/2.0 ... END-PHRASE-ENROLLMENT 543262
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... 543262 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
@@ -7503,7 +7503,7 @@
effect.¶
-C->S: MRCP/2.0 ... MODIFY-PHRASE 543265
+C->S: MRCP/2.0 ... MODIFY-PHRASE 543265
Channel-Identifier:32AECB23433801@speechrecog
Personal-Grammar-URI:<personal grammar uri>
Phrase-Id:<phrase id>
@@ -7511,7 +7511,7 @@
Phrase-NL:<NL phrase>
Weight:1
-S->C: MRCP/2.0 ... 543265 200 COMPLETE
+S->C: MRCP/2.0 ... 543265 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog ¶
@@ -7557,56 +7557,56 @@
C->S: MRCP/2.0 ... INTERPRET 543266
- Channel-Identifier:32AECB23433801@speechrecog
- Interpret-Text:may I speak to Andre Roy
- Content-Type:application/srgs+xml
- Content-ID:<request1@form-level.store>
+ Channel-Identifier:32AECB23433801@speechrecog
+ Interpret-Text:may I speak to Andre Roy
+ Content-Type:application/srgs+xml
+ Content-ID:<request1@form-level.store>
Content-Length:...
-
- <?xml version="1.0"?>
- <!-- the default grammar language is US English -->
+
+ <?xml version="1.0"?>
+ <!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
- xml:lang="en-US" version="1.0" root="request">
- <!-- single language attachment to tokens -->
- <rule id="yes">
- <one-of>
- <item xml:lang="fr-CA">oui</item>
- <item xml:lang="en-US">yes</item>
- </one-of>
- </rule>
-
- <!-- single language attachment to a rule expansion -->
- <rule id="request">
- may I speak to
- <one-of xml:lang="fr-CA">
- <item>Michel Tremblay</item>
- <item>Andre Roy</item>
- </one-of>
- </rule>
- </grammar>
-
+ xml:lang="en-US" version="1.0" root="request">
+ <!-- single language attachment to tokens -->
+ <rule id="yes">
+ <one-of>
+ <item xml:lang="fr-CA">oui</item>
+ <item xml:lang="en-US">yes</item>
+ </one-of>
+ </rule>
+
+ <!-- single language attachment to a rule expansion -->
+ <rule id="request">
+ may I speak to
+ <one-of xml:lang="fr-CA">
+ <item>Michel Tremblay</item>
+ <item>Andre Roy</item>
+ </one-of>
+ </rule>
+ </grammar>
+
S->C: MRCP/2.0 ... 543266 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... INTERPRETATION-COMPLETE 543266 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
- Completion-Cause:000 success
- Content-Type:application/nlsml+xml
+ Completion-Cause:000 success
+ Content-Type:application/nlsml+xml
Content-Length:...
-
- <?xml version="1.0"?>
+
+ <?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
- grammar="session:request1@form-level.store">
- <interpretation>
- <instance name="Person">
- <ex:Person>
- <ex:Name> Andre Roy </ex:Name>
- </ex:Person>
- </instance>
- <input> may I speak to Andre Roy </input>
- </interpretation>
- </result>
+ grammar="session:request1@form-level.store">
+ <interpretation>
+ <instance name="Person">
+ <ex:Person>
+ <ex:Name> Andre Roy </ex:Name>
+ </ex:Person>
+ </instance>
+ <input> may I speak to Andre Roy </input>
+ </interpretation>
+ </result>
¶
@@ -7625,55 +7625,55 @@
C->S: MRCP/2.0 ... INTERPRET 543266
- Channel-Identifier:32AECB23433801@speechrecog
- Interpret-Text:may I speak to Andre Roy
- Content-Type:application/srgs+xml
- Content-ID:<request1@form-level.store>
+ Channel-Identifier:32AECB23433801@speechrecog
+ Interpret-Text:may I speak to Andre Roy
+ Content-Type:application/srgs+xml
+ Content-ID:<request1@form-level.store>
Content-Length:...
-
- <?xml version="1.0"?>
- <!-- the default grammar language is US English -->
+
+ <?xml version="1.0"?>
+ <!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
- xml:lang="en-US" version="1.0" root="request">
- <!-- single language attachment to tokens -->
- <rule id="yes">
- <one-of>
+ xml:lang="en-US" version="1.0" root="request">
+ <!-- single language attachment to tokens -->
+ <rule id="yes">
+ <one-of>
<item xml:lang="fr-CA">oui</item>
<item xml:lang="en-US">yes</item>
</one-of>
</rule>
-
- <!-- single language attachment to a rule expansion -->
- <rule id="request">
- may I speak to
- <one-of xml:lang="fr-CA">
- <item>Michel Tremblay</item>
- <item>Andre Roy</item>
- </one-of>
- </rule>
- </grammar>
-
+
+ <!-- single language attachment to a rule expansion -->
+ <rule id="request">
+ may I speak to
+ <one-of xml:lang="fr-CA">
+ <item>Michel Tremblay</item>
+ <item>Andre Roy</item>
+ </one-of>
+ </rule>
+ </grammar>
+
S->C: MRCP/2.0 ... 543266 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechrecog
-
+
S->C: MRCP/2.0 ... INTERPRETATION-COMPLETE 543266 200 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
- Completion-Cause:000 success
- Content-Type:application/nlsml+xml
+ Completion-Cause:000 success
+ Content-Type:application/nlsml+xml
Content-Length:...
-
- <?xml version="1.0"?>
+
+ <?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
- grammar="session:request1@form-level.store">
- <interpretation>
- <instance name="Person">
- <ex:Person>
- <ex:Name> Andre Roy </ex:Name>
- </ex:Person>
- </instance>
- <input> may I speak to Andre Roy </input>
- </interpretation>
+ grammar="session:request1@form-level.store">
+ <interpretation>
+ <instance name="Person">
+ <ex:Person>
+ <ex:Name> Andre Roy </ex:Name>
+ </ex:Person>
+ </instance>
+ <input> may I speak to Andre Roy </input>
+ </interpretation>
</result>
¶
@@ -7696,7 +7696,7 @@
This resource captures received audio and video and stores it as
content pointed to by a URI. The main usages of recorders are¶
-
+
to capture speech audio that may be submitted for recognition at
a later time, and¶
@@ -7756,7 +7756,7 @@
recorder-method = "RECORD"
/ "STOP"
/ "START-INPUT-TIMERS"
- ¶
+ ¶
@@ -7768,7 +7768,7 @@
recorder-event = "START-OF-INPUT"
/ "RECORD-COMPLETE"
- ¶
+ ¶
@@ -7781,7 +7781,7 @@
associated with.¶
-recorder-header = sensitivity-level
+recorder-header = sensitivity-level
/ no-input-timeout
/ completion-cause
/ completion-reason
@@ -7796,7 +7796,7 @@
/ ver-buffer-utterance
/ start-input-timers
/ new-audio-channel
- ¶
+
¶
@@ -7812,7 +7812,7 @@
sensitivity-level = "Sensitivity-Level" ":" FLOAT CRLF
- ¶
+
¶
@@ -7830,7 +7830,7 @@
no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -7851,7 +7851,7 @@
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
- ¶
+¶
Table 7
@@ -7908,7 +7908,7 @@
completion-reason = "Completion-Reason" ":"
quoted-string CRLF
- ¶
+¶
@@ -7921,7 +7921,7 @@
failed-uri = "Failed-URI" ":" absoluteURI CRLF
- ¶
+
¶
@@ -7937,9 +7937,9 @@
response code.¶
-failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR
+failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR
CRLF
- ¶
+
¶
@@ -7966,10 +7966,10 @@
implementations already exist that support other schemes.
¶
-record-uri = "Record-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
+record-uri = "Record-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
- ¶
+
¶
@@ -7981,9 +7981,9 @@
to the server the media type of the captured audio or video.¶
-media-type = "Media-Type" ":" media-type-value
+media-type = "Media-Type" ":" media-type-value
CRLF
- ¶
+
¶
@@ -8006,7 +8006,7 @@
max-time = "Max-Time" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8020,7 +8020,7 @@
trim-length = "Trim-Length" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8039,7 +8039,7 @@
final-silence = "Final-Silence" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8055,7 +8055,7 @@
capture-on-speech = "Capture-On-Speech " ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8091,7 +8091,7 @@
start-input-timers = "Start-Input-Timers" ":"
BOOLEAN CRLF
- ¶
+¶
@@ -8148,20 +8148,20 @@
C->S: MRCP/2.0 ... RECORD 543257
Channel-Identifier:32AECB23433802@recorder
- Record-URI:<file://mediaserver/recordings/myfile.wav>
+ Record-URI:<file://mediaserver/recordings/myfile.wav>
Media-Type:audio/wav
Capture-On-Speech:true
Final-Silence:300
Max-Time:6000
-
-S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
- Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
+ Channel-Identifier:32AECB23433802@recorder
Completion-Cause:000 success-silence
Record-URI:<file://mediaserver/recordings/myfile.wav>;
size=242552;duration=25645
@@ -8194,23 +8194,23 @@
C->S: MRCP/2.0 ... RECORD 543257
Channel-Identifier:32AECB23433802@recorder
- Record-URI:<file://mediaserver/recordings/myfile.wav>
+ Record-URI:<file://mediaserver/recordings/myfile.wav>
Capture-On-Speech:true
Final-Silence:300
Max-Time:6000
-
-S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
+
+S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
C->S: MRCP/2.0 ... STOP 543257
- Channel-Identifier:32AECB23433802@recorder
+ Channel-Identifier:32AECB23433802@recorder
Trim-Length:200
-
-S->C: MRCP/2.0 ... 543257 200 COMPLETE
- Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... 543257 200 COMPLETE
+ Channel-Identifier:32AECB23433802@recorder
Record-URI:<file://mediaserver/recordings/myfile.wav>;
size=324253;duration=24561
Active-Request-Id-List:543257
@@ -8235,19 +8235,19 @@
C->S: MRCP/2.0 ... RECORD 543257
Channel-Identifier:32AECB23433802@recorder
- Record-URI:<file://mediaserver/recordings/myfile.wav>
+ Record-URI:<file://mediaserver/recordings/myfile.wav>
Capture-On-Speech:true
Final-Silence:300
Max-Time:6000
-
-S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
- Channel-Identifier:32AECB23433802@recorder
-
-S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
- Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... 543257 200 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... START-OF-INPUT 543257 IN-PROGRESS
+ Channel-Identifier:32AECB23433802@recorder
+
+S->C: MRCP/2.0 ... RECORD-COMPLETE 543257 COMPLETE
+ Channel-Identifier:32AECB23433802@recorder
Completion-Cause:000 success
Record-URI:<file://mediaserver/recordings/myfile.wav>;
size=325325;duration=24652
@@ -8430,14 +8430,14 @@
| |<---------| |
| | |
|----------| | |
- | STOP | |
+ | STOP | |
|<---------| | |
| |----------| |
| | CLEAR-BUFFER |
| |<---------| |
| | |
|----------| | |
- | CLEAR-BUFFER | |
+ | CLEAR-BUFFER | |
|<---------| | |
| | |
| |----------| |
@@ -8479,7 +8479,7 @@
/ "CLEAR-BUFFER"
/ "START-INPUT-TIMERS"
/ "GET-INTERMEDIATE-RESULT"
- ¶
+ ¶
These methods allow the client to control the mode and target of
verification or identification operations within the context of a
@@ -8497,13 +8497,13 @@
appropriate for the resource, with the header field
Ver‑Buffer‑Utterance. Then, when the following method is called,
verification is performed using the set of buffered audio.¶
-
+
VERIFY-FROM-BUFFER¶
The following methods are used for verification of live audio
utterances:¶
-
+
VERIFY¶
START-INPUT-TIMERS¶
@@ -8511,7 +8511,7 @@
The following methods are used for configuring the verifier
resource and for establishing resource states:¶
-
+
START-SESSION¶
END-SESSION¶
@@ -8529,7 +8529,7 @@
The following method allows the polling of a verification in progress
for intermediate results.¶
-
+
GET-INTERMEDIATE-RESULT¶
@@ -8543,7 +8543,7 @@
verifier-event = "VERIFICATION-COMPLETE"
/ "START-OF-INPUT"
- ¶
+ ¶
@@ -8576,7 +8576,7 @@
/ new-audio-channel
/ abort-verification
/ start-input-timers
- ¶
+¶
@@ -8590,7 +8590,7 @@
repository-uri = "Repository-URI" ":" uri CRLF
- ¶
+
¶
@@ -8610,10 +8610,10 @@
group identifier instead of a list of voiceprint identifiers.¶
-voiceprint-identifier = "Voiceprint-Identifier" ":"
+voiceprint-identifier = "Voiceprint-Identifier" ":"
vid *[";" vid] CRLF
vid = 1*VCHAR ["." 1*VCHAR]
- ¶
+
¶
@@ -8644,7 +8644,7 @@
caller's response without any participation by the verifier
resource.¶
Once the following conditions have been met:¶
-
+
the voiceprint identity has been successfully established through
the Voiceprint-Identifier header fields of the START-SESSION
method, and¶
@@ -8665,12 +8665,12 @@
error and the mode retains its current value.¶
-verification-mode = "Verification-Mode" ":"
+verification-mode = "Verification-Mode" ":"
verification-mode-string
verification-mode-string = "train"
/ "verify"
- ¶
+
¶
@@ -8688,7 +8688,7 @@
adapt-model = "Adapt-Model" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8708,7 +8708,7 @@
abort-model = "Abort-Model" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8723,9 +8723,9 @@
this header field is implementation specific.¶
-min-verification-score = "Min-Verification-Score" ":"
+min-verification-score = "Min-Verification-Score" ":"
[ %x2D ] FLOAT CRLF
- ¶
+
¶
@@ -8742,9 +8742,9 @@
START-SESSION, SET-PARAMS, or GET-PARAMS.¶
-num-min-verification-phrases = "Num-Min-Verification-Phrases" ":"
+num-min-verification-phrases = "Num-Min-Verification-Phrases" ":"
1*19DIGIT CRLF
- ¶
+
¶
@@ -8761,9 +8761,9 @@
START-SESSION, SET-PARAMS, or GET-PARAMS.¶
-num-max-verification-phrases = "Num-Max-Verification-Phrases" ":"
+num-max-verification-phrases = "Num-Max-Verification-Phrases" ":"
1*19DIGIT CRLF
- ¶
+
¶
@@ -8784,7 +8784,7 @@
no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT CRLF
- ¶
+
¶
@@ -8807,7 +8807,7 @@
save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8820,9 +8820,9 @@
by the Waveform-URI header field.¶
-media-type = "Media-Type" ":" media-type-value
+media-type = "Media-Type" ":" media-type-value
CRLF
- ¶
+
¶
@@ -8848,10 +8848,10 @@
associated with the header field.¶
-waveform-uri = "Waveform-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
+waveform-uri = "Waveform-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
- ¶
+
¶
@@ -8866,7 +8866,7 @@
voiceprint-exists = "Voiceprint-Exists" ":" BOOLEAN CRLF
- ¶
+
¶
@@ -8885,7 +8885,7 @@
ver-buffer-utterance = "Ver-Buffer-Utterance" ":" BOOLEAN
CRLF
- ¶
+
¶
@@ -8903,7 +8903,7 @@
input-waveform-uri = "Input-Waveform-URI" ":" uri CRLF
- ¶
+
¶
@@ -8925,7 +8925,7 @@
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
- ¶
+¶
Table 8
@@ -9024,9 +9024,9 @@
interpret the completion reason text.¶
-completion-reason = "Completion-Reason" ":"
+completion-reason = "Completion-Reason" ":"
quoted-string CRLF
- ¶
+
¶
@@ -9058,7 +9058,7 @@
abort-verification = "Abort-Verification " ":" BOOLEAN CRLF
- ¶
+
¶
@@ -9082,7 +9082,7 @@
start-input-timers = "Start-Input-Timers" ":"
BOOLEAN CRLF
- ¶
+¶
@@ -9111,7 +9111,7 @@
<verification-result> element under <result>. The
elements are described below and have the schema defined in Section 16.2 . The following elements
are defined:¶
-
+
<voiceprint>¶
<incremental>¶
@@ -9386,7 +9386,7 @@
The END-SESSION method terminates an ongoing verification session
and releases the verification voiceprint resources. The session may
terminate in one of three ways:¶
-
+
abort - the voiceprint adaptation or creation may be aborted so
that the voiceprint remains unchanged (or is not created).¶
@@ -9415,7 +9415,7 @@
S->C: MRCP/2.0 ... 314174 200 COMPLETE
Channel-Identifier:32AECB23433801@speakverify
- ¶
+¶
@@ -9451,7 +9451,7 @@
Repository-URI:http://www.example.com/voiceprints/
Voiceprint-Identifier:johnsmith.voiceprint
Voiceprint-Exists:true
- ¶
+¶
The following example assumes that the URI provided in the
Repository-URI header field is a bad URI.¶
@@ -9580,7 +9580,7 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
@@ -9636,7 +9636,7 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
@@ -9735,9 +9735,9 @@
C->S: MRCP/2.0 ... VERIFY 314177
Channel-Identifier:32AECB23433801@speakverify
-S->C: MRCP/2.0 ... 314177 200 IN-PROGRESS
+S->C: MRCP/2.0 ... 314177 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speakverify
-
+
C->S: MRCP/2.0 ... STOP 314178
Channel-Identifier:32AECB23433801@speakverify
@@ -9781,7 +9781,7 @@
Completion-Cause:000 success
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
@@ -9869,8 +9869,8 @@
Channel-Identifier:32AECB23433801@speakverify
Content-Type:application/nlsml+xml
Content-Length:...
-
- <?xml version="1.0"?>
+
+ <?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
grammar="What-Grammar-URI">
<verification-result>
@@ -9924,7 +9924,7 @@
by SDP within the context of a SIP dialog. In order to ensure secure
rendezvous between MRCPv2 clients and servers, the following are
required:¶
-
+
The SIP implementation in MRCPv2 clients and servers MUST
support SIP digest authentication [RFC3261 ]
and SHOULD employ it.¶
@@ -10203,7 +10203,7 @@
Proxy-Sync-Id Generic [RFC6787]
Accept-Charset Generic [RFC2616]
Content-Type Generic [RFC6787]
-Content-ID Generic
+Content-ID Generic
[RFC2392], [RFC2046], and [RFC5322]
Content-Base Generic [RFC6787]
Content-Encoding Generic [RFC6787]
@@ -10285,10 +10285,10 @@
Record-URI Recorder [RFC6787]
Media-Type Recorder [RFC6787]
Max-Time Recorder [RFC6787]
-Trim-Length Recorder [RFC6787]
+Trim-Length Recorder [RFC6787]
Final-Silence Recorder [RFC6787]
-Capture-On-Speech Recorder [RFC6787]
-Ver-Buffer-Utterance Recorder [RFC6787]
+Capture-On-Speech Recorder [RFC6787]
+Ver-Buffer-Utterance Recorder [RFC6787]
Start-Input-Timers Recorder [RFC6787]
New-Audio-Channel Recorder [RFC6787]
Repository-URI Verifier [RFC6787]
@@ -10864,7 +10864,7 @@
Contact:<sip:sarvi@client.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2614933546 2614933546 IN IP4 192.0.2.12
s=Set up MRCPv2 control and audio
@@ -10923,23 +10923,23 @@
Contact:<sip:sarvi@client.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2614933546 2614933547 IN IP4 192.0.2.12
s=Set up MRCPv2 control and audio
i=Add TCP channel, synthesizer and one-way audio
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:new
- a=resource:speechsynth
+ a=resource:speechsynth
a=cmid:1
m=audio 49170 RTP/AVP 0 96
a=rtpmap:0 pcmu/8000
- a=rtpmap:96 telephone-event/8000
- a=fmtp:96 0-15
- a=recvonly
+ a=rtpmap:96 telephone-event/8000
+ a=fmtp:96 0-15
+ a=recvonly
a=mid:1
@@ -10954,21 +10954,21 @@
Contact:<sip:mresources@server.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=- 3000000001 3000000002 IN IP4 192.0.2.11
s=Set up MRCPv2 control and audio
i=Add TCP channel, synthesizer and one-way audio
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
+ m=application 32416 TCP/MRCPv2 1
a=setup:passive
a=connection:new
- a=channel:32AECB23433801@speechsynth
+ a=channel:32AECB23433801@speechsynth
a=cmid:1
m=audio 48260 RTP/AVP 0
a=rtpmap:0 pcmu/8000
- a=sendonly
+ a=sendonly
a=mid:1
@@ -11002,34 +11002,34 @@
Contact:<sip:sarvi@client.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=sarvi 2614933546 2614933548 IN IP4 192.0.2.12
s=Set up MRCPv2 control and audio
i=Add recognizer and duplex the audio
c=IN IP4 192.0.2.12
t=0 0
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
- a=resource:speechsynth
+ a=resource:speechsynth
a=cmid:1
m=audio 49170 RTP/AVP 0 96
a=rtpmap:0 pcmu/8000
- a=rtpmap:96 telephone-event/8000
- a=fmtp:96 0-15
- a=recvonly
+ a=rtpmap:96 telephone-event/8000
+ a=fmtp:96 0-15
+ a=recvonly
a=mid:1
- m=application 9 TCP/MRCPv2 1
+ m=application 9 TCP/MRCPv2 1
a=setup:active
a=connection:existing
- a=resource:speechrecog
+ a=resource:speechrecog
a=cmid:2
m=audio 49180 RTP/AVP 0 96
a=rtpmap:0 pcmu/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
- a=sendonly
+ a=sendonly
a=mid:2
@@ -11044,28 +11044,28 @@
Contact:<sip:mresources@server.example.com>
Content-Type:application/sdp
Content-Length:...
-
+
v=0
o=- 3000000001 3000000003 IN IP4 192.0.2.11
s=Set up MRCPv2 control and audio
i=Add recognizer and duplex the audio
c=IN IP4 192.0.2.11
t=0 0
- m=application 32416 TCP/MRCPv2 1
- a=channel:32AECB23433801@speechsynth
+ m=application 32416 TCP/MRCPv2 1
+ a=channel:32AECB23433801@speechsynth
a=cmid:1
m=audio 48260 RTP/AVP 0
a=rtpmap:0 pcmu/8000
- a=sendonly
+ a=sendonly
a=mid:1
- m=application 32416 TCP/MRCPv2 1
- a=channel:32AECB23433801@speechrecog
+ m=application 32416 TCP/MRCPv2 1
+ a=channel:32AECB23433801@speechrecog
a=cmid:2
m=audio 48260 RTP/AVP 0
a=rtpmap:0 pcmu/8000
a=rtpmap:96 telephone-event/8000
a=fmtp:96 0-15
- a=recvonly
+ a=recvonly
a=mid:2
@@ -11093,9 +11093,9 @@
Prosody-volume:medium
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -11103,7 +11103,7 @@
xml:lang="en-US">
<p>
<s>You have 4 new messages.</s>
- <s>The first is from Stephanie Williams
+ <s>The first is from Stephanie Williams
<mark name="Stephanie"/>
and arrived at <break/>
<say-as interpret-as="vxml:time">0345p</say-as>.</s>
@@ -11113,7 +11113,7 @@
</speak>
S->C:
- MRCP/2.0 ... 543257 200 IN-PROGRESS
+ MRCP/2.0 ... 543257 200 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechsynth
Speech-Marker:timestamp=857205015059
@@ -11123,7 +11123,7 @@
and faithfully informs the client of the event.¶
-S->C: MRCP/2.0 ... SPEECH-MARKER 543257 IN-PROGRESS
+S->C: MRCP/2.0 ... SPEECH-MARKER 543257 IN-PROGRESS
Channel-Identifier:32AECB23433801@speechsynth
Speech-Marker:timestamp=857206027059;Stephanie
¶
@@ -11145,7 +11145,7 @@
Channel-Identifier:32AECB23433801@speechrecog
Content-Type:application/srgs+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<!-- the default grammar language is US English -->
<grammar xmlns="http://www.w3.org/2001/06/grammar"
@@ -11173,9 +11173,9 @@
Kill-On-Barge-In:true
Content-Type:application/ssml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
- <speak version="1.0"
+ <speak version="1.0"
xmlns="http://www.w3.org/2001/10/synthesis"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.w3.org/2001/10/synthesis
@@ -11238,12 +11238,12 @@
S->C: MRCP/2.0 ... RECOGNITION-COMPLETE 543258 COMPLETE
Channel-Identifier:32AECB23433801@speechrecog
- Completion-Cause:000 success
+ Completion-Cause:000 success
Waveform-URI:<http://web.media.com/session123/audio.wav>;
size=423523;duration=25432
Content-Type:application/nlsml+xml
Content-Length:...
-
+
<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
@@ -11290,7 +11290,7 @@
System: To which city will you be traveling?
User: I want to go to Pittsburgh.
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<result xmlns="urn:ietf:params:xml:ns:mrcpv2"
xmlns:ex="http://www.example.com/example"
grammar="http://www.example.com/flight">
@@ -11323,7 +11323,7 @@
System: What would you like?
-User: I would like 2 pizzas, one with pepperoni and cheese,
+User: I would like 2 pizzas, one with pepperoni and cheese,
one with sausage and a bottle of coke, to go.
¶
@@ -11335,7 +11335,7 @@
resolve the two "one"s as "pizza".¶
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<nl:result xmlns:nl="urn:ietf:params:xml:ns:mrcpv2"
xmlns="http://www.example.com/example"
grammar="http://www.example.com/foodorder">
@@ -11383,11 +11383,11 @@
<input>
<input mode="speech" confidence ="1.0"
- timestamp-start="2000-04-03T0:00:00"
+ timestamp-start="2000-04-03T0:00:00"
timestamp-end="2000-04-03T0:00:01.5">My pin is
</input>
<input mode="dtmf" confidence ="1.0"
- timestamp-start="2000-04-03T0:00:01.5"
+ timestamp-start="2000-04-03T0:00:01.5"
timestamp-end="2000-04-03T0:00:02.0">1 2 3 4
</input>
</input>
@@ -11463,18 +11463,18 @@
for actually resolving the reference).¶
-Example: (ignoring the issue of representing the input from the
+Example: (ignoring the issue of representing the input from the
pointing gesture.)
System: What do you want to drink?
User: I want this. (clicks on picture of large root beer.)
-<?xml version="1.0"?>
+<?xml version="1.0"?>
<nl:result xmlns:nl="urn:ietf:params:xml:ns:mrcpv2"
xmlns="http://www.example.com/example"
- grammar="http://www.example.com/beverages.grxml">
+ grammar="http://www.example.com/beverages.grxml">
<nl:interpretation>
- <nl:instance>
+ <nl:instance>
<doer>I</doer>
<action>want</action>
<object>this</object>
@@ -11545,7 +11545,7 @@
SWS = [LWS] ; sep whitespace
-UTF8-NONASCII = %xC0-DF 1UTF8-CONT
+UTF8-NONASCII = %xC0-DF 1UTF8-CONT
/ %xE0-EF 2UTF8-CONT
/ %xF0-F7 3UTF8-CONT
/ %xF8-FB 4UTF8-CONT
@@ -11556,7 +11556,7 @@
/ UTF8-NONASCII
param = *pchar
-quoted-string = SWS DQUOTE *(qdtext / quoted-pair )
+quoted-string = SWS DQUOTE *(qdtext / quoted-pair )
DQUOTE
qdtext = LWS / %x21 / %x23-5B / %x5D-7E
@@ -11567,7 +11567,7 @@
token = 1*(alphanum / "-" / "." / "!" / "%" / "*"
/ "_" / "+" / "`" / "'" / "~" )
-reserved = ";" / "/" / "?" / ":" / "@" / "&" / "="
+reserved = ";" / "/" / "?" / ":" / "@" / "&" / "="
/ "+" / "$" / ","
mark = "-" / "_" / "." / "!" / "~" / "*" / "'"
@@ -11580,7 +11580,7 @@
alphanum = ALPHA / DIGIT
-BOOLEAN = "true" / "false"
+BOOLEAN = "true" / "false"
FLOAT = *DIGIT ["." *DIGIT]
@@ -11588,12 +11588,12 @@
fragment = *uric
-uri = [ absoluteURI / relativeURI ]
+uri = [ absoluteURI / relativeURI ]
[ "#" fragment ]
absoluteURI = scheme ":" ( hier-part / opaque-part )
-relativeURI = ( net-path / abs-path / rel-path )
+relativeURI = ( net-path / abs-path / rel-path )
[ "?" query ]
hier-part = ( net-path / abs-path ) [ "?" query ]
@@ -11604,14 +11604,14 @@
rel-path = rel-segment [ abs-path ]
-rel-segment = 1*( unreserved / escaped / ";" / "@"
- / "&" / "=" / "+" / "$" / "," )
+rel-segment = 1*( unreserved / escaped / ";" / "@"
+ / "&" / "=" / "+" / "$" / "," )
opaque-part = uric-no-slash *uric
uric = reserved / unreserved / escaped
-uric-no-slash = unreserved / escaped / ";" / "?" / ":"
+uric-no-slash = unreserved / escaped / ";" / "?" / ":"
/ "@" / "&" / "=" / "+" / "$" / ","
path-segments = segment *( "/" segment )
@@ -11631,13 +11631,13 @@
userinfo = ( user ) [ ":" password ] "@"
-user = 1*( unreserved / escaped
+user = 1*( unreserved / escaped
/ user-unreserved )
-user-unreserved = "&" / "=" / "+" / "$" / "," / ";"
+user-unreserved = "&" / "=" / "+" / "$" / "," / ";"
/ "?" / "/"
-password = *( unreserved / escaped
+password = *( unreserved / escaped
/ "&" / "=" / "+" / "$" / "," )
hostport = host [ ":" port ]
@@ -11652,14 +11652,14 @@
toplabel = ALPHA / ALPHA *( alphanum / "-" )
alphanum
-IPv4address = 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "."
+IPv4address = 1*3DIGIT "." 1*3DIGIT "." 1*3DIGIT "."
1*3DIGIT
IPv6reference = "[" IPv6address "]"
IPv6address = hexpart [ ":" IPv4address ]
-hexpart = hexseq / hexseq "::" [ hexseq ] / "::"
+hexpart = hexseq / hexseq "::" [ hexseq ] / "::"
[ hexseq ]
hexseq = hex4 *( ":" hex4)
@@ -11670,23 +11670,23 @@
; generic-message is the top-level rule
-generic-message = start-line message-header CRLF
- [ message-body ]
+generic-message = start-line message-header CRLF
+ [ message-body ]
message-body = *OCTET
-
-start-line = request-line / response-line / event-line
+
+start-line = request-line / response-line / event-line
request-line = mrcp-version SP message-length SP method-name
- SP request-id CRLF
+ SP request-id CRLF
-response-line = mrcp-version SP message-length SP request-id
- SP status-code SP request-state CRLF
+response-line = mrcp-version SP message-length SP request-id
+ SP status-code SP request-state CRLF
event-line = mrcp-version SP message-length SP event-name
- SP request-id SP request-state CRLF
+ SP request-id SP request-state CRLF
-method-name = generic-method
+method-name = generic-method
/ synthesizer-method
/ recognizer-method
/ recorder-method
@@ -11695,15 +11695,15 @@
generic-method = "SET-PARAMS"
/ "GET-PARAMS"
-request-state = "COMPLETE"
- / "IN-PROGRESS"
- / "PENDING"
+request-state = "COMPLETE"
+ / "IN-PROGRESS"
+ / "PENDING"
event-name = synthesizer-event
/ recognizer-event
/ recorder-event
/ verifier-event
-
+
message-header = 1*(generic-header / resource-header /
generic-field)
@@ -11717,7 +11717,7 @@
resource-header = synthesizer-header
/ recognizer-header
/ recorder-header
- / verifier-header
+ / verifier-header
generic-header = channel-identifier
/ accept
@@ -11732,30 +11732,30 @@
/ content-length
/ fetch-timeout
/ cache-control
- / logging-tag
+ / logging-tag
/ set-cookie
/ vendor-specific
-
+
; -- content-id is as defined in RFC 2392, RFC 2046 and RFC 5322
; -- accept and accept-charset are as defined in RFC 2616
-mrcp-version = "MRCP" "/" 1*2DIGIT "." 1*2DIGIT
+mrcp-version = "MRCP" "/" 1*2DIGIT "." 1*2DIGIT
message-length = 1*19DIGIT
-request-id = 1*10DIGIT
+request-id = 1*10DIGIT
status-code = 3DIGIT
-channel-identifier = "Channel-Identifier" ":"
+channel-identifier = "Channel-Identifier" ":"
channel-id CRLF
channel-id = 1*alphanum "@" 1*alphanum
-active-request-id-list = "Active-Request-Id-List" ":"
- request-id *("," request-id) CRLF
+active-request-id-list = "Active-Request-Id-List" ":"
+ request-id *("," request-id) CRLF
-proxy-sync-id = "Proxy-Sync-Id" ":" 1*VCHAR CRLF
+proxy-sync-id = "Proxy-Sync-Id" ":" 1*VCHAR CRLF
content-base = "Content-Base" ":" absoluteURI CRLF
@@ -11774,8 +11774,8 @@
attribute = token
value = token / quoted-string
-
-content-encoding = "Content-Encoding" ":"
+
+content-encoding = "Content-Encoding" ":"
*WSP content-coding
*(*WSP "," *WSP content-coding *WSP )
CRLF
@@ -11783,30 +11783,30 @@
content-coding = token
-content-location = "Content-Location" ":"
+content-location = "Content-Location" ":"
( absoluteURI / relativeURI ) CRLF
-cache-control = "Cache-Control" ":"
+cache-control = "Cache-Control" ":"
[*WSP cache-directive
*( *WSP "," *WSP cache-directive *WSP )]
CRLF
-fetch-timeout = "Fetch-Timeout" ":" 1*19DIGIT CRLF
+fetch-timeout = "Fetch-Timeout" ":" 1*19DIGIT CRLF
-cache-directive = "max-age" "=" delta-seconds
- / "max-stale" ["=" delta-seconds ]
- / "min-fresh" "=" delta-seconds
+cache-directive = "max-age" "=" delta-seconds
+ / "max-stale" ["=" delta-seconds ]
+ / "min-fresh" "=" delta-seconds
-delta-seconds = 1*19DIGIT
+delta-seconds = 1*19DIGIT
-logging-tag = "Logging-Tag" ":" 1*UTFCHAR CRLF
+logging-tag = "Logging-Tag" ":" 1*UTFCHAR CRLF
-vendor-specific = "Vendor-Specific-Parameters" ":"
- [vendor-specific-av-pair
- *(";" vendor-specific-av-pair)] 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-specific-av-pair = vendor-av-pair-name "="
+ value
vendor-av-pair-name = 1*UTFCHAR
@@ -11833,66 +11833,66 @@
httponly-av = "HttpOnly"
extension-av = <any CHAR except CTLs or ";">
age-av = "Age=" delta-seconds
-
+
; Synthesizer ABNF
-synthesizer-method = "SPEAK"
- / "STOP"
- / "PAUSE"
- / "RESUME"
- / "BARGE-IN-OCCURRED"
+synthesizer-method = "SPEAK"
+ / "STOP"
+ / "PAUSE"
+ / "RESUME"
+ / "BARGE-IN-OCCURRED"
/ "CONTROL"
- / "DEFINE-LEXICON"
+ / "DEFINE-LEXICON"
-synthesizer-event = "SPEECH-MARKER"
- / "SPEAK-COMPLETE"
+synthesizer-event = "SPEECH-MARKER"
+ / "SPEAK-COMPLETE"
-synthesizer-header = jump-size
- / kill-on-barge-in
- / speaker-profile
+synthesizer-header = jump-size
+ / kill-on-barge-in
+ / speaker-profile
/ completion-cause
- / completion-reason
- / voice-parameter
- / prosody-parameter
- / speech-marker
- / speech-language
- / fetch-hint
- / audio-fetch-hint
- / failed-uri
- / failed-uri-cause
- / speak-restart
+ / completion-reason
+ / voice-parameter
+ / prosody-parameter
+ / speech-marker
+ / speech-language
+ / fetch-hint
+ / audio-fetch-hint
+ / failed-uri
+ / failed-uri-cause
+ / speak-restart
/ speak-length
/ load-lexicon
- / lexicon-search-order
+ / lexicon-search-order
+
+jump-size = "Jump-Size" ":" speech-length-value CRLF
-jump-size = "Jump-Size" ":" speech-length-value CRLF
+speech-length-value = numeric-speech-length
+ / text-speech-length
-speech-length-value = numeric-speech-length
- / text-speech-length
+text-speech-length = 1*UTFCHAR SP "Tag"
-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
+numeric-speech-unit = "Second"
+ / "Word"
+ / "Sentence"
+ / "Paragraph"
+
+kill-on-barge-in = "Kill-On-Barge-In" ":" BOOLEAN
+ CRLF
-speaker-profile = "Speaker-Profile" ":" uri CRLF
+speaker-profile = "Speaker-Profile" ":" uri CRLF
completion-cause = "Completion-Cause" ":" cause-code SP
cause-name CRLF
cause-code = 3DIGIT
cause-name = *VCHAR
-completion-reason = "Completion-Reason" ":"
+completion-reason = "Completion-Reason" ":"
quoted-string CRLF
voice-parameter = voice-gender
@@ -11913,8 +11913,8 @@
voice-name = "Voice-Name:"
1*UTFCHAR *(1*WSP 1*UTFCHAR) CRLF
-prosody-parameter = "Prosody-" prosody-param-name ":"
- prosody-param-value CRLF
+prosody-parameter = "Prosody-" prosody-param-name ":"
+ prosody-param-value CRLF
prosody-param-name = 1*VCHAR
@@ -11929,44 +11929,44 @@
[";" 1*(UTFCHAR / %x20)] CRLF
speech-language = "Speech-Language" ":"
- 1*VCHAR CRLF
+ 1*VCHAR CRLF
fetch-hint = "Fetch-Hint" ":"
- ("prefetch" / "safe") CRLF
+ ("prefetch" / "safe") CRLF
-audio-fetch-hint = "Audio-Fetch-Hint" ":"
- ("prefetch" / "safe" / "stream") CRLF
+audio-fetch-hint = "Audio-Fetch-Hint" ":"
+ ("prefetch" / "safe" / "stream") CRLF
-failed-uri = "Failed-URI" ":" absoluteURI CRLF
+failed-uri = "Failed-URI" ":" absoluteURI CRLF
-failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR CRLF
+failed-uri-cause = "Failed-URI-Cause" ":" 1*UTFCHAR CRLF
-speak-restart = "Speak-Restart" ":" BOOLEAN CRLF
+speak-restart = "Speak-Restart" ":" BOOLEAN CRLF
-speak-length = "Speak-Length" ":" positive-length-value
- CRLF
+speak-length = "Speak-Length" ":" positive-length-value
+ CRLF
-positive-length-value = positive-speech-length
- / text-speech-length
+positive-length-value = positive-speech-length
+ / text-speech-length
load-lexicon = "Load-Lexicon" ":" BOOLEAN CRLF
-lexicon-search-order = "Lexicon-Search-Order" ":"
+lexicon-search-order = "Lexicon-Search-Order" ":"
"<" absoluteURI ">" *(" " "<" absoluteURI ">") CRLF
-; Recognizer ABNF
+; Recognizer ABNF
recognizer-method = recog-only-method
/ enrollment-method
-recog-only-method = "DEFINE-GRAMMAR"
- / "RECOGNIZE"
+recog-only-method = "DEFINE-GRAMMAR"
+ / "RECOGNIZE"
/ "INTERPRET"
- / "GET-RESULT"
- / "START-INPUT-TIMERS"
+ / "GET-RESULT"
+ / "START-INPUT-TIMERS"
/ "STOP"
-enrollment-method = "START-PHRASE-ENROLLMENT"
+enrollment-method = "START-PHRASE-ENROLLMENT"
/ "ENROLLMENT-ROLLBACK"
/ "END-PHRASE-ENROLLMENT"
/ "MODIFY-PHRASE"
@@ -11980,30 +11980,30 @@
/ enrollment-header
-recog-only-header = confidence-threshold
- / sensitivity-level
- / speed-vs-accuracy
- / n-best-list-length
- / input-type
- / no-input-timeout
- / recognition-timeout
- / waveform-uri
- / input-waveform-uri
- / completion-cause
+recog-only-header = confidence-threshold
+ / sensitivity-level
+ / speed-vs-accuracy
+ / n-best-list-length
+ / input-type
+ / no-input-timeout
+ / recognition-timeout
+ / waveform-uri
+ / input-waveform-uri
+ / completion-cause
/ completion-reason
- / recognizer-context-block
- / start-input-timers
- / speech-complete-timeout
- / speech-incomplete-timeout
- / dtmf-interdigit-timeout
- / dtmf-term-timeout
- / dtmf-term-char
- / failed-uri
- / failed-uri-cause
- / save-waveform
+ / recognizer-context-block
+ / start-input-timers
+ / speech-complete-timeout
+ / speech-incomplete-timeout
+ / dtmf-interdigit-timeout
+ / dtmf-term-timeout
+ / dtmf-term-char
+ / failed-uri
+ / failed-uri-cause
+ / save-waveform
/ media-type
/ new-audio-channel
- / speech-language
+ / speech-language
/ ver-buffer-utterance
/ recognition-mode
/ cancel-if-queue
@@ -12016,66 +12016,66 @@
enrollment-header = num-min-consistent-pronunciations
- / consistency-threshold
- / clash-threshold
- / personal-grammar-uri
+ / consistency-threshold
+ / clash-threshold
+ / personal-grammar-uri
/ enroll-utterance
- / phrase-id
- / phrase-nl
- / weight
- / save-best-waveform
- / new-phrase-id
- / confusable-phrases-uri
+ / phrase-id
+ / phrase-nl
+ / weight
+ / save-best-waveform
+ / new-phrase-id
+ / confusable-phrases-uri
/ abort-phrase-enrollment
-confidence-threshold = "Confidence-Threshold" ":"
- FLOAT CRLF
+confidence-threshold = "Confidence-Threshold" ":"
+ FLOAT CRLF
sensitivity-level = "Sensitivity-Level" ":" FLOAT
- CRLF
+ CRLF
-speed-vs-accuracy = "Speed-Vs-Accuracy" ":" FLOAT
- CRLF
+speed-vs-accuracy = "Speed-Vs-Accuracy" ":" FLOAT
+ CRLF
-n-best-list-length = "N-Best-List-Length" ":" 1*19DIGIT
- CRLF
+n-best-list-length = "N-Best-List-Length" ":" 1*19DIGIT
+ CRLF
input-type = "Input-Type" ":" inputs CRLF
inputs = "speech" / "dtmf"
-no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT
- CRLF
+no-input-timeout = "No-Input-Timeout" ":" 1*19DIGIT
+ CRLF
recognition-timeout = "Recognition-Timeout" ":" 1*19DIGIT
- CRLF
+ CRLF
-waveform-uri = "Waveform-URI" ":" ["<" uri ">"
- ";" "size" "=" 1*19DIGIT
- ";" "duration" "=" 1*19DIGIT] CRLF
+waveform-uri = "Waveform-URI" ":" ["<" uri ">"
+ ";" "size" "=" 1*19DIGIT
+ ";" "duration" "=" 1*19DIGIT] CRLF
-recognizer-context-block = "Recognizer-Context-Block" ":"
- [1*VCHAR] CRLF
+recognizer-context-block = "Recognizer-Context-Block" ":"
+ [1*VCHAR] CRLF
-start-input-timers = "Start-Input-Timers" ":"
- BOOLEAN CRLF
-
-speech-complete-timeout = "Speech-Complete-Timeout" ":"
- 1*19DIGIT CRLF
+start-input-timers = "Start-Input-Timers" ":"
+ BOOLEAN CRLF
-speech-incomplete-timeout = "Speech-Incomplete-Timeout" ":"
- 1*19DIGIT CRLF
+speech-complete-timeout = "Speech-Complete-Timeout" ":"
+ 1*19DIGIT CRLF
+
+speech-incomplete-timeout = "Speech-Incomplete-Timeout" ":"
+ 1*19DIGIT CRLF
-dtmf-interdigit-timeout = "DTMF-Interdigit-Timeout" ":"
- 1*19DIGIT CRLF
+dtmf-interdigit-timeout = "DTMF-Interdigit-Timeout" ":"
+ 1*19DIGIT CRLF
-dtmf-term-timeout = "DTMF-Term-Timeout" ":" 1*19DIGIT
- CRLF
+dtmf-term-timeout = "DTMF-Term-Timeout" ":" 1*19DIGIT
+ CRLF
-dtmf-term-char = "DTMF-Term-Char" ":" VCHAR CRLF
+dtmf-term-char = "DTMF-Term-Char" ":" VCHAR CRLF
-save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
+save-waveform = "Save-Waveform" ":" BOOLEAN CRLF
-new-audio-channel = "New-Audio-Channel" ":"
+new-audio-channel = "New-Audio-Channel" ":"
BOOLEAN CRLF
recognition-mode = "Recognition-Mode" ":"
@@ -12083,13 +12083,13 @@
cancel-if-queue = "Cancel-If-Queue" ":" BOOLEAN CRLF
-hotword-max-duration = "Hotword-Max-Duration" ":"
+hotword-max-duration = "Hotword-Max-Duration" ":"
1*19DIGIT CRLF
-hotword-min-duration = "Hotword-Min-Duration" ":"
+hotword-min-duration = "Hotword-Min-Duration" ":"
1*19DIGIT CRLF
-interpret-text = "Interpret-Text" ":" 1*VCHAR CRLF
+interpret-text = "Interpret-Text" ":" 1*VCHAR CRLF
dtmf-buffer-time = "DTMF-Buffer-Time" ":" 1*19DIGIT CRLF
@@ -12097,13 +12097,13 @@
early-no-match = "Early-No-Match" ":" BOOLEAN CRLF
-num-min-consistent-pronunciations =
- "Num-Min-Consistent-Pronunciations" ":" 1*19DIGIT CRLF
+num-min-consistent-pronunciations =
+ "Num-Min-Consistent-Pronunciations" ":" 1*19DIGIT CRLF
-consistency-threshold = "Consistency-Threshold" ":" FLOAT
+consistency-threshold = "Consistency-Threshold" ":" FLOAT
CRLF
-
+
clash-threshold = "Clash-Threshold" ":" FLOAT CRLF
personal-grammar-uri = "Personal-Grammar-URI" ":" uri CRLF
@@ -12116,15 +12116,15 @@
weight = "Weight" ":" FLOAT CRLF
-save-best-waveform = "Save-Best-Waveform" ":"
+save-best-waveform = "Save-Best-Waveform" ":"
BOOLEAN CRLF
new-phrase-id = "New-Phrase-ID" ":" 1*VCHAR CRLF
-confusable-phrases-uri = "Confusable-Phrases-URI" ":"
+confusable-phrases-uri = "Confusable-Phrases-URI" ":"
uri CRLF
-abort-phrase-enrollment = "Abort-Phrase-Enrollment" ":"
+abort-phrase-enrollment = "Abort-Phrase-Enrollment" ":"
BOOLEAN CRLF
@@ -12150,11 +12150,11 @@
/ final-silence
/ capture-on-speech
/ ver-buffer-utterance
- / start-input-timers
+ / start-input-timers
/ new-audio-channel
-record-uri = "Record-URI" ":" [ "<" uri ">"
- ";" "size" "=" 1*19DIGIT
+record-uri = "Record-URI" ":" [ "<" uri ">"
+ ";" "size" "=" 1*19DIGIT
";" "duration" "=" 1*19DIGIT] CRLF
media-type = "Media-Type" ":" media-type-value CRLF
@@ -12165,7 +12165,7 @@
final-silence = "Final-Silence" ":" 1*19DIGIT CRLF
-capture-on-speech = "Capture-On-Speech " ":"
+capture-on-speech = "Capture-On-Speech " ":"
BOOLEAN CRLF
@@ -12188,38 +12188,38 @@
/ "START-OF-INPUT"
-verifier-header = repository-uri
+verifier-header = repository-uri
/ voiceprint-identifier
- / verification-mode
- / adapt-model
- / abort-model
- / min-verification-score
+ / verification-mode
+ / adapt-model
+ / abort-model
+ / min-verification-score
/ num-min-verification-phrases
/ num-max-verification-phrases
- / no-input-timeout
- / save-waveform
+ / no-input-timeout
+ / save-waveform
/ media-type
- / waveform-uri
- / voiceprint-exists
- / ver-buffer-utterance
- / input-waveform-uri
- / completion-cause
+ / waveform-uri
+ / voiceprint-exists
+ / ver-buffer-utterance
+ / input-waveform-uri
+ / completion-cause
/ completion-reason
- / speech-complete-timeout
+ / speech-complete-timeout
/ new-audio-channel
/ abort-verification
- / start-input-timers
+ / start-input-timers
/ input-type
repository-uri = "Repository-URI" ":" uri CRLF
-voiceprint-identifier = "Voiceprint-Identifier" ":"
+voiceprint-identifier = "Voiceprint-Identifier" ":"
vid *[";" vid] CRLF
vid = 1*VCHAR ["." 1*VCHAR]
-verification-mode = "Verification-Mode" ":"
+verification-mode = "Verification-Mode" ":"
verification-mode-string
verification-mode-string = "train" / "verify"
@@ -12228,25 +12228,25 @@
abort-model = "Abort-Model" ":" BOOLEAN CRLF
-min-verification-score = "Min-Verification-Score" ":"
+min-verification-score = "Min-Verification-Score" ":"
[ %x2D ] FLOAT CRLF
-num-min-verification-phrases = "Num-Min-Verification-Phrases"
+num-min-verification-phrases = "Num-Min-Verification-Phrases"
":" 1*19DIGIT CRLF
-num-max-verification-phrases = "Num-Max-Verification-Phrases"
+num-max-verification-phrases = "Num-Max-Verification-Phrases"
":" 1*19DIGIT CRLF
-
-voiceprint-exists = "Voiceprint-Exists" ":"
+
+voiceprint-exists = "Voiceprint-Exists" ":"
BOOLEAN CRLF
-ver-buffer-utterance = "Ver-Buffer-Utterance" ":"
- BOOLEAN CRLF
+ver-buffer-utterance = "Ver-Buffer-Utterance" ":"
+ BOOLEAN CRLF
input-waveform-uri = "Input-Waveform-URI" ":" uri CRLF
-abort-verification = "Abort-Verification " ":"
- BOOLEAN CRLF ¶
+abort-verification = "Abort-Verification " ":"
+ BOOLEAN CRLF
¶
The following productions add a new SDP session-level attribute. See
Section 13.7.2, Paragraph 7 .¶
@@ -12271,13 +12271,13 @@
<?xml version="1.0" encoding="UTF-8"?>
-<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
+<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:ietf:params:xml:ns:mrcpv2"
xmlns="urn:ietf:params:xml:ns:mrcpv2"
- elementFormDefault="qualified"
+ elementFormDefault="qualified"
attributeFormDefault="unqualified" >
<xs:annotation>
- <xs:documentation> Natural Language Semantic Markup Schema
+ <xs:documentation> Natural Language Semantic Markup Schema
</xs:documentation>
</xs:annotation>
<xs:include schemaLocation="enrollment-schema.rng"/>
@@ -12306,12 +12306,12 @@
<xs:attribute name="mode"
type="xs:string"
default="speech"/>
- <xs:attribute name="confidence"
- type="confidenceinfo"
+ <xs:attribute name="confidence"
+ type="confidenceinfo"
default="1.0"/>
- <xs:attribute name="timestamp-start"
+ <xs:attribute name="timestamp-start"
type="xs:string"/>
- <xs:attribute name="timestamp-end"
+ <xs:attribute name="timestamp-end"
type="xs:string"/>
</xs:complexType>
</xs:element>
@@ -12327,7 +12327,7 @@
<xs:element name="verification-result"
type="verification-contents"/>
</xs:sequence>
- <xs:attribute name="grammar" type="xs:anyURI"
+ <xs:attribute name="grammar" type="xs:anyURI"
use="optional"/>
</xs:complexType>
</xs:element>
@@ -12426,7 +12426,7 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!-- MRCP Verification Results Schema
+<!-- MRCP Verification Results Schema
(See http://www.oasis-open.org/committees/relax-ng/spec.html)
-->
@@ -12766,23 +12766,23 @@
-Pierre Forgues
-Nuance Communications Ltd.
+Pierre Forgues
+Nuance Communications Ltd.
1500 University Street
Suite 935
-Montreal, Quebec
-Canada H3A 3S7
-
-EMail: forgues@nuance.com
+Montreal, Quebec
+Canada H3A 3S7
+
+EMail: forgues@nuance.com
+
+Charles Galles
+Intervoice, Inc.
+17811 Waterview Parkway
+Dallas, Texas 75252
+USA
-Charles Galles
-Intervoice, Inc.
-17811 Waterview Parkway
-Dallas, Texas 75252
-USA
-
-EMail: charles.galles@intervoice.com
+EMail: charles.galles@intervoice.com
Klaus Reifenrath
@@ -12792,8 +12792,8 @@
9820 Merelbeke
Belgium
-EMail: klaus.reifenrath@scansoft.com
- ¶
+EMail: klaus.reifenrath@scansoft.com
+
¶
@@ -12822,7 +12822,7 @@
Suresh Kaliannan (Cisco Systems, Inc.)
Skip Cave (Intervoice, Inc.)
Thomas Gal (LumenVox)
- ¶
+
¶
The chairs of the SPEECHSC work group are Eric Burger (Georgetown
University) and Dave Oran (Cisco Systems, Inc.).¶
diff -Nru xml2rfc-2.39.0/xml2rfc/boilerplate_tlp.py xml2rfc-2.40.0/xml2rfc/boilerplate_tlp.py
--- xml2rfc-2.39.0/xml2rfc/boilerplate_tlp.py 2019-01-11 20:31:22.000000000 +0000
+++ xml2rfc-2.40.0/xml2rfc/boilerplate_tlp.py 2020-02-06 00:53:40.000000000 +0000
@@ -219,7 +219,7 @@
"""
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
- ({scheme}://trustee.ietf.org/license-info) in effect on the date of
+ ( ) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with
respect to this document.
diff -Nru xml2rfc-2.39.0/xml2rfc/data/v3.rnc xml2rfc-2.40.0/xml2rfc/data/v3.rnc
--- xml2rfc-2.39.0/xml2rfc/data/v3.rnc 2019-12-04 22:30:58.000000000 +0000
+++ xml2rfc-2.40.0/xml2rfc/data/v3.rnc 2020-02-17 20:30:26.000000000 +0000
@@ -71,7 +71,7 @@
attribute xml:lang { text }?,
attribute abbrev { text }?,
attribute ascii { text }?,
- text
+ (text | br)*
}
author =
@@ -357,6 +357,7 @@
attribute slugifiedName { xsd:ID }?,
(text
| bcp14
+ | br
| cref
| em
| eref
@@ -369,6 +370,13 @@
| xref)*
}
+ br =
+ element br {
+ attribute xml:base { text }?,
+ attribute xml:lang { text }?,
+ empty
+ }
+
t =
element t {
attribute xml:base { text }?,
@@ -382,6 +390,7 @@
attribute keepWithPrevious { "false" | "true" }?,
(text
| bcp14
+ | br
| contact
| cref
| em
@@ -419,6 +428,7 @@
((artset | artwork | dl | figure | ol | sourcecode | t | ul)+
| (text
| bcp14
+ | br
| cref
| em
| eref
@@ -468,9 +478,9 @@
([ a:defaultValue = "false" ]
attribute empty { "false" | "true"},
[ a:defaultValue = "false" ]
- attribute bare { "false" | "true"}?,
+ attribute bare { "false" | "true"}?)?,
attribute indent { text }?,
- attribute pn { xsd:ID }?)?,
+ attribute pn { xsd:ID }?,
li+
}
@@ -484,6 +494,7 @@
((artset | artwork | blockquote | dl | figure | ol | sourcecode | t | table | ul)+
| (text
| bcp14
+ | br
| cref
| em
| eref
@@ -519,6 +530,7 @@
attribute pn { xsd:ID }?,
(text
| bcp14
+ | br
| cref
| em
| eref
@@ -540,6 +552,7 @@
((artset | artwork | dl | figure | ol | sourcecode | t | table | ul)+
| (text
| bcp14
+ | br
| cref
| em
| eref
@@ -615,7 +628,7 @@
attribute source { text }?,
[ a:defaultValue = "true" ]
attribute display { "true" | "false" }?,
- (text | em | eref | relref | strong | sub | sup | tt | xref)*
+ (text | br | em | eref | relref | strong | sub | sup | tt | xref)*
}
tt =
@@ -624,6 +637,7 @@
attribute xml:lang { text }?,
(text
| bcp14
+ | br
| cref
| em
| eref
@@ -641,6 +655,7 @@
attribute xml:lang { text }?,
(text
| bcp14
+ | br
| cref
| em
| eref
@@ -658,6 +673,7 @@
attribute xml:lang { text }?,
(text
| bcp14
+ | br
| cref
| eref
| iref
@@ -866,6 +882,7 @@
((artset | artwork | dl | figure | ol | sourcecode | t | ul)+
| (text
| bcp14
+ | br
| cref
| em
| eref
@@ -891,6 +908,7 @@
((artset | artwork | dl | figure | ol | sourcecode | t | ul)+
| (text
| bcp14
+ | br
| cref
| em
| eref
diff -Nru xml2rfc-2.39.0/xml2rfc/data/v3.rng xml2rfc-2.40.0/xml2rfc/data/v3.rng
--- xml2rfc-2.39.0/xml2rfc/data/v3.rng 2019-12-06 15:18:57.000000000 +0000
+++ xml2rfc-2.40.0/xml2rfc/data/v3.rng 2020-02-17 20:30:26.000000000 +0000
@@ -192,7 +192,12 @@
-
+
+
+
+
+
+
@@ -793,6 +798,7 @@
+
@@ -807,6 +813,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -848,6 +865,7 @@
+
@@ -941,6 +959,7 @@
+
@@ -1063,14 +1082,14 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -1117,6 +1136,7 @@
+
@@ -1198,6 +1218,7 @@
+
@@ -1248,6 +1269,7 @@
+
@@ -1436,6 +1458,7 @@
+
@@ -1460,6 +1483,7 @@
+
@@ -1485,6 +1509,7 @@
+
@@ -1510,6 +1535,7 @@
+
@@ -1997,6 +2023,7 @@
+
@@ -2058,6 +2085,7 @@
+
diff -Nru xml2rfc-2.39.0/xml2rfc/data/xml2rfc.css xml2rfc-2.40.0/xml2rfc/data/xml2rfc.css
--- xml2rfc-2.39.0/xml2rfc/data/xml2rfc.css 2020-01-08 18:15:43.000000000 +0000
+++ xml2rfc-2.40.0/xml2rfc/data/xml2rfc.css 2020-02-17 20:30:26.000000000 +0000
@@ -1022,4 +1022,9 @@
/* Avoid narrow tables forcing too narrow table captions, which may render badly */
table {
min-width: 20em;
-}
\ No newline at end of file
+}
+/* ol type a */
+ol.type-a { list-style-type: lower-alpha; }
+ol.type-A { list-style-type: upper-alpha; }
+ol.type-i { list-style-type: lower-roman; }
+ol.type-I { list-style-type: lower-roman; }
diff -Nru xml2rfc-2.39.0/xml2rfc/__init__.py xml2rfc-2.40.0/xml2rfc/__init__.py
--- xml2rfc-2.39.0/xml2rfc/__init__.py 2020-01-31 11:38:01.000000000 +0000
+++ xml2rfc-2.40.0/xml2rfc/__init__.py 2020-02-18 21:37:07.000000000 +0000
@@ -3,7 +3,7 @@
from __future__ import unicode_literals, print_function, division
# Static values
-__version__ = '2.39.0'
+__version__ = '2.40.0'
NAME = 'xml2rfc'
VERSION = [ int(i) if i.isdigit() else i for i in __version__.split('.') ]
CACHES = ['/var/cache/xml2rfc', '~/.cache/xml2rfc'] # Ordered by priority
diff -Nru xml2rfc-2.39.0/xml2rfc/util/unicode.py xml2rfc-2.40.0/xml2rfc/util/unicode.py
--- xml2rfc-2.39.0/xml2rfc/util/unicode.py 2019-12-17 18:56:01.000000000 +0000
+++ xml2rfc-2.40.0/xml2rfc/util/unicode.py 2020-02-12 21:37:34.000000000 +0000
@@ -55,6 +55,11 @@
'u',
])
+bare_latin_tags = set([
+ 'organization',
+ ])
+
+
for t in bare_unicode_tags:
assert t in unicode_content_tags
diff -Nru xml2rfc-2.39.0/xml2rfc/writers/base.py xml2rfc-2.40.0/xml2rfc/writers/base.py
--- xml2rfc-2.39.0/xml2rfc/writers/base.py 2020-01-18 15:12:19.000000000 +0000
+++ xml2rfc-2.40.0/xml2rfc/writers/base.py 2020-02-12 21:37:34.000000000 +0000
@@ -21,10 +21,11 @@
pass
from xml2rfc import strings, log
+from xml2rfc.uniscripts import is_script
from xml2rfc.util.date import extract_date, augment_date, format_date, get_expiry_date
from xml2rfc.util.name import short_author_ascii_name_parts, full_author_name_expansion, short_author_name_parts
from xml2rfc.util.unicode import ( punctuation, unicode_replacements, unicode_content_tags, bare_unicode_tags,
- unicode_attributes, downcode, downcode_punctuation)
+ bare_latin_tags, unicode_attributes, downcode, downcode_punctuation)
from xml2rfc.utils import namespaces, find_duplicate_ids
default_silenced_messages = [
@@ -1889,6 +1890,8 @@
e.text = downcode(e.text, replacements=replacements)
elif e.tag in bare_unicode_tags:
pass
+ elif e.tag in bare_latin_tags and is_script(e.text, 'Latin'):
+ pass
elif not e.get('ascii'):
try:
e.text.encode('ascii')
@@ -2011,6 +2014,12 @@
path = getattr(error, 'path', '')
msg = "%s(%s): %s: %s, at %s" % (self.xmlrfc.source, error.line, error.level_name.title(), error.message, path)
self.log(msg)
+ if error.message.startswith("Did not expect text"):
+ items = self.tree.xpath(error.path + '/text()')
+ for item in items:
+ if item.strip():
+ self.log(" Unexpected text:\n %s" % item.strip())
+
else:
log.warn('\nInvalid document: %s' % (e,))
if warn:
diff -Nru xml2rfc-2.39.0/xml2rfc/writers/html.py xml2rfc-2.40.0/xml2rfc/writers/html.py
--- xml2rfc-2.39.0/xml2rfc/writers/html.py 2020-01-18 15:12:19.000000000 +0000
+++ xml2rfc-2.40.0/xml2rfc/writers/html.py 2020-02-17 20:55:39.000000000 +0000
@@ -813,7 +813,10 @@
self.err(x, 'Expected ascii-art artwork for , but found %s...' % (x.get('type',''), lxml.etree.tostring(x)[:128]))
return None
else:
- pre = build.pre(x.text.expandtabs())
+ text = x.text + ''.join([ c.tail for c in x.getchildren() ])
+ text = text.expandtabs()
+ text = '\n'.join( [ l.rstrip() for l in text.split('\n') ] )
+ pre = build.pre(text)
classes = 'artwork art-text align%s' % align.capitalize()
if type and type != 'text':
classes += ' art-%s' % type
@@ -1802,7 +1805,8 @@
ol = add.dl(h, x, classes='olPercent')
else:
attrib = sdict(dict( (k,v) for (k,v) in x.attrib.items() if k in ['start', 'type', ] ))
- ol = add.ol(h, x, classes=x.get('spacing'), **attrib)
+ classes= ' '.join(filter(None, [ x.get('spacing'), 'type-%s' % attrib.get('type', '1') ]))
+ ol = add.ol(h, x, classes=classes, **attrib)
for c in x.getchildren():
self.render(ol, c)
return ol
diff -Nru xml2rfc-2.39.0/xml2rfc/writers/preptool.py xml2rfc-2.40.0/xml2rfc/writers/preptool.py
--- xml2rfc-2.39.0/xml2rfc/writers/preptool.py 2020-01-27 16:28:31.000000000 +0000
+++ xml2rfc-2.40.0/xml2rfc/writers/preptool.py 2020-02-12 21:33:26.000000000 +0000
@@ -189,6 +189,19 @@
if not self.options.quiet:
self.log(' Created file %s' % filename)
+ def normalize_whitespace(self, e):
+ lines = e.text.split('\n')
+ for i, line in enumerate(lines):
+ # This strips unnecessary whitespace, and also works around an issue in
+ # WeasyPrint where trailing whitespace in artwork can trigger something
+ # akin to line wrapping even if rendered in :
+ line = line.rstrip()
+ if '\t' in line:
+ self.warn(e, "Found tab on line %d of <%s>: \n %s" % (e.tag, i+1, line))
+ line = line.expandtabs()
+ lines[i] = line
+ e.text = '\n'.join(lines)
+
def prep(self):
## Selector notation: Some selectors below have a handler annotation,
@@ -1883,11 +1896,8 @@
if src and not data:
self.warn(e, "No image data found in source %s" % src)
- if awtype == 'ascii-art' and '\t' in e.text:
- for i, line in enumerate(e.text.splitlines()):
- if '\t' in line:
- self.warn(e, "Found tab on line %d of : \n %s" % (i+1, line))
- e.text = e.text.expandtabs()
+ if awtype == 'ascii-art':
+ self.normalize_whitespace(e)
# 5.5.2. Processing
@@ -1944,11 +1954,7 @@
e.text = data
del e.attrib['src']
- if '\t' in e.text:
- for i, line in enumerate(e.text.splitlines()):
- if '\t' in line:
- self.warn(e, "Found tab on line %d of : \n %s" % (i+1, line))
- e.text = e.text.expandtabs()
+ self.normalize_whitespace(e)
#
# 5.4.2.4 "Table of Contents" Insertion
diff -Nru xml2rfc-2.39.0/xml2rfc/writers/text.py xml2rfc-2.40.0/xml2rfc/writers/text.py
--- xml2rfc-2.39.0/xml2rfc/writers/text.py 2020-01-18 15:12:19.000000000 +0000
+++ xml2rfc-2.40.0/xml2rfc/writers/text.py 2020-02-16 21:47:30.000000000 +0000
@@ -85,7 +85,7 @@
def indent(text, indent=3, hang=0):
lines = []
- for l in text.splitlines():
+ for l in text.split('\n'):
if l.strip():
if lines:
lines.append(' '*(indent+hang) + l)
@@ -123,7 +123,7 @@
"Fold and center the given text"
# avoid centered text extending all the way to the margins
kwargs['width'] = width-4
- lines = text.splitlines()
+ lines = text.split('\n')
if max([ len(l) for l in lines ]+[0]) > width:
# need to reflow
lines = wrapper.wrap(text, **kwargs)
@@ -215,7 +215,7 @@
head += ' '
if tail != '0000':
tail = '%4s' % tail.lstrip('0') # strip leading zeros
- last = head.splitlines()[-1]
+ last = head.split('\n')[-1]
lack = width - (len(last) + len(tail))
elip = (' .'*40)[-lack:]
text = head + elip + tail
@@ -270,6 +270,7 @@
if self.options.pagination:
self.add_pageno_placeholders()
lines = self.render(self.root, width=72, joiners=joiners)
+
if self.options.pagination:
lines = findblocks(lines)
lines = self.paginate(lines)
@@ -288,6 +289,7 @@
self.warn(l.elem, "Too long line found (L%s), %s characters longer than 72 characters: \n%s" %(i+1, length-72, l.text))
text = ('\n'.join( l.text for l in lines )).rstrip() + '\n'
+
# Replace some code points whose utility has ended
text = text.replace(u'\u00A0', u' ')
text = text.replace(u'\u2011', u'-')
@@ -744,9 +746,15 @@
% ( e.get('type', '(unknown type)'),
e.get('originalSrc') or e.get('src') or 'No external link available, see %s.html for artwork.'%self.root.get('docName')))
msg = fill(msg, width=width, **kwargs)
- text = (e.text.strip() and e.text.expandtabs()) or msg
+# text = (e.text.strip() and e.text.expandtabs()) or msg
+# text = text.strip('\n')
+# text = '\n'.join( [ l.rstrip() for l in text.split('\n') ] )
+ # We need this in order to deal with xml comments inside artwork:
+ text = e.text + ''.join([ c.tail for c in e.getchildren() ])
text = text.strip('\n')
- text = '\n'.join( [ l.rstrip() for l in text.splitlines() ] )
+ text = (text.strip() and text.expandtabs()) or msg
+ text = '\n'.join( [ l.rstrip() for l in text.split('\n') ] )
+ #
lines = [ Line(t, e) for t in text.splitlines() ]
lines = align(lines, e.get('align', 'left'), width)
return lines
@@ -1745,7 +1753,7 @@
line = '%s%s%s' % (label, items, suffix)
ll = len(left)
lr = len(right)
- width = 48 if ll > lr else min(48, 72-3-len(right[ll-1]))
+ width = 48 if ll >= lr else min(48, 72-3-len(right[ll]))
wrapper = textwrap.TextWrapper(width=width, subsequent_indent=' '*len(label))
return wrapper.wrap(line)
#
@@ -2973,6 +2981,8 @@
self.part = e.tag
lines = []
for c in e.getchildren():
+ if c.tag in (etree.PI, etree.Comment):
+ continue
self.part = c.tag
lines = self.ljoin(lines, c, width, **kwargs)
return lines
@@ -4010,7 +4020,10 @@
def render_table(self, e, width, **kwargs):
kwargs['joiners'].update({
'name': Joiner('', ': ', '', 0, 0),
+ 'dl': Joiner('', '\n\n', '', 0, 0),
+ 'ol': Joiner('', '\n\n', '', 0, 0),
't': Joiner('', '\n\n', '', 0, 0),
+ 'ul': Joiner('', '\n\n', '', 0, 0),
})
#
pn = e.get('pn')
diff -Nru xml2rfc-2.39.0/xml2rfc.egg-info/PKG-INFO xml2rfc-2.40.0/xml2rfc.egg-info/PKG-INFO
--- xml2rfc-2.39.0/xml2rfc.egg-info/PKG-INFO 2020-01-31 11:38:54.000000000 +0000
+++ xml2rfc-2.40.0/xml2rfc.egg-info/PKG-INFO 2020-02-18 21:37:32.000000000 +0000
@@ -1,6 +1,6 @@
Metadata-Version: 1.2
Name: xml2rfc
-Version: 2.39.0
+Version: 2.40.0
Summary: Xml2rfc generates RFCs and IETF drafts from document source in XML according to the IETF xml2rfc v2 and v3 vocabularies.
Home-page: https://tools.ietf.org/tools/xml2rfc/trac/
Author: Henrik Levkowetz, Josh Bothun
@@ -103,6 +103,49 @@
=========
+ Version 2.40.0 (18 Feb 2020)
+ ------------------------------------------------
+
+
+ * Worked around weasyprint's failure to honour type attributes by
+ using the appropriate CSS list-style-type to control the list style. Fixes
+ issue #489.
+
+ * Added to the v3 grammar. Fixes issue #492.
+
+ * Fixed an issue where comments inside ascii-art artwork would cause
+ following artwork not to be rendered.
+
+ * Fixed an issue where use of .splitlines() instead of .split('\n')
+ caused unexpected removal of blank lines at the beginning or end of artwork.
+
+ * Allowed Latin script content in without requiring an ascii
+ attribute, to match the treatment of author and contact names. Fixes issue
+ #493
+
+ * Added additional error information when text content is found where
+ the schema does not allow it.
+
+ * Fixed an issue where trailing whitespace in artwork can trigger bad
+ rendering, by removing whitespace at the end of lines in