Skip to content
LibreOffice Neural Machine Translation
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
classes
idl/de/lernapparat/lotranslate
source
.project
.pydevproject
.unoproject
Addons.xcu
README.md
description.xml
package.properties
quickbrownfox1.png
quickbrownfox2.png
types.rdb

README.md

LibreOffice Translate

This is an extension providing Neural Machine Translation for LibreOffice.

For now it is English to German.

The quick brown fox jumps over the lazy dog.

Der schnelle braune Fuchs springt über den faulen Hund.

Build Instructions

The git repository can be used with loeclipse, the LibreOffice extension for Eclipse.

You need a new version of the Python loader which includes a fix for importing modules. You can copy this file to your LibreOffice installation, on Debian at /usr/lib/libreoffice/program/pythonloader.py.

You need OpenNMT-py and the pretrained English to German translation model. Currently the path is hardcoded to ~/python/pytorch/opennmt-py/available_models/model-ende/averaged-10-epoch.pt, but it will be configurable soon.

Use

There is a new pull down menu "Translate" with item "English to German". Select (formatted) text to translate and hit translate.

License

This extension is licensed under the Mozilla Public License v2 and the GNU Lesser GPL v3+. You may choose either license. Restrictions to third-party code and models may apply.

Acknowledgement

This project has received funding from the German Federal Ministry of Education and Research through the Prototype fund.

You can’t perform that action at this time.