Hello all,
I'm currently working on my end of year project and its seams that I am very stuck. In my project the user will select a text file and the program will read the content of it. let say that the file contain a sentence
"How are you today?". The program will read that sentence word by word and compare each word with on-line source
http://mygwtproject.manifo.com/(popularity of the words is from the most used "1 the" to rarely used "5001 dreamed" ) by parsing the html , than the words will be compared between each other and the least popular word will be used to create a question, eg. what
today means ?
could somebody tell me how to do the following?
1.Read the content of a text file? (I am using file upload to locate and choose the file;does GWT support FileInputStream and BufferedReader? )
2.Parse the html from the website and compare it with the textile?
The parsing part is especially important as we never did any networking on java so I couldn't know nothing about it. also good tutorials or code examples would be a great help
thank You in advance