Talk:Determine sentence type: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Recursion?: Commented.)
(Is the task description written in English or American?)
Line 4: Line 4:


:I can't see what this task has to do with recursion either. Another puzzling aspect is that the text you're supposed to use is actually 4 sentences, not one. So just by doing the task, you automatically qualify for extra credit! --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 09:24, 7 November 2021 (UTC)
:I can't see what this task has to do with recursion either. Another puzzling aspect is that the text you're supposed to use is actually 4 sentences, not one. So just by doing the task, you automatically qualify for extra credit! --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 09:24, 7 November 2021 (UTC)

==Is the task description written in English or American?==
The task description is grammatically incorrect in either:

Use this sentence: "hi there, how are you today? I'd like to present to you the washing machine 9001. You have been nominated to win one of these! Just make sure you don't break it"

is not a sentence in either English or American.

In English it should be:

Use (these sentences) (this paragraph): "Hi there, how are you today? I'd like to present to you the washing machine 9001. You have been nominated to win one of these! Just make sure you don't break it."

In American it should be:

Use (these sentences) (this paragraph): "Hi there, how are you today? I'd like to present to you the washing machine 9001. You have been nominated to win one of these! Just make sure you don't break it".

(see [https://www.ultimateproofreader.co.uk/blog/placing-full-stop-correctly-in-academic-writing#:~:text=The%20full%20stop%20should%20be,its%20own%20and%20is%20complete.&text=In%20this%20case%2C%20the%20full,before%20the%20closing%20quotation%20mark use of the period (or full stop) when a sentence ends with a quotation]).

It is also possible to use exclamation marks within a sentence. Full stops are frequently used within a sentence, e.g. N. Galloway. The last sentence uses 4. A sentence may also end with !?. The task description "Search for the last used punctuation in a sentence" may cover this but the solutions don't, Factor excepted. More test cases are required.

Factor uses a list of 'common' abbreviations including i.e. but not e.g. (see [https://www.writing-skills.com/how-and-when-do-you-write-etc-ie-and-eg How and when do you write etc, ie and eg?]), which advises:

However, some style guides do say that ‘eg’ and ‘ie’ should have full stops. (And to emphasise that fact, my grammar checker has just ‘helpfully’ underlined those terms now that I’ve typed them.)

Sometimes even dictionaries don’t help. Collins English Dictionary, for example, says that e.g., eg. and eg are all acceptable. But confusingly, it lists only i.e. (not ie or ie.), which makes no sense.

In short: you can write etc, ie and eg with or without full stops. But make sure you pick one style for all abbreviations and stick to it.

Factor appears to require a mixture , which makes no sense.
--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 16:03, 8 November 2021 (UTC)

Revision as of 16:06, 8 November 2021

Recursion?

I'm a little puzzled why this task has a "Recursion" category tag. AFAICT, none of the existing examples use recursion, and I would be hard pressed to come up with a way that recursion could be useful for this task. --Thundergnat (talk) 09:03, 7 November 2021 (UTC)

I can't see what this task has to do with recursion either. Another puzzling aspect is that the text you're supposed to use is actually 4 sentences, not one. So just by doing the task, you automatically qualify for extra credit! --PureFox (talk) 09:24, 7 November 2021 (UTC)

Is the task description written in English or American?

The task description is grammatically incorrect in either:

Use this sentence: "hi there, how are you today? I'd like to present to you the washing machine 9001. You have been nominated to win one of these! Just make sure you don't break it"

is not a sentence in either English or American.

In English it should be:

Use (these sentences) (this paragraph): "Hi there, how are you today? I'd like to present to you the washing machine 9001. You have been nominated to win one of these! Just make sure you don't break it."

In American it should be:

Use (these sentences) (this paragraph): "Hi there, how are you today? I'd like to present to you the washing machine 9001. You have been nominated to win one of these! Just make sure you don't break it".

(see use of the period (or full stop) when a sentence ends with a quotation).

It is also possible to use exclamation marks within a sentence. Full stops are frequently used within a sentence, e.g. N. Galloway. The last sentence uses 4. A sentence may also end with !?. The task description "Search for the last used punctuation in a sentence" may cover this but the solutions don't, Factor excepted. More test cases are required.

Factor uses a list of 'common' abbreviations including i.e. but not e.g. (see How and when do you write etc, ie and eg?), which advises:

However, some style guides do say that ‘eg’ and ‘ie’ should have full stops. (And to emphasise that fact, my grammar checker has just ‘helpfully’ underlined those terms now that I’ve typed them.)

Sometimes even dictionaries don’t help. Collins English Dictionary, for example, says that e.g., eg. and eg are all acceptable. But confusingly, it lists only i.e. (not ie or ie.), which makes no sense.

In short: you can write etc, ie and eg with or without full stops. But make sure you pick one style for all abbreviations and stick to it.

Factor appears to require a mixture , which makes no sense. --Nigel Galloway (talk) 16:03, 8 November 2021 (UTC)