Determine sentence type: Difference between revisions
m
→{{header|Wren}}: Typo.
(→{{header|Wren}}: Added an alternative version.) |
m (→{{header|Wren}}: Typo.) |
||
Line 530:
{{libheader|Wren-pattern}}
{{libheader|Wren-trait}}
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
<lang ecmascript>import "./pattern" for Pattern
import "./trait" for Indexed
|