SlideShare une entreprise Scribd logo
1  sur  9
Wrinkles in the data
Dr David King
BL Labs Text Mining Workshop
Thursday 27th November 2014
So far, so conventional
Standard OCR issues
Attelabus
Attelans Attelabüs
AttelabwAttelabtis
… with a twist
æquinoctialis
aequinoctialis
cequiQioctialis
asquinoctialis
sequinoctialis
cequinoctialis
wquinoctialis
… somewhat better
Otiorhynchinæ → Otiorhynchinœ
Alatæ → Alatse
Curculionidæ → Curculionidœ
Attelabinæ → Attelabinae
Pterocolinæ → Pterocolinœ
Allocoryninæ → Allocoryninee
Apioninæ → Apioninœ
Thecesterninæ → Thecesterninae
Otiorhynchinæ → Otiorhynchinre
Attelabinæ → Attelabinae
Pterocolinæ → Pterocolinse
Allocoryninæ → Allocoryninse
Thecesterninæ → Thecesterninse
Apioninae → Apioninae
Otiorhynchinæ → Otiorhynchinae
Otiorhynchinæ → Otiorhynchinae
Curculionidæ → Curculionidœ
Curculioninæ → Curculioninae
Calandrinæ → Calandrinse
Brenthidæ → Brenthidae
Scolytidæ → Scolytidae
Anthribidæ → Anthribidae
Hispidæ → Hispida?
Cassididæ → Cassididae
24 æ rendered as:
11 ae
5 œ
5 se
1 ee
1 re
1 a?
… depending where you are
Sciurus
70 times in body text 68 correct
7 times as isolated word 1 correct
… with a twist
Terms Levenshtein
denticulate → denticulata, denticulatæ 1: 0,0,1
denticulate → bidenticulate 2: 4,0,0
denticulate → reticulate 2: 3,2,0
denticulate → geniculate 2: 2,2,0
… and of course
Tachgs  Tachys
Pioa  Pica
Homa  Homo
Pieris  Pieris
Thank you!
And any questions…
Dr David King
Research Fellow,
Computing and Communications Department,
Faculty of Mathematics, Computing and Technology,
The Open University, MK7 6AA, UK.
mailto: david.king@open.ac.uk
webpage: http://www9.open.ac.uk/mct/people/david.king
tel: +44 (0)1908 652695

Contenu connexe

En vedette

En vedette (8)

Untitled Presentation
Untitled PresentationUntitled Presentation
Untitled Presentation
 
En la luna
En la lunaEn la luna
En la luna
 
CAN HO LEXINGTON RESIDENCE Q2
CAN HO LEXINGTON RESIDENCE Q2CAN HO LEXINGTON RESIDENCE Q2
CAN HO LEXINGTON RESIDENCE Q2
 
Diapositivas isa
Diapositivas isaDiapositivas isa
Diapositivas isa
 
Biciteca tríptico
Biciteca trípticoBiciteca tríptico
Biciteca tríptico
 
Վաղարշապատ
ՎաղարշապատՎաղարշապատ
Վաղարշապատ
 
Visite chez pao
Visite chez paoVisite chez pao
Visite chez pao
 
tutorial-Sirosis hepatis
tutorial-Sirosis hepatistutorial-Sirosis hepatis
tutorial-Sirosis hepatis
 

Dernier

Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...amitlee9823
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...karishmasinghjnh
 
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Pooja Nehwal
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...ZurliaSoop
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...amitlee9823
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramMoniSankarHazra
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...SUHANI PANDEY
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...amitlee9823
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...amitlee9823
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...amitlee9823
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% SecurePooja Nehwal
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx9to5mart
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangaloreamitlee9823
 

