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

Thread: Audio Problem

Hybrid View

  1. #1
    Important User Audio Problem
    Audio ProblemAudio ProblemAudio ProblemAudio Problem
    osiris4isis's Avatar
    Join Date
    Apr 2012
    Location
    Darkside of the Moon
    Posts
    2,877
    Rep Power
    1384

    Default

    You mean it pronounce 1st as "one" "s" "t" instead of "first"?

    The brute force solution is to defined it under dictionary.voice
    [words]
    1st="first"
    2nd="second"
    :
    !_a**="Australia"
    :

    But it is cumbersome especially if you have like hundreds of them. So we need to find a way to defined it via pattern.

    Under config_numbers.lua there is definition for
    ordinals = {
    {L"first", nil, nil},
    {L"second", nil, nil},
    {L"third", nil, nil},
    {L"fourth", nil, nil},
    {L"fifth", nil, nil},
    {L"sixth", nil, nil},
    {L"seventh", nil, nil},
    {L"eighth", nil, nil},
    {L"ninth", nil, nil},
    {L"tenth", nil, nil},
    {L"eleventh", nil, nil},
    {L"twelfth", nil, nil},
    {L"thirteenth", nil, nil},
    {L"fourteenth", nil, nil},
    {L"fifteenth", nil, nil},
    {L"sixteenth", nil, nil},
    {L"seventeenth", nil, nil},
    {L"eighteenth", nil, nil},
    {L"nineteenth", nil, nil},
    {L"twentieth", nil, nil},
    }

    If somehow we can use that definition and pattern like (for all the 'th)
    ;numberTH spacer
    /(?i)([\s,\.]r_art_s.*[\s,\.][1-9]+)([tT][hH][\s,\.].*r_art_e[\s,\.])/-->"\1th"

  2.    Advertissements


  3. #2
    Super Member
    Join Date
    Dec 2010
    Location
    USA
    Posts
    149
    Rep Power
    45

    Default

    Quote Originally Posted by osiris4isis View Post
    You mean it pronounce 1st as "one" "s" "t" instead of "first"?

    The brute force solution is to defined it under dictionary.voice
    [words]
    1st="first"
    2nd="second"
    Tried this; didn't work. I'm sure there's an answer somehow. It's gotta be.

    EDIT: I just ran a simulated trip through Manhattan [New York City] where almost all of the streets are numbered streets. It was fine. For example. 45th Street was said as Forty-fifth Street. I live where a couple of the streets are one-digit numbers. So maybe it's only the small numbers that have the problem - that's now confirmed.
    Last edited by chas521; 21st December 2015 at 10:13 PM.

 

 

Tags for this Thread

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
  •