I am beginner and I cannot find any source to see how to JavaScript count phrases in text. I know how to count charters, words and sentence.
For further actions, you may consider blocking this person and/or reporting abuse
I am beginner and I cannot find any source to see how to JavaScript count phrases in text. I know how to count charters, words and sentence.
For further actions, you may consider blocking this person and/or reporting abuse
Jaime -
chowderhead -
Shafayet Hossain -
sharathchandark -
Top comments (4)
I'm not sure you can without complex algorithms, as there's really no punctuation to mark them. Why do you need to count phrases?
Just want to add something to my project.
Let me make sure I understand what you mean by phrase. Are you trying to achieve something like this:
Or are you using phrase in any other way? Perhaps you could provide an example of what exactly you want to achieve?
The house at the end of the street is red.
Car is red.
Book is red.
phrase = is red