tcpflow  1.6.1
About: tcpflow is a TCP/IP packet demultiplexer that captures data transmitted as part of TCP connections (flows), and stores the data in a way that is convenient for protocol analysis and debugging.
  Fossies Dox: tcpflow-1.6.1.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

word_and_context_list.h File Reference
#include "beregex.h"
#include <algorithm>
#include <set>
#include <map>
Include dependency graph for word_and_context_list.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  context
class  word_and_context_list


std::ostream & operator<< (std::ostream &os, const class context &c)
bool operator== (const class context &a, const class context &b)

Detailed Description


A re-implementation of the basic stop list, regular expression stop_list, and context-sensitive stop list.

Method: Each entry in the stop list can be represented as:

  • a feature that is stopped, with optional context.
  • a regular expression

Context is represented as a std::string before the feature and a std::string after.

The stop list contains is a map of features that are stopped. For each feature, there may be no context or a list of context. If there is no context and the feature is in the list,

Definition in file word_and_context_list.h.