Talk:Words containing "the" substring: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Trivial task: new section)
 
(→‎Trivial task: added some comments.)
Line 2: Line 2:


This seems to me to be just a trivial subtask of [[String matching]]. Can we have more original tasks and less pointless busywork please? [[User:Thebigh|Thebigh]] ([[User talk:Thebigh|talk]]) 09:36, 6 December 2020 (UTC)
This seems to me to be just a trivial subtask of [[String matching]]. Can we have more original tasks and less pointless busywork please? [[User:Thebigh|Thebigh]] ([[User talk:Thebigh|talk]]) 09:36, 6 December 2020 (UTC)

: The Rosetta Code task  [[String matching]]  doesn't handle a dictionary,   and because this task uses a dictionary,   there are   (or should be)   more concerns such as (possible extra) whitespace   (either tabs and/or leading/trailing blanks,   and/or double words)   in the dictionary as well as handling caseless searches   (although the particular dictionary specified has no capital letters in it,   nor duplicate words).   Another restriction is the situation when a word in the dictionary that is too short   (as per the task requirements).   Also, a minor detail is counting the number of words found and also possibly showing the number of words found (searched) in the dictionary.     -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 17:13, 6 December 2020 (UTC)

Revision as of 17:15, 6 December 2020

Trivial task

This seems to me to be just a trivial subtask of String matching. Can we have more original tasks and less pointless busywork please? Thebigh (talk) 09:36, 6 December 2020 (UTC)

The Rosetta Code task  String matching  doesn't handle a dictionary,   and because this task uses a dictionary,   there are   (or should be)   more concerns such as (possible extra) whitespace   (either tabs and/or leading/trailing blanks,   and/or double words)   in the dictionary as well as handling caseless searches   (although the particular dictionary specified has no capital letters in it,   nor duplicate words).   Another restriction is the situation when a word in the dictionary that is too short   (as per the task requirements).   Also, a minor detail is counting the number of words found and also possibly showing the number of words found (searched) in the dictionary.     -- Gerard Schildberger (talk) 17:13, 6 December 2020 (UTC)