Commit Graph

6 Commits

Author SHA1 Message Date
Zorchenhimer 965a84725f
Add some more sentence types; Add pronouns
Added pronouns to the data.  These act similar to the other types of
words regarding getting random ones from the database.

More sentence types have been added, however they are all in their own
functions for now.  Eventually, these functions will be replaced by
format strings in the database and will not be hard coded.
2021-02-14 20:35:25 -05:00
Zorchenhimer 72298d6e8e
Implement generating compound nouns
Implemented generating compound nouns as well as filtering for the type
of noun when getting a list of noun IDs.
2021-02-14 18:33:13 -05:00
Zorchenhimer 8fd9d71625
Add toCap() to capitalize the first letter of a string 2021-02-14 18:31:56 -05:00
Zorchenhimer ef8f4176b1
Rename Random() to Hack() 2021-02-14 16:49:11 -05:00
Zorchenhimer 64b7ce434f Add verb conjugation
Added conjugation for verbs.  A single verb now gets appended onto a
noun phrase.
2021-02-13 20:22:55 -05:00
Zorchenhimer eeba54808b Reorganize things a bit
Removed the server object and moved the business layer into the main
namespace.  This turns the main namespace into a library instead of a
server implementation.  All of the http specific stuff (aside from
everything in frontend/) has been moved to the server commmand utility
in cmd/server.go.
2021-02-13 11:52:59 -05:00