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


 UWA week 19 (1st semester, week 10) ↓
SVG not supported

Login to reply

👍x3
helpful

Hi Michael, While comparing my output profile to the example one for Lawson Sample (Children Of The Bush Sample), my profile is exactly the same except for the contraction count, i.e. words with ' without ending in 's. Your example states contractions = 20, while mine states contractions = 19. I did a thorough check of my code and then many manual counts of the example, and I came to the result of 19 too. Respectfully, I have a sneaking suspicion your code counted "pickin'-up" as a contraction; I would argue this doesn't count as a contraction since it's not a shortening of two words, only one, as well as it not complying with your definition of "contraction" in the program instructions. In your profile, you defined contractions as "a simple word followed by an apostrophe, followed by other alphabetics, e.g. "won't", "shouldn't" " Since "-" is not an alphabetic, I would argue we can't count it as a contraction by your own definition. I had a look through previous questions on Help4407 and I saw a post talking about " pain'-killin' ". You stated there that "pain'-killin' " IS a contraction. Similarly, I would argue "pain'-killin'" doesn't count as a contraction, for the same reason. I don't mean to come across as a nitpick, but since the next stage of my project involves mathematics (normalisation then comparison), I want to make sure I'm starting off with the same numbers you are, and thus this definition affects the program. Warm regards, Justin Hart

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