LOHAI: Providing a baseline for
         KOS based
     automatic indexing

                Kai Eckert
      Mannheim University Library, Germany
         eckert@bib.uni-mannheim.de

               First workshop on
      Semantic Digital Archives (SDA 2011),
              Sep 29th 2011, Berlin
Motivation

●   General KOS based indexer for various (even
    serious) purposes:
       –   Document exploration
       –   Thesaurus examination
       –   Automatic Indexing
       –   ...
●   No free and open source implementation was
    available.
●   LOHAI: Low Hanging Fruits Automatic Indexer
Design Principles

●   Simplicity over quality
       –   Easy to use
       –   Easy to understand
       –   Easy to improve
●   Knowledge-poor and without any training
       –   Must not rely on any additional sources
       –   No training step, to be usable in a setting
            where no preindexed documents are
            available.
Indexing Pipeline
Indexing Pipeline




              Covered in this talk.
Required Disambiguation
●   Compound terms:
       –   “insur” >> “insurance”, “insurance market”
●   Overstemming:
       –   „nation“ >> “nationalism”, “nationality”, “nation”
●   Homonyms:
       –   “bank”: the financial institution
       –   “bank”: a raised portion of seabed or sloping
             ground along the edge of a stream, river, or lake
Compound Term Detection



Money   Insur   Market   Cross-Concordance
Compound Term Detection
        Ambigous


Money
Money Transfer
...

   Money           Insur   Market   Cross-Concordance
Compound Term Detection
                         Ambigous


Money            Insurance
Money Transfer   Insurance Market
...              ...

   Money              Insur         Market   Cross-Concordance
Compound Term Detection
                                           Ambigous


Money            Insurance          Market
Money Transfer   Insurance Market   Insurance Market
...              ...                ...

   Money              Insur             Market         Cross-Concordance
Compound Term Detection
                                                               Unique: STOP


Money            Insurance          Market             Cross-Concordance
Money Transfer   Insurance Market   Insurance Market
...              ...                ...

   Money              Insur             Market         Cross-Concordance
Compound Term Detection

Money            Insurance          Market             Cross-Concordance
Money Transfer   Insurance Market   Insurance Market
...              ...                ...

   Money              Insur             Market         Cross-Concordance


                                                       No match



   Money              Insur             Market
Compound Term Detection

Money            Insurance          Market             Cross-Concordance
Money Transfer   Insurance Market   Insurance Market
...              ...                ...

   Money              Insur             Market         Cross-Concordance


                                                       No match



   Money              Insur             Market
Compound Term Detection

Money            Insurance          Market             Cross-Concordance
Money Transfer   Insurance Market   Insurance Market
...              ...                ...

   Money              Insur             Market         Cross-Concordance


                                                       MATCH



   Money              Insur             Market           >> Money
Compound Term Detection

Money            Insurance          Market             Cross-Concordance
Money Transfer   Insurance Market   Insurance Market
...              ...                ...

   Money              Insur             Market         Cross-Concordance




   Money              Insur             Market           >> Money

                                                       MATCH



   Money              Insur             Market           >> Insurance Market
Unstemming
●   Overstemming:
          –   „nation“ >> “nationalism”, “nationality”, “nation”
●   Compare unstemmed terms.
●   If they match:
          –   Assign them.
●   If not:
          –   Continue with Word Sense Disambiguation.
Word Sense Disambiguation

Yarowsky's assumptions:
●   One sense per collocation
       –   Collocated terms are unique for each possible
            sense of a given term.
●   One sense per discourse
       –   Only one sense for a given word is used
            throughout a whole document.
Jaccard Measure

●   Term Environments:
       –   Document: 100 words before and after the
            term occurrence form set W.
       –   KOS: All labels of the concept, its direct
            children, siblings and parents form set C.
●   Jaccard Measure:
                               ∣W ∪C∣
             Jaccard W , C =
                               ∣W ∩C∣
●   Assign one sense per document, based on the
    Jaccard value of all occurrences.
Example Result
Hardin, Russell: Contractarianism: Wistful Thinking
The contract metaphor in political and moral theory is misguided. It is a poor
metaphor both descriptively and normatively, but here I address its normative
problems. Normatively, contractarianism is supposed to give justifications for
political institutions and for moral rules, just as contracting in the law is
supposed to give justification for claims of obligation based on consent or
agreement. This metaphorical association fails for several reasons. First,
actual contracts generally govern prisoner’s dilemma, or exchange, relations;
the so-called social contract governs these and more diverse interactions as
well. Second, agreement, which is the moral basis of contractarianism, is not
right-making per se. Third, a contract in law gives information on what are the
interests of the parties; a hypothetical social contract requires such
knowledge, it does not reveal it. Hence, much of contemporary contractarian
theory is perversely rationalist at its base because it requires prior, rational
derivation of interests or other values. Finally, contractarian moral theory has
the further disadvantage that, unlike contract in the law, its agreements cannot
be connected to relevant motivations to abide by them.
Constitutional Political Economy, 1 (2) 1990: 35-52
Example Result

