Expand description
Structures for check
requests and responses.
Structs§
- Category
- A rule category.
- Context
- Match context in check response.
- Data
- Alternative text to be checked.
- Data
Annotation - A portion of text to be checked.
- Detected
Language - Detected language from check request.
- Language
Response - Language information in check response.
- Match
- Grammatical error match.
- Match
Positions - Iterator over matches and their corresponding line number and line offset.
- More
Context - More context, post-processed in check response.
- Replacement
- Possible replacement for a given match in check response.
- Request
- LanguageTool POST check request.
- Response
- LanguageTool POST check response.
- Response
With Context - Check response with additional context.
- Rule
- The rule that was not satisfied in a given match.
- Software
- LanguageTool software details.
- Type
- Type of given match.
- Url
- A possible url of a rule in a check response.
- Warnings
- Warnings about check response.
Enums§
- Level
- Possible levels for additional rules.
Constants§
- DEFAULT_
LANGUAGE - Default value for
Request::language
.
Functions§
- parse_
language_ code cli
- Parse
v
is valid language code. - split_
len - Split a string into as few fragments as possible, where each fragment
contains (if possible) a maximum of
n
characters. Pattern strpat
is used for splitting.