diff options
Diffstat (limited to 'generator/notion.h')
| -rw-r--r-- | generator/notion.h | 8 |
1 files changed, 4 insertions, 4 deletions
| diff --git a/generator/notion.h b/generator/notion.h index cc64c48..6e38497 100644 --- a/generator/notion.h +++ b/generator/notion.h | |||
| @@ -23,7 +23,7 @@ namespace verbly { | |||
| 23 | // Mutators | 23 | // Mutators |
| 24 | 24 | ||
| 25 | void incrementNumOfImages(); | 25 | void incrementNumOfImages(); |
| 26 | 26 | ||
| 27 | void setPrepositionGroups(std::list<std::string> groups); | 27 | void setPrepositionGroups(std::list<std::string> groups); |
| 28 | 28 | ||
| 29 | // Accessors | 29 | // Accessors |
| @@ -37,7 +37,7 @@ namespace verbly { | |||
| 37 | { | 37 | { |
| 38 | return partOfSpeech_; | 38 | return partOfSpeech_; |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | bool hasWnid() const | 41 | bool hasWnid() const |
| 42 | { | 42 | { |
| 43 | return hasWnid_; | 43 | return hasWnid_; |
| @@ -58,12 +58,12 @@ namespace verbly { | |||
| 58 | 58 | ||
| 59 | return numOfImages_; | 59 | return numOfImages_; |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | std::list<std::string> getPrepositionGroups() const | 62 | std::list<std::string> getPrepositionGroups() const |
| 63 | { | 63 | { |
| 64 | // Calling code should always check that the notion is a preposition first. | 64 | // Calling code should always check that the notion is a preposition first. |
| 65 | assert(partOfSpeech_ == part_of_speech::preposition); | 65 | assert(partOfSpeech_ == part_of_speech::preposition); |
| 66 | 66 | ||
| 67 | return prepositionGroups_; | 67 | return prepositionGroups_; |
| 68 | } | 68 | } |
| 69 | 69 | ||
