Skip to content

Commit

Permalink
Merge pull request #26 from verbio-technologies/feature/SC2-1526_cata…
Browse files Browse the repository at this point in the history
…lan_laguage

Feature/sc2 1526 catalan laguage
  • Loading branch information
jordi-adell authored Apr 10, 2024
2 parents 4656e38 + 4e369e6 commit 30b6e96
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ There are three options available to provide a grammar:
-l, --language arg
```

Language to use for the recognition: `en-US`, `en-GB`, `pt-BR`, `es`, `es-419`, `tr`, `ja`, `fr`, `fr-CA`, `de`, `it` (default: `en-US`).
Language to use for the recognition: `en-US`, `en-GB`, `pt-BR`, `es`, `ca-ES`, `es-419`, `tr`, `ja`, `fr`, `fr-CA`, `de`, `it` (default: `en-US`).


#### Sample rate
Expand Down
4 changes: 2 additions & 2 deletions headers/Configuration.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ class Configuration {
std::string label;
std::string clientId;
std::string clientSecret;
std::vector<std::string> allowedTopicValues = {"GENERIC", "BANKING", "TELCO", "INSURANCE"};
std::vector<std::string> allowedLanguageValues = {"en-US", "en-GB", "pt-BR", "es", "es-419", "tr", "ja", "fr", "fr-CA", "de", "it"};
std::vector<std::string> allowedTopicValues = {"GENERIC"};
std::vector<std::string> allowedLanguageValues = {"en-US", "en-GB", "pt-BR", "es", "ca-ES", "es-419", "tr", "ja", "fr", "fr-CA", "de", "it"};
std::vector<std::string> allowedAsrVersionValues = {"V1", "V2"};

};
Expand Down
2 changes: 1 addition & 1 deletion src/Configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void Configuration::parse(int argc, char **argv) {
"Topic to use for the recognition when a grammar is not provided. Must be GENERIC | BANKING | TELCO | INSURANCE",
cxxopts::value(topic))
("l,language",
"Language to use for the recognition: en-US, en-GB, pt-BR, es, es-419, tr, ja, fr, fr-CA, de, it",
"Language to use for the recognition: en-US, en-GB, pt-BR, es, ca-ES, es-419, tr, ja, fr, fr-CA, de, it",
cxxopts::value(language)->default_value(language))
("s,sample-rate", "Sampling rate for the audio recognition: 8000, 16000.",
cxxopts::value<uint32_t>(sampleRate)->default_value(std::to_string(sampleRate)))
Expand Down

0 comments on commit 30b6e96

Please sign in to comment.