Announcing accentuateus-0.9 (Haskell implementation of the API)



As some of you know, I co-created the project with Kevin Scannell and have been hacking away at various client implementations ever since (including our flagship Firefox client).


So, since I have been working on so many implementations of the API, it only seemed natural that I give some attention to my favourite language.

This is my first release on Hackage and it is available at I appreciate any feedback you guys have so that I can improve both it and any future code I write.


The source code is available on Spearhead’s GitHub.


The API implementation boils down to’ three calls:

  • langs – Accepting an optional locale and mandatory version number (0 if unknown), langs will tell you whether or not you are in sync with the API servers’ current version. If not (supplied version != server version), it will supply a new list of (ISO-639, Language Name) pairs. When possible, we will return the language names localized to the supplied locale.
  • accentuate – This is the magic call in the service: given a language, optional locale (to localize any error messages), and input text, it will use statistics to add diacritics.
  • feedback – The other part of the service that we really want to make more use of is feedback. Since we use statistics, the diacritic restorations will not always be correct (especially for the more under-resourced languages we support). By supplying a language name and corrected text, we will add it to our training text so that results will improve by user contributions.


Again, this is my first upload to Hackage and I’m really excited about it. I appreciate any feedback you guys have. The latest source can be found at

← all posts

michael schade

I built out engineering and operations teams at Stripe as employee #20 from 2012 to 2019; now I'm working on something new. I like helping people, photography, reading, gym, traveling, and learning new things. Say hi! 🏳️‍🌈