voxforge.org
VoxForge Dev

Changeset 2342

Show
Ignore:
Timestamp:
11/05/07 23:53:51 (1 year ago)
Author:
kmaclean
Message:

backout change dealing with single quotes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • Trunk/Scripts/Audio_scripts/UserSubmission/PROMPTS.pm

    r2341 r2342  
    110110                        # dealing with quotes 
    111111                        #  $linescalar =~ s/\'//g; # remove single quotes; but need words like "don't" - need to research this more ... 
    112                         $linescalar =~ s/\'(\b.*\b)\'/$1/g; # remove single quotes from quoted text; single quote must be at start of a word, and at end of a wrod 
     112                        # $linescalar =~ s/\'\b(.*)\b\'/$1/g; # remove single quotes from quoted text; single quote must be at start of a word, and at end of a word - does not work if there are two words with single quotesin them in same sentence ... 
     113                         
    113114                        $linescalar =~ s/\'EM//g; # remove leading single quotes for contraction of them 
    114115                        $linescalar =~ s/\"//g; # remove double quotes