aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 9a077d98849483db7c8418ef4a59a31e9d727c88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
### Markov Chains

This is a simple implementation of markov chains.
An example chain could be generated with bin/gen_chain.
The main program expect a file specified in src/main.c (default is files/in.txt).
The program generates a markov chain using the file.
Output and other things can be tweaked with the macros in the files.

### Build

To build use
``` ./build.sh ```
to build and run use
``` ./build.sh run ```

See the build.sh file for more info

### Limitations

Limitations of the output:
1. No upper case letters (who needs them anyway)
2. No proper punctuation (who needs punctuation anyway), just words

Limitations of processing input:
1. The symbols: `[]"",` are completely ignored,
`.` and `\n` are used to identify end of thought (sentance)