* \#include <smartreply_service.h>
*
* @section CAPI_SMARTREPLY_SERVICE_OVERVIEW Overview
-* The Smat Reply APIs provides functions to generate reply candidates for received message.\n
+* 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
* @brief Called when a query execution is done.
* @param[in] query_id The query id passed through smr::db_manager::execute().
* @param[in] error Error code. If success, 0. Otherwise, a negative value.
- * @param[in] records Data records retreived.
+ * @param[in] records Data records retrieved.
*/
virtual void on_query_result_received(unsigned int query_id, int error, std::vector<json>& records) = 0;
};
* @brief Execute a SQL query. Async.
* @param[in] query_id This number will be returned through db_listener_iface::on_query_result_received().
* @param[in] query A query to be executed.
- * @param[in] listener A listner object to receive the result.
+ * @param[in] listener A listener object to receive the result.
*/
bool execute(unsigned int query_id, const char* query, db_listener_iface* listener);