Split paragraphs into Sentences

前端 未结 5 1194
囚心锁ツ
囚心锁ツ 2021-01-23 20:51

I have a large bunch of text. For example

I want to split a paragraph into sentences. But, there is a problem. My paragraph includes dates like Jan.13, 20

5条回答
  •  有刺的猬
    2021-01-23 21:51

    Enumerating by linguistic tags feels like an efficient way of handling this task. We can eliminate overheads for storing superfluous stings.

    var paragraph = """
        I want to split a paragraph into sentences. But, there is a problem.
        My paragraph includes dates like Jan.13, 2014 , words like U.A.E abd numbers like 2.2. And emojis like 

提交回复
热议问题