Expand description
This module contains the functions, types and structs of the crate.
Structs§
- Dictionary
- Information about an available dictionary
- Grammar
Error - Grammar error
- Hyphenate
Error - Error hyphenating a string
- Init
Error - Error in initializing libvoikko
- Sentence
- A sentence
- Token
- Tokenization unit
- Voikko
- A Voikko instance
Enums§
- Sentence
Type - Type of a following sentence
- Spell
Return - A spell check return value
- Token
Type - Type of token returned by [
analyze()
]
Functions§
- list_
dicts - Get a list of available dictionaries. Returns a vector of Dictionary structs.
- list_
supported_ grammar_ checking_ languages - Same as
list_supported_spelling_languages()
but for grammar checking. - list_
supported_ hyphenation_ languages - Same as
list_supported_spelling_languages()
but for hyphenation. - list_
supported_ spelling_ languages - Return a list of language codes representing the languages for which at least one dictionary is available for spell checking. The codes conform to those specified in BCP 47. Typically the returned codes consist of only BCP 47 language subtags. They may also include tags in format Language-Script, Language-Region, or Language-Script-Region if such variants are widely used for a particular language.
- version
- Returns the version number of libvoikko.
Type Aliases§
- Analysis
- A morphological analysis item