Giter VIP home page Giter VIP logo

Comments (4)

hugovk avatar hugovk commented on July 23, 2024

MBOY-DCKI;
OR, THE WHEAL.
BY
HERMAN MELVILLE,
AND A NEURAL NETWORK

CHAPTER 1. Loomings.

Call me Ishmael. Go visit the Prairies in June, when for scores on scores of miles you wade knee-deep among Tiger-lilies--what is the one charm wanting?--Water--there is not a drop of water there!

Chief among these motives was the overwhelming idea of the great whale himself. He thinks he breathes it first; but not so.

Circumambulate the city of a dreamy Sabbath afternoon. With a philosophical flourish Cato throws himself upon his sword; I quietly take to the ship. Strange! here come more crowds, pacing straight for the water, and seemingly bound for a dive.

from 2018.

enkiv2 avatar enkiv2 commented on July 23, 2024

from 2018.

jeffbinder avatar jeffbinder commented on July 23, 2024

Thanks for sharing this!

The two approaches could possibly be combined by running the neural network on phrases rather than sentences. The training script should work without modification on any linguistic unit (phrases, clauses, paragraphs, etc.)—the corpus just has to be prepared differently. Doing it at the phrase level might make the strangeness more immediate because you would have to read fewer words on average before getting to something that differs from the original text. I'm not sure how well the particular model I used would do at assembling phrases into syntactically correct sentences, though.

from 2018.

tra38 avatar tra38 commented on July 23, 2024

Just for reference, links to the two novels:

  • Original Method (trained on the Wright American Fiction corpus) - Mboydcki

  • Alternative Method (trained on the Moby Dick corpus) - Mobydcik

from 2018.

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.