Hrp Properties
These are the properties of the HRP library included in Sample Program 1.1.2 and later.
Hrp.version
Gets the version of the library in use. Used as read-only.
Default value: "Library version set at the time of sample shipment"
Hrp.serverURL
Specifies the URL of the speech recognition server.
The connection destinations for this service are as follows:
https://acp-api.amivoice.com/v1/recognize (logging)
https://acp-api.amivoice.com/v1/nolog/recognize (no logging)
Default value: window.location.protocol + "//" + window.location.host + window.location.pathname
Hrp.grammarFileNames
Specifies the connection engine name.
Default value: "-"
Hrp.authorization
Specifies the APPKEY. It must be set before calling feedDataResume().
Default value: ""
Hrp.profileId
Specifies the profile ID that identifies the user using registered words.
- profileId should be a string consisting of alphanumeric characters, "-" (hyphen), and "_" (underscore). However, strings starting with "__" (two underscores) are reserved by the speech recognition engine, so please do not specify strings starting with "__" (two underscores).
*If you have registered words on MyPage of this service, specify the string with a colon added to the beginning of the service ID (automatically generated from the user ID) listed in the connection information on MyPage as the profileId.
Default value: ""
Hrp.profileWords
Sets the written and pronunciation of words you want to register.
Default value: ""
Hrp.segmenterProperties
Specifies parameters related to the ease of detecting speech segments and speaker diarization. For details on the parameters, please see segmenterProperties.
Default value: ""
Hrp.keepFillerToken
Specifies whether to automatically delete filler words. Specify 0 to automatically delete filler words, and 1 to keep them. If not specified, it behaves the same as when 0 is specified.
Default value: ""
Hrp.maxDecodingTime
Specifies the maximum recognition processing time in milliseconds. For details, please see maxDecodingTime.
Default value: ""
Hrp.maxResponseTime
Specifies the maximum response time in milliseconds. For details, please see maxResponseTime.
Default value: ""
Hrp.maxDecodingRate
Specifies the maximum RT. For details, please see maxDecodingRate.
Default value: ""
Hrp.targetResponseTime
Specifies the target response time in milliseconds. For details, please see targetResponseTime.
Default value: ""
Hrp.targetDecodingRate
Specifies the target RT. For details, please see targetDecodingRate.
Default value: ""
Hrp.recognitionTimeout
Specifies the recognition completion timeout in milliseconds. For details, please see recognitionTimeout.
Default value: ""
Hrp.extension
Specifies the usage aggregation tag. For details, please see Usage Aggregation Tag.
Default value: ""
Hrp.sid
Sets the service ID when obtaining a one-time APPKEY (service authentication key string). The service ID is listed on MyPage of this service.
Default value: null
Hrp.spw
Sets the service password when obtaining a one-time APPKEY (service authentication key string). The service password is listed on MyPage of this service.
Default value: null
Hrp.epi
Sets the validity period (in milliseconds) when obtaining a one-time APPKEY (service authentication key string). If this value is not set, a one-time APPKEY with a validity period of 30 seconds (30000ms), which is the default value of the one-time APPKEY issuance service, will be issued.
Default value: null