candidate

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2020 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package candidate provides functions to generate a sequence of all possible variants of a given input string.

An example use case for this subpackage includes an ability to strip out all possible prefixed and suffixed titles in the name string of a person (while still accounting for that fact that some legitimate names may contain parts which coincide with common prefixed and suffixed titles).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeRegexpGenerator added in v0.5.0

func MakeRegexpGenerator(patterns []*regexp.Regexp) func(string) []string

MakeRegexpGenerator constructs a function which attempts to extract all possible text from the input string provided as the only input argument. Input strings will be parsed according to the given regular expression patterns.

Types

This section is empty.

Directories

Path Synopsis
Package diacritics is the subpackage of package candidate which will attempt to remove diacritical marks from extended latin letters based on one of two different strategies.
Package diacritics is the subpackage of package candidate which will attempt to remove diacritical marks from extended latin letters based on one of two different strategies.
Package nametitle is the subpackage of package candidate which generates names with titles stripped away based on pre-defined regular expression patterns.
Package nametitle is the subpackage of package candidate which generates names with titles stripped away based on pre-defined regular expression patterns.

Jump to

Keyboard shortcuts

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