test/compatibility/scannos.tst
author ali <ali@juiblex.co.uk>
Sat Oct 05 21:37:31 2013 +0100 (2013-10-05)
changeset 99 783eff3047bc
parent 37 037942e1bc4f
permissions -rw-r--r--
Fix bug #21: False positive: Opening slanted double-quote, followed by single slanted quote, should be accepted by BL
ali@28
     1
**************** INPUT ****************
ali@28
     2
"The most popular chimneys were those which connected below with the
ali@28
     3
basement, and served, therefore, as warm air flues. In such chimneys
ali@28
     4
the temperature reached 70 degrees. Little wonder that the birds
ali@28
     5
preferred these chimneys . . . I" The two following quotations describe
ali@37
     6
very unusual departures from the swift's regulgr habit of roosting.
ali@37
     7
ali@37
     8
Before he could finisb the crowd walking across the grounds looked up
ali@37
     9
and commenced to scatter, to give Sam a chance to catcb the ball,
ali@37
    10
whicfr had gone quite higb ifl the air.
ali@37
    11
ali@37
    12
"Ashton--and the telegrapb office!" sang out Dick. "Who is going along?"
ali@37
    13
And the touch of hard feelings between Tosw and Songbird was forgotten.
ali@37
    14
Tom knew he had no right to interrupt the would-be poet the way he did,
ali@37
    15
but--well, Tom was Tom, and he couldn't help it.
ali@37
    16
ali@37
    17
"Right you are," added Tom. He knew this would please Songbird, for the
ali@37
    18
route mentioned would take them past the Sanderson farm, and the
ali@37
    19
would-be poet would have a chance to see Minnie, the farmer's daughter,
ali@37
    20
witb whom Songbird had of late been quite smitten.
ali@37
    21
ali@37
    22
"Maybr I can lend you an old one," suggested Tom, dryly.
ali@37
    23
ali@37
    24
"All right, if that's the way you fecl about it," answered Tom. "You
ali@37
    25
get the hat and I'll pay for it. But I didn't smash it on purpose,
ali@37
    26
Dudd."
ali@38
    27
ali@38
    28
Some Roman numerals look like scannos, but aren't. American Museum of
ali@38
    29
Natural History, viii.
ali@38
    30
ali@38
    31
Questionable words whicfr are duplicated should not be reported each
ali@38
    32
time they occur.
ali@38
    33
ali@38
    34
Mixing 1etters and numbers often indicates scannos, but some common
ali@38
    35
styles should not be reported: 1st, 1ST, 2nd, 2ND, 3rd, 3RD, 4th, 4TH,
ali@38
    36
1sts, 1STS, 2nds, 2NDS, 3rds, 3RDS, 4ths, 4THS, 1l 2s 3d, 1L 2s 3d,
ali@38
    37
L1500.
ali@28
    38
**************** EXPECTED ****************
ali@28
    39
ali@28
    40
preferred these chimneys . . . I" The two following quotations describe
ali@29
    41
    Line 4 column 30 - Query I=exclamation mark?
ali@28
    42
ali@28
    43
preferred these chimneys . . . I" The two following quotations describe
ali@29
    44
    Line 4 column 32 - endquote missing punctuation?
ali@37
    45
ali@37
    46
very unusual departures from the swift's regulgr habit of roosting.
ali@37
    47
    Line 5 column 41 - Query word regulgr - not reporting duplicates
ali@37
    48
ali@37
    49
Before he could finisb the crowd walking across the grounds looked up
ali@37
    50
    Line 7 column 16 - Query word finisb - not reporting duplicates
ali@37
    51
ali@37
    52
and commenced to scatter, to give Sam a chance to catcb the ball,
ali@37
    53
    Line 8 column 50 - Query word catcb - not reporting duplicates
ali@37
    54
ali@37
    55
whicfr had gone quite higb ifl the air.
ali@37
    56
    Line 9 column 1 - Query word whicfr - not reporting duplicates
ali@37
    57
ali@37
    58
whicfr had gone quite higb ifl the air.
ali@37
    59
    Line 9 column 22 - Query word higb - not reporting duplicates
ali@37
    60
ali@37
    61
whicfr had gone quite higb ifl the air.
ali@37
    62
    Line 9 column 27 - Query word ifl - not reporting duplicates
ali@37
    63
ali@37
    64
"Ashton--and the telegrapb office!" sang out Dick. "Who is going along?"
ali@37
    65
    Line 11 column 17 - Query word telegrapb - not reporting duplicates
ali@37
    66
ali@37
    67
And the touch of hard feelings between Tosw and Songbird was forgotten.
ali@37
    68
    Line 12 column 39 - Query word Tosw - not reporting duplicates
ali@37
    69
ali@37
    70
witb whom Songbird had of late been quite smitten.
ali@37
    71
    Line 19 column 1 - Query word witb - not reporting duplicates
ali@37
    72
ali@37
    73
"Maybr I can lend you an old one," suggested Tom, dryly.
ali@37
    74
    Line 21 column 1 - Query word Maybr - not reporting duplicates
ali@37
    75
ali@37
    76
"All right, if that's the way you fecl about it," answered Tom. "You
ali@37
    77
    Line 23 column 34 - Query word fecl - not reporting duplicates
ali@38
    78
ali@38
    79
Mixing 1etters and numbers often indicates scannos, but some common
ali@38
    80
    Line 33 column 7 - Query digit in 1etters
ali@38
    81
ali@38
    82
Note: Queried word whicfr was duplicated 1 times