00001 /*========================================================================== 00002 * Copyright (c) 2004 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 // 00014 // ContextCountGraphExtractor 00015 // 00016 // 5 March 2004 -- tds 00017 // 00018 00019 #ifndef INDRI_CONTEXTCOUNTGRAPHEXTRACTOR_HPP 00020 #define INDRI_CONTEXTCOUNTGRAPHEXTRACTOR_HPP 00021 00022 #include <indri/delete_range.hpp> 00023 namespace indri 00024 { 00025 namespace lang 00026 { 00027 00028 class ContextCountGraphExtractor : public indri::lang::Copier { 00029 private: 00030 std::vector<indri::lang::Node*> _nodes; 00031 00032 public: 00033 ~ContextCountGraphExtractor() { 00034 delete_range( _nodes.begin(), _nodes.end() ); 00035 } 00036 00037 Node* defaultAfter( indri::lang::Node* node ) { 00038 00039 } 00040 00041 Node* after( indri::lang::RawScorerNode* oldNode, indri::lang::RawScorerNode* oldNode ) { 00042 00043 00044 00045 } 00046 }; 00047 00048 } 00049 } 00050 00051 #endif // INDRI_CONTEXTCOUNTGRAPHEXTRACTOR_HPP 00052 00053