URN format of resources
Recognition resources created in Mix are identified by a URN, or Uniform Resource Name. The format of the URN reference depends on the resource. In these examples, the context tag is names-places
and the language code is eng-USA
.
Domain LM
urn:nuance-mix:tag:model/context_tag/mix.asr?=language=language
Item | Description |
---|---|
model | Keyword that identifies a DLM. |
context_tag | An application context tag from Mix. |
language | The language code of the underlying data pack, as xxx-XXX. Note: You must use the 6-letter code, for example, eng-USA. |
This URN identifies a DLM (names-places
is the context tag from Mix):
urn:nuance-mix:tag:model/names-places/mix.asr?=language=eng-USA
Compiled wordset
urn:nuance-mix:tag:wordset:lang/context_tag/wordset_name/language/mix.asr
or
urn:nuance-mix:tag:wordset:lang/context_tag/wordset_name/language/mix.asr?=user_id=user_id
Item | Description |
---|---|
wordset:lang | Keywords that identify a compiled wordset. |
context_tag | An application context tag from Mix. |
wordset_name | A new name for the wordset being compiled. |
language | The language code of the underlying data pack, as xxx-XXX. Note: You must use the 6-letter code, for example, eng-USA. |
user_id | For wordsets only, a optional unique identifier for the user. |
This URN identifies a compiled wordset:
urn:nuance-mix:tag:wordset:lang/names-places/places-compiled-ws/eng-USA/mix.asr
See also Wordset URNs.
Settings file
urn:nuance-mix:tag:settings/context_tag/asr
Item | Description |
---|---|
settings | Keyword that identifies a data pack settings file. |
context_tag | An application context tag from Mix. |
This URN identifies a settings file:
urn:nuance-mix:tag:settings/names-places/asr
Speaker profiles
Speaker profiles do not use URNs. The speaker is identified with user_id
in RecognitionInitMessage.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.