# Functions
Authenticate creates a new Client from a given auth-token.
IsValidJSONResponse returns true if the given response matches one of the given codes and if response is either empty or its Content-Type is `application/json`.
Login creates a new Client and authenticates with the given username and password.
NewClient creates a new client with the given host (and it default web host).
NewErrorResponse creates a new ErrorResponse with the given code and cause.
# Constants
Auth definest the ?auth=xxx token.
API routes.
API routes.
Search types.
Search types.
Search types.
API routes.
# Structs
AdaptiveTokens holds a list of adaptive tokens.
AdditionalLexicon represents the additional lexicon tokens for th post data of the postcorrection and the profiler.
Book defines the response data for books.
Books defines a list of books.
BookWithPages is a Book with an additional field that holds all the book's pages.
Box defines the bounding box in an image.
CharMap represents a freqency list of characters.
Client implements the api calls for the pcw backend.
CreateUserRequest defines the data to create new users.
Error defines json-formatted error responses.
ErrorResponse defines the data of error responses.
No description provided by the author
Job defines the job struct.
JobStatus defines the job status struct.
Languages defines the object that contains the profiler's configured languages.
Line defines the line of a page in a book.
LoginRequest defines the login data.
Match defines the matches in the results of searches.
Model defines the ocr models.
Models defines multiple models.
Page defines a page in a book.
PatternCounts holds the pattern counts for error patterns.
Patterns holds patterns.
No description provided by the author
Search is used to configure search requests.
SearchResults defines the results for token searches.
Session defines an authenticates user sessions.
SplitPackage defines the data for one split package.
SplitPackages defines the response data of split requests.
SplitRequest defines the post data for split requests.
Suggestion defines one suggestion of the profiler for a token.
SuggestionCounts holds the counts of correction suggestions.
Suggestions defines the profiler's suggestions for tokens.
Token defines a token on a line.
Tokens defines the tokens on a line.
User defines basic users.
Users defines the repsonse data for requests to list the system's users.
Version defines the resonse data of version requests.
# Type aliases
SearchType defines the type of searches.