Jump to content

Talk:Determine sentence type: Difference between revisions

Line 45:
 
:I hope you are not accusing me of "whining about it without proposing any alternatives" and being "counter-productive". I proposed 2 alternatives, one following English grammatical conventions and one following American grammatical conventions. The task author wrote the task description using 5 sentences, only one of which had End of Sentence Punctuation, an exclamation mark. I have followed your suggestion and added End of Sentence Punctuation using English grammatical conventions. Note that the task now does not make sense, there is no such thing as Neutral Sentence Type. Every sentence must have End of Sentence Punctuation, even in American!--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 14:07, 9 November 2021 (UTC)
 
::You are right about "Neutral sentences", but is there such a thing as a Serious sentence either ?
::Your change has invalidated several (most ?) of the existing samples, including that of the task author, also making it impossible to detect a "neutral sentence" (which appears to be defined for the task as something that does't end in ?, ! or .).
::The task doesn't specify that the sentebces are English or American or anything else.
::Would it be better if the task said:
:::
:::Parse the following according to this (somewhat informal) grammar:
::::<code>paragraph = sentence+ neutral-sentence?</code>
::::<code>sentence = ( exclamation | question | serious )</code>
::::<code>exclamation = neutral-sentence "!"</code>
::::<code>question = neutral-sentence "?"</code>
::::<code>serious = neutral-sentence "."</code>
::::<code>neutral-sentence = <any-character-except-?!.>+</code>
:::
:::(postfix ? means optional, postfix + means 1-or-more, things in double-quotes indicate literal characters that must appear as written.
:::The names of the terminals and non-terminals in the grammar should not be interpreted as conferring any meaning as words in any particular natural language, even if they are spelt the same way (apart from "any-character-except-..."). --[[User:Tigerofdarkness|Tigerofdarkness]] ([[User talk:Tigerofdarkness|talk]]) 18:47, 9 November 2021 (UTC)
3,038

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.