It's UWAweek 48


This forum is provided to promote discussion amongst students enrolled in Open Source Tools and Scripting.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

How do I ask a good question?
Displaying selected article
Showing 1 of 564 articles.
Currently 5 other people reading this forum.

 UWA week 15 (1st semester, week 7) ↓
SVG not supported

Login to reply

10:18am Tue 12th Apr, Michael W.

> For this one: > > " > On the other hand, if the optional argument -nth followed by an integer N is provided, your program is to report the word that is the Nth most common for the largest number of files, and the number of files for which is that is the case. If there are no options, then assume you are being asked for the word that is most common across the largest number of files, i.e. -nth 1 > " > > > what is the meaning of 'the largest number of files'
Hi, For example, across the 10 files in the Gutenberg sample, "the" is the most common word in 9 of them, but "I" is the most common word in the 10th. For -nth 2, the most common across the 10 files is "and", with 5 hits. Makes sense? Cheers MichaelW

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  1:17AM Sep 14 2022
Privacy policy