]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - tiesr-gforge/tiesr-gforge.git/commitdiff
[#1427] Test specifically for sil or sp phone names
authorlnetsch <lnetsch@localhost>
Mon, 28 Nov 2011 17:14:14 +0000 (17:14 +0000)
committerlnetsch <lnetsch@localhost>
Mon, 28 Nov 2011 17:14:14 +0000 (17:14 +0000)
TIesr_Tools/htk_mmf_to_tiesr.pl

index 686101330143326a0bc0e446b46b19a04a07cec1..add963c1613112a726bf95c8ebd1918d8010f974 100755 (executable)
@@ -386,7 +386,7 @@ sub monophone_list
        }
 
        # ignore sp and sil models
-       elsif ( $hmmname =~ /^sil|^sp/ )
+       elsif ( $hmmname =~ /^sil$|^sp$/ )
        {
            next;
        }