A font that reads what you wrote

Rohan Adwankar's semfont is a small library that automatically styles text to make it easier to read. It scores each word on valence, salience, surprise, and certainty, then maps those scores to color, weight, highlight, and slant. A second pass reads whole clauses to catch negation and resolution. It's designed for streaming AI output and works with React or plain JavaScript.

As you can probably guess based on the implementation it will be essentially impossible to get perfect classification while also being fast enough to not slow down the streaming.
  1. AnthonBerg

    The idea is amazing, and… how to say it?; The results are horrible to read in the same way as AI writing when AI writing is bad.†

    And I mean this in the best possible way. It's really interesting.

    There's this feeling of an intrusive forcing of something. A feeling that things don't… breathe? Feels like one already sifts out this sort of semantic weight when reading and to me the highlighting adds strange janky emotional-processing noise to the text; Uncomfortable and somewhat… dissonant?

    It's really, really interesting. I hate how disparaging to the project this comes out!! my apologies for that! I LOVE the project and what it reveals about text comprehension and perception of saliency and rhythm in written text!

    († footnote: feels like this to me)

  2. frereubu

    Not working in Firefox. I get this error:

    Uncaught TypeError: The specifier “semfont/analyze” was a bare specifier, but was not remapped to anything. Relative module specifiers must start with “./”, “../” or “/”.

    Works in Chrome though.

  3. skrebbel

    This isn't a font, it's just a JS lib that colors text based on semantic analysis. Submission title oversells it by a lot.

  4. brk

    Seems to require Chrome? In Firefox it's just a text box, nothing happens. Was confused at first about what it was supposed to do, the rest of the page made it clear it was supposed to mess about with whatever text you write.

    Trying it in Chrome and seeing the results I'm not sure that it is really that helpful. Has undertones of elementary school grammar lessons highlighting words in sentences.

  5. tensegrist

    i thought the computation was within the font itself

    like

    https://github.com/RoelN/SansBullshitSans

    https://typographica.org/typeface-reviews/chartwell/

    https://github.com/trishume/numderline

    which can be taken rather far

    https://www.coderelay.io/fontemon.html

More from this day

2026-09-22