From 33760ee57216b3792ca0e71248799a97c1ea6358 Mon Sep 17 00:00:00 2001 From: sxy Date: Tue, 7 Mar 2023 14:23:11 +0800 Subject: [PATCH] Fix some typos --- docs/en/speech_command_recognition/README.rst | 10 +++++----- tool/README.md | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/en/speech_command_recognition/README.rst b/docs/en/speech_command_recognition/README.rst index b815aaf..c132f7b 100644 --- a/docs/en/speech_command_recognition/README.rst +++ b/docs/en/speech_command_recognition/README.rst @@ -49,12 +49,12 @@ Different MultiNets support different format: - Chinese - MultiNet5 and MultiNet6 sse Pinyin for Chinese speech commands. Please use :project_file:`tool/multinet_pinyin.py` to get pinyin of Chinese. + MultiNet5 and MultiNet6 use Pinyin for Chinese speech commands. Please use :project_file:`tool/multinet_pinyin.py` to get pinyin of Chinese. - English - MultiNet5 use phonemes for English speech commands. Simplicity, we use chats to denote different phoneme.Please use :project_file:`tool/multinet_g2p.py` to do the convention. - MultiNet6 use grapheme for English speech commands. You do not need any convention. + MultiNet5 use phonemes for English speech commands. For simplicity, we use characters to denote different phonemes. Please use :project_file:`tool/multinet_g2p.py` to do the convention. + MultiNet6 use grapheme for English speech commands. You do not need any conversion. Suggestions on Customizing Speech Commands ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -83,7 +83,7 @@ MultiNet6 customize speech commands: 1 TELL ME A JOKE 2 MAKE A COFFEE -- For Chinese, pinyin are used as units. Please modify a text file :project_file:`model/multinet_model/fst/commands_cn.txt` by the following format. :project_file:`tool/multinet_pinyin.py` help tp get Pinyin of Chinese. +- For Chinese, pinyin are used as units. Please modify a text file :project_file:`model/multinet_model/fst/commands_cn.txt` by the following format. :project_file:`tool/multinet_pinyin.py` help to get Pinyin of Chinese. :: @@ -91,7 +91,7 @@ MultiNet6 customize speech commands: 1 da kai kong tiao 2 guan bi kong tiao -Multinet5 supports flexible methods to customize speech commands. Users can do it either online or offline and can also add/delete/modify speech commands dynamically. +Multinet5 supports flexible methods to customize speech commands. You can do it either online or offline and can also add/delete/modify speech commands dynamically. .. only:: latex diff --git a/tool/README.md b/tool/README.md index 46a8b3d..5f271c4 100644 --- a/tool/README.md +++ b/tool/README.md @@ -10,7 +10,7 @@ For English, words are used as units. Please prepare a list of commands written 2 MAKE A COFFEE ``` -For Chinese, pinyin are used as units. [multinet_pinyin.py](./multinet_pinyin.py) help tp get Pinyin of Chinese. Please prepare a list of commands written in a text file `commands_cn.txt` of the following format: +For Chinese, pinyin are used as units. [multinet_pinyin.py](./multinet_pinyin.py) help to get Pinyin of Chinese. Please prepare a list of commands written in a text file `commands_cn.txt` of the following format: ``` # command_id command_sentence 1 da kai kong tiao