Discussion Board
There are no previous messagesGo to the following message
Current Forum: Homework 5 - Parts 1 and 2
Date: Fri Nov 2 2001 8:10 pm
Author: Brands, Marc C. <brands@cmu.edu>
Subject: 10 lines?? I only needed 3

<<
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
//
// MISSING CODE!
//
// What is missing here is code to read in the tokens from
// the tokenStream, run them through the finite-state machine
// defined by the delta and action tables, thereby building
// up the iterator of PageElements.
//
// Correct solutions should require only a few (< 10) lines of code.
//
//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>>


My Output:

java WebReader http://www.cs.cmu.edu/~petel

word: peter
word: lee
word: peter
word: lee
word: professor
word: and
word: associate
word: dean
word: for
word: undergraduate
word: education
link: http://www.cs.cmu.edu/
word: school
word: of
word: computer
word: science
link: http://www.cmu.edu/
word: carnegie
word: mellon
word: university
link: http://www.cs.cmu.edu/contact.html
word: contact
word: information
word: current
word: research
word: projects
link: http://www.cs.cmu.edu/afs/cs/project/concert/www
word: the
word: concert
word: project
link: http://www.cs.cmu.edu/~fox
word: the
word: fox
word: project
link: http://www.cs.cmu.edu/papers/pcc/pcc.html
word: information
word: about
word: proof
word: carrying
word: code
word: aka
word: self
word: certified
word: code
link: http://www.cs.cmu.edu/afs/andrew/course/15/211/www/
word: 15
word: 211
word: fundamental
word: data
word: structures
word: and
word: algorithms
word: course
word: direct
link: http://www.cmu.edu/blackboard
word: link
word: to
word: the
word: blackboard
word: site
link: http://www.cs.cmu.edu/students.html
word: some
word: of
word: my
word: current
word: and
word: former
word: students
link: http://www.google.com/
word: google
word: com
link: mailto:petel@cs.cmu.edu
word: peter
word: lee@cs
word: cmu
word: edu

76 total page elements retrieved.

Post response

There are no previous messagesGo to the following message
Current Thread Detail:
10 lines?? I only needed 3      Brands, Marc C.      Fri Nov 2 2001 8:10 pm       
Re: 10 lines?? I only needed 3      Lee, Peter      Fri Nov 2 2001 8:14 pm       
Re: 10 lines?? I only needed 3      Shi, Ying      Sun Nov 4 2001 7:19 pm       
Re: 10 lines?? I only needed 3      Lee, Peter      Sun Nov 4 2001 8:53 pm       
Re: 10 lines?? I only needed 3      Liu, Limin Angela      Sat Nov 3 2001 7:16 pm       
Re: 10 lines?? I only needed 3      Katzhyman, Michael Zadok      Mon Nov 5 2001 1:03 am       
Re: 10 lines?? I only needed 3      Lee, Peter      Mon Nov 5 2001 9:03 am       
Re: 10 lines?? I only needed 3 - Th...      Abeles, Peter J.      Wed Nov 7 2001 8:59 pm       
Re: 10 lines?? I only needed 3 -...      Lee, Charles C.      Sat Nov 10 2001 12:05 am       
Re: 10 lines?? I only needed ...      Abeles, Peter J.      Sat Nov 10 2001 11:26 am       
Re: 10 lines?? I only need...      Goodman, Brian J.      Sat Nov 10 2001 4:57 pm       
Re: 10 lines?? I only n...      Abeles, Peter J.      Sat Nov 10 2001 9:22 pm       
Re: 10 lines?? I onl...      Lee, Peter      Sun Nov 11 2001 10:09 am       
Re: 10 lines?? I ...      Abeles, Peter J.      Sun Nov 11 2001 10:41 am       
Re: 10 lines?? I only needed 3 -...      Ghosh, Debmallo S.      Thu Nov 15 2001 2:48 pm       
Re: 10 lines?? I only needed 3 -...      Abeles, Peter J.      Mon Nov 19 2001 12:08 am       

Back to previous screen