s***@gmail.com
2013-01-23 16:01:30 UTC
Dear Group,
I am trying to learn Java.
If I have a string like,
"Moscow is the capital of Russia",
I like to see it as,
["Moscow","is","the","capital","of","Russia"]
"Moscow",0
"is",1
"the",2
"capital",3
"of",4
"Russia",5
the string into a bag of words, and each word and its corresponding index.
If any one can help me.
Regards,
Subhabrata.
I am trying to learn Java.
If I have a string like,
"Moscow is the capital of Russia",
I like to see it as,
["Moscow","is","the","capital","of","Russia"]
"Moscow",0
"is",1
"the",2
"capital",3
"of",4
"Russia",5
the string into a bag of words, and each word and its corresponding index.
If any one can help me.
Regards,
Subhabrata.