rmraya / TMEngine

An open source Translation Memory Engine written in Java

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This project is not maintained. Please use RemoteTM instead.

TMEngine

TMEngine logo

An open source Translation Memory Engine written in Java.

TMEngine is based on the translation memory library used by Swordfish III, Fluenta and RemoteTM.

TMEngine can be used either as an embedded library that manages translation memories in a Java application or as a standalone TM server via its REST API.

Requirements

  • JDK 11 or newer is required for compiling and building.
  • Apache Ant 1.10.6 or newer

Building

  • Checkout this repository.
  • Point your JAVA_HOME variable to JDK 11
  • Run ant compile.

Downloads

Ready to use distributions are available at https://www.maxprograms.com/products/tmengine.html.

Related Links

Standalone Server

Running .\tmserver.bat or ./tmserver.sh without parameters displays help for starting TMEngine as a standalone server.

Usage:
                
      tmserver.sh [-help] [-version] [-port portNumber]
                
      Where:
                
      -help:      (optional) Display this help information and exit
      -version:   (optional) Display version & build information and exit
      -port:      (optional) Port for running HTTP server. Default is 8000

Visit http://localhost:8000/TMServer/stop to stop the server. Adjust the port number if required.

Java Library

TMEngine can be embedded in Java applications that need to deal with Translation Memory data.

Add all .jar files from /lib folder to the classpath of your application and use instances of ITmEngine interface.

Two classes implement interface ITmEngine:

  • MapDbEngine: a translation memory engine built using MapDB
  • SQLEngine: an implementation designed to be used with MariaDB or MySQL

See more details on the available Java methods in the documentation.

About

An open source Translation Memory Engine written in Java

License:Eclipse Public License 1.0


Languages

Language:Java 99.7%Language:Shell 0.1%Language:Batchfile 0.1%