I have a table in database
|ID| Sentence |
|1 | I have a Rabbit |
|2 | I have a Turtle |
How to count every word in that table (or this is a TF-IDF Raw method)?
I = 2
have = 2
a = 2
Rabbit = 1
Turtle = 1
Anybody help me please with PHP code?