diff options
-rw-r--r-- | nancy.cpp | 4 | ||||
m--------- | vendor/verbly | 0 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nancy.cpp b/nancy.cpp index 523db57..f5aa9f6 100644 --- a/nancy.cpp +++ b/nancy.cpp | |||
@@ -98,7 +98,7 @@ int main(int argc, char** argv) | |||
98 | { | 98 | { |
99 | verbly::word adj = database.words(verbly::notion::partOfSpeech == verbly::part_of_speech::adjective).first(); | 99 | verbly::word adj = database.words(verbly::notion::partOfSpeech == verbly::part_of_speech::adjective).first(); |
100 | 100 | ||
101 | form.replace(i, 5, capitalize(adj.getBaseForm())); | 101 | form.replace(i, 5, capitalize(adj.getBaseForm().getText())); |
102 | } | 102 | } |
103 | 103 | ||
104 | // Nouns | 104 | // Nouns |
@@ -110,7 +110,7 @@ int main(int argc, char** argv) | |||
110 | && !(verbly::word::usageDomains %= (verbly::notion::wnid == 106718862)) // Blacklist ethnic slurs | 110 | && !(verbly::word::usageDomains %= (verbly::notion::wnid == 106718862)) // Blacklist ethnic slurs |
111 | ).first(); | 111 | ).first(); |
112 | 112 | ||
113 | form.replace(i, 6, capitalize(n.getBaseForm())); | 113 | form.replace(i, 6, capitalize(n.getBaseForm().getText())); |
114 | } | 114 | } |
115 | 115 | ||
116 | if (form.size() > 140) | 116 | if (form.size() > 140) |
diff --git a/vendor/verbly b/vendor/verbly | |||
Subproject a3a033c730a2eb4242076f5b34823190aa441cd | Subproject f625e90a0721483f7f44b94b9bb57cc9d59565e | ||