Пример #1
0
 private void TaggingcC()
 {
     foreach (TextGridItem tgi in ItemDict["CC"])
     {
         string tagText     = StringProcess.NormXSil(tgi.Text);
         string overlapText = StringProcess.NormOverlap(tagText);
         string cleanText   = StringProcess.CleanupChsString(overlapText, true);
         tgi.UpdateText(cleanText);
     }
 }
Пример #2
0
 private void TaggingSyl()
 {
     foreach (TextGridItem tgi in ItemDict["SYL"])
     {
         if (tgi.Text.Contains('/') || tgi.Text.Contains('\\'))
         {
             tgi.UpdateText("<overlap>");
         }
         else
         {
             string tagText   = StringProcess.NormXSil(tgi.Text);
             string cleanText = StringProcess.CleanupSpace(tagText);
             tgi.UpdateText(cleanText);
         }
     }
 }