Walhalla

walhalla.data

TextParser

Utility class for parsing text related to artist names and extracting clean artist names from various formats.

TextParser()

extractArtistName(Stringtext)String

Stringtext

The input text containing the artist name and possibly extra information

String

The extracted artist name, or an empty string if not available

Extracts a clean artist name from a given text string.

Handles various formats such as [URL name], comments, special prefixes, and removes unnecessary parts like links, comments, and extra symbols.