00001 /*========================================================================== 00002 * Copyright (c) 2005 University of Massachusetts. All Rights Reserved. 00003 * 00004 * Use of the Lemur Toolkit for Language Modeling and Information Retrieval 00005 * is subject to the terms of the software license set forth in the LICENSE 00006 * file included with this software, and also available at 00007 * http://www.lemurproject.org/license.html 00008 * 00009 *========================================================================== 00010 */ 00011 00012 // 00013 // AttributeValuePair 00014 // 00015 // 15 September 2005 -- mwb 00016 // 00017 00018 #ifndef INDRI_ATTRIBUTEVALUEPAIR_HPP 00019 #define INDRI_ATTRIBUTEVALUEPAIR_HPP 00020 namespace indri { 00021 namespace parse { 00022 00023 struct AttributeValuePair { 00024 char* attribute; 00025 char* value; 00026 00027 // byte extent of the value string w/r/t original text; values 00028 // set within TextTokenizer. 00029 unsigned int begin; 00030 unsigned int end; 00031 }; 00032 00033 } 00034 } 00035 00036 #endif // INDRI_ATTRIBUTEVALUEPAIR_HPP