summary refs log tree commit diff stats
path: root/composite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'composite.cpp')
-rw-r--r--composite.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/composite.cpp b/composite.cpp index 891f179..bac075c 100644 --- a/composite.cpp +++ b/composite.cpp
@@ -23,7 +23,10 @@ int main(int argc, char** argv)
23 { 23 {
24 std::cout << "Generating..." << std::endl; 24 std::cout << "Generating..." << std::endl;
25 auto nq = database.nouns().with_stress({{true, false, false}}).random().limit(1).run().front(); 25 auto nq = database.nouns().with_stress({{true, false, false}}).random().limit(1).run().front();
26 std::string output = "full metal " + nq.singular_form(); 26 std::string noun = nq.singular_form();
27 noun[0] = std::toupper(noun[0]);
28
29 std::string output = "Full Metal " + noun;
27 std::cout << output << std::endl; 30 std::cout << output << std::endl;
28 31
29 twitter::tweet sent; 32 twitter::tweet sent;