Safe Haskell | None |
---|---|
Language | Haskell98 |
Top-level index implementations with Text
keys for
text
- integers
- dates and
- geographic positions.
- newtype InvertedIndex = InvIx {}
- mkInvIx :: KeyProxyIndex Text (DmPrefixTree Occurrences) -> InvertedIndex
- similar :: Text -> Text -> Score
- similar' :: Text -> Text -> Score
- newtype InvertedIndex2Dim = InvIx2D {}
- mkInvIx2D :: KeyProxyIndex Text (DmPrefixTree Occurrences) -> InvertedIndex2Dim
Documentation
newtype InvertedIndex Source
Text index using a StringMap
-implementation.
Eq InvertedIndex | |
Show InvertedIndex | |
Binary InvertedIndex | |
NFData InvertedIndex | |
Index InvertedIndex | |
Typeable * InvertedIndex | |
type IKey InvertedIndex = Word | |
type IVal InvertedIndex = Occurrences | |
type ICon InvertedIndex = () |
similar :: Text -> Text -> Score Source
a simple similarity heuristic for scoring words found when doing a fuzzy or prefix search
newtype InvertedIndex2Dim Source
Text index with 2-dimensional lookup using a StringMap
-implementation.