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


 UWA week 17 (1st semester, week 8) ↓
SVG not supported

Login to reply

👍?
helpful
10:03am Thu 28th Apr, ANONYMOUS

Hi Michael, For the removal of the non-alphabetics for common_words, the easiest apparent way to deal with this would be to just replace all occurrences of them with spaces instead of deleting them, but then this could also cause issues with results (e.g. It's -> It s with s being treated as a word, while in deletion It's -> Its). With the addition to the assignment in regards to the common-garden being treated as common garden the first approach appears to be better, so is the resulting error that comes with that (e.g. having lone s's or other nonsense characters after punctuation treated as words) acceptable, or do we need to find a way to deal with all cases of separate punctuation? Thanks


SVG not supported

Login to reply

👍?
helpful
2:54pm Thu 28th Apr, Daniel S.

Follow up question, from my lab today: this is particularly pertinent for characters like ’ (note that this is different to the regular single quote ' that is present on your keyboard)


SVG not supported

Login to reply

👍?
helpful
1:15pm Fri 29th Apr, ANONYMOUS

I asked Michael and he said for this exercise a word is just a sequence of 1 or more alphabetics. So, “that’s” becomes two words, “that”, “s”.

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