Format title according to the MusicBrainz guidelines

Tags: #<Tag:0x00007f2a02990c18> #<Tag:0x00007f2a02990ab0>


MusicBrainz has clear style guidelines for formatting titles in English.

Is there any algorithm (C#, python, or any other programming language) to format automatically titles according to the official MusicBrainz style guidelines (at least for English language) ?

If not, I could work on it in C# but some help would be appreciated (to provide test cases for unit testing for example).


Cyber Sinh


Next to each title field, there is a button showing Aa for the “Guess case” function which will do just that.

Note that it is called guess case, not determine case with absolute precision. There are some cases where it may guess wrong.


Thanks! Do you know where is the source code of this function?