Commit Graph

5 Commits

Author SHA1 Message Date
Zorchenhimer 1ac2863a43
Allow passing a format string to the generate command
The generate command now takes two optional arguments:

-c N
    Generate N number of sentences.

-f "some string"
    Use the given format string to generate sentences.
2021-02-21 20:37:15 -05:00
Zorchenhimer c376180b27
Rename generic.go to english.go
Grammar is probably different for different languages [citation needed].
2021-02-17 09:17:04 -05:00
Zorchenhimer ef8f4176b1
Rename Random() to Hack() 2021-02-14 16:49:11 -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