GithubHelp home page GithubHelp logo

Comments (4)

RaichuGirl avatar RaichuGirl commented on June 3, 2024 1

Alright, here is what I've come up with. I only know C programming (well technically matlab too if you want to count it), so I decided to use that for my project. I also don't know how to read stuff in from the internet, so the approach I took was to feed a list of each type of word (verbs, names, adverbs. objects etc) and then use basic sentence structures with a random number generator to choose a word from the respective list.

The first 3 and last 4 sentences are very similar for each, but the middle is completely random. Each story has the same general theme of a kid and their pet searching for answers to save the world. I did this because I was kind of lazy, but also because I felt an animal companion would help with the dialogue, essentially giving the reader a "fill in the blanks" option to translate whatever the animal is saying and make sense of the conversation.

Here are some example outputs of the code:
https://docs.google.com/document/d/126gPAZKL1SO-Dj8-K64uipftb0xdmSd6lEyQurlkq6Y/edit?usp=sharing
https://docs.google.com/document/d/1dmln6Qg8PR2bB1sYjFJy8Ivf6b_ELMwwFoh3Lm6CZvg/edit?usp=sharing
https://docs.google.com/document/d/1NVQSd06cSkJJM3eTf2f2zbz4JXb4YWZCqezTXN10A6U/edit?usp=sharing

Hope you guys like it :)

from 2020.

pjfpotter avatar pjfpotter commented on June 3, 2024

Yay!

from 2020.

hugovk avatar hugovk commented on June 3, 2024

Good stuff! Remember to share the code to get the completed label :)

from 2020.

greg-kennedy avatar greg-kennedy commented on June 3, 2024

@RaichuGirl can you post the code somewhere? It'd be great for people to look it over and see how you built this!

from 2020.

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.