• Blog
  • Changelog
  • codesue

  • About
  • Contact

codesue

Making Any Wikipedia Topic Dystopian

August 22, 2022

I once read a Tweet that said, “you can make any Wikipedia article dystopian by changing it to the past tense.” Dystopian Wikipedia sounded like a fun idea, so I built Dystopedia as a proof-of-concept. Try it on the codesue/dystopedia Hugging Face Space.

Design

When you search for a term, Dystopedia fetches the first sentence of the corresponding Wikipedia article using the wikipedia library. Then, it uses DistilBERT base uncased finetuned SST-2 to determine if the term has a positive connotation. If the term is positive, Dystopedia turns any present tense verbs in the term’s description into the past tense using LemmInflect. Otherwise, Dystopedia returns the sentence as is. Dystopedia uses spaCy for general NLP tasks and Gradio for its web interface.

What’s Next?

I don’t have any plans to keep building Dystopedia. However, I plan to learn more about controllable text generation and sophisticated techniques for morphological inflection.

Resources

  • Gradio Quickstart
  • spaCy 101: Everything you need to know
TAGS:morphological inflectiontext generationwikipedia
0 Comments
Share

Leave a Comment Cancel Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You May Also Like

August 8, 2022

Add a Rich Text Terminal Window to WordPress Posts With Terminal Block

September 26, 2022

Exploring the Swedish Kelly List Dataset

Hi, I’m Sue 👋
Hi, I’m Sue 👋

Hi, I’m Sue 👋

I’m a software engineer who builds tools that empower people to do their best work. I enjoy studying linguistics and hacking on tech that makes learning languages fun and approachable.

  • Blog
  • Changelog
  • About
  • Contact

COPYRIGHT © 2022 SUZEN FYLKE. Site Designed by Pix & Hue.