InfoVis 2013
1.0
Information Visualisation project - "Mapping Text with Phrase Nets"
Main Page
Namespaces
Classes
Files
File List
File Members
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 */
10
class
RegexPhraseMatcher
11
{
12
public
:
13
RegexPhraseMatcher
();
14
~RegexPhraseMatcher
();
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
src
RegexPhraseMatcher.h
Generated on Wed Jun 12 2013 00:11:42 for InfoVis 2013 by
1.8.4