Determine sentence type: Difference between revisions

m
→‎{{header|Wren}}: Changed to Wren S/H (second version)
m (→‎{{header|Wren}}: Changed to Wren S/H)
m (→‎{{header|Wren}}: Changed to Wren S/H (second version))
Line 1,082:
{{libheader|Wren-iterate}}
The following alternative version takes the simplistic view that (unless they end the final sentence of the paragraph) '''?''', '''!''' or '''.''' will only end a sentence if they're immediately followed by a space. This of course is nonsense, given the way English is written nowadays, but it's probably an improvement on the first version without the need to search through an inevitably incomplete list of abbreviations.
<syntaxhighlight lang="ecmascriptwren">import "./pattern" for Pattern
import "./iterate" for Indexed
 
9,485

edits