Colibri Core
Classes | Typedefs
patternstore.h File Reference

Contains lower-level containers for patterns. More...

#include <string>
#include <iostream>
#include <ostream>
#include <istream>
#include <unordered_map>
#include <vector>
#include <set>
#include <map>
#include <array>
#include <unordered_set>
#include <iomanip>
#include <exception>
#include <algorithm>
#include "common.h"
#include "pattern.h"
#include "datatypes.h"
#include "classdecoder.h"
#include "classencoder.h"

Go to the source code of this file.

Classes

class  IndexedCorpus
 Class for reading an entire (class encoded) corpus into memory. It provides a reverse index by IndexReference. The reverse index stores positions and unigrams. More...
 
class  IndexedCorpus::iterator
 
class  PatternStoreInterface
 Limited virtual interface to pattern stores. More...
 
class  PatternStore< ContainerType, ReadWriteSizeType, PatternType >
 Abstract Pattern store class, not to be instantiated directly. More...
 
class  PatternMapStore< ContainerType, ValueType, ValueHandler, ReadWriteSizeType, PatternType >
 Abstract class for map-like pattern stores, do not instantiate directly. More...
 
class  PatternSet< ReadWriteSizeType >
 A pattern store in the form of an unordered set (i.e, no duplicates). Stores only patterns, no values. More...
 
class  HashOrderedPatternSet< ReadWriteSizeType >
 A pattern store in the form of an ordered set (i.e, no duplicates). Stores only patterns, no values. More...
 
class  PatternMap< ValueType, ValueHandler, ReadWriteSizeType >
 A pattern map storing patterns and their values in a hash map (unordered_map). More...
 
class  PatternPointerMap< ValueType, ValueHandler, ReadWriteSizeType >
 
class  OrderedPatternPointerMap< ValueType, ValueHandler, ReadWriteSizeType >
 
class  HashOrderedPatternMap< ValueType, ValueHandler, ReadWriteSizeType >
 
class  ArrayValueHandler< T, N, countindex >
 
class  PatternStoreValueHandler< PatternStoreType >
 A complex value handler for values that are themselves pattern stores (allows building nested maps). More...
 
class  AlignedPatternMap< ValueType, ValueHandler, NestedSizeType >
 A nested pattern map, useful for storing patterns that map to other patterns, which in turn map to values. An example is phrase-translation tables in Machine Translation. More...
 

Typedefs

typedef std::pair< IndexReference, PatternPointerIndexPattern
 
typedef std::unordered_set< Patternt_patternset
 
typedef std::set< Patternt_hashorderedpatternset
 

Detailed Description

Contains lower-level containers for patterns.

Author
Maarten van Gompel (proycon) proyc.nosp@m.on@a.nosp@m.napro.nosp@m.y.nl

LICENSE

Licensed under GPLv3

DESCRIPTION

Contains lower-level containers for patterns

Typedef Documentation

typedef std::set<Pattern> t_hashorderedpatternset
typedef std::unordered_set<Pattern> t_patternset