blob: dc6fac8332d981aa337d7bec899f97c57d94dfd1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef WORD_H_8FC89498
#define WORD_H_8FC89498
namespace verbly {
class word {
protected:
const data* _data;
int _id;
bool _valid = false;
std::list<std::list<std::string>> pronunciations;
word();
word(const data& _data, int _id);
friend class adjective_query;
friend class verb_query;
friend class noun_query;
friend class adverb_query;
friend class frame_query;
friend class preposition_query;
public:
virtual std::string base_form() const = 0;
std::list<std::string> rhyme_phonemes() const;
bool starts_with_vowel_sound() const;
};
};
#endif /* end of include guard: WORD_H_8FC89498 */
|