<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: NewGen Books</title>
    <description>The latest articles on DEV Community by NewGen Books (@newgenbooks).</description>
    <link>https://dev.to/newgenbooks</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4224958%2F7c184982-4dac-41dc-9717-44c3de33b16c.png</url>
      <title>DEV Community: NewGen Books</title>
      <link>https://dev.to/newgenbooks</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/newgenbooks"/>
    <language>en</language>
    <item>
      <title>Casting 83 audiobooks: how we matched a voice to every narrator</title>
      <dc:creator>NewGen Books</dc:creator>
      <pubDate>Fri, 06 Nov 2026 09:01:53 +0000</pubDate>
      <link>https://dev.to/newgen-books/casting-83-audiobooks-how-we-matched-a-voice-to-every-narrator-2924</link>
      <guid>https://dev.to/newgen-books/casting-83-audiobooks-how-we-matched-a-voice-to-every-narrator-2924</guid>
      <description>&lt;p&gt;We recently gave every book at &lt;a href="https://books.dev" rel="noopener noreferrer"&gt;books.dev&lt;/a&gt; its own narrator. The catalogue has 83 books, so nobody was going to cast them one at a time by ear, but we also didn't want a single default voice reading both Huckleberry Finn and The Turn of the Screw.&lt;/p&gt;

&lt;p&gt;Here is the approach. It's simple, and the simple parts are the reason it works.&lt;/p&gt;

&lt;h2&gt;
  
  
  The voice follows the storyteller, not the author
&lt;/h2&gt;

&lt;p&gt;A first-person novel has an obvious answer: the voice should match the person speaking. Pip looks back on his own life in Great Expectations, so a man reads it. The Turn of the Screw is the governess's own account, so a woman reads it.&lt;/p&gt;

&lt;p&gt;Third-person books need a rule too. There, the voice follows the character whose eyes we see the story through.&lt;/p&gt;

&lt;p&gt;Age matters as well. Huck Finn is a teenager, so a younger voice reads his book, and the same goes for Jim Hawkins in Treasure Island.&lt;/p&gt;

&lt;h2&gt;
  
  
  Accent comes from the text
&lt;/h2&gt;

&lt;p&gt;Books written in American or Canadian English get a North American voice. The rest get a British one. So Melville and Twain sound American, while Dickens and Austen sound British. Translations follow the English of the translation: Anna Karenina gets a British voice because its English translation is British.&lt;/p&gt;

&lt;h2&gt;
  
  
  A model reads, a person decides
&lt;/h2&gt;

&lt;p&gt;A language model read the opening of each book and worked out who the narrator is: a man or a woman, young or grown up. That's a task models do well, and it doesn't need the whole book.&lt;/p&gt;

&lt;p&gt;Then a person checked all 83 book-voice pairs and corrected them where needed. Eighty-three is a small enough number for one person to review, and a wrong voice is the kind of mistake that a reader hears in the first minute. The check is cheap compared with what it catches.&lt;/p&gt;

&lt;h2&gt;
  
  
  One voice for the whole book
&lt;/h2&gt;

&lt;p&gt;Headings, verse and captions are read by the same narrator. Switching voices mid-book for a quote or a chapter title sounds clever in a demo and is tiring after an hour. Where an edition already has a recorded narration, the recording plays first, in the same type of voice, and the narrator reads whatever the recording lacks.&lt;/p&gt;

&lt;p&gt;You can hear four of them: Alistair in Great Expectations, Briony in Anna Karenina, Adrian in Moby-Dick and Casey in The Turn of the Screw. The full notes are &lt;a href="https://books.dev/en/p/news" rel="noopener noreferrer"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you've built something similar, I'd like to know how you handled books with several narrators.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>showdev</category>
      <category>books</category>
      <category>machinelearning</category>
    </item>
    <item>
      <title>How we measure the real CEFR level of a book, and where it still fails</title>
      <dc:creator>NewGen Books</dc:creator>
      <pubDate>Tue, 03 Nov 2026 21:40:28 +0000</pubDate>
      <link>https://dev.to/newgen-books/how-we-measure-the-real-cefr-level-of-a-book-and-where-it-still-fails-1nba</link>
      <guid>https://dev.to/newgen-books/how-we-measure-the-real-cefr-level-of-a-book-and-where-it-still-fails-1nba</guid>
      <description>&lt;p&gt;Most graded readers have a level printed on the cover. Almost nobody can tell you how it was decided.&lt;/p&gt;

