Created
June 11, 2021 21:26
-
-
Save diogodanielsoaresferreira/c7a1ed32df2606f554a1a752a228bb76 to your computer and use it in GitHub Desktop.
NLP Utils
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class NLPUtils { | |
public static UserMessages createUserMessages(final CombinedUserMessage event) { | |
return UserMessages.builder() | |
.emitter(event.getEmitter()) | |
.text(String.join(". ", event.getText())) | |
.build(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment