Assignment: process a directory of text documents, printing out all 6-word chunks from all files.For this assignment, just printing the chunks to the console is adequate. While you’re at it, you might as well make the chunk-size a variable since you might want to vary that in the future.You can get the document sets from here:http://people.ucls.uchicago.edu/~bfranke/nifty.bfranke/#documentSets Obviously, if it works for the small set, it will work for the bigger sets. Please see the HOW-TO for help on How to Process a Directory of Files Turning it in:You will NOT turn this in. Rather, you will run a demo for me in class on Monday and I will check off that you’ve done it.
Posted on April 5th, 2008 by Baker Franke
Filed under: Labs
Leave a Reply