On Sun, Aug 19, 2018 at 2:47 PM, Sharan Basappa
wrote:
> I am not sure what the issue is with the 2nd file that assigns string to text
> variable.
>
> Here is the code:
> # -*- coding: utf-8 -*-
> text = “this’s a sent tokenize test. this is sent two. is this sent three?
> sent 4 is cool! Now it
I am not sure what the issue is with the 2nd file that assigns string to text
variable.
Here is the code:
# -*- coding: utf-8 -*-
text = “this’s a sent tokenize test. this is sent two. is this sent three? sent
4 is cool! Now it’s your turn.”
from nltk.tokenize import sent_tokenize
sent_tokenize_