Giter Club home page Giter Club logo

connoisseur's Introduction

Connoisseur

This was a simple project to learn React.js, a library for building functional web applications. The goal of Connoisseur is to generate either hilarious or believable notes about a food or beverage, using text from a particular author to flavor the verbage. I used a poor man's Markov Chain to do the generation. Some notes end up hilarious, while others are just gibberish. There is also support for adding your own persona or tasting subject!

A demo is available here.

This repository is not very polished, not up to date, and not actively developed.

Directory Layout

src contains source javascript files.

dist contains the runnable site. For now, track it in github and edit things like index.html there. May make sense in the future to have an index that is copied in.

Possible future improvements

  1. Derive stats about average sentence length, use in generation
  2. Multiple personas
  3. With #2, parameters for weighting them
  4. order configurable
  5. speed up, separate out crappy markov chain
  6. make persona optional

TODO

  • sentence length is hardcoded and random (sucks)
  • sentence ends are naively detected via punctuation at the end of the word, would fail on things like M.D. or Mr.
  • disallow uploading multiple corpora of the same name

connoisseur's People

Contributors

blandflakes avatar

Watchers

 avatar  avatar

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.