Experiments in
Information Retrieval
and
Document Classification
Kevin C. O'Kane
Professor Emeritus
Computer Science Department
University of Northern Iowa
Cedar Falls, IA 50613
March 28, 2024
The ISR code is now packaged with the Mumps Language code. The Mumps distro (see below) contains the ISR code and a small
subset of the OHSUMED database. A link to the full database is given below.
The OHSU database used in these experiments is now contained in the Mumps distro.
The purpose of this document is to
introduce a collection of programs to be found in the Vector Space
ISR Workbench.
The workbench presently consists of about fifty modular programs
written in Mumps and/or bash
script. These programs implement the basic Vector Space Model for
document classification and retrieval as originally developed by G.
Salton [Salton, 1968, 1983, 1988, 1992] and others. Also included is a
collection of approximately 294,000 medical abstracts for testing and
experiments.
The purpose of this package is to
facilitate teaching, exploration and experimentation with the vector
space model and the development of new algorithms and techniques. The
modular design of the code together with the Mumps multidimensional
database model enable the user to experiment, augment, and measure
various indexing strategies.
Currently, the package contains programs that perform:
- word frequency analysis,
- stop list generation,
- word stemming,
- term weighting,
- synonym detection,
- phrase identification,
- term clustering,
- document clustering,
- document hyper-clustering, and
- several retrieval methods.
The programs build:
- document-term matrix,
- term-document matrix,
- term-term matrix,
- document-document matrix,
- dictionary vectors giving:
- word frequency,
- document frequency,
- Zipf's Law coefficients,
- inverse document frequency weights [Salton 1968] and
- discrimination coefficients [Willet 1985].
There are programs to calculate:
- term phrases,
- term cohesion,
- proximity weighted term similarities,
- term clusters.
- document clusters and
- clusters of document clusters.
The package includes routines to retrieve documents based on:
- simple sequential searches,
- inverted file searches and
- weighted inverted file searches
using document similarity metrics such as Cosine [Salton 1983].
There also indexing routines to organize the documents by:
- controlled vocabularies such as MeSH,
- KWIC/KWOC indices,
- n-grams [Manning 1999] and
- Soundex codes [US National Archives, 2007].
The experimental corpus provided
(details given below) is the OSU Medline collection used at the
National Institute of Standards (NIST) Text Retrieval Conference 9
(TREC-9) [NIST 2000]. Other user provided collections may also be
used if their source text is formatted according to the input model.
Most of the code in these modules is
written in Mumps, a language developed in medicine in the late 1960s
[Barnett 1970, Bowie 1976, O'Kane 2008] which supports a string
handling and a multidimensional database model which is ideally
suited for vector space model implementations. The Mumps modules are
invoked by bash
scripts which control flow of data and multitasking.
The Mumps interpreter software used in
these experiments are available for free download (GPL License) at:
HERE
References
[Salton 1968] Salton, G., Automatic Information Organization and Retrieval, McGraw Hill (New York, 1968).
[Salton 1971] Salton, G, ed.; The SMART Retrieval System, Experiments in Automatic Document Processing, Prentice-Hall (Englewood Cliffs, NJ, 1971).
[Salton 1983] Salton, G.; and McGill, M.J., Introduction to Modern Information Retrieval, McGraw Hill; (New York, 1983).
[Salton 1988] Salton, G., Automatic Text Processing, Addison-Wesley (Reading, 1988).
[Salton 1992] Salton, G., The state of retrieval system evaluation, Information Processing & Management, Vol 28 No 4, pp. 441-449 (1992).
[NIST 2000] National Institute of Standards and Technology, Text Retrieval Conference 9 https://trec.nist.gov/pubs/trec9/t9_proceedings.html
[Willet 1985] Willett, P., An algorithm for calculation of exact term discrimination vales, Information Processing and Management, Vol 21, No. 3, pp 225-232 (1985).
Information Storage and Retrieval Videos
-
Part 1
https://www.youtube.com/watch?v=i-Lvxj6-cAQ
-
Part 2
https://www.youtube.com/watch?v=Xh-bwnKcT3w
-
Part 3
https://www.youtube.com/watch?v=y1e_FZ9A_-M
-
Zipf's Law
https://www.youtube.com/watch?v=omz_a5ydyb0
-
Vector Space Model
https://www.youtube.com/watch?v=5kkismynHlo
-
Vector Space Model Matrices
https://www.youtube.com/watch?v=eiSxFAWRkis
-
Kwic/Kwoc indices, stop lists and stemming
https://www.youtube.com/watch?v=Vhj2ZRCgMDE
-
Reducing the collection to word stems
https://www.youtube.com/watch?v=BWmHJynIQfg
-
Word pruning based on frequency
https://www.youtube.com/watch?v=9mMmL70hPTU
-
Document Term Matrix
https://www.youtube.com/watch?v=zb4fvSY4-U0
-
Global Array Overview
https://www.youtube.com/watch?v=izhH68xXirc
-
The Big Picture
https://www.youtube.com/watch?v=yeI45tOQyYo
-
Term Normailization and Weights
https://www.youtube.com/watch?v=jEDJ3qgmoz0
-
Parallel Processing
https://www.youtube.com/watch?v=nkmAyP6bsyQ
-
Term-Term Matrix Overview
https://www.youtube.com/watch?v=YWEziRZC7g0
-
Term-Term Matrix Calculation
https://www.youtube.com/watch?v=catIUBRHCGM
-
Term-Term Matrix for Full Collection
https://www.youtube.com/watch?v=2FWMsNU-Zng
-
Pruning the Document-Term Matrix
https://www.youtube.com/watch?v=xfWw-V0eotY
-
Inverse Document Frequencies
https://www.youtube.com/watch?v=iHPwftg_PlI
-
Weighting Terms in Documents
https://www.youtube.com/watch?v=2zeqx5MSu3s
-
Building a MeSH Tree
https://www.youtube.com/watch?v=ObUAklaia1Y
-
MeSH Tree Print Programs
https://www.youtube.com/watch?v=x7ZVnYeQROc
-
MeSH Index Program
https://www.youtube.com/watch?v=6w4PpEU9EBM
-
MeSH Titles Program
https://www.youtube.com/watch?v=GA3xneZNHPY
-
Find MeSH Terms and Sub-Terms
https://www.youtube.com/watch?v=3ZOiN5ZF7MQ
|