Helper function to make a string safe for saving in Kaldi scp files. They use space as a delimiter, so
any spaces in the string will be converted to “_MFASPACE_” to preserve them
- Parameters:
string (str) – Text to escape
- Returns:
Escaped text
- Return type:
str