Scroll to navigation

apertium-apy(1) apertium-apy(1)

NAME

apertium-apy - API server for machine translation and language analysis.

SYNOPSIS

apertium-apy [ pairs_path ] path to Apertium installed pairs (all modes files in this path are included).

OPTIONS

Show this help message and exit.
Path to Apertium tree (only non-translator debug modes are included from this path).
Path to localised language names sqlite database (default = langNames.db)
Path to missing word frequency sqlite database (default = None)
Port to run server on (default = 2737)
Path to SSL Certificate
Path to SSL Key File
Timeout for requests (default = 10)
Number of processes to run (default = 1; use 0 to run one http server per core, where each http server runs all available language pairs)
Daemon mode: redirects stdout and stderr to files apertium-apy.log and apertium-apy.err; use with --log-path
Path to log output files to in daemon mode; defaults to local directory
How many pipelines we can spin up per language pair (default = 1)
When shutting down pipelines, keep at least this many open per language pair (default = 0)
How many concurrent requests per pipeline before we consider spinning up a new one (default = 5)
If specified, shut down pipelines that have not been used in this many seconds
Restart a pipeline if it has had this many requests (default = 1000)
Logging verbosity.
Show APY version and exit.
Generates ScaleMT-like logs; use with --log-path; disables
Keeps unknown words in memory until a limit is reached; use with --missing-freqs (default = 1000)
How many seconds back to keep track request timing stats (default = 3600)
Apertium Wiki account password for SuggestionHandler
Apertium Wiki account username for SuggestionHandler
ReCAPTCHA bypass token
ReCAPTCHA secret for suggestion validation.
How many concurrent document translation pipelines we allow (default = 3)
Configuration file to load options from.
Configuration file to load API keys.

Homepage

<https://github.com/apertium/apertium-apy>

2018-11-08