Commit 57485563 authored by Cassio Batista's avatar Cassio Batista 🐢

android section moved to another specific repo

parent 03bb468f
...@@ -5,52 +5,41 @@ A comparison between Kaldi and CMU Sphinx for Brazilian Portuguese was ...@@ -5,52 +5,41 @@ A comparison between Kaldi and CMU Sphinx for Brazilian Portuguese was
performed. Resources for both toolkits were developed and made publicly performed. Resources for both toolkits were developed and made publicly
available to the community. available to the community.
Resources: - `sen4000_gau16.cd_cont_4000/`: acoustic model
- `sen4000_gau16.cd_cont_4000/`: acoustic model - `dict/`: phonetic dictionary
- `dict/`: phonetic dictionary - `lm/`: n-gram language model
- `lm/`: n-gram language model - `gram/`: context-free grammar language model
- `gram/`: context-free grammar language model
## Desktop :computer: ## Testing with n-gram language model
### Testing with n-gram language model
```bash ```bash
pocketsphinx_continuous \ pocketsphinx_continuous \
-inmic yes \ -inmic yes \
-hmm sen4000_gau16.cd_cont_4000/ \ -hmm sen4000_gau16.cd_cont_4000/ \
-dict dict/sen4000_gau16.dic \ -dict dict/sen4000_gau16.dic \
-lm lm/lapsam.lm -lm lm/lapsam.lm
``` ```
### Testing with context-free grammar (finite state grammar) ## Testing with context-free grammar (finite state grammar)
```bash ```bash
pocketsphinx_continuous \ pocketsphinx_continuous \
-inmic yes \ -inmic yes \
-hmm sen4000_gau16.cd_cont_4000/ \ -hmm sen4000_gau16.cd_cont_4000/ \
-dict dict/sen4000_gau16.dic \ -dict dict/sen4000_gau16.dic \
-fsg gram/tv_control.fsg 2> /dev/null -fsg gram/tv_control.fsg 2> /dev/null
``` ```
or or
```bash ```bash
pocketsphinx_continuous \ pocketsphinx_continuous \
-inmic yes \ -inmic yes \
-hmm sen4000_gau16.cd_cont_4000/ \ -hmm sen4000_gau16.cd_cont_4000/ \
-dict dict/sen4000_gau16.dic \ -dict dict/sen4000_gau16.dic \
-jsgf gram/tv_control.jsgf 2> /dev/null -jsgf gram/tv_control.jsgf 2> /dev/null
``` ```
![Deterministic Finite Automaton](https://gitlab.com/fb-asr/fb-asr-resources/cmusphinx-resources/raw/master/gram/glc_dfa.png) ![Deterministic Finite Automaton](https://gitlab.com/fb-asr/fb-asr-resources/cmusphinx-resources/raw/master/gram/glc_dfa.png)
## Android :iphone:
- Download [Android Studio](https://developer.android.com/studio)
- Download [NDK and Tools](https://developer.android.com/ndk/guides)
- **Tools** > **Android** > **SDK Manager**
- Tab: "*SDK Tools*"
- Check `LLDB`, `CMake` and `NDK`, then click "*Apply*" and "*Ok*"
## Citation ## Citation
If you use these resources or want to mention the paper referred above, please If you use these resources or want to mention the paper referred above, please
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment