- Main Page
- Namespaces
- Classes
- Files

# proto/Source/persistent.h

Go to the documentation of this file.

    00001
    00014 #ifndef _PERSISTENT_H
    00015 #define _PERSISTENT_H
    00016
    00017 #include <map>
    00018
    00019 // Some base types needed.
    00020 #include "config.h"
    00021 // Morphologic and context filter
    00022 #include "filter.h"
    00023 // N-gram store
    00024 #include "ngrams.h"
    00025 // Overall stats
    00026 #include "stats.h"
    00027 // Strings store
    00028 #include "strings.h"
    00029
    00030 namespace ace {
    00031
    00034 typedef std::map<std::string, Filter::Stats> morphologic_filter_file_stats_t;
    00035
    00039 namespace persistent {
    00042 extern StringStore<string_index_t> lemmas;
    00045 extern StringStore<tag_index_t> tags;
    00048 extern NGramStore ngrams;
    00051 extern MultiRulesFilter morphologic_filter;
    00054 extern UniRulesFilter context_filter;
    00057 extern stats_t overall_stats;
    00060 extern morphologic_filter_file_stats_t morphologic_filter_file_stats;
    00061
    00062 } // namespace persistent
    00063
    00064 } // namespace ace
    00065
    00066 #endif