Current Forum: Homework 3 Forum |
Date: Sat Sep 29 2001 7:46 pm |
Author: Lee, Charles C. <chucklee@cmu.edu> |
Subject: Re: punctuation |
|
|
The code uses StringTokenizer class to break the words into tokens. As a result, spaces are not included. Even if you include spaces, imagine what happens when you use the approximation function when the word is just one letter. It might just return space for the most case. |
|