Colibri Core
PatternModel< ValueType, ValueHandler, MapType, PatternType > Member List

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

add(const PatternPointer &patternpointer, const IndexReference &ref)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
add(const Pattern &pattern, ValueType *value, const IndexReference &ref)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
add(const PatternPointer &pattern, ValueType *value, const IndexReference &ref)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
cache_categoriesPatternModel< ValueType, ValueHandler, MapType, PatternType >protected
cache_grouptotalPatternModel< ValueType, ValueHandler, MapType, PatternType >protected
cache_grouptotalpatternsPatternModel< ValueType, ValueHandler, MapType, PatternType >protected
cache_grouptotaltokensPatternModel< ValueType, ValueHandler, MapType, PatternType >protected
cache_grouptotalwordtypesPatternModel< ValueType, ValueHandler, MapType, PatternType >protected
cache_nPatternModel< ValueType, ValueHandler, MapType, PatternType >protected
computecoveragestats(int category=0, int n=0)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
computeflexgrams_fromcooc()PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
computeflexgrams_fromskipgrams()PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
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< ValueType, ValueHandler, 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< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
computestats()PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
const_iterator typedefPatternModel< ValueType, ValueHandler, MapType, PatternType >
coverage(const Pattern &key)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
coveragecount(const Pattern &key)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
extractset(int minlength=1, int maxlength=1)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
findskipgrams(const PatternPointer &pattern, unsigned int occurrencethreshold=1, int maxskips=3)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
frequency(const Pattern &pattern)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
gapmasksPatternModel< ValueType, ValueHandler, MapType, PatternType >protected
getdata(const Pattern &pattern, bool makeifnew=false)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
getdata(const PatternPointer &pattern, bool makeifnew=false)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
getinstances(const Pattern &pattern, int=0)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
getinterface()PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
getleftneighbours(const Pattern &pattern, int=0, int=0, int=0, int=0)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
getmodeltype() const PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
getmodelversion() const PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
getnpmi(const Pattern &pattern, double threshold)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
getpatterns(const Pattern &pattern)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
getreverseindex(const IndexReference ref, int occurrencecount=0, int category=0, unsigned int size=0)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
getreverseindex_bysentence(int sentence)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
getreverseindex_left(const IndexReference ref)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
getreverseindex_right(const IndexReference ref)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
getrightneighbours(const Pattern &pattern, int=0, int=0, int=0, int=0)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
getskipcontent(const PatternPointer &pattern)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
getstoreinterface()PatternModelInterfaceinlinevirtual
getstoreinterface()PatternModelInterfaceinlinevirtual
getsubchildren(const Pattern &pattern, int=0, int=0, int=0)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
getsubparents(const Pattern &pattern, int=0, int=0, int=0)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
gettemplates(const Pattern &pattern, int=0)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
has(const Pattern &pattern) const PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
has(const PatternPointer &pattern) const PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
hasskipgramsPatternModel< ValueType, ValueHandler, 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< ValueType, ValueHandler, MapType, PatternType >inline
histogram(std::ostream *OUT, unsigned int threshold=0, unsigned int cap=0, int category=0, unsigned int size=0)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
info(std::ostream *OUT)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
iterator typedefPatternModel< ValueType, ValueHandler, MapType, PatternType >
load(std::string &filename, const PatternModelOptions &options, PatternModelInterface *constrainmodel=NULL)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
load(std::istream *f, const PatternModelOptions &options, PatternModelInterface *constrainmodel=NULL)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
maxlength() const PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
maxnPatternModel< ValueType, ValueHandler, MapType, PatternType >protected
minlength() const PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
minnPatternModel< ValueType, ValueHandler, MapType, PatternType >protected
model_typePatternModel< ValueType, ValueHandler, MapType, PatternType >protected
model_versionPatternModel< ValueType, ValueHandler, MapType, PatternType >protected
occurrencecount(const Pattern &pattern)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
occurrencecount(const PatternPointer &pattern)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
output(std::ostream *)PatternModel< ValueType, ValueHandler, MapType, PatternType >
outputcooc(std::ostream *OUT, ClassDecoder &classdecoder, double threshold)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
outputcooc_npmi(std::ostream *OUT, ClassDecoder &classdecoder, double threshold)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
outputrelations(const Pattern &pattern, ClassDecoder &classdecoder, std::ostream *OUT)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
PatternModel(IndexedCorpus *corpus=NULL)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
PatternModel(std::istream *f, PatternModelOptions options, PatternModelInterface *constrainmodel=NULL, IndexedCorpus *corpus=NULL)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
PatternModel(const std::string &filename, const PatternModelOptions &options, PatternModelInterface *constrainmodel=NULL, IndexedCorpus *corpus=NULL)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
postread(const PatternModelOptions options)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlineprotectedvirtual
posttrain(const PatternModelOptions options)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlineprotectedvirtual
print(std::ostream *out, ClassDecoder &decoder)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
print(std::ostream *out, ClassDecoder &decoder, const PatternType &pattern, bool endline=true)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
printmodel(std::ostream *out, ClassDecoder &decoder)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
printpattern(std::ostream *out, ClassDecoder &decoder, const Pattern &pattern, bool endline=true)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
printreverseindex(std::ostream *out, ClassDecoder &decoder)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
prune(int threshold, int _n=0)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
prunebymodel(PatternModel< ValueType2, ValueHandler2, MapType2 > &secondmodel)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
prunenotinset(const std::unordered_set< Pattern > &s, int _n)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
pruneskipgrams(unsigned int threshold, int minskiptypes=2, int _n=0)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
report(std::ostream *OUT)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
resetstats()PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
reverseindexPatternModel< ValueType, ValueHandler, MapType, PatternType >
reverseindex_internalPatternModel< ValueType, ValueHandler, MapType, PatternType >
size() const PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
test(MapType &target, std::istream *in)PatternModel< ValueType, ValueHandler, MapType, PatternType >
tokens() const PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
topthreshold(int amount, int category=0, int size=0)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
totaloccurrencesingroup(int category, int n)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
totalpatternsingroup(int category, int n)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
totaltokensPatternModel< ValueType, ValueHandler, MapType, PatternType >protected
totaltokensingroup(int category, int n)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
totaltypesPatternModel< ValueType, ValueHandler, MapType, PatternType >protected
totalwordtypesingroup(int category, int n)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
train(std::istream *in, PatternModelOptions options, PatternModelInterface *constrainbymodel=NULL, bool continued=false, uint32_t firstsentence=1, bool ignoreerrors=false)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
train(const std::string &filename, PatternModelOptions options, PatternModelInterface *constrainbymodel=NULL, bool continued=false, uint32_t firstsentence=1, bool ignoreerrors=false)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
trainskipgrams(const PatternModelOptions options, PatternModelInterface *constrainbymodel=NULL)PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
type() const PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
types()PatternModel< ValueType, ValueHandler, MapType, PatternType >inlinevirtual
version() const PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
write(std::ostream *out)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
write(const std::string filename)PatternModel< ValueType, ValueHandler, MapType, PatternType >inline
~PatternModel()PatternModel< ValueType, ValueHandler, MapType, PatternType >inline