ldas-tools-framecpp 3.0.4
Loading...
Searching...
No Matches
DictionaryAnalyser Class Reference
Collaboration diagram for DictionaryAnalyser:

Public Types

typedef unordered_map< std::string, int > stats_type
 
typedef std::map< int, std::set< std::string > > ordered_type
 

Public Member Functions

 DictionaryAnalyser (size_t MinimumWordSize=2)
 
void Add (const std::string &Value)
 
void Analyse ()
 
void Dump (std::ostream &Stream) const
 

Private Attributes

const size_t MINIMUM_WORD_SIZE
 
stats_type stats
 
ordered_type ordered
 

Member Typedef Documentation

◆ ordered_type

std::map< int, std::set< std::string > > DictionaryAnalyser::ordered_type

◆ stats_type

unordered_map< std::string, int > DictionaryAnalyser::stats_type

Constructor & Destructor Documentation

◆ DictionaryAnalyser()

DictionaryAnalyser::DictionaryAnalyser ( size_t MinimumWordSize = 2)

Member Function Documentation

◆ Add()

void DictionaryAnalyser::Add ( const std::string & Value)

◆ Analyse()

void DictionaryAnalyser::Analyse ( )

◆ Dump()

void DictionaryAnalyser::Dump ( std::ostream & Stream) const

Member Data Documentation

◆ MINIMUM_WORD_SIZE

const size_t DictionaryAnalyser::MINIMUM_WORD_SIZE
private

◆ ordered

ordered_type DictionaryAnalyser::ordered
private

◆ stats

stats_type DictionaryAnalyser::stats
private

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