Skip to content

Releases

v0.7.0

Choose a tag to compare

@github-actions github-actions released this 17 Nov 02:12

Full Changelog: v0.6.0...v0.7.0

v0.6.0

Choose a tag to compare

@github-actions github-actions released this 14 Nov 23:55

In Version v0.6.0, some small changes have been made. To start off, some speed optimizations have been added. Next, Corpustein will now prompt users before exiting the app on SIGINT. Finally, the code has been modularized slightly.

Full Changelog: v0.5.0...v0.6.0

v0.5.0

Choose a tag to compare

@github-actions github-actions released this 11 Nov 23:16

In Version v0.5.0, a Linux Setup/Installer Script has been made, optimizations for speed and resource usage have been made, and a command was added to the README that was left out earlier.

Full Changelog: v0.4.0...v0.5.0

v0.4.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 19:13

In Version v0.4.0, some pretty nice changes were made. They are described below.

To start, the README was revamped. The Downloads section doesn't look anything like it did before. And the Commands, Features, Corpus File Structure, and Directory Structure sections have been added to it.

Next, stricter code formatting and static analysis have been implemented. To test the code, you just compile it with CMake in the Debug build type.

Finally, the /about, /reload, and /history commands have been created. They are self-explanatory—no need to explain them. I also noticed that /load wasn't in /help, so I fixed that. And now, a command will never just return nothing or let the model generate a response. It will always show some sort of message and not let the model respond.

Full Changelog: v0.3.0...v0.4.0

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 06 Nov 00:18

In Version v0.3.0, two big features have been added. The first is that an issue with the set of words that are allowed to be repeated in responses to ensure it isn't trying to use low-frequency words when basic grammatical constructs are available. Some elements did not have commas at the end, making the words join together as one element. The second big feature is that it now compiles for Windows, and attaches it to the releases. It is available right now in the assets.

Full Changelog: v0.2.0...v0.3.0

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 05 Nov 01:47

Between Versions v0.1.0 and v0.2.0, many new features have been added throughout 26 commits. There are so many features that I will employ a numbered list, sorted by significance, instead of paragraphs.

  1. User-Defined and Multiple Default Corpus Support: Now, there are multiple default corpora, as opposed to just one. At the moment, there are 10, consisting of things such as the complete works of William Shakespeare, Mark Twain, and Charles Dickens, every single United States Presidential Inaugural Speech, the Linux Kernel Documentation, and more. Users can also load their own corpora by file path. This can be done with the command /load <type> <file>. Run /load help to view the types. The corpora start with a special format that starts off with a special file signature, then includes some default settings between the signature and the delimiter at the end (===). Here is how a heading looks:
io.github.tyleruploads.corpustein:corpus-file
name: The name of the Corpus
default_order: An integer between 1 and 8 representing the order of the n-gram model
max_sentence_count: An integer representing the maximum sentences for each models output, which also will scale up the maximum tokens and the token history container.
===
  1. /set command: A new command, /set, has been defined. It contains options to change the delay between each character typewritten to the screen (which is an additional feature in it of itself), the order of the N-gram model, the maximum sentence count for the N-gram model, and if the alternate terminal buffer should be enabled (another additional feature in it of itself).
  2. /stats command: An all new /stats command has been added! It outputs the name of the current corpus, along with many other things such as the tokens in said corpus, the unique N-gram contexts that occurred as a result of the corpus and the order, and some variables not inherently associated with the corpus, like the maximum sentence count and more.
  3. Typewriting Text to Screen: Instead of the text being sent to the screen instantly with std::cout << ...;, a custom typewriter function has been made that iterates over every character in the string and waits a bit in between printing each character (defined as a function parameter). This is controlled by the /set delay <integer> command.
  4. Enable/Disable Alternate Terminal Buffer: There is no scrolling in the alternate terminal buffer, and the output goes away when you exit the app. The purpose of the alternate terminal buffer is to make Corpustein more accomplished in an aesthetic sense. But, some users may prioritize scrolling and keeping the output of the program—especially when they have configured the maximum sentence count to a number closer to the hardstop maximum at 50—and want to disable the alternate terminal buffer. They can do so with the following command: /set altbuffer <boolean>.
  5. Redirecting Fake Commands: Previously, if a user entered just a plain slash, or a slash with a fake command after it, Corpustein would still respond. But now, if a user does this, it will redirect them to the /help command, which lists available commands.
  6. Static Assertion and Preprocessor Directive Right at the Top: Right at the top of the code, a preprocessor directive and static assertion has been added (the static assertion is not in the preprocessor directive). The static assertion ensures it is being compiled with C++20 or higher. The preprocessor directive invokes an error when APP_VERSION is not defined, which prevents a big wall of fatal errors being shown to the user with no context. APP_VERSION is automatically passed by CMake.

Full Changelog: v0.1.0...v0.2.0

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 02 Nov 16:24

100% of the commits to this repository up to this point are about this very release, version v0.1.0. To run Corpustein, simply download the attached asset, unzip it, and run the binary. Make sure not to separate the binary from the corpus.txt file. Also, it will apply some cool styling to your terminal when you open it. Don't worry, it will automatically be reverted once you close the application.

hero

Full Changelog: https://github.com/tyleruploads/corpustein/commits/v0.1.0