#ifndef _LINKGENERATOR_CLASS_ #define _LINKGENERATOR_CLASS_ #include "dependencygenerator.h" #include #include extern "C" { #include "link-includes.h" } class LinkGenerator: public DependencyGenerator { public: LinkGenerator(void); ~LinkGenerator(void); DependencyStructure Generate(string filename); DependencyStructure Generate(vector article); private: DependencyStructure s; vector a; string linkLabelBeginning(string label); bool GetNextSentence(int &position, int &starting, string &sentence, vector &location); bool nextSentence(string &article, string &sentence); void LinksToDependencies(string sentence, Dictionary dict, Parse_Options opts); string linkLabelDescription(string label); ofstream dependencies; }; #endif