Coder Social home page Coder Social logo

power-up's Introduction

Power Up

Description

I decided to make this project because I felt like asian history and asian voices are never heard in America. Before COVID, no one really understood the asian American experience and schools never studied our history. Asians are often viewed as the model minority and that we are next in line to becoming “white” so people assume we do not get discriminated. With that societal image of Asian americans, and the fact that we do not have enough power voices to speak up about our experience, society continues to discriminate. Especially with COVID, hatred against asian americans heightened. There are multiple instances of attacks against asians (atlanta shooting) and even video of attacks against asian grandpas. It is because Asian Americans spoke up now that we are all beginning to understand the Asian American experience more For this project, I decided to use speech recognition to mimic the idea of speaking up. The data from speech recognition would be used as a prompt to generate a poem.

How to Run

Please create a .env file and paste in the key I sent to you in the comments Please check my requirements.txt for package versions that I used. I am currently operating this program on Python 3.10 rather than 3.11 for Tensorflow

python3 manage.py runserver

Packages to Download

  1. Django
  2. Spacy
  3. Tensorflow
  4. Python Decouple
  5. The Fuzz
  6. Textstat
  7. Pyenchant
  8. Glob
  9. Numpy
  10. NRClex
  11. Please check requirements.txt for additional information

Reflection

This system challenged me as a computer scientist because it made me think about purpose and intention in building systems. For this project, I initially had a lot of trouble coming up with an idea. However, I reflected on what mattered to me which inspired this project. Initially, I was afraid that the scope for this project was too huge and that I would not be able to complete it in time. Especially since I did not know how to work with Artificial Intelligence code or create a recurrent neural network model, I thought I would not be able to create what I wanted to create. Though, I did not give up and continued trying to learn and understand the code. Now, I know way more about A.I, how to build these text generation models, and the different tools that I can use. In addition to working with the neural network, I challenged myself by creating a fullstack website. I worked with Django 2 years ago before, but I forgotten most of it. However, I was glad that I pushed myself to relearn Django since I mostly focused on the frontend rather than fullstack.

Research Papers

  • Full-FACE Poetry Generation (Simon Colton, Jacob Goodwin, Tony Veale)
  • Acrostic Poem Generation (Rajat Agarwal, Katharina Kann)
  • NLP based Poetry Analysis and Generation (Marmik Pandya)

The Acrostic Poem generation had a huge inspiration on my initial idea for the program. I wanted to also create an acrostic poem where we would ask the users to describe Asian Americans in adjectives. Using those adjectives, we would create an acrostic poem. However, it was difficult to do since I was not familiar with machine learning. This paper also inspired me to potentially add web scraping to this project, but I hesistated since I feel like poems on racism on the web are focused on certain races and not specifically Asian Americans. Overall, this paper helped me refine my purpose and intentions with what I am coding. In the full face poetry generation, they talked about corpus text generation and word similarity. Since the initial poem generated by my neural network is not the best, I decided to clean up the poem by word matching words that were not english. I created a word bank with all the words from the input training text file and use word similarity analysis where if the words match 80%, the non-english word would get replaced. If there was no match from the word bank, I turned to word suggestions. The poetry analysis inspired my evaluators. In the paper, the author talked about diction and affect on the readers. This inspired me to evaluate my poem on readability, and positivity on my poems. For the readability, I evaluated my poem using multiple formulas. My goal for readability is to make it as readable as possible so anyone can understand. The more readable, the easier it is for people to learn about Asian American history!

Sources/Credit

Poem Sources

power-up's People

Contributors

dejiezhen 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.