apertium-apy(1)
β¨ NAME β¨
okay so apertium-apy(1) is the API server for machine translation and language analysis π it's giving main character energy π
π SYNOPSIS π
apertium-apy [ pairs_path ]
bestie, pairs_path is the path to your installed Apertium pairs π§ all the modes files in that path get included, no cap π«Ά
π¦ OPTIONS π¦
-h,--helpβ pulls up the help message and exits π-s NONPAIRS_PATH,--nonpairs-path NONPAIRS_PATHβ path to the Apertium tree. only the non-translator debug modes get pulled in from here π-l LANG_NAMES,--lang-names LANG_NAMESβ path to the localised language names sqlite database (default =langNames.db) π-f MISSING_FREQS,--missing-freqs MISSING_FREQSβ path to the missing word frequency sqlite database (default =None) π-p PORT,--port PORTβ the port the server runs on (default =2737) π₯-c SSL_CERT,--ssl-cert SSL_CERTβ path to your SSL certificate π-k SSL_KEY,--ssl-key SSL_KEYβ path to your SSL key file ποΈ-t TIMEOUT,--timeout TIMEOUTβ timeout for requests (default =10) β°-j NUM_PROCESSES,--num-processes NUM_PROCESSESβ how many processes to run (default =1). use0and you get one http server per core, and each one runs all the available language pairs π-d,--daemonβ daemon mode! stdout and stderr get redirected to the filesapertium-apy.logandapertium-apy.err. use it with--log-pathπ¦-P LOG_PATH,--log-path LOG_PATHβ where the log output files go in daemon mode. defaults to the local directory π-i MAX_PIPES_PER_PAIR,--max-pipes-per-pair MAX_PIPES_PER_PAIRβ how many pipelines we can spin up per language pair (default =1) π§©-n MIN_PIPES_PER_PAIR,--min-pipes-per-pair MIN_PIPES_PER_PAIRβ when pipelines shut down, keep at least this many open per language pair (default =0) π-u MAX_USERS_PER_PIPE,--max-users-per-pipe MAX_USERS_PER_PIPEβ how many concurrent requests a pipeline can take before we think about spinning up a new one (default =5) π―-m MAX_IDLE_SECS,--max-idle-secs MAX_IDLE_SECSβ if you set it, pipelines that haven't been used in this many seconds get shut down π΄-r RESTART_PIPE_AFTER,--restart-pipe-after RESTART_PIPE_AFTERβ restarts a pipeline after it has handled this many requests (default =1000) π-v VERBOSITY,--verbosity VERBOSITYβ logging verbosity π£-V,--versionβ shows the APY version and exits π·οΈ-S,--scalemt-logsβ generates ScaleMT-like logs. use it with--log-path. the page says it also disables something right there and then just... stops π so no clue what gets disabled-M UNKNOWN_MEMORY_LIMIT,--unknown-memory-limit UNKNOWN_MEMORY_LIMITβ keeps unknown words in memory until a limit is reached. use it with--missing-freqs(default =1000) π§-T STAT_PERIOD_MAX_AGE,--stat-period-max-age STAT_PERIOD_MAX_AGEβ how many seconds back the request timing stats go (default =3600) β³-wp WIKI_PASSWORD,--wiki-password WIKI_PASSWORDβ Apertium Wiki account password for SuggestionHandler π-wu WIKI_USERNAME,--wiki-username WIKI_USERNAMEβ Apertium Wiki account username for SuggestionHandler π§βπ»-b,--bypass-tokenβ ReCAPTCHA bypass token π«£-rs RECAPTCHA_SECRET,--recaptcha-secret RECAPTCHA_SECRETβ ReCAPTCHA secret for suggestion validation π€-md MAX_DOC_PIPES,--max-doc-pipes MAX_DOC_PIPESβ how many concurrent document translation pipelines we allow (default =3) π-C CONFIG,--config CONFIGβ configuration file to load options from ποΈ-ak API_KEYS,--api-keys API_KEYSβ configuration file to load API keys πͺͺ
πΈ Homepage πΈ
the project lives over at https://github.com/apertium/apertium-apy π¦
ok that's the tea β this page was last touched on 2018-11-08 for apertium-apy(1) π go forth and translate, bestie π§β¨
π¦ where this page comes from
- debian bookworm: apertium-apy 0.11.7-2.1 Β· GPL-3.0-or-later
- debian trixie: apertium-apy 0.13.0-1 Β· GPL-3.0-or-later
- ubuntu jammy: apertium-apy 0.11.7-2 Β· GPL-3.0-or-later
- ubuntu noble: apertium-apy 0.11.7-2.1 Β· GPL-3.0-or-later
- ubuntu resolute: apertium-apy 0.13.0-1 Β· GPL-3.0-or-later
- ubuntu stonking: apertium-apy 0.13.0-2 Β· GPL-3.0-or-later
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms