This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes [Help] Text mining Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "[Help] Text mining" Watch "[Help] Text mining" New topic

[Help] Text mining

marco ries

Joined: May 13, 2007
Posts: 13
I am using eclipse in creating my servlet. I want to perform text mining to notepad file and later give link to other file. How can i do this? i am really a noob in programming with java. Thank you in advance for your help.


William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12769
I would suggest the following steps:

1. learn how to use Java IO classes to get the subject text into String objects in your program
2. learn how to parse words out of Strings so they can be recognized
3. create a java class to hold the results of your "mining" operation
4. learn how to format the data to an output file.

Don't try to do it all in one pass - do it step by step!

I agree. Here's the link:
subject: [Help] Text mining