markovify user-provided text and output the results to a text file.
Project description
mkv-this
mkv-this is a little script that uses the markovify
python module to output a bunch of bot sentences based on a bank of text that you feed it. the results are saved to a text file of your choosing. if you run it again on the same output file, the new results are appended after the old ones.
it was written by a total novice, so you probably shouldn’t download it.
install with pip:
you can install it with pip, the python package manager.
python3 -m pip install mkv-this
you need python3, and markovify is a dependency, but it should install with mkv-this.
help:
run mkv-this -h
to see all the options and explanations of what they mean.
for best results:
feed mkv-this
large-ish amounts of well punctuated text. it works best if you bulk replace/remove as much mess as possible (URLs, metadata, stars, bullets, etc.)
if your input text doesn’t have full-stops to mark the ends of sentences, trying putting each 'sentence' on a newline, so the parser doesn't read your entire file as one big sentence.
you’ll want to edit the output too. it is very much supposed to be a kind of raw material for further human editing, rather than print-ready bosh.
for further tips on basic output, see https://github.com/jsvine/markovify#basic-usage.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mkv-this-0.1.3.tar.gz
.
File metadata
- Download URL: mkv-this-0.1.3.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54fd5618f5e8a21c069ec9208171d5ac8eac463926289b28ddcc9c4fe4e30a9c |
|
MD5 | c1c9843b1295a4e6c52cbea0be394254 |
|
BLAKE2b-256 | f1e80fb0651d4f583f3c5dad6ff0039153161a5552dab2c8788c1c47f5bbbfec |
File details
Details for the file mkv_this-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: mkv_this-0.1.3-py3-none-any.whl
- Upload date:
- Size: 15.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a93a880a00755cad862a01b28d7767f0c6868438b4372c97c7b2f600a4ba2fb7 |
|
MD5 | 759065340f84a9f47c27ff16445b726f |
|
BLAKE2b-256 | 597214dd17b2a994f67ee2e7ce94ea1fd0f7c8e2433d4f3742658197ea3cd997 |