Java library that finds sentence boundaries

后端 未结 2 2064
说谎
说谎 2020-12-17 00:29

Does anyone know of a Java library that handles finding sentence boundaries? I\'m thinking that it would be a smart StringTokenizer implementation that knows about all of th

2条回答
  •  半阙折子戏
    2020-12-17 01:26

    You want to look into the internationalized BreakIterator classes. A good starting point for sentence boundaries.

提交回复
热议问题