Dernier (20)

Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night StandCall Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Hsr Layout ☎ 7737669865 🥵 Book Your One night Stand
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
👉 Amritsar Call Girl 👉📞 6367187148 👉📞 Just📲 Call Ruhi Call Girl Phone No Amri...
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
Thane Call Girls 7091864438 Call Girls in Thane Escort service book now -
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Surabaya ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night StandCall Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Attibele ☎ 7737669865 🥵 Book Your One night Stand
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Capstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics ProgramCapstone Project on IBM Data Analytics Program
Capstone Project on IBM Data Analytics Program
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men  🔝Mathura🔝   Escorts...
➥🔝 7737669865 🔝▻ Mathura Call-girls in Women Seeking Men 🔝Mathura🔝 Escorts...
 
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Thane West Call On 9920725232 With Body to body massage...
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 
hybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptxhybrid Seed Production In Chilli & Capsicum.pptx
hybrid Seed Production In Chilli & Capsicum.pptx
 
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service BangaloreCall Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
Call Girls Begur Just Call 👗 7737669865 👗 Top Class Call Girl Service Bangalore
 

Wrinkles in the_data

  • 1. Wrinkles in the data Dr David King BL Labs Text Mining Workshop Thursday 27th November 2014
  • 2. So far, so conventional
  • 3. Standard OCR issues Attelabus Attelans Attelabüs AttelabwAttelabtis
  • 4. … with a twist æquinoctialis aequinoctialis cequiQioctialis asquinoctialis sequinoctialis cequinoctialis wquinoctialis
  • 5. … somewhat better Otiorhynchinæ → Otiorhynchinœ Alatæ → Alatse Curculionidæ → Curculionidœ Attelabinæ → Attelabinae Pterocolinæ → Pterocolinœ Allocoryninæ → Allocoryninee Apioninæ → Apioninœ Thecesterninæ → Thecesterninae Otiorhynchinæ → Otiorhynchinre Attelabinæ → Attelabinae Pterocolinæ → Pterocolinse Allocoryninæ → Allocoryninse Thecesterninæ → Thecesterninse Apioninae → Apioninae Otiorhynchinæ → Otiorhynchinae Otiorhynchinæ → Otiorhynchinae Curculionidæ → Curculionidœ Curculioninæ → Curculioninae Calandrinæ → Calandrinse Brenthidæ → Brenthidae Scolytidæ → Scolytidae Anthribidæ → Anthribidae Hispidæ → Hispida? Cassididæ → Cassididae 24 æ rendered as: 11 ae 5 œ 5 se 1 ee 1 re 1 a?
  • 6. … depending where you are Sciurus 70 times in body text 68 correct 7 times as isolated word 1 correct
  • 7. … with a twist Terms Levenshtein denticulate → denticulata, denticulatæ 1: 0,0,1 denticulate → bidenticulate 2: 4,0,0 denticulate → reticulate 2: 3,2,0 denticulate → geniculate 2: 2,2,0
  • 8. … and of course Tachgs  Tachys Pioa  Pica Homa  Homo Pieris  Pieris
  • 9. Thank you! And any questions… Dr David King Research Fellow, Computing and Communications Department, Faculty of Mathematics, Computing and Technology, The Open University, MK7 6AA, UK. mailto: david.king@open.ac.uk webpage: http://www9.open.ac.uk/mct/people/david.king tel: +44 (0)1908 652695

