Questions about assignment 2
I have some questions about the second assignment:
- Do you consider blank spaces as punctuation marks?
- How do we measure the length of a string? I mean, should we consider blanks, punctuation marks... or only letters from 'A' to 'Z'?
- Should all the rhopalics start with a word of length 1?
- Do you consider blank spaces as punctuation marks?
- How do we measure the length of a string? I mean, should we consider blanks, punctuation marks... or only letters from 'A' to 'Z'?
- Should all the rhopalics start with a word of length 1?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?- Anything other than [A-Za-z] is considered as punctuation.
- We will only count [A-za-z] in measuring length of strings.
- No, rhopalics can start with different size words.
--Yasser -
Inappropriate?Then, I have some doubts:
- If anything other than [A-Za-z] is considered as punctuation, it represents more than the 10% of the string, so I can't find the results provided.
- If I only count the letters [A-Za-z] in measuring the length of the strings, my program found a longer lipogram than the one in the example you provided.
If I don't consider blank spaces and count all the characters in measuring the length of the string, my program gets exactly the same output that you provided. What should I do?
I’m undecided
-
Inappropriate?- It should be 30% instead (at least 70% of the string should be in [A-Za-z].
- OK, so in this phase we will count all of the characters in measuring the length of the string. My only concern was about the next step that you need to use this program in processing Wikipedia pages. I will let you know how to change it in that step.
--Yasser
1 person says
this answers the question
-
Inappropriate?Yes, I think I'm done with assignment #2. Thank you.
-
Inappropriate?Can you (Yasser or Don) clarify for me the Lipogram thing:
...without!? <-- would be considered 12 characters long as a lipogram since we are considering punction and spaces to count as part of the lipogram length?
I’m unsure
-
Inappropriate?Yes.
1 person says
this answers the question
Loading Profile...



EMPLOYEE
EMPLOYEE