Spoiler: quote
Try this for 4 digits speech in each number
PS. You can try this for another 1-3 digits as well (if you don't mind 0 spelling)Code:Please Login or Register to see the links
Sent from my SM-N910C using Tapatalk
It's still saying "doctor" but no "saint" anymore instead of "ST". I try to change uppercase or lowercase in config_transform_tables.lua.
For example {1,L"St",L"Street"} to {1,L"st",L"Street"}. Is it maybe map specific? Im using HERE map 2016.Q3.
The street name shown on map is "Springs Dr" and "Maple St"
Here is my config_transform_tables.lua related to "street" or "saint"
-- {2,L"(?i)^S\\.?T\\.? ",L"Saint "},
-- {2,L"(?i)\\ST\\.?\\b",L" Street"},
{1,L"sts",L"Streets"},
{1,L"strt",L"Street"},
{1,L"str",L"Street"},
{1,L"st",L"Street"},
My config_transforms.lua is fixed but still saying one thousand xxx instead of single number.
local number_formatter_4 = {
-- 1-9000
{ L"([1-9])000", L"%1 thousand" },
-- 100x-900x
{ L"([1-9])00([1-9])", L"%1 thousand %2" },
-- 10xx-90xx
{ L"([1-9]0)([1-9]%d)", L"%1 %2" },
-- xx00
{ L"([1-9][1-9])00", L"%1 hundred" },
-- xx0x
{ L"([1-9][1-9])0([1-9])", L"%1 o %2" },
-- xxxx/-->"kive a kozte 0
{ L"([1-9][1-9])([1-9]%d)", L"%1 %2" },
}
Spoiler: quote
Try this for 4 digits speech in each number
PS. You can try this for another 1-3 digits as well (if you don't mind 0 spelling)Code:Please Login or Register to see the links
Sent from my SM-N910C using Tapatalk
Last edited by Boki; 4th July 2017 at 07:11 AM.
It still doesnt work. Here is my number formatter.
Code:Please Login or Register to see the links
Last edited by Boki; 4th July 2017 at 07:12 AM.
Why don't you post your voice config file?
Do not PM me with questions. That's what a forum is for.
I mean the entire voice config file, not just that directory.
Do not PM me with questions. That's what a forum is for.
Here you go, don't have time to test. For now, the change will announce only four digits number as individual number (ie: 1234 as 1 2 3 4)
It should also pronounced street and drive unless map engine returned something else other than 'st' and 'dr' after the name.
Spoiler: .
Do not PM me with questions. That's what a forum is for.
What was the 4 digits number of the street and how was it pronounced? Usually, it should be in lower case coming from the map engine, what was the street name? Its not possible for it to pronounced doctor since there is no rule for it. Unless speech engine automatically pronoumce 'dr' as doctor if it couldn't find a rule for 'dr', but I've added the 'dr' rule.
Last edited by osiris4isis; 5th July 2017 at 02:16 AM.
Do not PM me with questions. That's what a forum is for.
Bookmarks