Week 1 - Graded Assignment - Q.20

62 views
Skip to first unread message

Vishnu Mohan.G

unread,
Oct 20, 2020, 1:07:52 AM10/20/20
to Discussion forum for Computational Thinking, sanjusi...@gmail.com
The question is to choose the data type of position of a word in a sentence in the “Paragraph Words” dataset.

The given answer is Integer.
But how about multiple occurrences of a word in a sentence.

eg, "The apple is red and it is sweet."
Here the position of "is"  is [3, 7].

It is also ambiguous whether the position is expressed in terms of word count or char position.
If its char position, then it can be a record of start and end positions.
eg, {start:11, end:12}

Vishnu Mohan.G

unread,
Oct 21, 2020, 10:35:06 AM10/21/20
to Discussion forum for Computational Thinking, Vishnu Mohan.G, sanjusi...@gmail.com
I'm grad to see that the concerns regarding other questions raised my many others and myself were addressed and scores were awarded.
I expect this question to be considered as well. Please give me an explanation on how my answer is wrong.
My question itself is very precise and detailed.
Reply all
Reply to author
Forward
0 new messages