Manual assignment              LOHAI

●   Constitutional economics   ●   Contract Law (1.21)
●   Influence of government    ●   Contract (0.76)
●   Ethics                     ●   Social contract (0.64)
●   Theory                     ●   Law (0.51)
                               ●   Politics (0.37)
                               ●   Prisoner’s dilemma (0.34)
                               ●   Theory (0.32)
                               ●   Rationalism (0.24)
                               ●   Association (0.23)
                               ●   Exchange (0.20)
                               ●   Knowledge (0.19)
                               ●   Government (0.16)
                               ●   Information (0.12)
Example Result
The contract metaphor in political and moral theory is misguided. It is a
poor metaphor both descriptively and normatively, but here I address
its normative problems. Normatively, contractarianism is supposed to
give justifications for political institutions and for moral rules, just as
contracting in the law is supposed to give justification for claims of
obligation based on consent or agreement. This metaphorical
association fails for several reasons. First, actual contracts generally
govern prisoner’s dilemma, or exchange, relations; the so-called social
contract governs these and more diverse interactions as well. Second,
agreement, which is the moral basis of contractarianism, is not right-
making per se. Third, a contract in law gives information on what are
the interests of the parties; a hypothetical social contract requires such
knowledge, it does not reveal it. Hence, much of contemporary
contractarian theory is perversely rationalist at its base because it
requires prior, rational derivation of interests or other values. Finally,
contractarian moral theory has the further disadvantage that, unlike
contract in the law, its agreements cannot be connected to relevant
motivations to abide by them.
Conclusion
●   Reasonable results without „Black Box“ Effect.
●   Directly usable for new KOS and document
    sets.
●   No training step needed.
●   Low hanging fruits, but a good baseline.
●   ~ 500 LoC in (quite verbose) Java.
●   Easy to adapt and to improve.
●   Free and open source:
        –   https://github.com/kaiec/LOHAI
Thank you.



       Questions/Ideas?

            Kai Eckert
Mannheim University Library, Germany


eckert@bib.uni-mannheim.de

More Related Content

PDF
Original AeFT SwapRent paper written by Ralph Y Liu in 2006
PPTX
ISB540 - Chapter 2
PPTX
Bay' al-'Inah
PPTX
Bay' al-Sarf
PPTX
Guidance, Please! Towards a Framework for RDF-based Constraint Languages.
PDF
Metadata Provenance Tutorial at SWIB 13, Part 1
PDF
The DM2E Data Model and the DM2E Ingestion Infrastructure
PDF
Extending DCAM for Metadata Provenance
Original AeFT SwapRent paper written by Ralph Y Liu in 2006
ISB540 - Chapter 2
Bay' al-'Inah
Bay' al-Sarf
Guidance, Please! Towards a Framework for RDF-based Constraint Languages.
Metadata Provenance Tutorial at SWIB 13, Part 1
The DM2E Data Model and the DM2E Ingestion Infrastructure
Extending DCAM for Metadata Provenance

Viewers also liked (6)

PDF
Linked Data nach dem Hype
PDF
Specialising the EDM for Digitised Manuscript (SWIB13)
PDF
SWIB 2010: Linked Open Projects
PDF
Thesaurusvisualisierung mit ICE-Map und SEMTINEL
PDF
Bibliotheken und Linked Open Data - Erfahrungen und Ideen aus der UB Mannheim
PDF
RDF Application Profiles
Linked Data nach dem Hype
Specialising the EDM for Digitised Manuscript (SWIB13)
SWIB 2010: Linked Open Projects
Thesaurusvisualisierung mit ICE-Map und SEMTINEL
Bibliotheken und Linked Open Data - Erfahrungen und Ideen aus der UB Mannheim
RDF Application Profiles
Ad

More from Kai Eckert (12)

