fix some wrong format in docs

This commit is contained in:
xysun 2023-05-10 19:16:44 +08:00
parent 2c6cf6a3bd
commit a7225a510b
2 changed files with 6 additions and 6 deletions

View File

@ -99,7 +99,7 @@ MultiNet5 use phonemes for English speech commands. For simplicity, we use chara
*/ */
esp_err_t esp_mn_commands_update_from_sdkconfig(esp_mn_iface_t *multinet, const model_iface_data_t *model_data); esp_err_t esp_mn_commands_update_from_sdkconfig(esp_mn_iface_t *multinet, const model_iface_data_t *model_data);
Customize speech commands via API calls Customize Speech Commands Via API calls
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Alternatively, speech commands can be modified via API calls, this method works for both MultiNet5 and MultiNet6. Alternatively, speech commands can be modified via API calls, this method works for both MultiNet5 and MultiNet6.
@ -123,7 +123,7 @@ Alternatively, speech commands can be modified via API calls, this method works
esp_mn_error_t *esp_mn_commands_update(); esp_mn_error_t *esp_mn_commands_update();
.. note:: .. note::
The modifications will not be applied, thus not printed out, util you call ``esp_mn_commands_update()``. The modifications will not be applied, thus not printed out, until you call ``esp_mn_commands_update()``.
- Apply new changes, the add/remove/modify/clear actions will not take effect util this function is called. - Apply new changes, the add/remove/modify/clear actions will not take effect util this function is called.

View File

@ -110,9 +110,9 @@ MultiNet5 定义方法:
esp_err_t esp_mn_commands_update_from_sdkconfig(esp_mn_iface_t *multinet, const model_iface_data_t *model_data); esp_err_t esp_mn_commands_update_from_sdkconfig(esp_mn_iface_t *multinet, const model_iface_data_t *model_data);
通过调用API修改 通过调用 API 修改
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~
指令还可以通过调用API修改这种方法对于 MultiNet5 和 MultiNet6 都适用。 指令还可以通过调用 API 修改,这种方法对于 MultiNet5 和 MultiNet6 都适用。
- 打印现有指令。 - 打印现有指令。
@ -200,7 +200,7 @@ MultiNet5 定义方法:
*/ */
esp_err_t esp_mn_commands_modify(char *old_string, char *new_string); esp_err_t esp_mn_commands_modify(char *old_string, char *new_string);
- 清空所有指令. - 清空所有指令
:: ::