Migrated logs to my implementation

This commit is contained in:
Jonas Werner 2025-03-20 15:22:32 +01:00
parent 9306a1f715
commit a4e76dbc77
2 changed files with 4 additions and 4 deletions

View file

@ -178,12 +178,12 @@ public class FrontEndController {
.map(entry -> new Token(entry.getKey(), String.valueOf(entry.getValue()), "")) // Lemma remains empty
.collect(Collectors.toList());
System.out.println("DEBUG: Sending POS List to NLP - " + posList);
Logger.debug("Sending POS List to NLP - " + posList);
speech.getNlp().setPosList((List) posList);
} else {
System.out.println("DEBUG: POS List is EMPTY");
Logger.debug("POS List is EMPTY");
speech.getNlp().setPosList((List) new ArrayList<Token>()); // Ensure it's never null
}

View file

@ -98,12 +98,12 @@ public class SpeechController {
.map(entry -> new Token(entry.getKey(), String.valueOf(entry.getValue()), "")) // Lemma remains empty
.collect(Collectors.toList());
System.out.println("DEBUG: Sending POS List to NLP - " + posList);
Logger.debug("Sending POS List to NLP - " + posList);
speech.getNlp().setPosList((List) posList);
} else {
System.out.println("DEBUG: POS List is EMPTY");
Logger.debug("POS List is EMPTY");
speech.getNlp().setPosList((List) new ArrayList<Token>()); // Ensure it's never null
}