PDF
Judaica link und der FID Jüdische Studien
PDF
Linked Open Citation Database (LOC-DB)
PDF
JudaicaLink: Linked Data in the Jewish Studies FID
PPTX
JudaicaLink: Linked Data from Jewish Encyclopediae
PDF
Towards Interoperable Metadata Provenance
PDF
Linked Open Projects (DCMI Library Community)
PDF
Metadata Provenance
PDF
Linked Open Projects (DGI-Konferenz)
PDF
Linked Open Projects
PDF
Crowdsourcing the Assembly of Concept Hierarchies
PDF
A Unified Approach for Representing Metametadata
PDF
Semantic Web, SKOS und Linked Data
Judaica link und der FID Jüdische Studien
Linked Open Citation Database (LOC-DB)
JudaicaLink: Linked Data in the Jewish Studies FID
JudaicaLink: Linked Data from Jewish Encyclopediae
Towards Interoperable Metadata Provenance
Linked Open Projects (DCMI Library Community)
Metadata Provenance
Linked Open Projects (DGI-Konferenz)
Linked Open Projects
Crowdsourcing the Assembly of Concept Hierarchies
A Unified Approach for Representing Metametadata
Semantic Web, SKOS und Linked Data
Ad

Recently uploaded (20)

PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
PDF
Weekly quiz Compilation Jan -July 25.pdf
PPTX
TNA_Presentation-1-Final(SAVE)) (1).pptx
PPTX
Virtual and Augmented Reality in Current Scenario
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
Hazard Identification & Risk Assessment .pdf
PDF
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
PPTX
Computer Architecture Input Output Memory.pptx
PPTX
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
PPTX
20th Century Theater, Methods, History.pptx
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
AI-driven educational solutions for real-life interventions in the Philippine...
PDF
Empowerment Technology for Senior High School Guide
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
PDF
advance database management system book.pdf
PPTX
B.Sc. DS Unit 2 Software Engineering.pptx
PDF
Environmental Education MCQ BD2EE - Share Source.pdf
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 2).pdf
Weekly quiz Compilation Jan -July 25.pdf
TNA_Presentation-1-Final(SAVE)) (1).pptx
Virtual and Augmented Reality in Current Scenario
Share_Module_2_Power_conflict_and_negotiation.pptx
Hazard Identification & Risk Assessment .pdf
CISA (Certified Information Systems Auditor) Domain-Wise Summary.pdf
Computer Architecture Input Output Memory.pptx
Chinmaya Tiranga Azadi Quiz (Class 7-8 )
20th Century Theater, Methods, History.pptx
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
AI-driven educational solutions for real-life interventions in the Philippine...
Empowerment Technology for Senior High School Guide
History, Philosophy and sociology of education (1).pptx
Vision Prelims GS PYQ Analysis 2011-2022 www.upscpdf.com.pdf
advance database management system book.pdf
B.Sc. DS Unit 2 Software Engineering.pptx
Environmental Education MCQ BD2EE - Share Source.pdf
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)

