songtitle

package
v0.0.0-...-c928bda Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CountIrrelevantLabels

func CountIrrelevantLabels(s string) int

func SplitOnAnyRuneOf

func SplitOnAnyRuneOf(s string, delimiters []rune) []string

SplitOnAnyRuneOf splits a string on any rune found in delimiters.

func SplitOnDash

func SplitOnDash(s string) []string

SplitOnDash splits the given string into parts separated by unicode dashes. Dashes must be surrounded by neither letter nor number runes to be separated.

Types

type Title

type Title struct {
	Raw string // Raw content of the title

	BaselineParts    []string
	OtherParts       []string
	GuestAppearances []string

	ContentLabels []string
}

func ParseTitle

func ParseTitle(title string) Title

Directories

Path Synopsis
Package label provides various labels for string parts.
Package label provides various labels for string parts.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL