Reranker Framework (ReFr)
Reranking framework for structure prediction and discriminative language modeling
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
reranker::StringCanonicalizer Class Reference

A class that stores a canonical version of string objects in a static data structure. More...

#include <string-canonicalizer.H>

Static Public Member Functions

static const string & Get (const string &s)
 Returns the canonical string for the specified string. More...
 
static void Clear ()
 Clears the strings from the internal data structure. More...
 

Detailed Description

A class that stores a canonical version of string objects in a static data structure.

Definition at line 56 of file string-canonicalizer.H.

Member Function Documentation

static void reranker::StringCanonicalizer::Clear ( )
inlinestatic

Clears the strings from the internal data structure.

Definition at line 70 of file string-canonicalizer.H.

static const string& reranker::StringCanonicalizer::Get ( const string &  s)
inlinestatic

Returns the canonical string for the specified string.

Definition at line 59 of file string-canonicalizer.H.


The documentation for this class was generated from the following files: