|
ModErn Text Analysis
META Enumerates Textual Applications
|
Implementation-detail collector. More...
Public Member Functions | |
| basic_collector (Analyzer *analyzer, observation *obs) | |
| Creates the collector with the given analyzer. More... | |
Public Member Functions inherited from meta::sequence::sequence_analyzer::collector | |
| collector (observation *obs) | |
| Constructs the collector over a given observation. More... | |
| ~collector () | |
| Writes all analyzed information out to the observation. | |
| virtual void | add (const std::string &feat, double amount) |
| Adds a new feature to this observation. More... | |
Protected Member Functions | |
| virtual feature_id | feature (const std::string &feat) |
Protected Attributes | |
| Analyzer * | analyzer_ |
| back-pointer to the analyzer for this collector | |
Protected Attributes inherited from meta::sequence::sequence_analyzer::collector | |
| observation * | obs_ |
| the observation we are collecting data for | |
| observation::feature_vector | feats_ |
| the feature vector that will be placed into the observation | |
Implementation-detail collector.
|
inline |
Creates the collector with the given analyzer.
| analyzer | The analyzer for this collector |
| obs | The observation to be analyzed |
|
inlineprotectedvirtual |
| feat | The feature to obtain an id for |
Implements meta::sequence::sequence_analyzer::collector.
1.8.9.1