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] |
The Lemur Project
Last modified: June 21, 2007. 09:14:12 am



