Comments (7)
Ring composition is a great technique! I'm actually a little surprised someone else thought to use it at the same time as me. Good luck!
from 2017.
from 2017.
I'm thinking I should separate the ontology lookup from the details of the rendering, so that I can generate either ring composition style asides or deeply nested footnotes.
Rather than rolling my own ontology, I'm thinking I'll just use ConceptNet, taking inspiration from https://github.com/aparrish/nanogenmo2014/blob/master/elaborate.py ; however, if that doesn't give suitable results, I might fall back to one of the several cleaned-up versions of wikipedia, or a variety of lookup mechanisms. (Lookup in a variety of cited dictionaries is less ring-composition-ish but more in line with footnote style.)
I suppose a hybrid is possible: ring composition for the 'main' story, and dense footnotes too (maybe even recursive footnotes, if we randomly choose the same word for expansion). This would correspond well with numbered lines, so a footnote could cite chapter and verse. Since the whole work is essentially an expansion upon nouns, it's easy enough then to add an index and make it look properly academic.
from 2017.
Did a prototype.
Code: https://github.com/enkiv2/misc/blob/master/nanogenmo-2017/ring.sh
Output: https://github.com/enkiv2/misc/blob/master/nanogenmo-2017/ring.txt
Basically, ring.py provides a story (essentially randomly rearranging the lines in a plot synopsis and indicating whether each line comes before or after the previous like chronologically), while annotate.py provides several kinds of annotations (hyponyms, hypernyms, and cross-references to other stories with full plot synopses). The ring.sh script runs annotate.py repeatedly until we hit 50k words.
from 2017.
whoa this is fantastic
from 2017.
from 2017.
I lol'ed when it elaborated on "a" ("Such as, vitamin a1") :) agree that it would be worthwhile to try out footnotes, etc., maybe even a split "main text"/"commentary" a la Pale Fire or the Talmud.
from 2017.
Related Issues (20)
- Dial "S" for Sudoku HOT 2
- Grammar-based Generation HOT 1
- Shakespeare Summarizes Everything HOT 6
- Hard West Turn HOT 5
- Every Novel Generator HOT 5
- A Picture is Worth N Words HOT 1
- Tillman, Victor Lima, KOD HOT 5
- Emic Automata HOT 6
- views on an object -- kr pipkin & v21
- 2d Markov HOT 2
- What is Trump? by @hugovk
- The Infinite Fight Scene HOT 6
- LSTM-based Leo Tolstoy text generator
- Thematic Automata HOT 2
- Pride, Prejudice by @hugovk HOT 13
- The Edward Lear Limerick Generator HOT 4
- Frequency transforms of text HOT 4
- Icebox by @hugovk
- NaNoGenMo/Creative NLP Slack channel? HOT 7
- Language survey 2017 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from 2017.