1 #ifndef COLIBRIINTERFACE_H
2 #define COLIBRIINTERFACE_H
33 virtual size_t size()
const =0;
81 virtual unsigned int types() =0;
87 virtual unsigned int tokens()
const=0;
virtual int minlength() const =0
virtual double frequency(const Pattern &)=0
Definition: pattern.h:357
Pattern class, represents a pattern (ngram, skipgram or flexgram). Encoded in a memory-saving fashion...
Definition: pattern.h:75
virtual size_t size() const =0
virtual bool has(const Pattern &) const =0
virtual int maxlength() const =0
Basic read-only interface for pattern models, abstract base class.
Definition: interface.h:39
Limited virtual interface to pattern stores.
Definition: interface.h:20
virtual int getmodelversion() const =0
virtual unsigned int tokens() const =0
virtual int getmodeltype() const =0
virtual unsigned int types()=0
virtual unsigned int occurrencecount(const Pattern &pattern)=0
virtual PatternStoreInterface * getstoreinterface()
Definition: interface.h:89