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.
Hi Michael,
Despite setting permissions to chmod 777 in the original file successfully, this seems to show that strangely the rwx permissions didn't carry over to the file I submitted. I've attached a screenshot of my submission ticket, showing only r...
Hi Michael I figured out the misunderstanding, to do with what I interpreted as "sample".
In the project instructions, you have "samples", which are short snippets, NOT the full text. So when you said
"For example, comparing the Lawrence and Lawson s...
Just to add those are screenshots of your examples, not my own work. But as you can see, the square of the differences for "also" must also be zero, since the two inital profiles were also zero. So something is wrong here.
Hi Michael, when you compared the "Lawrence and Lawson samples" , I believe your example comparison is incorrect. For example, neither text contains the word "also", but after your comparison, "also" has a value other than zero, which can't possibly ...
Just to add Michael's definitely compared different texts to what he's listed. We'll just have to wait for an answer and see. If you look at the values of certain words present in one sample text but not the other, for example "which" and "yet", sin...
Thanks Michael. I'll modify my program so it counts " '- " words as valid contractions and conjunctions then, so that it matches up with the sample counts. Appreciate your time.
Just to add
If you wish to change the definition in the project instructions to allow words with word '- word to be counted as contractions too, that's fine. But as of right now I'm trying to follow the program instructions to the letter.
Justin
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 ...
Hi Michael,
In the project instructions, under the heading "profile creation"
The corresponding profile to the first sample (excerpt from Mark Twain) has 0 listed for all things in the profile. I suspect this is a mistake, since even the word count in ...
1:04pm Mon 9th May, Justin H. Edited: 7 mins later
Hi Michael,
In the project instructions, under the heading "profile creation"
The corresponding profile to the first sample (excerpt from Mark Twain) has 0 listed for all things in the profile. I suspect this is a mistake, since even the word count in ...
Hi Michael,
In the instructions for the project under the heading "what is a profile", one of the dot points asks us to count the number of sentences, and ANOTHER asks us to specifically count the number of full stops.
Since the number of full stops is...
Apologies if this is a bit of a redundant question
For project 2, it's been defined that possessive words are all words ending in 's, Whereas contractions are where the apostrophe is used to join two words, for example "should've" from "should have"....
I'm a bit lost as to when we can use ed-style pattern matching vs shell, and how the command interpreter would understand what "language" we used.
For example, if I used ". " in say, a case statement, when matching string patterns, how would the syste...