Fix typo 36/253636/1 tizen
authorJihoon Kim <jihoon48.kim@samsung.com>
Tue, 16 Feb 2021 05:20:30 +0000 (14:20 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Tue, 16 Feb 2021 05:20:30 +0000 (14:20 +0900)
Change-Id: Ic93a6576e9a24d6f80d9a6434ecc5280603fce5d
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
doc/smartreply_doc.h
src/dbus_client.h
src/request_handler.cpp

index 6f82045be3fb617bcaa54e9bb33c05a296652607..d8cb45b2e1ecfb12e6a85c5bbedd128296446e24 100644 (file)
@@ -30,7 +30,7 @@
 * The Smart Reply APIs provides functions to generate reply candidates for received message.\n
 * This provides following functionalities.\n
 * - Get candidate reply messages for a given received message sync/asynchronously
-* - Access & destory candidate reply list
+* - Access & destroy candidate reply list
 * - Record user's replied message to update future candidate messages
 * - Preload engine to reduce message generation time
 *
index 1e9ef31d4e0f7cde4d6891ba08694072f9dec781..b2fe66a30faa425f7f59dd856543c9fd48c0e52b 100755 (executable)
@@ -33,7 +33,7 @@ namespace smr {
                        int request_async(int type, int req_id, const char* subject, const char* input, void* ext, dbus_client_request_callback cb);
                        int request(int type, int req_id, const char* subject, const char* input, std::string* req_result, std::string* data_read);
                        int request_with_no_reply(int type, int req_id, const char* subject, const char* input);
-       };      /* classs smr::dbus_client */
+       };      /* class smr::dbus_client */
 
 }      /* namespace smr */
 
index 25fe98bc2f73a5300f1fa2100193bfbb0c2e7d3e..3f908dea1ec15b6dc0bc7e174d90909f62772fca 100755 (executable)
@@ -237,7 +237,7 @@ int smr::request_handler::is_supported(const char* language, int* req_id)
        std::string result_str;
        int error = dbus_handle->request(REQ_IS_SUPPORTED, *req_id, language, NULL, &result_str, NULL);
        _I("[is_supported():Client] Error: %#x", error);
-       _SI("[is_supported(): Client IS_SURPPOTED] Result: %s", result_str.c_str());
+       _SI("[is_supported(): Client IS_SUPPORTED] Result: %s", result_str.c_str());
        return error;
 }
 
@@ -251,7 +251,7 @@ int smr::request_handler::is_loaded(const char* language, int* req_id)
        _SI("[is_loaded] ReqId: %d, Language: %s", *req_id, language);
        std::string result_str;
        int error = dbus_handle->request(REQ_IS_LOADED, *req_id, language, NULL, &result_str, NULL);
-       _I("[is_loaded():Client IS_LOAEDED] Error: %#x", error);
+       _I("[is_loaded():Client IS_LOADED] Error: %#x", error);
        _SI("[is_loaded():Client IS_LOADED] Result: %s", result_str.c_str());
        return error;
 }