PLEASE NOTE: the upgrades to this server,, 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


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 15 (1st semester, week 7) ↓
SVG not supported

Login to reply

10:50am Fri 15th Apr, Ryan B.

> Hello, I want to know if a word followed by a punctuation e.g. "hello," should be considered as a different word from "hello"? Since it was mentioned that lower-case letters differ from their upper-case counterparts in the assignment, so should my case be considered as well? Thanks
Hullo, This would probably make things easier for you (as I'm sure you've already run a simple text file and confirmed what `uniq` gives you for the results here). I'd encourage you to think about why one might be necessary, and the other unnecessary for the purposes of this assignment (as other edge cases are likely to come up and reason about). To get you started; ask yourself "why it may be prudent to count hello/Hello differently, and exclude the differences between "hello" and "hello?"?". Lower case and upper case are different because they are still words, but can potentially have different meanings (e.g. you could be referring to the "river", or (actor) "River" Pheonix; the common noun vs proper noun lead to different meanings, and therefore if we were applying some commonality ranking analysis it would make sense to differentiate). Counting punctuation might make sense if we were curious to investigate the rankings of words that occur in parts of the sentence, e.g. what is the most common end of sentence word ("!", ".", "?"), or compound words ("-"), but we are not asking you do to that; the only thing we care about is how common that word is. Hope this helps! Ryan (lab guy).

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