OnWorks favicon

lt-trim - Online in the Cloud

Run lt-trim in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command lt-trim that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



lt-trim - This application is part of the lexical processing modules and tools ( lttoolbox

This tool is part of the apertium machine translation architecture:


lt-trim analyser_binary bidix_binary trimmed_analyser_binary


lt-trim is the application responsible for trimming compiled dictionaries. The analyses
(right-side when compiling lr) of analyser_binary are trimmed to the input side of
bidix_binary (left-side when compiling lr, right-side when compiling rl), such that only
analyses which would pass through `lt-proc -b bidix_binary' are kept.

Warning: this program is experimental! It has been tested, but not deployed extensively

Both compund tags (`<compound-only-L>', `<compound-R>') and join elements (`<j/>' in XML,
`+' in the stream) and the group element (`<g/>' in XML, `#' in the stream) should be
handled correctly, even combinations of + followed by # in monodix are handled.

Some minor caveats: If you have the capitalised lemma "Foo" in the monodix, but "foo" in
the bidix, an analysis "^Foo<tag>$" would pass through bidix when doing lt-proc -b, but
will not make it through trimming. Make sure your lemmas have the same capitalisation in
the different dictionaries. Also, you should not have literal `+' or `#' in your lemmas.
Since lt-comp doesn't escape these, lt-trim cannot know that they are different from
`<j/>' or `<g/>', and you may get @-marked output this way. You can analyse `+' or `#' by
having the literal symbol in the `<l>' part and some other string (e.g. "plus") in the

You should not trim a generator unless you have a very simple translator pipeline, since
the output of bidix seldom goes unchanged through transfer.

Use lt-trim online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Mit dem Programm kann man schnell und
    einfach Pausen bei Sportveranstaltungen
    mit Musik �berbr�cken. Hierf�r haben sie
    die M�glichkeit, folgende Wiedergabvaria...
    Download SportMusik
  • 2
    DavMail POP/IMAP/SMTP/Caldav to Exchange
    DavMail POP/IMAP/SMTP/Caldav to Exchange
    Ever wanted to get rid of Outlook ?
    DavMail is a
    gateway allowing users to use any mail
    client with Exchange and Office 365, e...
    Download DavMail POP/IMAP/SMTP/Caldav to Exchange
  • 3
    DivFix++ is yours AVI video repair and
    preview software. It designed for repair
    and preview files which are on download
    from ed2k(emule), torrent, gnutella, ftp...
    Download DivFix++
  • 4
    JBoss Community
    JBoss Community
    Community driven projects featuring the
    latest innovations for cutting edge
    apps. Our flagship project JBoss AS is
    the leading Open Source,
    Download JBoss Community
  • 5
    Mindustry is a tower-defense sandbox
    factory game. Build supply chains of
    conveyor belts to fuel your turrets,
    produce materials for building, and
    defend your ...
    Download Mindustry
  • 6
    Django Filer
    Django Filer
    django Filer is a file management
    application for django that makes
    handling files and images a breeze.
    django-filer is a file management
    application for djang...
    Download Django Filer
  • 7
    Extreme Cluster Administration Toolkit.
    xCAT is a scalable cluster management
    and provisioning tool that provides
    hardware control, discovery, and OS
    Download xCAT
  • More »

Linux commands