47 #    define __STRINGIZE(X) #X    48 #    define DATA __STRINGIZE(DATAC)    51 int main(
int argc,
char **argv)
    56     int tokens, alices, quotes;
    62     cerr << argv[0] << 
": wrong number of arguments\n";
    68     fname = DATA 
"/alice";
    70     if (ts.
open(fname) == -1)
    72     cerr << argv[0] << 
": can't open input file \"" << argv[1] <<
    91     for (tokens=quotes=alices=0; !ts.
eof(); tokens++)
   100     printf(
"Input file contains:\n");
   101     printf(
"  %5d  tokens\n",tokens);
   102     printf(
"  %5d  tokens preceeded by double quotes\n",quotes);
   103     printf(
"  %5d  occurrences of Alice\n",alices);
 EST_TokenStream & get(EST_Token &t)
get next token in stream 
 
int contains(const char *s, ssize_t pos=-1) const 
Does it contain this substring? 
 
int main(int argc, char **argv)
 
const EST_String EST_Token_Default_PunctuationSymbols
 
void set_PrePunctuationSymbols(const EST_String &ps)
set which characters are to be treated as (post) punctuation 
 
int open(const EST_String &filename)
open a EST_TokenStream for a file. 
 
void set_PunctuationSymbols(const EST_String &ps)
set which characters are to be treated as (post) punctuation 
 
const EST_String & prepunctuation()