Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 10 of 274

Threaded View

  1. #11
    Important User TTS Nextgen discussion
    TTS Nextgen discussionTTS Nextgen discussionTTS Nextgen discussionTTS Nextgen discussion
    osiris4isis's Avatar
    Join Date
    Apr 2012
    Location
    Darkside of the Moon
    Posts
    2,885
    Rep Power
    1383

    Default

    First we see where roadname_abbrev_table (where most street suffix rules are defined) are used by: route_summary_format_bridge_tunnel, route_summary_format_order, traffic_event and direction_roadname_abbrev.
    It is direction_roadname_abbrev that we are interested in, and it is used by: route_summary_format_street_name, format_signpost_destination, signpost_settlement, format_road_name.
    According to the code
    Code:
    Please Login or Register to see the links
    it only gets called if is_road_number is false. The function is_road_number is responsible for finding out if it's a highway name/road name and not street name. And for the moment lets assumed that it's correct.
    So that is why we make sure roadname_abbrev_table has correct rule. And since the suffixes are pretty much all lowercases, we assumed that adding the 'dr' rule should work.
    But since it doesn't, it might be passed with case sensitivity, so we need to add the following additional rules:
    Code:
    Please Login or Register to see the links
    Here is the change for that, see if "drive" pronounced correctly now,
    Spoiler: .

    This post requires you to click the "LIKE this post" button and hit F5 to read this content.

    Note that we also commented out the rule
    Code:
    Please Login or Register to see the links
    But it might not be necessary because that rule check for "dr" being the prefix (note the ^) and not suffix.
    Last edited by osiris4isis; 9th July 2017 at 06:28 AM.
    Do not PM me with questions. That's what a forum is for.

  2.    Advertissements


 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •