diff --git a/Mirivoice/Commands/SetProsodyCommand.cs b/Mirivoice/Commands/SetProsodyCommand.cs index 69668e3..c35c485 100644 --- a/Mirivoice/Commands/SetProsodyCommand.cs +++ b/Mirivoice/Commands/SetProsodyCommand.cs @@ -45,7 +45,7 @@ public void Execute(bool isRedoing) isFirstExec = false; - Log.Debug($"Execute: undo: {undoMem}, redo: {redoMem}"); + //Log.Debug($"Execute: undo: {undoMem}, redo: {redoMem}"); } } @@ -55,7 +55,7 @@ public void UnExecute() v.DonotExecCommand = true; v.Prosody = undoMem; v.DonotExecCommand = false; - Log.Debug($"Undo: undo: {undoMem} redo: {redoMem}"); + //Log.Debug($"Undo: undo: {undoMem} redo: {redoMem}"); } diff --git a/Mirivoice/Commands/TextBoxEditCommand.cs b/Mirivoice/Commands/TextBoxEditCommand.cs index bc93cb1..e8b8da7 100644 --- a/Mirivoice/Commands/TextBoxEditCommand.cs +++ b/Mirivoice/Commands/TextBoxEditCommand.cs @@ -25,7 +25,7 @@ public void Execute(bool isRedoing) { if (isRedoing) { - Log.Debug($"Redo: {redoMem}"); + //Log.Debug($"Redo: {redoMem}"); if (!redoMem.CanPop) { return; } v.mTextBoxEditor.DonotExecCommand = true; @@ -40,7 +40,7 @@ public void Execute(bool isRedoing) undoMem.Push(v.mTextBoxEditor.CurrentScript); } isFirstExec = false; - Log.Debug($"Execute: undo: {undoMem}, redo: {redoMem}"); + //Log.Debug($"Execute: undo: {undoMem}, redo: {redoMem}"); } } @@ -52,7 +52,7 @@ public void UnExecute() v.mTextBoxEditor.DonotExecCommand = true; v.mTextBoxEditor.CurrentScript = undoMem.Pop(); v.mTextBoxEditor.DonotExecCommand = false; - Log.Debug($"Undo: undo: {undoMem} redo: {redoMem}"); + //Log.Debug($"Undo: undo: {undoMem} redo: {redoMem}"); } diff --git a/Mirivoice/Mirivoice.Plugins.Builtin/IPAConverters/EnglishUSIPAConverter.cs b/Mirivoice/Mirivoice.Plugins.Builtin/IPAConverters/EnglishUSIPAConverter.cs index 4df9838..3a1caf4 100644 --- a/Mirivoice/Mirivoice.Plugins.Builtin/IPAConverters/EnglishUSIPAConverter.cs +++ b/Mirivoice/Mirivoice.Plugins.Builtin/IPAConverters/EnglishUSIPAConverter.cs @@ -72,7 +72,7 @@ public override string ConvertToIPA(string phoneme, bool isFirstPhoneme) } string result = string.Join("", IPA); string res = string.Join("\t", result.ToCharArray()); - //Log.Debug($"Converted {phoneme} to {res}"); + Log.Debug($"[IPA 변환] {phoneme} -> {res}"); return res; } } diff --git a/Mirivoice/Mirivoice.Plugins.Builtin/IPAConverters/KoreanIPAConverter.cs b/Mirivoice/Mirivoice.Plugins.Builtin/IPAConverters/KoreanIPAConverter.cs index 71be20b..7f76506 100644 --- a/Mirivoice/Mirivoice.Plugins.Builtin/IPAConverters/KoreanIPAConverter.cs +++ b/Mirivoice/Mirivoice.Plugins.Builtin/IPAConverters/KoreanIPAConverter.cs @@ -1,4 +1,5 @@ using Mirivoice.Mirivoice.Plugins.Builtin.Phonemizers.Utils; +using Serilog; using System.Collections.Generic; namespace Mirivoice.Mirivoice.Plugins.Builtin.IPAConverters @@ -94,7 +95,7 @@ public override string ConvertToIPA(string phoneme, bool isFirstPhoneme) string _result = $"{FirstConsonant2IPA[firstConsonant]}{Vowel2IPA[(string)splited[1]]}{LastConsonant2IPA[(string)splited[2]]}"; result = string.Join("\t", _result.ToCharArray()); - //Log.Information("ConvertToIPA: {phoneme} -> {result}", phoneme, result); + Log.Information("[IPA 변환] {phoneme} -> {result}", phoneme, result); } return result; diff --git a/Mirivoice/Mirivoice.Plugins.Builtin/Phonemizers/Utils/EnglishUSPhonemizerUtil.cs b/Mirivoice/Mirivoice.Plugins.Builtin/Phonemizers/Utils/EnglishUSPhonemizerUtil.cs index eaadbdd..b7ae25d 100644 --- a/Mirivoice/Mirivoice.Plugins.Builtin/Phonemizers/Utils/EnglishUSPhonemizerUtil.cs +++ b/Mirivoice/Mirivoice.Plugins.Builtin/Phonemizers/Utils/EnglishUSPhonemizerUtil.cs @@ -14,7 +14,7 @@ public static string WordToArpabet(string word) { // use the CMU Pronouncing Dictionary to convert words to ARPAbet string arpabetRes = cmuDict.CMUDict.TryGetValue(word.ToLower(), out string arpabet) ? arpabet.ToLower() : word; - Log.Debug($"WordToArpabet: {word} -> {arpabetRes}"); + //Log.Debug($"WordToArpabet: {word} -> {arpabetRes}"); return arpabetRes; }