iantayler / markovman Goto Github PK
View Code? Open in Web Editor NEWRandom text generation from untagged corpora using Markov chains.
License: Artistic License 2.0
Random text generation from untagged corpora using Markov chains.
License: Artistic License 2.0
It would be so simple that I'm considering building a GUI after I finish.
Markovman needs to use the lexer to induce a markov chain from a file.
Markovman needs a Word struct that can represent a state in a first order Markov chain.
Markovman needs to generate sentences based on previously induced markov chains.
Markovman needs to separate its input into tokens. That means words are tokens, commas are tokens, stops are tokens, etc. The most efficient way to implement this in C is to use a get_next_token() function. Perhaps we can build it on top of getc() directly. I'm not certain if trying for something more medium-agnostic (i.e. something that doesn't assume you want to read from a file) is reasonable or desirable in C.
As of the current specification, Markovman only handles first-order markov chains. It would be nice to implement n-order markov chains (i.e. markov chains that take into consideration the last n words instead of just the very last one).
We need to implement what's described in the docs, plus --version and --help, at the very least.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.