Safe Haskell | None |
---|---|
Language | Haskell98 |
Provides a double metaphone algorithm extracted from the perl library Text-DoubleMetaphone-0.07.
- doubleMetaphoneBounded :: Int -> ByteString -> (ByteString, ByteString)
- doubleMetaphone :: ByteString -> (ByteString, ByteString)
Types
:: 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.
:: 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)