ingerid commited on
Commit
f458b54
1 Parent(s): 803fe81

remove all annotations for ortographic transcriptions

Browse files
Files changed (1) hide show
  1. nb_samtale.py +1 -1
nb_samtale.py CHANGED
@@ -195,7 +195,7 @@ def bracket_metatags(text):
195
 
196
  def remove_metatags(text):
197
  """Remove metatags for hesitations, laughter, paralinguistic sounds etc."""
198
- return re.sub(r"%\w{3}\s", "", text)
199
 
200
  def remove_percentage_sign(text):
201
  """Remove percentage sign."""
 
195
 
196
  def remove_metatags(text):
197
  """Remove metatags for hesitations, laughter, paralinguistic sounds etc."""
198
+ return re.sub(r"%\w\s", "", text)
199
 
200
  def remove_percentage_sign(text):
201
  """Remove percentage sign."""