InfoVis 2013  1.0
Information Visualisation project - "Mapping Text with Phrase Nets"
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
RegexPhraseMatcher.h
Go to the documentation of this file.
1 #ifndef REGEX_PHRASE_MATCHER_H
2 #define REGEX_PHRASE_MATCHER_H
3 
4 #include <string>
5 #include <vector>
6 
7 class NodeGraphManager;
8 
9 /* The RegexPhraseMatcher class is an interface to the RE2 library and splits the text according to the selected phrases into the wanted words */
11 {
12 public:
15 
16  static std::string createRegexConnectionStringFromArray(const std::vector<std::string>& connectionWords);
17 
18  void findAndProcessMatches(const std::string& documentContent, const std::vector<std::string>& connectionWords, NodeGraphManager* nodeGraphManager);
19 private:
20 
21 };
22 
23 #endif