Notes de l'éditeur

  1. Being a brief run through of some of the issues arising in my work relating to legacy biodiversity literature over the last five years. The literature is important to today’s researchers because knowing where wild relatives of modern crops might live can inform new field work seeking to enhance the genetic composition of those crops. Similarly, the old literature can provide insights into the habitats and climates of hundred years ago and more, so giving modern climate researchers an extended baseline of data over which to track changes.
  2. Here’s a screenshot of Manchester’s brat, used by me to mark-up some biodiversity literature at a detailed level. Why re-invent the wheel when there are good tools already? One issue not so obvious from here is that names change. Hence, we have to normalise, just as you do with place names that change through time, for example. However, an added wrinkle of historic biodiversity data is that developing tools to identify taxonomic names in modern, born digital literature is one thing, helped by the presence of internationally recognised naming conventions; the really old literature pre-dates the conventions and the old scientists could be really creative in their taxonomic names! Note in line 00, the Dendrececa is an OCR error for Dendreœca. See slide 4 for more about this wrinkle.
  3. We have the conventional issues of identifying names in text, complicated by the absence of a gazetteer to act as a master reference to verify our findings. We’re into fuzzy matching and other techniques to address these issues. We at the OU have produced curation tools to help resolve candidate names, but our ideal would be to automate as much as possible simply because of the volume of text we want to work with. Two post-docs at Plazi marked-up 2,500 pages of hymenoptera related literature over a year using their in-house tool. That’s not tractable when dealing with potentially millions of pages.
  4. The twist is that in these examples we will always have an error. This is an example of a document from the Smithsonian, Washington, who outsourced their digitisation to the Internet Archive, who OCRed the texts using a standard north American English dictionary… and character set, which means it lacks the æ ligature. Hence, we know that every occurrence of the æ ligature in the text will be rendered incorrectly. The same issue causes a real headache when mining biological texts with the mis-recognition of ♂ and ♀.
  5. And even if the document is OCRed using a more appropriate character set, as in this example from the Natural History Museum, London, you have no guarantee that the results are much better! This example is taken from an introductory page in a book about beetles. It lists the families and sub-families to be discussed in the book. Nowadays, the taxonomic rank family is identified in the name by ending with -idae and sub-family with –inae. This old text, however, uses the ligature æ for ae. Of the 24 names on this page, all 24 æ ligatures are incorrect. For completeness, there was one valid use of œ in the source page, and it was rendered correctly by the OCR.
  6. Investigating OCR accuracy further, I examined a text about Central American squirrels of the genus Sciurus. The word was not in the OCR engines dictionary, yet the accuracy rate was very high when the word was located in body text because there were enough accurately identified words for the engine to confidently identify individual characters. Isolated words, usually set in a different font to the body text, however, destroyed the accuracy. The headline from this work seems to be that while humans can read tables of contents and page headers to accurately navigate around a document, computers really need to process the whole text to build up a meaningful index to navigate the content.
  7. However, we cannot simply group words and use them to determine a text’s content. Examples, from ‘denticulate’, which has 11 characters: The first example is of simple OCR errors, the terminal ‘e’ is mis-recognised as an ’a’ or ‘æ’, producing an edit distance score of one. The second example of correct OCR of a similar but distinct word, with an edit distance score of two. The next two examples show words that are not connected. It is happenstance that their common ending suggests they could be clustered based on their distance score of 2. Given these issues in grouping, in this case arising from the peculiarities of taxonomic names, some time ago I began to explore applying Levenshtein distance to parts of words rather than their whole. This is one of many ideas I would love to revisit despite the pretty crazy results you can see here when breaking the words into five character segments beginning, middle and end. This issue relates back to the earlier issue of taxonomic name similarity. See slide 5 with its list of family and sub-family names. Sometimes the same root is used for both taxonomic levels; Curculionidæ and Curculioninæ for example, they are distinct terms.
  8. And to conclude with a few more wrinkles to think about: 1 - the OCR is correct. It has accurately rendered a typo in the original. 2 – there is no genus Pioa, so by reference to say the Catalog of Life we know it is wrong 3 – but here man has become insect, both Homo and its mis-OCRed variant Homa are valid genera so it is more difficult to pick up the mistake 4 – but which one is the butterfly and which the heather, and should I mention that other favourite overloaded name: Bacillus, a genus of stick insect or are we talking about bacteria? Context can assist, whether through collocation or other methods. There are many examples I could cite, such as the cichlids of Lake George; putting Lake Geoirge into a gazetteer I got ten townships in the US and Canada all called Lake George, I did not get the lake in Uganda and its associated metadata. Let’s talk semantic web shall we?  There are so many wonderfully challenging edge cases to explore! Therefore, I suggest that the wrinkles mean we have to look beyond named entity recognition techniques and draw on: concept extraction – I have done work in this area sentiment analysis – not done anything here, but I can see how to apply the techniques and possibly other areas too – but one step at a time!