Fix spelling errata 40/187740/1 accepted/tizen/unified/20180829.142713 submit/tizen/20180828.101453
authorsooyeon.kim <sooyeon.kim@samsung.com>
Tue, 28 Aug 2018 06:30:27 +0000 (15:30 +0900)
committersooyeon.kim <sooyeon.kim@samsung.com>
Tue, 28 Aug 2018 06:30:27 +0000 (15:30 +0900)
Change-Id: I342d264e2d8372fe1c3ec3fcc507d694603b5cf3
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
client/stt.c
client/stt_dbus.c
common/stt_config_mgr.c
common/stt_config_parser.c
engine-parser/src/stt-engine-parser.c
include/stt.h
include/stt_file.h
server/sttd_server.c
test/test_main.c

index a3a4763bfb1ab4b7c34d79596ee3dd69a188a6de..649a71ab308e93ecd9e68f8a2df2ed0b05a3b881 100644 (file)
@@ -321,7 +321,7 @@ void __stt_config_engine_changed_cb(const char* engine_id, const char* setting,
                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);
index 5d525576d99af411065d6b45ce723e48bb60bfc2..424c407b42fb75ec1839dd6cf38c828a14bbf6b3 100644 (file)
@@ -674,7 +674,7 @@ int stt_dbus_open_connection()
 
        DBusError err;
 
-       /* initialise the error value */
+       /* initialize the error value */
        dbus_error_init(&err);
 
        /* connect to the DBUS system bus, and check for errors */
index 4205bad13df0ce194972ff50a2ca88f41d375c41..2314cbbbf50941b8ae43e7606c64e9aeafd86edc 100644 (file)
@@ -1683,7 +1683,7 @@ int stt_config_mgr_reset_time_info()
 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;
        }
 
@@ -1714,7 +1714,7 @@ int stt_config_mgr_add_time_info(int index, int event, const char* text, long st
 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;
        }
 
index 1c3180d680036cc75a9eac6ccc5d29d938d37d68..8b45fc364600ebfe414d4d7a2fc0efe5ab6cae8a 100644 (file)
@@ -435,7 +435,7 @@ int stt_parser_load_config(stt_config_s** config_info)
 
                                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);
@@ -1005,7 +1005,7 @@ void __stt_parser_time_info_free(void* data)
 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;
        }
 
index 0362e550ab76891802a3f839685c3dfd239b719c..f06254025597d76d4cee8ae01b1702df654452cb 100644 (file)
@@ -304,7 +304,7 @@ static int __remove_engine_info_xml(const char *pkgid, gchar *ut, uid_t uid)
        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);
                }
        }
 
index eabc74b9cdc0f826535b9e70431abcf143f635fc..47f9e68e73c2bec6f52f843112a8970ae6d73f71 100755 (executable)
@@ -220,7 +220,7 @@ typedef bool(*stt_supported_engine_cb)(stt_h stt, const char* engine_id, const c
 /**
  * @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
index 71c5df7b43f3586914f6f0a64a622edbc10ae9d7..11bbc74c4f87c137f80732f7135e19d52c538b60 100644 (file)
@@ -106,7 +106,7 @@ typedef bool(*stt_file_supported_engine_cb)(const char* engine_id, const char* e
 /**
 * @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
index 38b7a7f8ae065e43c58f630bc809c6dbdcc0364c..77f957f0cd20b4a5877109eaff1005cd004dc147 100644 (file)
@@ -356,7 +356,7 @@ int __server_speech_status_callback(stte_speech_status_e status, void *user_para
                        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, "=====");
index eafee9be3e166d67cfdc26cb2fa394f936a2ed16..804eef1954092975b14f03dd0f3323a6ac6aa0f4 100644 (file)
@@ -256,7 +256,7 @@ int main(int argc, char *argv[])
                        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");