test/compatibility/before-comma.tst
author ali <ali@juiblex.co.uk>
Sat Sep 21 23:40:18 2013 +0100 (2013-09-21)
changeset 92 7a62c77a0dbe
permissions -rw-r--r--
Fix bug #6: BL treats a slanted apostrophe ? as a word separator, not as a contraction or possessive
     1 **************** INPUT ****************
     2 Certain words shouldn't be followed by commas and so we check for them.
     3 
     4 "Hurrah! that's, the way to do it!"
     5 
     6 "Give him a, swift one, Frank! Don't let, him hit it!" cried Sam Rover,
     7 merrily.
     8 
     9 "Come now, it's, time we tied the, score."
    10 
    11 The regular season for baseball was at an, end, and the youths had fixed
    12 up their, nines to suit themselves.
    13 
    14 But before the youngest Rover could reach the sphere down it
    15 came--straight on the fancy straw hat of a dudish youth, crushing the
    16 article over its, wearer's head.
    17 
    18 "I knocked the ball--but I didn't aim for your, hat," answered Tom.
    19 
    20 To my, old readers the lads who have thus far taken a part in this story
    21 will need no special introduction.
    22 
    23 "It is a fine place, located in one of our, middle-western states."
    24 
    25 They also had with them their former school chum, William Philander
    26 Tubbs, a student whose, entire spare time was spent in buying things to
    27 wear of the latest fashions, and in seeking the society of his young
    28 lady friends.
    29 
    30 Several days passed and during, that time the lads amused themselves
    31 hugely, hunting, fishing, swimming and knocking around generally.
    32 
    33 From among, the trees three large Roman candles were sending their balls
    34 of various colors high into the air.
    35 
    36 Another gasolene launch was coming up, dragging behind it nearly every,
    37 rowboat Brill possessed.
    38 
    39 Specimens taken in February show yellow feathers coming in on the head,
    40 and progressive changes toward, maturity continue all through the spring
    41 months until, by summer, the yellow head is fully acquired.
    42 
    43 He was only 3 ft, from the stone. The observer was absent from 12 noon to
    44 2:33 pm. and from 3:30 pm, to 3:45 pm.
    45 
    46 It weighed 2.4 lbs. the first morning, 1.9 lbs. the second, and only 1.4
    47 lbs, on the third. Correspondingly, the following morning, he had lost one
    48 lb, in weight.
    49 
    50 There are six replies to Coues' query printed in The Nidologist (vol. 4,
    51 pp, 80, 81), cf, The Osprey (vol. 2, p. 122).
    52 
    53 I asked Mr. Smith jr, to meet me, and yet I found Mr. Smith sr, waiting
    54 for me.
    55 
    56 1892. Oyster vs, kingfisher. Ornithologist and Oologist, vol. 17, p. 109.
    57 
    58 I hold Acme ltd, responsible for everything that happened.
    59 
    60 **************** EXPECTED ****************
    61 
    62 "Hurrah! that's, the way to do it!"
    63     Line 3 column 16 - Query punctuation after that's?
    64 
    65 "Give him a, swift one, Frank! Don't let, him hit it!" cried Sam Rover,
    66     Line 5 column 12 - Query punctuation after a?
    67 
    68 "Give him a, swift one, Frank! Don't let, him hit it!" cried Sam Rover,
    69     Line 5 column 41 - Query punctuation after let?
    70 
    71 "Come now, it's, time we tied the, score."
    72     Line 8 column 16 - Query punctuation after it's?
    73 
    74 "Come now, it's, time we tied the, score."
    75     Line 8 column 34 - Query punctuation after the?
    76 
    77 The regular season for baseball was at an, end, and the youths had fixed
    78     Line 10 column 42 - Query punctuation after an?
    79 
    80 up their, nines to suit themselves.
    81     Line 11 column 9 - Query punctuation after their?
    82 
    83 article over its, wearer's head.
    84     Line 15 column 17 - Query punctuation after its?
    85 
    86 "I knocked the ball--but I didn't aim for your, hat," answered Tom.
    87     Line 17 column 47 - Query punctuation after your?
    88 
    89 To my, old readers the lads who have thus far taken a part in this story
    90     Line 19 column 6 - Query punctuation after my?
    91 
    92 "It is a fine place, located in one of our, middle-western states."
    93     Line 22 column 43 - Query punctuation after our?
    94 
    95 Tubbs, a student whose, entire spare time was spent in buying things to
    96     Line 25 column 23 - Query punctuation after whose?
    97 
    98 Several days passed and during, that time the lads amused themselves
    99     Line 29 column 31 - Query punctuation after during?
   100 
   101 From among, the trees three large Roman candles were sending their balls
   102     Line 32 column 11 - Query punctuation after among?
   103 
   104 Another gasolene launch was coming up, dragging behind it nearly every,
   105     Line 35 column 71 - Query punctuation after every?
   106 
   107 and progressive changes toward, maturity continue all through the spring
   108     Line 39 column 31 - Query punctuation after toward?
   109 
   110 He was only 3 ft, from the stone. The observer was absent from 12 noon to
   111     Line 42 column 17 - Query punctuation after ft?
   112 
   113 2:33 pm. and from 3:30 pm, to 3:45 pm.
   114     Line 43 column 26 - Query punctuation after pm?
   115 
   116 lbs, on the third. Correspondingly, the following morning, he had lost one
   117     Line 46 column 4 - Query punctuation after lbs?
   118 
   119 lb, in weight.
   120     Line 47 column 3 - Query punctuation after lb?
   121 
   122 pp, 80, 81), cf, The Osprey (vol. 2, p. 122).
   123     Line 50 column 3 - Query punctuation after pp?
   124 
   125 pp, 80, 81), cf, The Osprey (vol. 2, p. 122).
   126     Line 50 column 16 - Query punctuation after cf?
   127 
   128 I asked Mr. Smith jr, to meet me, and yet I found Mr. Smith sr, waiting
   129     Line 52 column 21 - Query punctuation after jr?
   130 
   131 I asked Mr. Smith jr, to meet me, and yet I found Mr. Smith sr, waiting
   132     Line 52 column 63 - Query punctuation after sr?
   133 
   134 1892. Oyster vs, kingfisher. Ornithologist and Oologist, vol. 17, p. 109.
   135     Line 55 column 16 - Query punctuation after vs?
   136 
   137 I hold Acme ltd, responsible for everything that happened.
   138     Line 57 column 16 - Query punctuation after ltd?