PLEASE NOTE: the upgrades to this server, secure.csse.uwa.edu.au, have not yet been completed.
Hopefully the changes will be completed on THURSDAY 8th December.
Web-based programs, such as csmarks, cssubmit, and the help fora, will be unavailable at some time on Thursday 8th.
  It's UWAweek 49

help2003/help4407

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 4 other people reading this forum.


 UWA week 20 (1st semester, week 11) ↓
SVG not supported

Login to reply

👍?
helpful

So, I am not sure if I am going crazy here. Note, I have tried the following on both the full text, and a list of words I had already parsed - they have the same results for me. The profile given for Hucklebery_Finn.txt has 4 "also". Using an exact grep count on the text gives 3. The profile has 11 "whenever". Using an exact grep count on the text gives 8. The profile has 36 "though". Using an exact grep count on the text gives 35. The profile has 121 "which". Using an exact grep count on the text gives 115. I have tried many combinations, such as ignoring case or more vague grep searches etc.. But nothing that I do matches the sample profile. My current code matches perfectly the small sample profiles, but this long one I am afraid will likely have a Euclidean distance differing by more than 10%. Grepping the .!? also has a different number of sentences. Do other people get the same problem, or is it just me? I have also tried to redownload it from the assignment page fresh and literally just ran a grep search and my numbers are the same as above -- i.e, different from the long text sample profile. I am at a loss..

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