artiso-solutions / CoVoX

MIT License
1 stars 1 forks source link

Normalize strings #56

Closed kczornik closed 3 years ago

kczornik commented 3 years ago

Introduces the normalization of the input and target strings in the UnderstandingModule

private string NormalizeString(string input)
{
   return new string(input.Where(c => !char.IsPunctuation(c)).ToArray()).ToLowerInvariant();
}

Resolves #55 .