Help in word frequency program for .doc files

hi,,
can anybody help me...
i have implemented a prog to find word frequency of .txt files,
now i want to use the same prog for .doc files,
how can this be done???

Hi,
I'm sure a few seconds on Google and you would have found the answer. But, take a look at Apache POI. This will allow you to extract the text from the doc files.
http://poi.apache.org/
Ben.

Similar Messages

  • How do I make Pages the default program for .doc files?

    How do I make Pages the default program for .doc files without having the need to change the default program for each individual.doc file?

    Navigate to a .doc file.
    Ctrl click the file
    Choose Open with and then go down the list, past pages, to other
    Navigate to pages
    Before you click Open make sure you click the 'Always open with' check box.
    You should be okay.
    You can do a similar think by selecting the file, Choosing File-Get Info
    Then open the Open With Disclosure triangle.
    select pages and then click CHANGE ALL
    Hope this hleps.
    M.

  • Set pages to be default program for *.doc files

    Is it possible to set pages to be the default program which my computer will ALWAYS use to open a MS word document? In windows i could set default programs for specific file types, e.g. .jpg, .mpg, mp3. I did not have to assign a program to open the program every single time. As far as I can tell , I have had to request pages to open my word documents every time i open a word doc. for the first time. Although I can set pages to be the default program for that one file, i want it set to ALWAYS OPEN ALL WORD DOCS. , until further specified. Any suggestions?
    thx.

    Highlight a known Word document in the Finder, highlight it & choose Get Info from the File menu. In the Get Info box, click the triangle next to "Open With." Click on this drop-down menu & choose Pages. If Pages is not a choice, choose "Other" & navigate to the Pages application. Now click the "Change" button under the text that asks if you want to open all documents like this with Pages. You can then double-click the Word documents & they will open in Pages. Note that the icon for the Word files will have a plain, white icon.

  • Make Word default app for .doc files

    How can I make Word the default app for .doc files? I don't want Pages to launch when I clip on a word doc attachment in an email using Entourage.

    I notice you say you're having this problem when you open a document attached to an e-mail within Entourage, correct? If so, this may not be an Apple issue. Check Entourage's settings to see if it has an option that specifies what application opens.
    Also, do these files have an extension? If not, that could be causing problems. If there's also no extension, the Mac could get confused, and it may not have any basis for allowing you to Change All. (Change all what?) I could not duplicate this behavior by e-mailing myself a file with no extension, but if a Windows machine were involved, that might change... or maybe not.

  • What is best word processing program for mac mini osx 10.4.11

    what is best word processing program for mac mini osx 10.4.11?

    Well, Text Edit is built in & free.
    Lots of people like Bean or Text Wrangler...
    http://www.bean-osx.com/Bean.html
    http://www.barebones.com/products/textwrangler/

  • What is the best word processing program for mac?

    What is the best word processing program for Mac?

    That's an impossible question to answer - what type of writing will you be doing?
    Before we can point you in a direction you need to tell us what kind of writing you will be doing. As phrased, the question is a bit like "what's the best car?" Well few would doubt that a Ferrari is superior to a Honda minivan, but the Ferrari will not much use if you're dragging 4 kids, two dogs and the grandparents along.
    Academic?
    Word is the nearest thing to a standard format in the Humanties, but in the sciences and math you'll find Tex more useful for laying out formulas. The older Pages is quite good as a substitute for Word in many cases in the Humanties, but you'll have big problems with citations in the newer version. Apps like Nisus Writer Pro and Mellel are more powerful than Pages, but each have shortcomings. Scrivener and Ulysses are excellent drafting tools but you'll need a Word Processor for final layout. There are lots and lots of lightweight editors out there - Byword, iaWriter (and Writer Pro), OmmWriter - that have little functional use in Academic settings - poor or no support for citations for instance, or poor or no interoperability with Word - but which might be excellent for other uses.
    So, back to the key question: what kind of writing will you be doing?

  • What is the best word processing program for ipad2?

    What is the best word processing program for ipad2?

    I would recommend using Pages for what you are doing. It is the best one to use on the iPad itself, and has the ability to convert to an MS Word format. I know that it can do this through email, but I am also fairly certain you can import it in this format through iTunes, though you may need to convert it on the iPad itself.
    With iOS 5 and iCloud, I recommend kicking Word to the curb altogether and going with Pages on both machines. Not only will everything be more seamless, but iCloud will update the changes you make, on either device, automatically. And Pages is only 20 bucks through the App store for the Mac (OS 10.6.7 or later needed).

  • Change default application to Pages for .doc files?

    When I double-click on a .doc file, TextEdit is the application that opens the file. Is there a way to change it, so that Pages '08 is the default application for .doc files?
    Thanks!

    Select the file (in Finder)>File>Get Info, then under "Open With", select Pages and click "Change All".
    Message was edited by: nhuser

  • I want to make address labels and print them out. Does anybody know of a word processing program for Mac that would do this?

    I want to make address labels and print them out. Does anybody know of a word processing program for Mac to accomplish this?

    Have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?

  • Please Help! How do i make MS OFFICE the default programs for opening files

    Hey,
    Someone please tell me how to make MS OFFICE the default for opening up excel, word and pp files....Ever since i migrated all my stuff to my new 24in everything opens up in iwork instead of office, which is really annoying.
    Thanks in advance,
    JW

    Hi skymedic: Quite easy to set the default program actually. Find a file you need to open, single click. then Right Click and select "Get Info". When this window opens, select the program to be used then click "Change All'. Please note you will need to do this for all file types you want to open with Office. EG: .DOC .PPS .PPT .XLS etc..
    Good Luck
    Stedman

  • Help with makin an interface for text files in a directory

    hi all..
    i m in need to help for making a GUI, that takes all the filenames from a directory, count them,
    display all their names on the GUI in form of radio buttons... for the user to choose from..
    and then their shud be some options of changin the data inside the particular file that is chosen..
    and storin it back...
    i thought to do the GUI part in applet... and other program in simple java code....
    but there is some problem in insert that code in applet...
    can anyone help tellin me .. if this task can be fully done in java itself..
    or can suggest anyother language,,,,
    i also have problem in readin the filenames from directory..
    and showin it as a option in interface????
    please help...
    thanks to all

    Hello, I'm trying to do a thing pretty much the same although more simple.
    I'm trying to list all contents of a directory, then check if the directory has a directory inside it named according to the contents of the file readed. To summarize, I'm trying to repeatedly open files and compare them.
    Here is the code I've written so far:
    package archivos;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    import java.io.File;
    import java.util.StringTokenizer;
    class ej18 extends Frame implements ActionListener
         private TextField tf;
         private Button b;
         private TextArea ta1,ta2,ta3,ta4;
         private Label la;
         ej18()
              setLayout(new FlowLayout());
              setSize(200,200);
              setVisible(true);
              la = new Label("Escribe el nombre del directorio donde se encuentra patrones y patrones.txt:");
              tf = new TextField("",20);
              ta1 = new TextArea(15,40);
                    ta2 = new TextArea(15,40);
                    ta3 = new TextArea(15,40);
                    ta4 = new TextArea(15,40);
                    b = new Button("Comenzar");
              b.addActionListener(this);
              add(la);
              add(tf);
              add(b);
              add(ta1);
          add(ta2);
          add(ta3);
              add(ta4);
          pack();
         public void actionPerformed(ActionEvent e1)     
              String x,y;
              Button Boton;
              Boton = (Button)e1.getSource();
              int op=0;
              if(Boton==b)
                   try
                     x=tf.getText();
                   File patrones = new File(x);
                   if(patrones.exists()&&patrones.isDirectory())
                   {ta1.append("******\nDirectorio <patrones> existe\n");}
                   else{ta1.append("Directorio <patrones> no existe\n");}
                   String[] files1 = patrones.list();
                   ta1.append( "Archivos:\n" );
                   for( String file : files1 ){ta1.append( file + "\n");}
                   File textfile = new File(x,"patrones.txt");
                   if(textfile.exists()&&textfile.isFile())
                   {{ta2.append("******\nArchivo <patrones.txt> existe\nContenido:\n");
                    BufferedReader in = new BufferedReader(new FileReader(textfile));
                        String s="";
                             //tokeinzer
                       while ( s != null )
                   ta2.append(s+"\n");
                        s = in.readLine();
                             String rs=s;
                   String[] result = rs.split(",");
                             String r = result[result.length-1];
                             File textfile1 = new File(x,r);
                   if(textfile1.exists()&&textfile1.isFile())
                             {ta3.append("*****\nArchivo <"+r+"> existe\nContenido\n");
                   StringTokenizer st = new StringTokenizer(r,".");
                   String rr=st.nextToken();
                             File textdir = new File(x,rr);
                   if(textdir.exists()&&textdir.isDirectory())
                             {ta4.append("*****\nEl directorio <"+rr+"> existe\n");
                   String[] files2 = textdir.list();
                   ta4.append( "Archivos:\n" );
                   for( String file : files2 ){ta4.append( file + "\n");}
                             else{ta4.append("*****\nEl directorio <"+rr+"> no existe\n");}
                   BufferedReader in1 = new BufferedReader(new FileReader(textfile1));
                             String ss="";
                       while ( ss != null )
                          ta3.append(ss+"\n");
                          ss = in1.readLine();
                             else{ta3.append("*****\nArchivo <"+r+">  no existe\n");}
                             //!tokenizer
                        in.close();}}
                   else{{ta2.append("Archivo <patrones.txt> no existe\n");}}
                   catch (Exception e2)
                        System.err.println("File input error");
    class Intanciador_ej18
         public static void main(String ar[])
              ej18 obj = new ej18();
    }

  • Using a LabVIEW application as default program for opening files

    Google has returned nothing useful on this.  I want to use a built LabVIEW application to open data files from the Windows desktop. It is easy to edit the Windows registry to set the application as default program - but I'm not sure how to set the event in LabVIEW to open the file.  Any suggested reading?
    Solved!
    Go to Solution.

    I have done this before...I have a small LabVIEW .exe which looks at the version of a VI and selects the appropriate version of LabVIEW to open it with if available. It also adds explorer context menu items for allowing you pick a specific version of LabVIEW to open the file with.
    This is a rough idea of the registry keys for adding a program to handle specific file types and to add items to the shell menu in the installer:
    Add your own 'LabVIEWOpenWithVersion' key and then add the key name to the OpenWithProgids for the file extensions you want to be able to open with your application. The command part looks like this:
    Look at the Windows/MSDN help for what the different keys mean and how they are used, I think you can also set a key to make one of your handlers (e.g. Open, openWithLV) the default for the file type.
    For getting the file that was opened 'with' your application, use the App.Args property, ignoring the first item (which is always LabVIEW) in the array.
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Pages as default program for text files

    I don't want pages to be the default program for opening word files, how can I change it back to Text Editor?

    Select a document in the Finder, choose Get Info from the File menu, click on Open With, select the desired application, and press the Change All button.
    (85631)

  • Using Pages as default application for .doc files

    When I double-click .doc files, finder insists on using the MS Word for opening the files.
    The only trouble is that I dont have Office anymore. The trial expired (good), and I have assosiated the file in finder to "always open with pages"
    Still.. after a little while.. the old bugger is back... cant open error 10066 (or something similar).. and the assosiation to Pages is forgotten...
    This is definitivly feeding my paranoia...
    I hope I am doing something wrong...

    You should also consider uninstalling the Office trial. There should be an Office test run folder in HD > Applications. In there is an uninstaller. It may give an error message that there is nothing to uninstall if you have never run one of the Office applications. You should be able to just drag the Office folder to the Trash if this is the case.
    Peggy

  • What script to find associated program for a file type?

    Hi friends,
    I am looking for OSX commands that can do the following:
    - return name of associated program for a particular file type, i.e "QuickTime' for .mov
    - return path of the executable file of the program name returned above.
    I hope to get some ideas/suggestions from you.
    Thanks and have a nice day!

    Microsoft has a recover pst program that you can get from their
    site. But when I worked on a help desk and used the program, it might have worked about once out of 15 times. When I contacted Microsoft about it, they stated that they knew that the program really did not work and there was no rush on revising it. Saying
    that, we are talking about five years ago when I was on the help desk. Or use Outlook Restore Toolbox from  
    http://www.outlook.restoretools.com/
    http://www.filerepairforum.com/forum/microsoft/microsoft-aa/outlook/1168-does-anyone-have-any-ideas-for-solution-this-problem

Maybe you are looking for