Providers that know how to normalize specific input patterns like Artist names, Album strings or Songtitles.
Normalize an Album name by normalizing common patterns.
Takes a single string, outputs a tuple with one normalized name in it.
Usage example:
>>> provider = ArtistNormalizeProvider()
>>> provider.do_process('## The Art of getting bugs (live) CD 12')
('the art of getting bugs', )
This provider loosely follows this convention:
Normalize an Artist Name by normalizing common patterns.
Takes a single string, outputs a iterable of subartists
Usage example:
>>> provider = ArtistNormalizeProvider()
>>> provider.do_process('BertaX & Gustl')
('bertax', 'gustl')
>>> provider.do_process("A Diablo's Swing Orchästra")
('diablo swing orchästra')
>>> provider.do_process('a feat. b')
('a', 'b')
>>> provider.do_process('The Beatles')
('beatles', )
This provider loosely follows this convention:
Very simple provider that normalizes input strings.
Returns a tuple with a single normalized string in it.
Usage example:
>>> provider = NormalizeProvider()
>>> provider.do_process(' aBc ')
('abc', )
Additionaly unicode glyphs are normalized with the NFKC method.
Create a new Provider with the following attributes:
Parameters: | compress – Deduplicate data? |
---|
alias of AlbumNormalizeProvider