about summary refs log tree commit diff stats
path: root/LICENSE
blob: d9a10e5e9a5c377b80d97cea9b6030ca7cd0aa94 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef LEMMA_H_D73105A7
#define LEMMA_H_D73105A7

#include <string>
s="w"> "../lib/enums.h" namespace verbly { namespace generator { class database; class form; class lemma { public: // Constructors explicit lemma(const form& baseForm); // Mutators void addInflection(inflection type, const form& f); // Accessors int getId() const { return id_; } const form& getBaseForm() const { return baseForm_; } std::set<const form*> getInflections(inflection type) const; private: static int nextId_; const int id_; const form& baseForm_; std::map<inflection, std::set<const form*>> inflections_; }; // Serializer database& operator<<(database& db, const lemma& arg); }; }; #endif /* end of include guard: LEMMA_H_D73105A7 */