MLA Style Capitalisator

Last modified on
OUTPUT
INPUT

How to Use

Simply paste or type the text to be MLA-style-capitalised on the input. The output will be automatically shown above the input.

We can select the output string by clicking the output element.


Method

The main method is using an offline logic. As in, it needs no external resource to fetch.

But indeed, I employ Free Dictionary API as a supporting refiner. It's constructed so that this application does in-memory cache to avoid hitting the API repeatedly.


MLA

MLA stands for Modern Language Association — an academic style guide mainly used in literature, arts, and humanities. Their title capitalisation rule (also known as MLA Title Case) is as such:

  • Capitalise the first and last words.
  • Capitalise all nouns, pronouns, verbs, adjectives, adverbs, and subordinating conjunctions (e.g. because, although).
  • Lowercase articles (a, an, the), prepositions (in, on, for, to, with, etc.), and coordinating conjunctions (and, but, or, nor, for, so, yet) — unless they’re the first or last word.

This application skips camelCased, PascalCased word on purpose.


Input-Output Layout

I put the output above the input. Because that's how our eyes work — they naturally start at the result, then trace back to the cause. You read the answer before the riddle. That's the natural order of curiosity, innit? We're goal-driven.

Like that song from Lionel Messi. 🪗

Hello? Is it goals you're looking for? 🎵


Capitalisator

It's not an English word. Yet. It looks like a capacitor with too many trousers.