Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Documentation
data SpellCorrectedQuery Source #
A query with suggested spell corrections.
See: newSpellCorrectedQuery
smart constructor.
SpellCorrectedQuery' | |
|
Instances
newSpellCorrectedQuery :: SpellCorrectedQuery Source #
Create a value of SpellCorrectedQuery
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:corrections:SpellCorrectedQuery'
, spellCorrectedQuery_corrections
- The corrected misspelled word or words in a query.
$sel:suggestedQueryText:SpellCorrectedQuery'
, spellCorrectedQuery_suggestedQueryText
- The query with the suggested spell corrections.
spellCorrectedQuery_corrections :: Lens' SpellCorrectedQuery (Maybe [Correction]) Source #
The corrected misspelled word or words in a query.
spellCorrectedQuery_suggestedQueryText :: Lens' SpellCorrectedQuery (Maybe Text) Source #
The query with the suggested spell corrections.