We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 385ce76 commit f5965f7Copy full SHA for f5965f7
1 file changed
runtime/processor/wetext_token_parser.cc
@@ -33,7 +33,8 @@ const std::unordered_map<std::string, std::vector<std::string>> ZH_TN_ORDERS = {
33
{"money", {"value", "currency"}},
34
{"time", {"noon", "hour", "minute", "second"}}};
35
const std::unordered_map<std::string, std::vector<std::string>> EN_TN_ORDERS = {
36
- {"date", {"preserve_order", "text", "day", "month", "year"}}};
+ {"date", {"preserve_order", "text", "day", "month", "year"}},
37
+ {"money", {"integer_part", "fractional_part", "quantity", "currency_maj"}}};
38
const std::unordered_map<std::string, std::vector<std::string>> ZH_ITN_ORDERS =
39
{{"date", {"year", "month", "day"}},
40
{"fraction", {"sign", "numerator", "denominator"}},
0 commit comments