Documentation ¶
Index ¶
- func CustomizeSlash(s string) []string
- func IsNumber(s string) bool
- func IsRomanNumeral(s string) bool
- func IsYesNo(v []string) bool
- func Join(v []string, sep1, sep2 string) string
- func LetterPrefix(s string) string
- func NormalizeScientificMultiplier(s string) string
- func NormalizeText(s string) string
- func NormalizeWhitespace(s string) string
- func RomanToArabicNumerals(s string) string
- func SplitSentence(s string) []string
- func SplitSlash(s string) []string
- func SplitWhitespace(s string) []string
- func StripCtlAndExtFromUnicode(s string) string
- func Titles(s []string) []string
- func ToName(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CustomizeSlash ¶
CustomizeSlash generates slash-space variations for variable and unit name matching.
func IsRomanNumeral ¶
IsRomanNumeral returns true if s is a roman numeral between i and vi.
func Join ¶
Join joins the array elements using the separators sep1 and sep2. For example: ["0", "1", "2"], sep1=", ", sep2=" or " -> "0, 1 or 2"
func LetterPrefix ¶
LetterPrefix extracts a letter prefix from a string.
func NormalizeScientificMultiplier ¶
NormalizeScientificMultiplier converts the exponential multiplier (10^exp) to a form with 'e'.
func NormalizeText ¶
func NormalizeWhitespace ¶
func RomanToArabicNumerals ¶
RomanToArabicNumberals converts roman numerals to arabic numerals. Its purpose is to help parse NYHA class and Fitzpatrick skin type.
func SplitSentence ¶
func SplitSlash ¶
func SplitWhitespace ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.