| Safe Haskell | None |
|---|---|
| Language | Haskell98 |
Language.Phonetic.DoubleMetaphone
Contents
Description
Provides a double metaphone algorithm extracted from the perl library Text-DoubleMetaphone-0.07.
- doubleMetaphoneBounded :: Int -> ByteString -> (ByteString, ByteString)
- doubleMetaphone :: ByteString -> (ByteString, ByteString)
Types
Arguments
| :: Int | Number of characters to stop computing the longest result at. |
| -> ByteString | The input string, should be Latin-1 or Char7 encoded. |
| -> (ByteString, ByteString) |
Thin wrapper around a C function, returns two metaphone representations.
Arguments
| :: ByteString | The input string, should be Latin-1 or Char7 encoded. |
| -> (ByteString, ByteString) |
Thin wrapper around a C function, returns two metaphone representations.
The output will be bounded at somewhere around 2 ^ (word size - 1)