Skip to content

Commit

Permalink
TTS update
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunarien committed Mar 16, 2023
1 parent 1289d9b commit 857cb72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,9 @@ public static void OutputProblem(string problem)
SpeechSynthesizer synth = new();
char op = char.Parse(Regex.Replace(problem, @"[\d\n]", string.Empty));

problem = Regex.Replace(problem, @"[\n*^/+\-√]", string.Empty);
problem = Regex.Replace(problem, @"[\n*^/+\-√]", " ");

string[] numbers = problem.Split(' ');
string[] numbers = problem.Split(" ");

for (int i = 0; i < numbers.Length; i++)
{
Expand Down

0 comments on commit 857cb72

Please sign in to comment.