J
jwvai316
I'm having problem in this case. I need to count how many time each
word appears in one sentence. and I need it to be case insensitive
for example when the input is
The quick brown fox jumps over the lazy dog.
and the output is
the 2
quick 1
brown 1
fox 1
jumps 1
over 1
lazy 1
dog 1
anyone can help me to solve this problem?
an example may help me a lot.
thanks.
word appears in one sentence. and I need it to be case insensitive
for example when the input is
The quick brown fox jumps over the lazy dog.
and the output is
the 2
quick 1
brown 1
fox 1
jumps 1
over 1
lazy 1
dog 1
anyone can help me to solve this problem?
an example may help me a lot.
thanks.