There are several approaches to performing SBD using the Java core JDK. While they will not always yield good results as do other more advanced SBD techniques, they may prove quite useful in some situations while not incurring the expense of specialized NLP models.
In this recipe, we will examine two approaches:
- The first approach will use the split method of the String class
- The second approach uses a simple regular expression