User:Cpeel/PuncCheck test data

From DPWiki
Jump to navigation Jump to search

This a sample test page for use when testing PuncCheck.

Hyphen test:
One hyphens:
  Good in a word: one-hyphen EOL
  Bad by themselves: - EOL
  Bad before a word: -before EOL
  Bad after a word: after- EOL
-Bad at the start of the line
  Bad at the end of a line-
Two hyphens:
  Good between words: two--hyphens EOL
  Bad by themselves: -- EOL
  Bad before a word: --before EOL
  Bad after a word: after-- EOL
Three hyphens:
  Bad between words: three---hyphens EOL
  Bad by themselves: --- EOL
  Bad before a word: ---before EOL
  Bad after a word: after--- EOL
Four hyphens:
  Good as an omitted word: ---- EOL
  Good as part of an omitted word  M---- EOL
  Bad (probably) in the middle of a word  M----s EOL
  Bad (probably) before a word: ----before EOL
Five hyphens are Right Out:
  Bad between words: five-----hypens EOL
  Bad by Themselves: ----- EOL
  Bad at the start of a word: -----before EOL
  Bad at the end of a word: after----- EOL

Quote test:
Double quotes:
  Good "around text without spaces"
  Bad " if spaces are around quotes " EOL
" Bad if spaces are around quotes at beginning and end of the line "
  Bad if"no spaces are around"quotes
Single quotes:
  Good 'around text without spaces'
  Good in contra'ions
' Bad if spaces are around quotes at beginning and end of the line '
  Bad ' if spaces are around quotes '
Both:
  Good in combinations "'tis true"
Guillemets:
  Good »around text without spaces«
  Good «around text without spaces»
  Bad » if spaces are around them « in French
  Bad « if spaces are around them » in French
» Bad if spaces are around them at beginning and end of the line «
« Bad if spaces are around them at beginning and end of the line »
  Bad if«no spaces are around»them

Asterisk test:
  Good if in [** proofer comments]
  Good without spaces in [**proofer comments}
  Good if in a hyphen-*ated word
*-Good if at the start of a line
  Good if at the end of a line-*
  Bad alone * EOL
  Bad in a*word
  Bad at the end of a line line without a hypen*
* Bad at the beginning of a line without a hyphen

Ellipses test:
  Good if spaces ... around them
  Good if four end a sentence....
  Good if three end a sentence with other punctuation...!
  Good if three end a sentence with other punctuation...?
  Bad without...spaces
  Bad if a space ...before
  Bad if a space... after
  Bad if ending a sentence with three... EOL
  Bad if ending a line with three...
  Bad if there are five ..... EOL
  Bad (possibly) if capital follows three ... Here
  Bad (possibly) if lowercase follows four.... here

Other punctuation tests:
  Bad if space before punctuation ; EOL
  Bad if space before punctuation : EOL
  Bad if space before punctuation . EOL
  Bad if space before punctuation , EOL
  Bad if space before punctuation ? EOL
  Bad if space before punctuation ! EOL
  Bad (possibly) if lowercase after stop. here
  Bad (possibly) if capital after pause; Here
  Bad (possibly) if capital after pause: Here
  Bad (possibly) if capital after pause, Here