Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Natural Language Generator with Markov

Project Description

Makover is natural language generation, where you’ll train a model how to speak and have it generate new text for you. You may use the simplest possible model, but the results may still surprise you in their sophistication.

Dependencies

  • Python 2.7

Install

  • Install via pip: $ pip install markover

Usage

  • $ markover -t ABS_PATH_TO_YOUR_TEXT_FILE -n LENGTH_OF_TEXT_TO_BE_GENERATED -c (optional)LENGTH_OF_CHUNKS_TO_BE_PROCESSED_AT_A_TIME

The last argument (-c) is optional. The default value for it is 10 characters per chunk. Try generating texts using various chunks. You should observe that for small c (c= 1, 2, 3), the generated text resembles but is not quite English (or whatever language utilized by your modeled text). For higher order c, the text should start looking more and more like the original text.

Enjoy!

  • A new text file called “output.txt” is created in the same folder as the file you selected.
Release History

Release History

This version
History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
markover-0.4.tar.gz (1.6 kB) Copy SHA256 Checksum SHA256 Source Dec 28, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting