Errata

  • 04/05/2025:
    • Corrected the implementation of remove_diacritics() in Appendix B, which should contain if not unicodedata.combining(c) rather than if unicodedata.combining(c).
    • Corrected the book URL in the first paragraph of Chapter 4 to use https instead of http.
    • Fixed the fact that the number of epochs parameter (n_epochs) was defined but never used in several code blocks in Chapter 4.
  • 12/15/2024:
    • Corrected equations 16.1 and 16.2.

Acknowledgements

We thank the following people for discovering these mistakes: Mike Maxwell, Minglai Yang.