github ksanyok/TextHumanize v0.36.1
v0.36.1 — headings untouched by default, cleaner connector punctuation, mixed-script warnings

latest release: v0.37.0
one hour ago

Changed (JS/TS port)

  • Headings are left untouched by default in humanizeHtml(): headingFactor
    now defaults to 0 (was 0.45) because h1–h6 carry SEO keywords. Pass a
    positive headingFactor to opt back in.
  • No comma after bare adverbs opening a sentence ("Также X", "Także X",
    "También X" instead of "Также, X").
  • No colon openers ("Заметим:", "Zauważmy:") when the dictionary entry has
    a regular alternative.
  • warnings in humanizeHtml() results — words mixing Cyrillic and Latin
    letters ("манning") are reported ({ type: 'mixed_script', token }). They are
    generator glitches or homoglyphs; the intended spelling is unknown, so they are
    reported rather than fixed. Found in 3 of 40 live production articles.

Don't miss a new TextHumanize release

NewReleases is sending notifications on new releases.