-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWord.h
More file actions
34 lines (23 loc) · 796 Bytes
/
Copy pathWord.h
File metadata and controls
34 lines (23 loc) · 796 Bytes
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
34
#pragma once
#include <string>
#include <vector>
class Word
{
public:
std::string verb,word,type,root;
std::vector<std::string> type_descriptor,num,tense;
Word()
{
verb = "NULL";
word = "NULL";
type = "NULL";
root = "NULL";
}
void newNoun(std::string word, std::vector<std::string> num);
void newName(std::string word, std::vector<std::string> num);
void newVerb(std::string word, std::string verb, std::vector<std::string> num, std::vector<std::string> tense, std::vector<std::string> type_descriptor);
void newArticle(std::string word, std::vector<std::string> num, std::string root);
void newPreposition(std::string word);
void newPronoun(std::string word, std::vector<std::string> num);
void newAdjective(std::string word);
};