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