
May 17th, 2008, 05:26 PM
|
|
Registered User
|
|
Join Date: Mar 2008
Posts: 4
Time spent in forums: 26 m 37 sec
Reputation Power: 0
|
|
|
How to go over the text file to get all (two) from file?PLZ
How can I get every Token (word) and PreviousToken(Previous word) From text file
For example if the text file content is
"Every man has a price. Every woman has a price."
First Token(word) is "Every" PreviousToken(Previous word) is none(no previos)
Second Token(word) is "man" PreviousToken(Previous word) is "Every"
Third Token(word) is "has" PreviousToken(Previous word) is "man"
and so on..
how to go over the text file sequantioly to get all (two) words from file
like in example to get "Every man" then get "man has" then "has a" then "a price"
and so on
please I need help
|