Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- newtype SpellChecker = SpellChecker (ForeignPtr SpellChecker)
- noSpellChecker :: Maybe SpellChecker
- class GObject o => SpellCheckerK o
- toSpellChecker :: SpellCheckerK o => o -> IO SpellChecker
- spellCheckerCheckSpellingOfString :: (MonadIO m, SpellCheckerK a) => a -> Text -> m (Int32, Int32)
- spellCheckerGetAutocorrectSuggestionsForMisspelledWord :: (MonadIO m, SpellCheckerK a) => a -> Text -> m Text
- spellCheckerGetGuessesForWord :: (MonadIO m, SpellCheckerK a) => a -> Text -> Maybe Text -> m [Text]
- spellCheckerIgnoreWord :: (MonadIO m, SpellCheckerK a) => a -> Text -> m ()
- spellCheckerLearnWord :: (MonadIO m, SpellCheckerK a) => a -> Text -> m ()
- spellCheckerUpdateSpellCheckingLanguages :: (MonadIO m, SpellCheckerK a) => a -> Maybe Text -> m ()
Exported types
newtype SpellChecker Source
class GObject o => SpellCheckerK o Source
(GObject o, IsDescendantOf SpellChecker o) => SpellCheckerK o |
toSpellChecker :: SpellCheckerK o => o -> IO SpellChecker Source
Methods
spellCheckerCheckSpellingOfString
spellCheckerCheckSpellingOfString :: (MonadIO m, SpellCheckerK a) => a -> Text -> m (Int32, Int32) Source
spellCheckerGetAutocorrectSuggestionsForMisspelledWord
spellCheckerGetAutocorrectSuggestionsForMisspelledWord :: (MonadIO m, SpellCheckerK a) => a -> Text -> m Text Source
spellCheckerGetGuessesForWord
spellCheckerGetGuessesForWord :: (MonadIO m, SpellCheckerK a) => a -> Text -> Maybe Text -> m [Text] Source
spellCheckerIgnoreWord
spellCheckerIgnoreWord :: (MonadIO m, SpellCheckerK a) => a -> Text -> m () Source
spellCheckerLearnWord
spellCheckerLearnWord :: (MonadIO m, SpellCheckerK a) => a -> Text -> m () Source
spellCheckerUpdateSpellCheckingLanguages
spellCheckerUpdateSpellCheckingLanguages :: (MonadIO m, SpellCheckerK a) => a -> Maybe Text -> m () Source