Colibri Core
IndexedPatternModel< MapType, PatternType > Member List

This is the complete list of members for IndexedPatternModel< MapType, PatternType >, including all inherited members.

add(const Pattern &pattern, IndexedData *value, const IndexReference &ref)IndexedPatternModel< MapType, PatternType >inlinevirtual
add(const PatternPointer &patternpointer, IndexedData *value, const IndexReference &ref)IndexedPatternModel< MapType, PatternType >inlinevirtual
PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >::add(const PatternPointer &patternpointer, const IndexReference &ref)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
cache_categoriesPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >protected
cache_grouptotalPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >protected
cache_grouptotalpatternsPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >protected
cache_grouptotaltokensPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >protected
cache_grouptotalwordtypesPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >protected
cache_nPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >protected
computecooc(std::map< PatternPointer, t_relationmap > &coocmap, int threshold, bool right=true, bool left=true)IndexedPatternModel< MapType, PatternType >inline
computecoveragestats(int category=0, int n=0)IndexedPatternModel< MapType, PatternType >inlinevirtual
computeflexgrams_fromcooc(double threshold)IndexedPatternModel< MapType, PatternType >inline
PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >::computeflexgrams_fromcooc()PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
computeflexgrams_fromskipgrams()IndexedPatternModel< MapType, PatternType >inlinevirtual
computenpmi(std::map< PatternPointer, t_relationmap_double > &coocmap, double threshold, bool right=true, bool left=true)IndexedPatternModel< MapType, PatternType >inline
computeskipgrams(const PatternPointer &pattern, int mintokens=2, const IndexReference *singleref=NULL, const IndexedData *multiplerefs=NULL, PatternModelInterface *constrainbymodel=NULL, std::vector< PatternPointer > *targetcontainer=NULL, const bool exhaustive=false, const int maxskips=3, const bool DEBUG=false)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
computeskipgrams(const PatternPointer &pattern, PatternModelOptions &options, const IndexReference *singleref=NULL, const IndexedData *multiplerefs=NULL, PatternModelInterface *constrainbymodel=NULL, const bool exhaustive=false)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
computestats()PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
const_iterator typedefPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >
coverage(const Pattern &key)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
coveragecount(const Pattern &key)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
extractset(int minlength=1, int maxlength=1)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
findskipgrams(const PatternPointer &pattern, unsigned int occurrencethreshold=1, int maxskips=3)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
flexgramsize(const Pattern &pattern, IndexReference begin)IndexedPatternModel< MapType, PatternType >inline
frequency(const Pattern &pattern)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
gapmasksPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >protected
getcooc(const PatternPointer &pattern, unsigned int occurrencethreshold=0, int category=0, unsigned int size=0, bool ordersignificant=false)IndexedPatternModel< MapType, PatternType >inline
getdata(const Pattern &pattern, bool makeifnew=false)IndexedPatternModel< MapType, PatternType >inlinevirtual
getdata(const PatternPointer &pattern, bool makeifnew=false)IndexedPatternModel< MapType, PatternType >inlinevirtual
getinstances(const Pattern &pattern, unsigned int occurrencethreshold=0)IndexedPatternModel< MapType, PatternType >inline
PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >::getinstances(const Pattern &pattern, int=0)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
getinterface()PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
getleftcooc(const PatternPointer &pattern, unsigned int occurrencethreshold=0, int category=0, unsigned int size=0)IndexedPatternModel< MapType, PatternType >inline
getleftneighbours(const PatternPointer &pattern, unsigned int occurrencethreshold=0, int category=0, unsigned int size=0, unsigned int cutoff=0)IndexedPatternModel< MapType, PatternType >inline
PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >::getleftneighbours(const Pattern &pattern, int=0, int=0, int=0, int=0)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
getmodeltype() const IndexedPatternModel< MapType, PatternType >inlinevirtual
getmodelversion() const IndexedPatternModel< MapType, PatternType >inlinevirtual
getnpmi(const Pattern &pattern, double threshold)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
getpatternfromtoken(IndexReference ref)IndexedPatternModel< MapType, PatternType >inline
getpatterns(const Pattern &pattern)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
getreverseindex(const IndexReference ref, int occurrencecount=0, int category=0, unsigned int size=0)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
getreverseindex_bysentence(int sentence)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
getreverseindex_left(const IndexReference ref)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
getreverseindex_right(const IndexReference ref)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
getrightcooc(const PatternPointer &pattern, unsigned int occurrencethreshold=0, int category=0, unsigned int size=0, IndexedData *matches=NULL)IndexedPatternModel< MapType, PatternType >inline
getrightneighbours(const PatternPointer &pattern, unsigned int occurrencethreshold=0, int category=0, unsigned int size=0, unsigned int cutoff=0)IndexedPatternModel< MapType, PatternType >inline
PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >::getrightneighbours(const Pattern &pattern, int=0, int=0, int=0, int=0)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
getskipcontent(const PatternPointer &pattern)IndexedPatternModel< MapType, PatternType >inlinevirtual
getstoreinterface()PatternModelInterfaceinlinevirtual
getstoreinterface()PatternModelInterfaceinlinevirtual
getsubchildren(const PatternPointer &pattern, unsigned int occurrencethreshold=0, int category=0, unsigned int size=0)IndexedPatternModel< MapType, PatternType >inline
PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >::getsubchildren(const Pattern &pattern, int=0, int=0, int=0)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
getsubparents(const PatternPointer &pattern, unsigned int occurrencethreshold=0, int category=0, unsigned int size=0)IndexedPatternModel< MapType, PatternType >inline
PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >::getsubparents(const Pattern &pattern, int=0, int=0, int=0)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
gettemplates(const Pattern &pattern, unsigned int occurrencethreshold=0)IndexedPatternModel< MapType, PatternType >inline
PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >::gettemplates(const Pattern &pattern, int=0)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
has(const Pattern &pattern) constPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
has(const PatternPointer &pattern) constPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
hasskipgramsPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >
histogram(std::map< unsigned int, unsigned int > &hist, unsigned int threshold=0, unsigned int cap=0, int category=0, unsigned int size=0)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
histogram(std::ostream *OUT, unsigned int threshold=0, unsigned int cap=0, int category=0, unsigned int size=0)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
IndexedPatternModel(IndexedCorpus *corpus=NULL)IndexedPatternModel< MapType, PatternType >inline
IndexedPatternModel(std::istream *f, const PatternModelOptions options, PatternModelInterface *constrainmodel=NULL, IndexedCorpus *corpus=NULL)IndexedPatternModel< MapType, PatternType >inline
IndexedPatternModel(const std::string filename, const PatternModelOptions options, PatternModelInterface *constrainmodel=NULL, IndexedCorpus *corpus=NULL)IndexedPatternModel< MapType, PatternType >inline
info(std::ostream *OUT)IndexedPatternModel< MapType, PatternType >inline
iterator typedefPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >
load(std::string &filename, const PatternModelOptions &options, PatternModelInterface *constrainmodel=NULL)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
load(std::istream *f, const PatternModelOptions &options, PatternModelInterface *constrainmodel=NULL)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
maxlength() constPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
maxnPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >protected
minlength() constPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
minnPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >protected
model_typePatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >protected
model_versionPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >protected
npmi(const PatternPointer &key1, const PatternPointer &key2, int jointcount)IndexedPatternModel< MapType, PatternType >inline
occurrencecount(const Pattern &pattern)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
occurrencecount(const PatternPointer &pattern)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
output(std::ostream *)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >
outputcooc(std::ostream *OUT, ClassDecoder &classdecoder, double threshold)IndexedPatternModel< MapType, PatternType >inlinevirtual
outputcooc_npmi(std::ostream *OUT, ClassDecoder &classdecoder, double threshold)IndexedPatternModel< MapType, PatternType >inlinevirtual
outputrelations(const PatternPointer &pattern, t_relationmap &relations, ClassDecoder &classdecoder, std::ostream *OUT, const std::string label="RELATED-TO")IndexedPatternModel< MapType, PatternType >inline
outputrelations(const PatternPointer &pattern, ClassDecoder &classdecoder, std::ostream *OUT, bool outputheader=true)IndexedPatternModel< MapType, PatternType >inline
PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >::outputrelations(const Pattern &pattern, ClassDecoder &classdecoder, std::ostream *OUT)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
PatternModel(IndexedCorpus *corpus=NULL)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
PatternModel(std::istream *f, PatternModelOptions options, PatternModelInterface *constrainmodel=NULL, IndexedCorpus *corpus=NULL)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
PatternModel(const std::string &filename, const PatternModelOptions &options, PatternModelInterface *constrainmodel=NULL, IndexedCorpus *corpus=NULL)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
postread(const PatternModelOptions options)IndexedPatternModel< MapType, PatternType >inlineprotectedvirtual
posttrain(const PatternModelOptions options)IndexedPatternModel< MapType, PatternType >inlineprotectedvirtual
print(std::ostream *out, ClassDecoder &decoder)IndexedPatternModel< MapType, PatternType >inlinevirtual
print(std::ostream *out, ClassDecoder &decoder, const PatternPointer &pattern, bool endline=true)IndexedPatternModel< MapType, PatternType >inline
PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >::print(std::ostream *out, ClassDecoder &decoder, const PatternType &pattern, bool endline=true)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
printmodel(std::ostream *out, ClassDecoder &decoder)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
printpattern(std::ostream *out, ClassDecoder &decoder, const Pattern &pattern, bool endline=true)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
printreverseindex(std::ostream *out, ClassDecoder &decoder)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
prune(int threshold, int _n=0)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
prunebymodel(PatternModel< ValueType2, ValueHandler2, MapType2 > &secondmodel)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
prunenotinset(const std::unordered_set< Pattern > &s, int _n)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
prunerelations(t_relationmap &relations, unsigned int occurrencethreshold)IndexedPatternModel< MapType, PatternType >inline
pruneskipgrams(int threshold, int minskiptypes, int _n=0)IndexedPatternModel< MapType, PatternType >inline
PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >::pruneskipgrams(unsigned int threshold, int minskiptypes=2, int _n=0)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
report(std::ostream *OUT)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
resetstats()PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
reverseindexPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >
reverseindex_internalPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >
size() constPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
test(MapType &target, std::istream *in)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >
tokens() constPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
topthreshold(int amount, int category=0, int size=0)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
totaloccurrencesingroup(int category, int n)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
totalpatternsingroup(int category, int n)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
totaltokensPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >protected
totaltokensingroup(int category, int n)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
totaltypesPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >protected
totalwordtypesingroup(int category, int n)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
train(std::istream *in, PatternModelOptions options, PatternModelInterface *constrainbymodel=NULL, bool continued=false, uint32_t firstsentence=1, bool ignoreerrors=false)IndexedPatternModel< MapType, PatternType >inlinevirtual
train(const std::string &filename, PatternModelOptions options, PatternModelInterface *constrainbymodel=NULL, bool continued=false, uint32_t firstsentence=1, bool ignoreerrors=false)IndexedPatternModel< MapType, PatternType >inlinevirtual
trainskipgrams(PatternModelOptions options, PatternModelInterface *constrainbymodel=NULL)IndexedPatternModel< MapType, PatternType >inlinevirtual
type() constPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
types()PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inlinevirtual
version() constPatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
write(std::ostream *out)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
write(const std::string filename)PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline
~IndexedPatternModel()IndexedPatternModel< MapType, PatternType >inlinevirtual
~PatternModel()PatternModel< IndexedData, IndexedDataHandler, MapType, PatternType >inline