It's UWAweek 48

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 the 2 articles in this topic
Showing 2 of 564 articles.
Currently 3 other people reading this forum.


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

Login to reply

👍?
helpful

Hi, Michael By definition and sample profile you provided with us, lookin' cannot be deemed as a contraction However, given the discussion here [help4407] words like lookin'-glass pickin'-up should be deemed as both a contraction and compound word, even though lookin' pickin' themselves were no contractions, and contraction can be two or more simple words connected by '- or -' were not mentioned in the definition of compound words, which is really confused. Here, "A contraction is a simple word followed by an apostrophe, followed by other alphabetics, e.g. "won't", "shouldn't" "A word-pair is two or more simple words separated by hyphens with no spaces around them. Word-pair is a word-pair." Does this mean contraction is also a kind of simple word? and therefore makes it acceptable in the compound word? There are many other contractions such as 'bout 'em, and all of them by definition were not regarded as contractions, but what if they are part of a compound word like love-'em 'em-love was-hangin' (I just made them up please don't look upon them) By definition, since there is nothing before the word 'em-love and nothing after was-hangin' these two words cannot be deemed as contractions right? Then what if there are multiple contractions in one compound word love'em-abou' and 'abou-love-'em? I really think we should limit the definition of contraction to only including I have-I've; I am-I'm; I would-I'd; we are-we're; What do you reckon?


SVG not supported

Login to reply

👍x3
helpful

Hi Michael, I have similar questions, and would really like to see an example of longer text to examine whether my code would fit into the 10% margin as personal interpretation could really varies between individuals.
>From my point of view, one should not be marked down by following the given definition from the assignment brief.
For example, by following the given definition, I did not classify "pickin'-up" as compound nor contraction. As a result, my word count for compound and contraction were both short of 1 comparing to the sample answer. In this particular case, I can and I am happy to simply modify my code to consider "'-" and "-'" words as valid compound and contraction. But, is this the solution you would recommend? I am very concerned about there will be more stylistic variation in text you use to test the program which I failed to foresee.

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