Introduction
This article describes how to deploy and activate the ABBYY plugin.
Description
The plugin ABBYY is an optional OCR. The procedure below describes how to install the plugin ABBYY
Steps to deploy a ABBYY are:
First you need to identify where where your SYSTRAN translation resource monitor service is (or are) located. This is on the server(s) where you will find this service that you will have to follow this procedure (it requires 1 license per server).
Procedure
1) Install of the rpm ABBYY
1.1 Option 1 - offline server
Kindly request to the support to give you the rpm and then run the installation of the rpm:
yum install ./systran-abby*
1.1 Option 2 - online installation:
Add the repo in /etc/yum.repos.d/systranrpm.repo
:
[systran-abbyy]
name = Systran RPM Repository
baseurl = https://repo.systran.net/{{TRS_Key}}/systran_rpm/ses/{{sts_server_version}}/plugins/beta/{{OS}}/$basearch
enabled = 1
gpgcheck = 1
gpgkey = https://repo.systran.net/{{TRS_Key}}/systran_rpm/GPG-KEY-systranreporpm
Where sts_server_version
is your STS version, OS
is centOS8
or centOS9
depending on your OS and TRS_Key
is your TRS key from you account in https://trs.systran.net
Install the systran-abbyy
package:
yum install systran-abbyy
If your server if offline please request to the support to give you the rpm.
1.2 Start and enable the service:
check if SElinux is not set to enforced with the command getenforce
systemctl enable abbyy-license
systemctl start abbyy-license
2) Activation of the licence
Execute the ABBYY License manager:
systemctl start abbyy-license
export LD_LIBRARY_PATH=/opt/systran/filter/plugins/abbyy/lib
cd /opt/systran/filter/plugins/abbyy/lib
./LicenseManager.Console
2.1) Option 1 - Activation offline
To activate the licence in offline mode follow this :
2.1) Option 2 - Activation online
To activate the licence in online mode follow this :
https://help.systrangroup.com/hc/en-us/articles/360008745979--Plugins-ABBYY-Online-activation
3) Activate ABBYY on STS10
Edit /opt/systran/filter/plugins/abbyy/etc/plugin.cfg
and add your license serial number instead of $license_key_value
:
license = $license_key_value
To reduce the consumption of memories uncomment max_recognition_processes_count = 2
Default RAM consumption is ~256MB per active systran filter and per max_recognition_processes_count (or per vcore if max_recognition_processes_count not set)
Restart the filter
Go to the STS console UI Advanced configuration
> Translation Resource
and set the instances number to 0 for the Filter then reinitialize with the previous number of instances.
and click activate all
Alternative to restart filter processes:
pkill -9 -f SystranFilterEngine
Test !
Check the number of page decrease when you translate a pdf from the licence manager
export LD_LIBRARY_PATH=/opt/systran/filter/plugins/abbyy/lib
cd /opt/systran/filter/plugins/abbyy/lib
./LicenseManager.Console