Finding References

Scenario - we have a volume of data records that contains numerous references of the form (XXXX DDD/DDD/DD) where XXXX are capital letters and DD and DDD are digits. We want to find all those references and list them, with the data key with which they are associated. Some of the references may be duplicates, some records may have multiple references, and as the refernces may be human edited that are liable to be varied a bit - for example we could find the number 16 represented as 16, 16.0, 16. and even 0016.

Here are the RESULTS ... you can see the source code from links at the base of this page. The data is here
(ANIM 144/23/22)chabh.jpg - "Charlie the cat again "
snowball.jpg - "Chris and Delene's cat Snowball "
ch.jpg - "Charlie the cat "
spotthecat.jpg - "Spot the cat "
missingcat.jpg - "The Missing Cat "
catc2.jpg - "Cat in the windowsill "
catc1.jpg - "Cat shadow "
amrp.jpg - "The Wiltshire Police Cat "
charlie.jpg - "Charlie the cat "
dim6.jpg - "Socks and the cats head "
hillicatfish.jpg - "Cat Fish "
2139.jpg - "Manx Cat at Castletown, Isle of Man "
gettystorecat.jpg - "The store cat - good ole country store, near Gettysburg "
02_47.jpg - "Cat "
d.jpg - "Cat on the tiles "
contep.jpg - "Cat at the keyboard "
(ANIM 33/23/77)rover.jpg - "Rover the dog "
potflds.jpg - "Walking the dogs, Potterne "
dogwater.jpg - "Watering the dog, Party in the Park "
prisbr4.jpg - "Walking the dog "
hilligundog.jpg - "Gundog "
gosportlee3.jpg - "Walking the dog "
bedog1.jpg - "Dog Walkers "
bedog3.jpg - "Dog waits outside pub "
gypsy003.jpg - "The Dandelion Field "
copywrong.jpg - "Walking the dog near Melksham Oak "
gypsy002.jpg - "Profile of Gypsy "
gypsy001.jpg - "Gypsy on the Sofa "
blackhound.jpg - "Running Dog "
newb_2.jpg - "Gypsy and Graham "
newb_3.jpg - "Gypsy "
(BIRD 13/22/163)skua.jpg - "Skua "
(BIRD 13/55/32)oystercatcher.jpg - "Oystercatcher "
(BIRD 15/25/35)eiders.jpg - "Eider ducks "
duckpond.jpg - "On Biddestone Pond "
dvzf5.jpg - "Pluck-a-duck, Devizes Funfair "
duckswat.jpg - "Duck on Shearwater "
busducks.jpg - "Pattern in ducks on the river Thames "
n_about.jpg - "Ducks on the Thames "
cvl_tufted.jpg - "Tufted Duck "
cvl_mixed.jpg - "Duck "
cgb3.jpg - "Peril the duck "
(BIRD 15/44/19)diffdir.jpg - "A view full of terns "
yern2.jpg - "A tern searches for food "
lottaterns.jpg - "A flock or arctic terns "
tern1.jpg - "Icelandic Tern "
(BIRD 174/33/21)stoug2.jpg - "Geese beside the lake, Stourhead "
cvl_canada.jpg - "Canada Geese "
vacolvincanada.jpg - "Canada Geese "
hfgeese.jpg - "Geese on the Potomac "
(BIRD 32/43/22)sandpiper.jpg - "Sandpiper "
(BIRD 33/23/33)pufffly.jpg - "Puffin in flight "
puffnests.jpg - "Puffins nesting "
(BIRD 42/22/32)cvl_mallard.jpg - "Mallard "
(BIRD 44/23/23)swansoncrammer.jpg - "Church and Crammer, Devizes "
swanmation.jpg - "The Ballet of the Swans "
mdlswan.jpg - "Swan, Christchurch "
busmomswan.jpg - "Cheese Wharf, Buscot - Swan defends cygnet "
cvl_swan.jpg - "Whooper Swan "
bibu4.jpg - "The Black Swan "
seend_swan.jpg - "Swan and boat on Canal "
v.jpg - "Swan "
(BIRD 44/32/123)gullery.jpg - "Gulls nesting at Vik "
gulltop.jpg - "Gulls nesting in Iceland "
gosportsb4.jpg - "Seagulls at Stokes Bay "
(PERS 12/73/17)notarestaurant.jpg - "Food - a joint venture by Lisa and Graham "
aramcoclass.jpg - "Perl class with Graham as tutor in Saudi Arabia "
stt050307b.jpg - "Graham addresses Save the Train meeting "
g150150.jpg - "Graham Ellis "
demotop.jpg - "Graham talks to a group "
wwsam.jpg - "Graham at the West Wilts Show "
gjebadge.jpg - "Graham Ellis - Well House Manor - staff badge "
gje_avatar.jpg - "Graham's Avatar "
ljubgje.jpg - "Graham in Ljubljana "
gsilo.jpg - "Graham Ellis, Tutor, Well House Consultants "
graham_e.jpg - "Graham Ellis "
palinmccain.jpg - "from left to right -John Mccain, Graham Ellis, Sarah Palin "
porthead.jpg - "Graham Ellis, Tutor, Well House Consultants "
stim0.jpg - "Graham Ellis talks in The Wilts "
lemme_showyou.jpg - "Graham Ellis demonstrates during a Perl course "
ta1.jpg - "Tyler, Alyssa, Lisa and Graham "
small_graham.jpg - "Graham in front of Perl class "
newb_2.jpg - "Gypsy and Graham "
(PERS 36/26/36)notarestaurant.jpg - "Food - a joint venture by Lisa and Graham "
werehome.jpg - "Lisa and Charlie at Home "
leveepics.jpg - "Lisa snaps up California "
wbcb.jpg - "Lisa stands halfway up the Wilts and Berks embankment over Clackers Brook "
lisa_24d.jpg - "Lisa, 24th December "
comm4.jpg - "Lisa and Leah representing the USA "
workbase.jpg - "Lisa's work base "
marketbase.jpg - "Lisa and Leah at a marketing event "
l150150.jpg - "Lisa Ellis "
tandape.jpg - "Tyler, Alyssa and Lisa at Pewsey "
bffest3.jpg - "Lisa lunches as the German beer festival in Bristol "
prefer.jpg - "Lisa travels First Class on First Great Western "
ljn11.jpg - "Lisa in Slovenia "
lisa_e.jpg - "Lisa Ellis "
es08_1.jpg - "Chris, Delene, Dad, Lisa, Easter 2008 "
ta1.jpg - "Tyler, Alyssa, Lisa and Graham "
(PERS 43/22/12)DSC08371a.jpg - "Faded sign Santa "
DSC08368a.jpg - "Santa at Melksham "
DSC08281.jpg - "Santa Special "
mkr1.jpg - "Santa at Melksham "
DSC08336.jpg - "Santa stops to chat with really important people "
DSC08332.jpg - "On train - Santa and Gordon "
DSC08354a.jpg - "Santa at Melksham Station "
DSC08379.jpg - "Santa at Melksham "
DSC08378.jpg - "Santa Claus "
samelk06.jpg - "Santa at Melksham, December 06 "
sanlad.jpg - "Santa and his ladder - Sells Green "
s06s5.jpg - "A quick pause for Santa "
s06t2.jpg - "Santa does his rounds "
s06m6.jpg - "Santa with the kids "
s06m7.jpg - "Santa and one of his elves take a breather before going on to their next appointment "
santa66.jpg - "Santa in Melksham "
santapres.jpg - "Choosing Gifts for Santa "
santa_7_4.jpg - "Father Christmas "
santa_7_6.jpg - "With Santa Claus at Melksham "
santa_7_b.jpg - "Santa "
santa_7_a.jpg - "On the train with Father Christmas "
santa_7_c.jpg - "Santa in Swindon "
santa_7_d.jpg - "Santa Claus and a helper "
santa_7_e.jpg - "Santa at Melksham "
santa_7_f.jpg - "with Santa on the train "
xdecortrain.jpg - "Santa on the train to Melksham "
xdecorsanta.jpg - "Santa Claus "
san09.jpg - "Santa "
grainsanta.jpg - "Grainy Santa "



Training sample © 2021, WELL HOUSE CONSULTANTS LTD
This is http://www.wellho.net/demo/ppq.php
See source code here • More examples - same topic here
Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
Phone: +44 (0) 1225 708 225 • EMAIL: info@wellho.net • WEB: http://www.wellho.net