Commit Graph

10 Commits

Author SHA1 Message Date
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 9efa2cbe8c
Fix makefile 2021-02-14 18:25:42 -05:00
Zorchenhimer ef8f4176b1
Rename Random() to Hack() 2021-02-14 16:49:11 -05:00
Zorchenhimer abec5d2651
Added verb conjugation tests 2021-02-14 12:24:08 -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 32638d3b97 Add MIT license 2021-02-13 12:05:28 -05:00
Zorchenhimer 143712cffd Fix makefile
- Exclude files in cmd/ when looking for sources.
- Explicitly build cmd/server.go and cmd/generate.go separately.
- Add bin/generate recipe.
2021-02-13 12:02:41 -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
Zorchenhimer 3d6c1a444f Initial commit
Main structure is mostly figured out.  Only a noun phrase is currently
generated.
2021-02-13 11:39:05 -05:00