News
Features
The Lemur Toolkit
Indri Search Engine
Lemur Query Log Toolbar
Lemur Wiki
Download
People
Discussion
Archived Forums
Tutorials
Sign Up

 
CMU - Language Technologies Institute
Carnegie Mellon University
CIIR, University of Massachusetts Amherst
University of Massachusetts
 

The Lemur Project is sponsored by the Advanced Research and Development Activity in Information Technology (ARDA) under its Statistical Language Modeling for Information Retrieval Research Program and by the National Science Foundation.


Note: These tutorials are out of date, please see the Lemur Wiki instead.


Lemur Project Tutorials:
Starting Out

Offset Annotations: Retrieval with offset annotations


If you have included your offset annotation fields in your indexing parameters, then retrieval with offset annotations works exactly the same as it would with any field type using the Indri query language.

Using our sample text, if we wanted to search for all documents that contained the word "Lemur" as a proper noun (NNP) and not as a generic noun (NN), we could issue the following query:


  #combine( lemur.NNP )
  

We would expect our search results to include our sample text. We would not expect to see any results from our corpus that might have references to lemurs, as the the animals native to Madagascar (unless, of course, our part-of-speech tagger tagged the word "lemur" in one of these documents as a proper noun).

 


Previous: Indexing a corpus with offset annotations Back to TOC  
[Previous: Indexing a corpus with offset annotations] [Back to TOC]  

 


The Lemur Project The Lemur Project
Last modified: June 21, 2007. 09:14:12 am