Code Monkey home page Code Monkey logo

waves's Introduction

Interacting with Virginia Woolf's novel The Waves.

Two programs:

  • waves_cut_up.rb

    Interactive cut-up (http://en.wikipedia.org/wiki/Cut-up_technique) of The Waves.

    The novel consists of nine sections, each with a "prelude." The user starts in section one, and moves to a subsequent section when s/he choses. At the start of each section, two randomly chosen consecutive sentences from the section's prelude are presented; after that, each time the user presses enter, a randomly chosen sentence from the section is presented with the speaker of the sentence identified.

    Sub-programs: sentence_splitter.rb, waves_speaker.rb, passage_array.rb, give_sentences.rb

  • waves_analyze.rb

    Returns paragraphs from the text containing a given word chosen by the user, with the chosen word in block capitals, and each paragraph's speaker identified.

    Returns information about a word's use (how much does each character use the word?).

    The user can choose one of the novel's nine sections, or look at the entire novel.

    Sub-programs: waves_speaker.rb, passage_array.rb, return_passages.rb, return_info.rb


The .txt files are parts of the text of the novel, obtained from Project Gutenberg http://gutenberg.net.au/ebooks02/0201091.txt

waves's People

Contributors

bebebebebe avatar mwfogleman avatar

Watchers

 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.