diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-03-19 14:40:21 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2016-03-19 14:40:21 -0400 |
commit | 02c187fd3141203024b6f359ec714c0b804583c0 (patch) | |
tree | a3944e5ed54bf1e6faea276346ac773f7623079b /lib/noun.h | |
parent | 909852431ef20a6afb6716ff40577f1be806e0ca (diff) | |
download | verbly-02c187fd3141203024b6f359ec714c0b804583c0.tar.gz verbly-02c187fd3141203024b6f359ec714c0b804583c0.tar.bz2 verbly-02c187fd3141203024b6f359ec714c0b804583c0.zip |
Nouns with any uppercase letters are now considered proper
Diffstat (limited to 'lib/noun.h')
-rw-r--r-- | lib/noun.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/noun.h b/lib/noun.h index da76866..fbc2f9e 100644 --- a/lib/noun.h +++ b/lib/noun.h | |||
@@ -79,6 +79,8 @@ namespace verbly { | |||
79 | 79 | ||
80 | noun_query& is_proper(bool _arg); | 80 | noun_query& is_proper(bool _arg); |
81 | noun_query& is_not_proper(bool _arg); | 81 | noun_query& is_not_proper(bool _arg); |
82 | |||
83 | noun_query& is_instance(bool _arg); | ||
82 | noun_query& instance_of(const noun& _noun); | 84 | noun_query& instance_of(const noun& _noun); |
83 | noun_query& not_instance_of(const noun& _noun); | 85 | noun_query& not_instance_of(const noun& _noun); |
84 | 86 | ||
@@ -149,6 +151,8 @@ namespace verbly { | |||
149 | 151 | ||
150 | bool _is_proper = false; | 152 | bool _is_proper = false; |
151 | bool _is_not_proper = false; | 153 | bool _is_not_proper = false; |
154 | |||
155 | bool _is_instance = false; | ||
152 | std::list<noun> _instance_of; | 156 | std::list<noun> _instance_of; |
153 | std::list<noun> _not_instance_of; | 157 | std::list<noun> _not_instance_of; |
154 | 158 | ||