Git Product home page Git Product logo

text-generation's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @dcorney
  • ๐Ÿ‘€ Iโ€™m interested in NLP and machine learning
  • ๐ŸŒฑ Iโ€™m currently learning more about myself
  • ๐Ÿ’ž๏ธ Iโ€™m looking to collaborate on practical projects around fact checking
  • ๐Ÿ“ซ How to reach me: [email protected]

text-generation's People

Contributors

dcorney avatar

Stargazers

 avatar

text-generation's Issues

Create a public web server

Simple page where user enters parameters (or selects from examples) such as:

  • protagonists' names
  • locations / objects etc.
  • type/length of text required

And then they click 'generate' and are shown a brand new page of text

Tooling for importing texts

Before importing texts from Project Gutenburg (for example), it'd be nice to review them and optionally reject unwanted texts. Also maybe mark the start/end point of the main text to be imported.

Add hierarchy for thesaurus classes

There are several related classes that share a 'synonym' function: thesaurus.py (based on Wordnet); word_vectors.py (w2v) and potentially more (e.g. based on Roget's thesaurus).
Should create an abstract class 'Synonymizer' which is implemented by thesaurus.py (which should be renamed to reference Wordnet) and by word_vectors and by Roget's etc.

Set Redis directory programatically

The Redis config file specifies the directory to store the database in. Switching between different Redis stores would be nice, so we could (e.g.) have a novel-markov-chain and a news-markov-chain and a shakespearean-markov-chain etc.

Use AWS more for processing new texts

Make sure code can deploy/run (easily) to an EC2 instance, so it can get on with downloading and processing texts. E.g.

  • write Redis to S3 for persistence
  • or just take text, run through tokenizer and NER step (which is slow), writing processed texts to S3 files. Then separate process to add processed texts quickly into a Redis Markov Chain

Screensaver version

Write a screensaver (e.g. for MacOS) that generates an endless scrolling stream of text. Possibly use Processing?

More sources of text

Currently, have code to pull text from Project Gutenburg. Should diversify to other sources, including:

  • Reuters-21578
  • Brown Corpus
  • Signal-1M
  • more modern literature sources (LiveJournal?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.