if (STT_STATE_RECORDING == client->current_state || STT_STATE_PROCESSING == client->current_state) {
ret = stt_cancel(stt);
if (0 != ret) {
- SLOG(LOG_DEBUG, TAG_STTC, "[DEBUG] STT client canceling...");
+ SLOG(LOG_DEBUG, TAG_STTC, "[DEBUG] STT client cancelling...");
}
ecore_idler_add(__reconnect_by_engine_changed, (void*)stt);
DBusError err;
- /* initialise the error value */
+ /* initialize the error value */
dbus_error_init(&err);
/* connect to the DBUS system bus, and check for errors */
int stt_config_mgr_add_time_info(int index, int event, const char* text, long start_time, long end_time)
{
if (NULL == text) {
- SLOG(LOG_ERROR, stt_tag(), "Invalid paramter : text is NULL");
+ SLOG(LOG_ERROR, stt_tag(), "Invalid parameter : text is NULL");
return -1;
}
int stt_config_mgr_foreach_time_info(stt_config_result_time_cb callback, void* user_data)
{
if (NULL == callback) {
- SLOG(LOG_ERROR, stt_tag(), "[ERROR] Input paramter is NULL : callback function"); //LCOV_EXCL_LINE
+ SLOG(LOG_ERROR, stt_tag(), "[ERROR] Input parameter is NULL : callback function"); //LCOV_EXCL_LINE
return STT_CONFIG_ERROR_INVALID_PARAMETER;
}
xmlFree(key);
} else {
- SLOG(LOG_ERROR, stt_tag(), "[ERROR] auto langauge is NULL"); //LCOV_EXCL_LINE
+ SLOG(LOG_ERROR, stt_tag(), "[ERROR] auto language is NULL"); //LCOV_EXCL_LINE
}
} else if (0 == xmlStrcmp(cur->name, (const xmlChar *)STT_TAG_CONFIG_LANGUAGE)) {
key = xmlNodeGetContent(cur);
int stt_parser_get_time_info(GSList** time_list)
{
if (NULL == time_list) {
- SLOG(LOG_ERROR, stt_tag(), "Invalid paramter : text is NULL"); //LCOV_EXCL_LINE
+ SLOG(LOG_ERROR, stt_tag(), "Invalid parameter : text is NULL"); //LCOV_EXCL_LINE
return -1;
}
if (0 == access(path, F_OK)) {
LOGD("Remove engine info xml(%s)", path);
if (0 != remove(path)) {
- LOGE("[ERROR] Fail to emove engine info xml(%s)", path);
+ LOGE("[ERROR] Fail to remove engine info xml(%s)", path);
}
}
/**
* @brief Called when STT gets the recognition result from the engine.
* @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif
- * @remarks After stt_stop() is called, silence is detected from recording, or partial result is occured, this function is called.
+ * @remarks After stt_stop() is called, silence is detected from recording, or partial result is occurred, this function is called.
* @param[in] stt The STT handle
* @param[in] event The result event
* @param[in] data Result texts
/**
* @brief Called when STT gets the recognition result from engine.
*
-* @remark After stt_file_start() is called and recognition result is occured, this function is called.
+* @remark After stt_file_start() is called and recognition result is occurred, this function is called.
*
* @param[in] event The result event
* @param[in] data Result texts
ecore_main_loop_thread_safe_call_async(__stop_by_silence, NULL);
}
} else {
- SLOG(LOG_WARN, TAG_STTD, "[Server WARNING] Current recogntion uid is not valid ");
+ SLOG(LOG_WARN, TAG_STTD, "[Server WARNING] Current recognition uid is not valid ");
}
SLOG(LOG_DEBUG, TAG_STTD, "=====");
return 0;
}
- SLOG(LOG_DEBUG, TAG_STT_TEST, "Get supported langauge");
+ SLOG(LOG_DEBUG, TAG_STT_TEST, "Get supported language");
ret = stt_file_foreach_supported_languages(__stt_file_supported_language_cb, NULL);
if (STT_FILE_ERROR_NONE != ret) {
SLOG(LOG_ERROR, TAG_STT_TEST, "Fail to get supported language");