<commit_before>Management Speak Generator
==

This is a C# clone of http://sf.net/projects/cbsg/ which is written in [Ada](http://en.wikipedia.org/wiki/Ada_(programming_language)).

Compilation Requirements
--
The project is being developed using Visual Studio 2012 and .NET Framework 4.5. Earlier versions of Visual Studio may work but are untested. 
Binary versions of the following third-party libraries are linked (see the /lib folder):
- [NUnit](http://www.nunit.org/)
- [Moq](https://github.com/Moq/moq4)

Demo App
--
Build and run MSG.ConsoleApp. As its name suggests, it's a console application so runs on the command line. The following switches are supported:

| Switch        | Purpose              |
|:------------- |:---------------------|
| /?            | Show the help screen |
| /o:[x&#124;j&#124;h&#124;t]  | Specify output format of XML, JSON, HTML or Text. If not supplied then a default of text will be used.|
| /f:[file]     | Specify output filename. If not supplied then a file called "msg_output" on the user's desktop will be created. The output filename extension will be derived from the /o parameter so if no extension is specified by the user then a default of ".txt" will be used.|

| Example       | Result               |
|:------------- |:---------------------|
| msg /o:h c:\tmp\output.html            | Create a file called output.html in the c:\tmp folder and output html-formatted sentences into it.|
| msg /o:j      | Create a file called output.json on the user's desktop and output JSON sentences into it.|
| msg /o:x /f:output | Create a file called output.xml in the same folder as the executable and output XML sentences into it.|

To Do
--
- Add a switch to control the number of sentences output by the console app.

Useful Links
--
- [Online Markdown Editor](http://dillinger.io/)
- [Mock successive calls to the same method](http://haacked.com/archive/2010/11/24/moq-sequences-revisited.aspx/)<commit_msg>Updated README.md as the items on the todo list are done.<commit_after>Management Speak Generator
==

This is a C# clone of http://sf.net/projects/cbsg/ which is written in [Ada](http://en.wikipedia.org/wiki/Ada_(programming_language)).

Compilation Requirements
--
The project is being developed using Visual Studio 2012 and .NET Framework 4.5. Earlier versions of Visual Studio may work but are untested. 
Binary versions of the following third-party libraries are linked (see the /lib folder):
- [NUnit](http://www.nunit.org/)
- [Moq](https://github.com/Moq/moq4)

Demo App
--
Build and run MSG.ConsoleApp. As its name suggests, it's a console application so runs on the command line. The following switches are supported:

| Switch        | Purpose              |
|:------------- |:---------------------|
| /?            | Show the help screen |
| /o:[x&#124;j&#124;h&#124;t]  | Specify output format of XML, JSON, HTML or Text. If not supplied then a default of text will be used.|
| /f:[file]     | Specify output filename. If not supplied then a file called "msg_output" on the user's desktop will be created. The output filename extension will be derived from the /o parameter so if no extension is specified by the user then a default of ".txt" will be used.|
| /n:[count]    | Specify the number of sentences to generate. If not supplied then a default of 

| Example       | Result               |
|:------------- |:---------------------|
| msg /o:h c:\tmp\output.html            | Create a file called output.html in the c:\tmp folder and output html-formatted sentences into it.|
| msg /o:j      | Create a file called output.json on the user's desktop and output JSON sentences into it.|
| msg /o:x /f:output | Create a file called output.xml in the same folder as the executable and output XML sentences into it.|

To Do
--
- Find bugs!

Useful Links
--
- [Online Markdown Editor](http://dillinger.io/)
- [Mock successive calls to the same method](http://haacked.com/archive/2010/11/24/moq-sequences-revisited.aspx/)
{'fraction_non_alphanumeric': 0.13227911646586346, 'fraction_numerical': 0.012048192771084338, 'mean_word_length': 2.8354186717998076, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3533855', 'n_tokens_mistral': 1165, 'n_tokens_neox': 1080, 'n_words': 492}