speller

Looks for correct spelling. Currently only looks a 'distance' of one from the seed[]. This does an exhaustive search, so can potentially be very slow.

speller
(
alias dg
)
(
const(char)[] seed
)
if (
isSearchFunction!dg
)

Parameters

seed
Type: const(char)[]

wrongly spelled word

dg

search delegate

Return Value

Type: auto

null = no correct spellings found, otherwise the value returned by dg() for first possible correct spelling

Meta