&lt;p&gt;We publish free books at &lt;a href="https://books.dev" rel="noopener noreferrer"&gt;books.dev&lt;/a&gt;, each in the original English and many in simpler editions, and we wanted a number on every edition that we could defend. Here is how our meter works today, how its first version failed, and what it still can't do.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why a readability formula wasn't enough
&lt;/h2&gt;

&lt;p&gt;Classic formulas such as Flesch-Kincaid look at the length of words and sentences. We compared them with teachers' difficulty judgments on a public set of passages, and they underrate fiction: a novel can read as much easier than teachers find it. Short words can hide a lot. For a library of novels, that bias sits exactly where we need accuracy.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the meter combines
&lt;/h2&gt;

&lt;p&gt;The score blends three signals:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A CEFR text classifier&lt;/strong&gt; (weight 0.70)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vocabulary&lt;/strong&gt; (0.25): average word level, the level at which 95% of the text is covered, and rare lemmas per 1,000 words&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Syntax&lt;/strong&gt; (0.05): 90th percentile sentence length, parse tree depth, subordinate clauses&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The sum then passes through isotonic regression, a monotonic mapping to the final score. We show it with tenths, such as B1.5.&lt;/p&gt;

&lt;h2&gt;
  
  
  Version 1 was calibrated against itself
&lt;/h2&gt;

&lt;p&gt;The first version had hand-set weights, and its vocabulary and syntax parts were fitted to the classifier's own answers. Only two reference points had a known level. It looked fine until we tested it on exam texts with official levels: both C1 and C2 came out around B2.8. The scale was compressed at the top.&lt;/p&gt;

&lt;p&gt;Version 1.1 was fitted to texts of known level instead. The important decision was how to choose the weights. Cross-validating open corpora against each other picked almost pure classifier (0.95), which looks great on those corpora and generalizes worse. So we held out one exam board at a time, trained on everything else, and tested on the board the model had never seen. The mean absolute error on 200 unseen exam texts fell from 0.70 to 0.51 of a level.&lt;/p&gt;

&lt;p&gt;The calibration texts belong to their owners, so we keep them private and publish only our own results.&lt;/p&gt;

&lt;h2&gt;
  
  
  Exams are not novels
&lt;/h2&gt;

&lt;p&gt;Version 1.1 still had an open question: does a scale fitted on exam papers carry over to fiction? Against those teacher judgments it reached a Spearman correlation of 0.70, and it placed fiction 0.134 lower than non-fiction of equal difficulty. Version 1.2 adds that offset for fiction. It's a small correction, but it comes from a measurement rather than a hunch.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it looks like on a real book
&lt;/h2&gt;

&lt;p&gt;&lt;em&gt;Alice's Adventures in Wonderland&lt;/em&gt; measures C1.2 in the original. Our adapted editions measure B2.1 and B1.5. A reader sees all three before choosing one.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it still can't do
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;It can't separate C1 from C2.&lt;/strong&gt; No version does, so C2 gets a bare label with no tenths rather than a false precision.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Short texts are noisy.&lt;/strong&gt; The error on a single short passage is about half a level.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;It measures the text, not the reader.&lt;/strong&gt; Background knowledge and interest change how hard a book feels, and no number on a page captures that.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you've worked on readability, I'd like to know what you would test next. The library is free at &lt;a href="https://books.dev" rel="noopener noreferrer"&gt;books.dev&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>nlp</category>
      <category>machinelearning</category>
      <category>showdev</category>
      <category>books</category>
    </item>
  </channel>
</rss>