LOHAI: Providing a baseline for KOS based automatic indexing

  • 1. LOHAI: Providing a baseline for KOS based automatic indexing Kai Eckert Mannheim University Library, Germany eckert@bib.uni-mannheim.de First workshop on Semantic Digital Archives (SDA 2011), Sep 29th 2011, Berlin
  • 2. Motivation ● General KOS based indexer for various (even serious) purposes: – Document exploration – Thesaurus examination – Automatic Indexing – ... ● No free and open source implementation was available. ● LOHAI: Low Hanging Fruits Automatic Indexer
  • 3. Design Principles ● Simplicity over quality – Easy to use – Easy to understand – Easy to improve ● Knowledge-poor and without any training – Must not rely on any additional sources – No training step, to be usable in a setting where no preindexed documents are available.
  • 5. Indexing Pipeline Covered in this talk.
  • 6. Required Disambiguation ● Compound terms: – “insur” >> “insurance”, “insurance market” ● Overstemming: – „nation“ >> “nationalism”, “nationality”, “nation” ● Homonyms: – “bank”: the financial institution – “bank”: a raised portion of seabed or sloping ground along the edge of a stream, river, or lake
  • 7. Compound Term Detection Money Insur Market Cross-Concordance
  • 8. Compound Term Detection Ambigous Money Money Transfer ... Money Insur Market Cross-Concordance
  • 9. Compound Term Detection Ambigous Money Insurance Money Transfer Insurance Market ... ... Money Insur Market Cross-Concordance
  • 10. Compound Term Detection Ambigous Money Insurance Market Money Transfer Insurance Market Insurance Market ... ... ... Money Insur Market Cross-Concordance
  • 11. Compound Term Detection Unique: STOP Money Insurance Market Cross-Concordance Money Transfer Insurance Market Insurance Market ... ... ... Money Insur Market Cross-Concordance
  • 12. Compound Term Detection Money Insurance Market Cross-Concordance Money Transfer Insurance Market Insurance Market ... ... ... Money Insur Market Cross-Concordance No match Money Insur Market
  • 13. Compound Term Detection Money Insurance Market Cross-Concordance Money Transfer Insurance Market Insurance Market ... ... ... Money Insur Market Cross-Concordance No match Money Insur Market
  • 14. Compound Term Detection Money Insurance Market Cross-Concordance Money Transfer Insurance Market Insurance Market ... ... ... Money Insur Market Cross-Concordance MATCH Money Insur Market >> Money
  • 15. Compound Term Detection Money Insurance Market Cross-Concordance Money Transfer Insurance Market Insurance Market ... ... ... Money Insur Market Cross-Concordance Money Insur Market >> Money MATCH Money Insur Market >> Insurance Market
  • 16. Unstemming ● Overstemming: – „nation“ >> “nationalism”, “nationality”, “nation” ● Compare unstemmed terms. ● If they match: – Assign them. ● If not: – Continue with Word Sense Disambiguation.
  • 17. Word Sense Disambiguation Yarowsky's assumptions: ● One sense per collocation – Collocated terms are unique for each possible sense of a given term. ● One sense per discourse – Only one sense for a given word is used throughout a whole document.
  • 18. Jaccard Measure ● Term Environments: – Document: 100 words before and after the term occurrence form set W. – KOS: All labels of the concept, its direct children, siblings and parents form set C. ● Jaccard Measure: ∣W ∪C∣ Jaccard W , C = ∣W ∩C∣ ● Assign one sense per document, based on the Jaccard value of all occurrences.
  • 19. Example Result Hardin, Russell: Contractarianism: Wistful Thinking The contract metaphor in political and moral theory is misguided. It is a poor metaphor both descriptively and normatively, but here I address its normative problems. Normatively, contractarianism is supposed to give justifications for political institutions and for moral rules, just as contracting in the law is supposed to give justification for claims of obligation based on consent or agreement. This metaphorical association fails for several reasons. First, actual contracts generally govern prisoner’s dilemma, or exchange, relations; the so-called social contract governs these and more diverse interactions as well. Second, agreement, which is the moral basis of contractarianism, is not right-making per se. Third, a contract in law gives information on what are the interests of the parties; a hypothetical social contract requires such knowledge, it does not reveal it. Hence, much of contemporary contractarian theory is perversely rationalist at its base because it requires prior, rational derivation of interests or other values. Finally, contractarian moral theory has the further disadvantage that, unlike contract in the law, its agreements cannot be connected to relevant motivations to abide by them. Constitutional Political Economy, 1 (2) 1990: 35-52
  • 20. Example Result Manual assignment LOHAI ● Constitutional economics ● Contract Law (1.21) ● Influence of government ● Contract (0.76) ● Ethics ● Social contract (0.64) ● Theory ● Law (0.51) ● Politics (0.37) ● Prisoner’s dilemma (0.34) ● Theory (0.32) ● Rationalism (0.24) ● Association (0.23) ● Exchange (0.20) ● Knowledge (0.19) ● Government (0.16) ● Information (0.12)
  • 21. Example Result The contract metaphor in political and moral theory is misguided. It is a poor metaphor both descriptively and normatively, but here I address its normative problems. Normatively, contractarianism is supposed to give justifications for political institutions and for moral rules, just as contracting in the law is supposed to give justification for claims of obligation based on consent or agreement. This metaphorical association fails for several reasons. First, actual contracts generally govern prisoner’s dilemma, or exchange, relations; the so-called social contract governs these and more diverse interactions as well. Second, agreement, which is the moral basis of contractarianism, is not right- making per se. Third, a contract in law gives information on what are the interests of the parties; a hypothetical social contract requires such knowledge, it does not reveal it. Hence, much of contemporary contractarian theory is perversely rationalist at its base because it requires prior, rational derivation of interests or other values. Finally, contractarian moral theory has the further disadvantage that, unlike contract in the law, its agreements cannot be connected to relevant motivations to abide by them.
  • 22. Conclusion ● Reasonable results without „Black Box“ Effect. ● Directly usable for new KOS and document sets. ● No training step needed. ● Low hanging fruits, but a good baseline. ● ~ 500 LoC in (quite verbose) Java. ● Easy to adapt and to improve. ● Free and open source: – https://github.com/kaiec/LOHAI
  • 23. Thank you. Questions/Ideas? Kai Eckert Mannheim University Library, Germany eckert@bib.uni-mannheim.de