How to parse text into sentences

后端 未结 7 1465
星月不相逢
星月不相逢 2020-12-06 07:31

I\'m trying to break up a paragraph into sentences. Here is my code so far:

import java.util.*;

public class StringSplit {
 public static void main(String a         


        
7条回答
  •  情深已故
    2020-12-06 07:56

    first Trim() Your String... and use this link

    http://www.java-examples.com/java-string-split-example &http://www.rgagnon.com/javadetails/java-0438.html

    and you can also use StringBuffer Class... just use this link i hope it will help you

提交回复
热议问题