Code Monkey home page Code Monkey logo

Comments (6)

eseyffarth avatar eseyffarth commented on September 24, 2024 1

I'm fascinated by your idea of quantifying the success of your novel-generation process! I thought about calculating the "novelity" (?) of generated text before, but have never collected ideas on how to do that, and yours seem pretty solid. Would be interested to see your creativity-gauge code when you have it!

from 2017.

cmkawa avatar cmkawa commented on September 24, 2024

Had a thought today -- I'll need to develop some requirements so that I have specific metrics to hit. That way I'll know when I'm done and (hopefully) won't suffer from feature creep. Some thoughts to guide that:

  • Word prediction generates a novel that looks like normal sentences/paragraphs/chapters, a la lorem ipsum, but with real words. First major milestone before any of the pseudo-intelligence can be implemented.
  • Getting copycat sentences below a certain threshold. Check generated text against source material to reduce the length of unoriginal chains (straight copies).
  • Avoiding repetition of uncommon words. Based on source material, give each word a uniqueness count (number of words since last occurrence) and then arbitrarily set an acceptable percentage of that value before it can appear again.
  • Reducing the number of nonsensical sentences. Train FMASC to avoid certain combinations of words that have been flagged during consumption of source material. This might be a stretch goal, and also depends on how good the word prediction algorithm actually turns out to be.

from 2017.

cmkawa avatar cmkawa commented on September 24, 2024

Philosophical question: Is creativity really just a matter of finding that sweet spot between convention and chaos?

from 2017.

cmkawa avatar cmkawa commented on September 24, 2024

Just sharing a little progress.

image

from 2017.

cmkawa avatar cmkawa commented on September 24, 2024

image

Char char char, char is not a word anymore char.

from 2017.

cmkawa avatar cmkawa commented on September 24, 2024

Today, it became smarter than me.

image

I couldn't figure out where the third occurrence of "the great" was showing up without adding some debugging messages, and was convinced I had made a mistake in counting/entering somewhere. Upon closer inspection, lines 194 and 195 of the txt file show a newline delimited instance that CTRL-F wasn't catching. So it works!

from 2017.

Related Issues (20)

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.