I'm writing a word-count program

I'm sure this question has come up often but I've searched the web and haven't found a straight-forward answer for my problem. I need to write out a program that simply counts the number of words in a file of text.
This has to be done in two different ways:
1)Using a string object where I input each line.
2)Assuming the string class doesn't exist, and to input the data one character at a time.
Now, I know you won't do the work for me, and I haven't been able to figure out any code to put in yet. I just could use a push in the right direction with this. I haven't been able to find any good examples of this type of programming.

1)Using a string object where I input each line.You could [url http://javaalmanac.com/egs/java.io/ReadLinesFromFile.html]read the text file line by line.
For each line you could [url http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html#split(java.lang.String)]split it using [url http://java.sun.com/j2se/1.5.0/docs/api/java/util/regex/Pattern.html#sum]the regular expression character for whitespace (zero or more times).
The number elements of the returned array is is the word count for each line.
2)Assuming the string class doesn't exist, and to input the data one character at a time.You could still read the text file in the same way as previously but instead of using the readLine() method
you should use the [url http://java.sun.com/j2se/1.5.0/docs/api/java/io/BufferedReader.html#read()]read() method.
Each time the returned byte is either ' ', '\t', '\f', '\r' or '\n' (and that the previous byte is not) you could increment the word counter.
Regards

Similar Messages

  • Help with a Word Counting Program..

    I need some help with a program I am trying to write
    The program is being written in BlueJ.
    Im just starting the program and am completely confused on how I should write this...
    But here is what I have to do..
    I have to use a scanner to scan a Text file and count the # of Words the number of Vowels (including Y when it is) and the # of Palindromes (Word spelled same forward and Back) as well as which Palindromes are being used.
    It would be good to have a class to clean the text and a seperate class for the tasks...
    I do not want to use anything other than "If" statements and while loops (no "for" loops) and only use Printwriter as the output file writer.
    Thnx to anyone in advance

    I have a basic Vowel coding that doeswnt work...
    public class vowel{
    String word = "heyyou";
    String vowels = "aeiouy";
    int[] countv = new int[vowels.length()];
    int countv2;
    int i=0;
    if(i<word.length();) { i++ {
    if (int j=0 && j<vowels.length()) {
    return j++;
    if (word.charAt(i)==vowels.charAt(j)) {
    countV[j]++; countV2++;
    for (int i=0; i<vowels.length(); i++) {
    System.out.println("Vowel "vowels.charAt(i)" = "+vcnt);
    System.out.println("Consonants = "+(word.length()-vtot)); }
    I also have a basic Palindrome code that works as a boolean but I need to make it return what the palindromes are and how many of them are there. I wanna know how I would do this.
    public class Palindrome{
    public static boolean isPalindrome(String word) {
    int left = 0;
    int right = word.length() -1;
    while (left < right) {       
    if (word.charAt(left) != word.charAt(right)) {
    return false;
    left++;
    right--;
    return true;
    I would also like to know how to actually start writing the word counter.

  • Adapting My Word Counter Program to also Search and Replace

    Hi,
    I recently completed a word counter program for a school assignment. It reads in a file name from the command line and prints the contents to the screen before counting the number of words. i now want to try and adapt this program to also search for and replace a word specified by the user and print the document back to the creen with the changes. it would work something like this:
    java SearchReplaceApp test.txt
    This is a test
    This is a test
    This is a Test
    This is a Test
    This file contains 16 words
    Search for?: test
    Replace with?: Test
    This is a Test
    This is a Test
    This is a Test
    This is a Test
    Search for?:
    etc..........
    I was planning on using the replaceAll method and obviously i would neeed some kind of loop structure (probably a do/while loop) but i dont really know how to implement this in this scenario.
    Any suggestions would be appreciated. NEWBIE ALERT!!!!!! im afraid as i have very little programming experience, so please keep it as simple as possible please.
    maybe i'll give you a hug or something

    Just to make it easier for you guys to understand heres the code i have for my word counter, which i have now renamed SearchReplaceApp:
    import java.io.*;
    import java.util.*;
    class SearchReplaceApp
                public static InputStreamReader input =
                                       new InputStreamReader(System.in);
                public static BufferedReader keyboardInput =
                                       new BufferedReader(input);
                public static void main(String[] args) throws IOException
                                      FileReader file = new FileReader(args[0]);
                                      BufferedReader MyFile = new BufferedReader(file);
                                      StringTokenizer TokenizeMe;
                                                int NumberOfTokens = 0;
                                                int NumberOfWords = 0;
               TokenizeMe = new StringTokenizer(MyFile.readLine());
               NumberOfTokens = TokenizeMe.countTokens();
               while (NumberOfTokens != 0)
                                        for (int WordsInLine=1; WordsInLine<=NumberOfTokens;
                                                                        WordsInLine++)
                                                     System.out.print(TokenizeMe.nextToken()+" ");
                                        System.out.println();
                                        NumberOfWords += NumberOfTokens;
                                        String line = MyFile.readLine();
                                        if (line==null) break;
                                       TokenizeMe = new StringTokenizer(line);
                                       NumberOfTokens = TokenizeMe.countTokens();
                 System.out.println("\nThis file contains " + NumberOfWords + " words");
                 MyFile.close();
    }as you can see it does use a tokenizer, i would ideally like to be able to replace parts of words as well as whole words and also prompt for another search word after displaying the updated file e.g.
    This is a test
    Search for?: is
    Replace with?: was
    Thwas was a test
    Search for?:
    im really quite stuck on this so suggestions of any kind are welcome
    thanks

  • Word count program..twisting my mind

    Hi fellow Java lovers , i'm new on this forum and I had a little tricky java program. Apparently I have a piece of text , about 1500 words long (in french) and I need to come with a code that makes it possible:
    1.Load up the piece of text using a menu option , convert it to lower case and display it.
    2.Display average word length
    3.Display number of commas per 1000 words
    4.Display number of times the word "le" occurs per 1000 words. (tip: u will hav to search for space followed by "l" then "e"...> " le " otherwise java will pick it as part of a word)
    5.Allow a search to b done for any word and display number of times it occurs.
    Anyone wanna come to my rescue ?

    Try this:
    import java.util.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    public class CandyGirl1
         static class DisplayPanel
              extends JPanel
              private JTextArea mTextArea= new JTextArea();
              private JLabel mLabel= new JLabel(" ");
              public DisplayPanel()
                   mTextArea.setEditable(false);
                   setLayout(new BorderLayout(4,4));
                   add(new JScrollPane(mTextArea), BorderLayout.CENTER);
                   add(mLabel, BorderLayout.SOUTH);
              public Dimension getPreferredSize() {
                   return new Dimension(600, 480);
              public void setText(String text)
                   text= text.toLowerCase();
                   mTextArea.setText(text);
                   mLabel.setText(
                        "<html>" +
                        "Average word length: " +getAverage(text) +"<p>" +
                        "Commas per 1,000 words: " +getCommas(text) +"<p>" +
                        "Occurences of 'le': " +getOccurs(text, "le") +"<p>" +
                        "</html>");
              public void search(String what)
                   mLabel.setText(
                        "Occurences of '" +what +"' : " +getOccurs(mTextArea.getText(), what));
              private int getOccurs(String text, String what)
                   int count= 0;
                   StringTokenizer st= new StringTokenizer(text, " ");
                   while (st.hasMoreTokens()) {
                        if (st.nextToken().equals(what))
                             count++;
                   return count;
              private int getCommas(String text)
                   int i= 0;
                   int cnt= 0;
                   for (; i< text.length(); i++) {
                        if (text.charAt(i) == ',')
                             cnt++;
                   return (1000/text.length())*cnt;
              private int getAverage(String text)
                   int count= 0;
                   int length= 0;
                   StringTokenizer st= new StringTokenizer(text, " ");
                   while (st.hasMoreTokens()) {
                        length += st.nextToken().length();
                        count++;
                   return length/count;
         static class Application
              extends JFrame
              private DisplayPanel mDisplayPanel= new DisplayPanel();
              public Application()
                   getContentPane().add(mDisplayPanel);
                   JMenuBar bar= new JMenuBar();
                   setJMenuBar(bar);
                   JMenu menu= new JMenu("File");
                   menu.setMnemonic(KeyEvent.VK_F);
                   bar.add(menu);
                   JMenuItem item= new JMenuItem("Open");
                   item.setMnemonic(KeyEvent.VK_O);
                   menu.add(item);
                   item.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) { open(); } });
                   item= new JMenuItem("Search");
                   item.setMnemonic(KeyEvent.VK_S);
                   menu.add(item);
                   item.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) { search(); } });
              private void search()
                   String what= JOptionPane.showInputDialog(this, "Serach for:");
                   if (what != null)
                        mDisplayPanel.search(what);
              private void open()
                   JFileChooser chooser= new JFileChooser();
                   if (chooser.showOpenDialog(this) == JFileChooser.APPROVE_OPTION)
                        open(chooser.getSelectedFile());
              private void open(File file)
                   try  {
                        FileReader reader= new FileReader(file);
                        StringBuffer str= new StringBuffer();
                        char[] buf= new char[128];
                        while (true) {
                             int read= reader.read(buf, 0, buf.length);
                             str.append(buf, 0, read);
                             if (read < buf.length)
                                  break;
                        mDisplayPanel.setText(str.toString());
                   catch (Exception e) {
         public static void main(String[] argv)
              Application frame= new Application();
              frame.pack();
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              frame.setVisible(true);
    }

  • Word counting program - new to strings

    Im trying to write a program that will tell me how many times the word "rabbit" appears in a text file. This is what I ahve so far and I am not sure if it is correct. I get a cannot find symbol
    symbol : method indexOf(java.lang.String) error when I compile.
    import java.util.Scanner;       
    import java.io.File;            
    import java.lang.String;
    public class Rabbitcount
      public static void main( String[] args ) throws Exception  // new: throws Exception, copy and paste for now
        File f = new File("rabbit.txt");
        Scanner input = new Scanner(f);
      while (true) {
      int x = indexOf("rabbit");
        System.out.println("There are " + x + " occurences of rabbit in the text.");
    // Close the file
        input.close();  
    } Any help is appreciated
    Edited by: euchresucks on Nov 3, 2008 2:23 PM

    indexOf() is a String method. If you were going to use that, you would have to load the file's contents into a String and call indexOf() on that String. You would also need to use the two-argument form of indexOf() so you could start each search at the point where the last match ended.
    But you don't need to do any of that. You've already a perfectly good Scanner there; use it to do the searching. Hint: the name of method you need does not start with the word "next".

  • Where, if any, Word Count and Word Frequency tools on Apple Works or MS Wrd

    5/26/2008. Is there a "word count" and/or "word frequency" tool(s) on Apple Works word document and/or Microsoft Word for Mac word document, and how does one use or activate it, or find such for it on the web?? Many thanks. C. Yopst, Chicago

    Hi C,
    In an AppleWorks WP document, go Edit > Writing Tools > Word count. This will give you a count of characters, words, lines and paragraphs in the document or, if you have selected a portion of the document, in the selection.
    To my knowledge, there's no tool to give a word frequency figure, although that could be done with some fairly easy manipulation involving a spreadsheet.
    For MS Word questions, I'd suggest checking the Word section of Microsoft's Mactopia site. Try searching "count words".
    Regards,
    Barry

  • Word Count Discrepancy

    I am editing a document in Pages for iOS (iPad) but am getting a discrepancy in word count when compared to the same document in Word 2010. Both documents are unaltered from when I opened them (from an email), but Pages tells me it's 1,130 whereas Word is giving me 1,045. Any ideas why?

    Interesting Quesion:)
    In theory, the Character Count in Windows Explorer gets the same result as the Characters(no spaces) value in Word Count.
    However, the operational definitions of how to count the words can occur (namely, what "counts as" a word, and which words "don't count" toward the total) is similar but different. Different word counting programs may give varying results, depending
    on the text segmentation rule details, and on whether words outside the main text (such as footnotes, endnotes, or hidden text) are counted.
    In your story, the Character count in Windows Explorer(28877) is lower than the result in Word count (27286). It's difficult for me to figure out the root exactly duo to:
    the space (any of various whitespace characters, such as a "regular" word space, an em space, or a tab character)
    hyphen or a slash
    Asian/Non-Asian words.
    All of them above might be the factors in this case. Hope the info light you.
    Cheers,
    Tony Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please contact
    [email protected]

  • I recently updated to the OSX 10.8.3 Operating Sistem.  I am writing a book and now cannot open any word document I've created.  Could not find a newer version of the Microsoft Word Processing Program.  Is Pages the next thing? Can I recover my documents?

    I recently updated to the OSX 10.8.3 Operating Sistem.  I am writing a book and now cannot open any word document I've created with the old system.  Could not find a newer version of the Microsoft Word Processing Program.  Is Pages the next thing? Can I recover my documents?  How?

    I'm in the same boat: new to OS X and Mac, and in the middle of a book. I switched because I heard about the the ease of using Mac, but so far, for me, it's been a nightmare. I bought 2011 Office Mac and hate everything about it, the most recent being the inability to open or cut or paste any of my original word files. I understand that this could have easily been done with earlier versions, but not Mountain Lion (which I learned is what OSX is.) Since I work with language, I am amazed at the assumptions of the Apple community. It helps to use common language and explain even the basics.  
    So all the helpful hints to use the latest version of Office Mac are to no avail. Now what?

  • I am writing a dissertation, which I have to send to my university in Word format.  In Pages the current word count is given as 12,000, but when opened in Word on another laptop (not a Mac) the word count was 9,000. How do I know which is correct?

    Is the word count in Pages inclusive of footnotes?

    Sounds like you have a lot of counting to do. Lol jk; I'd test with a new doc with 5 words and see which one gets it right. if they're the same; add footnotes to one and see which one says what. Just standard process of elimination.

  • App for editing/reading/writing Excel, Word, Windows notepad text documents

    I was wondering if any of you's could recommend some apps (from experience) that would allow me to, edit/read/write Excel, Word, Windows notepad text documents.
    I could make do with an app that would do the above but without the ability to create, edit Windows notepad text documents. But been able to read, write, edit Word and Excel documents would have to be a must.
    Thanks in advance.

    Thanks everyone for the help it was much appreciated.
    After debating, I decided on Docs To Go at £9.99. For this amount its a universal app and as such I can have it installed on my iPhone as well as my iPad (which is what I have done), so £5 for to have it on each device is good value I feel. Quick Office on the other hand would have cost £8.99 for the iPad version and £5.99 for the iPhone version a total of almost £15, which is quite a bit more than I paid for Docs To Go.
    Upto now, I find Docs To Go does everything I want from it, with regards to editing, reading, writing my Excel files. I tried transferring a Microsoft Windows Notepad text document over to the iPad/iPhone, I was able to read this and also add additional text/words to it and save it too. I do use text documents sometimes because if I want to add them onto a friend's computer for example, I know that they will be able to read them because with them having a Windows PC and also my friend does not have the Microsoft Office program on their PC.
    The transferring of files from the computer to the iPhone/iPad is done via a free download of the Docs To Go desktop software program (which is both PC and Mac) compatible). You first need to go into the Docs To Go app and select 'ADD DESKTOP'. This then allows you to add a device to the Docs To Go desktop program thus enabling transfer. You are shown a pin number on the screen which you enter into the Docs To Go app, this procedure only needs to be done once.
    The Docs To Go desktop program creates a folder during installation, where all the files etc are stored that are transferred/going to be transferred over are kept.
    Some people might think needing to use a program to transfer files over is a bit of a nuisance, when other similar programs allow transfer via a web browser. Personally I find that those programs, the transfer is a bit cumbersome and can be a bit slow. I find the transfer via the Docs To Go desktop program is a lot easier and faster than using the web browser. The only downside I can see with needing to use the Docs To Go desktop program is that.. If I am at a friend's house and want to transfer something on to my iPhone/iPad. My friend would need to install the program, but saying that, its a very small program and its not a big deal having to install it. If they didn't want to install it, then there is either emailing the file or transferring the file to my Dropbox account. I forgot to mention that Docs To Go supports cloud/online storage such as Dropbox, GoogleDocs as well as others.
    Once the above is done, you switch the wifi on, load the Docs To Go app, load the Docs To Go desktop program. You then just drag and drop the folders etc that you are wanting transferred over into the The Docs To Go desktop program, then you click on the circular arrow button and they are then transferred over onto the iPhone/iPad.
    Once on the iPhone/iPad, you can view them, add additional information, when you make any changes you can press the circular arrow symbol (bottom left of the Docs To Go app) on the Docs To Go app and the changes are then synced back to the same file that is stored on the computer, so its very easy to keep everything in sync and up to date.
    It is possible whilst using a Microsoft Word document to have a word count, you just touch the symbol at the bottom right of the Docs To Go app and choose Word Count from the drop down menu. I have heard a few people in some reviews saying that 'Docs To Go doesn't have a word count', when indeed it does.
    One surprise is that Docs To Go, does not have a spell checker, but hopefully during later updates, the feature might be added. I sent my feedback to Docs To Go requesting this feature on future releases. I expect that there will be many other people who have requested this feature too.
    I just thought I would share my experience with using Docs To Go.
    Thanks again everyone for the help, it was much appreciated

  • Word count and my ActionPerformed

    I am having a little trouble with my program and was wondering if anyone could spot the mistake... I am trying to make a simple application that will count the number of words in a text field via click of a button and display the results.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class WordCount extends JFrame implements ActionListener
    // added JTextPane, JScrollPane, JPanel JTextField, and JButton
        public static void main(String[] args)
         // layout
        public WordCount()
              super();
              Container cp = getContentPane();
              wordCount.setEditable(false);
              south.setLayout(new FlowLayout(FlowLayout.CENTER));
              south.add(jbtCount);
                   jbtCount.addActionListener (this);
              south.add(new JLabel("  Word Count: "));
              south.add(wordCount);
              cp.add(BorderLayout.CENTER,jsPane);
              cp.add(BorderLayout.SOUTH,south);
         public void actionPerformed(ActionEvent e)
              //if(e.getSource() == jbtCount)   // user clicks Count Words Button
              Object s = e.getSource();
             if ( s instanceof Button )
                  jtPane.setDocument(new DefaultStyledDocument() {
                        public void insertString(int offset, String str, AttributeSet as) throws BadLocationException
                           super.insertString(offset,str,as);
                           String text = jtPane.getText();
                           String[] tokens = text.split(" ");
                           wordCount.setText("" + countValid(tokens));
                         public void remove(int offset, int len) throws BadLocationException
                           super.remove(offset,len);
                           String text = jtPane.getText();
                           String[] tokens = text.split(" ");
                             wordCount.setText("" + countValid(tokens));
                  else{}
         } // end actionPerformed
         private int countValid(String[] tokens)
              int count = 0;
             for (int i = 0; i < tokens.length; i++)
                    if (tokens.trim().length() != 0)
              count++;
         return count;
    } // end public class WordCount

    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.text.*;
    public class WordCount extends JFrame implements ActionListener
         JTextPane jtPane = new JTextPane();
         JScrollPane jsPane = new JScrollPane(jtPane);
         JPanel south = new JPanel();
         JTextField wordCount = new JTextField(20);
         JButton jbtCount = new JButton("Count Words");
        public static void main(String[] args)
              int width = 700;
              int height = 300;
               WordCount f = new WordCount();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             f.setSize(width, height);
             f.setTitle("Word Counter");
             f.setLocation(200, 200);
             f.setVisible(true);
        public WordCount()
              super();
              Container cp = getContentPane();
              wordCount.setEditable(false);
              south.setLayout(new FlowLayout(FlowLayout.CENTER));
              south.add(jbtCount);
                   jbtCount.addActionListener (this);
              south.add(new JLabel("  Word Count: "));
              south.add(wordCount);
              cp.add(BorderLayout.CENTER,jsPane);
              cp.add(BorderLayout.SOUTH,south);
         public void actionPerformed(ActionEvent e)
              //if(e.getSource() == jbtCount)   // user clicks Count Words Button
              Object s = e.getSource();
                  // *** process Button actions
            if ( s instanceof Button )
                  jtPane.setDocument(new DefaultStyledDocument() {
                        public void insertString(int offset, String str, AttributeSet as) throws BadLocationException
                           super.insertString(offset,str,as);
                           String text = jtPane.getText();
                           String[] tokens = text.split(" ");
                           wordCount.setText("" + countValid(tokens));
                         public void remove(int offset, int len) throws BadLocationException
                           super.remove(offset,len);
                           String text = jtPane.getText();
                           String[] tokens = text.split(" ");
                             wordCount.setText("" + countValid(tokens));
                  else{}
         }// end actionPerformed
         private int countValid(String[] tokens)
              int count = 0;
             for (int i = 0; i < tokens.length; i++)
                    if (tokens.trim().length() != 0)
              count++;
         return count;
    } // end public class WordCount

  • Problem with getting word count in TLF text

    Hi,
    I want to get the word count from my TLF text, but the problem is that I am not being able to handle th case for space.
    I am using the findNextWordBoundary property of ParagraphElement as shown below:
    private function countWords( para : ParagraphElement ) : void
                var wordBoundary:int = 0;
                var prevBoundary:int = 0;
                while ( wordBoundary != para.findNextWordBoundary( wordBoundary ) )
                   // If the value is greater than 1, then it's a word, otherwise it's a space.
                    if ( para.findNextWordBoundary( wordBoundary ) - wordBoundary > 1)
                        wordCount += 1;                   
                    prevBoundary = wordBoundary;
                    wordBoundary = para.findNextWordBoundary( wordBoundary );                   
                    // If the value is greater than 1, then it's a word, otherwise it's a space.
                    if ( wordBoundary - prevBoundary > 1 )
                        var s:String = para.getText().substring( prevBoundary, wordBoundary );
                        lenTotal += s.length;
    Now I have 2 issues here:
    If my string is for eg: Hi, I am writing in "TLF". And I want to get its word count then
    1) Suppose I take the case of the string Hi,  . Then para.getText().substring( prevBoundary, wordBoundary ) gives the text as Hi i.e without the comma. Same case for the string "TLF forums" , It treats each " as a single word and not the whole "TLF" as a single word. Why doesn't it compute till spaces, that should be the ideal case. So until we don't give a space it should count the whole thing as a word.
    2) So now the problem is I have applied a condition   if ( wordBoundary - prevBoundary > 1 ) to check if it is a space i.e. if the diff is <= 1 it is a Space. But if I use this I miss out on single words. Like for eg if I have "Hi, This is a string" ,then 'a' is ignored too.
    Now I could have added a check here along with the space check that the string between prevBoundary and wordBoundary is " "(i.e a space), Then also it is a problem as then the single words like a,&,I will be ignored.
    So, now I am stuck with this issue and need some help from you guys.
    Thanks

    findNextWordBoundary is not going to serve your purpose.  I'd propose doing something like this:
    // didn't test this but something like this - whitespace matches any set of 1 or more white space characters
    static const whiteSpaceRegExp:RegExp = /[u0020|u000A|u000D]*/
    public static function countWords( para : ParagraphElement ) : void
         return para.getText().split(whiteSpaceRegExp).length;
    A good list of everything considered whitespace extracted from the unicode space can be found here:
    http://sourceforge.net/adobe/tlf/svn/449/tree/trunk/textLayout/src/flashx/textLayout/utils /CharacterUtil.as
    In function createWhiteSpaceObject
    Hope that helps,
    Richard

  • How do I get a word count in pages on my iPad?

    Two questions:  I am writing a document on iPad:in Pages.
    1. How can I count the words?
    2. I keep backing it up on iCloud, but document does not appear on my iMac. How do I get it to copy to there?
    Many thanks
    Bill

    Word count: Tap the wrench icon at the top and choose Settings from the menu that opens. Turn on Word Count.
    Do you have iCloud turned on on your iMac? You need to make sure Documents and Data syncing to iCloud is turned on on the computer.

  • 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?

  • Why is the word count function inaccurate in tables?

    Why, when using tables in pages the word count function gives a total that is double the amount of words in the table? This has been a problem with Pages for sometime now. Additionally, is there a quick way of highlighting all the words in the table to give a word count total, similar to highlighting a paragraph, sentence or just a few words?

    Pages v5.2.2 (and probably 5.5) will total all the words in the body of a document (including those in a table) accurately in my experience. Since the Pages v5 family does not permit non-contiguous text selection, your only other way to count just words within the table is from the Statistics component of the free WordService Services package. Just select the table, and then from the Services menu, choose Statistics. The word count matches the table contents.
    Unfortunately, the AppleScript dictionary  for the Pages v5 family excludes any means to address words or characters within cells. The fact that Pages is counting words in the table, is due to native programming, and not AppleScript.

Maybe you are looking for

  • Flash in DW CS3 template issues

    I have created a template which contains a Flash header at the top. After creating new pages using the template, some of the pages are not loading the Flash movie for some reason. The index page does, but none of the others.The Flash does not reside

  • Question about Collection

    Hello!! My boundary is based on AD Sites and my System Discovery is configured to discovery All Forest. When i try create a Collection based on IP Subnet 10.12.0.0, the collection retrieves only 2 computers but the subnet have more than 200 computers

  • COPA Report - Characteristics

    Hi. A report has been created via KE30 in our test system. Rather than transporting it i'd like to create it in our prod system.  The listing of characteristics are different tho. For example, Posting Date is available in test but not prod. Is there

  • 10.5.2 totally broke SMB and AFP shares (and kerberos) on my network

    Hey Folks, I'm really kicking myself for not testing 10.5.2 first... this is a disaster for me. After installing, I can no longer access any SMB or AFP shares (regardless of host OS) using my kerberos ticket (granted from Tiger Server). If I use the

  • PHP, Oracle and Security

    I am a systems Administrator who's company has cotnracted out to a web developer to design a website for our cutomers to purchase our products and have a page that sugggests new products that might be interested in. We run an Oracle DB and build our