EnglishFrenchSpanish

Ad


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

PROGRAM:

NAME


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

This tool is part of the apertium machine translation architecture:
http://www.apertium.org.

SYNOPSIS


lt-trim analyser_binary bidix_binary trimmed_analyser_binary

DESCRIPTION


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
yet.

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
`<r>'.

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
    AstrOrzPlayer
    AstrOrzPlayer
    AstrOrz Player is a free media player
    software, part based on WMP and VLC. The
    player is in a minimalist style, with
    more than ten theme colors, and can also
    b...
    Download AstrOrzPlayer
  • 2
    movistartv
    movistartv
    Kodi Movistar+ TV es un ADDON para XBMC/
    Kodi que permite disponer de un
    decodificador de los servicios IPTV de
    Movistar integrado en uno de los
    mediacenters ma...
    Download movistartv
  • 3
    Code::Blocks
    Code::Blocks
    Code::Blocks is a free, open-source,
    cross-platform C, C++ and Fortran IDE
    built to meet the most demanding needs
    of its users. It is designed to be very
    extens...
    Download Code::Blocks
  • 4
    Amidst
    Amidst
    Amidst or Advanced Minecraft Interface
    and Data/Structure Tracking is a tool to
    display an overview of a Minecraft
    world, without actually creating it. It
    can ...
    Download Amidst
  • 5
    MSYS2
    MSYS2
    MSYS2 is a collection of tools and
    libraries providing you with an
    easy-to-use environment for building,
    installing and running native Windows
    software. It con...
    Download MSYS2
  • 6
    libjpeg-turbo
    libjpeg-turbo
    libjpeg-turbo is a JPEG image codec
    that uses SIMD instructions (MMX, SSE2,
    NEON, AltiVec) to accelerate baseline
    JPEG compression and decompression on
    x86, x8...
    Download libjpeg-turbo
  • More »

Linux commands

  • 1
    abi-tracker
    abi-tracker
    abi-tracker - visualize ABI changes
    timeline of a C/C++ software library.
    DESCRIPTION: NAME: ABI Tracker
    (abi-tracker) Visualize ABI changes
    timeline of a C/C+...
    Run abi-tracker
  • 2
    abicheck
    abicheck
    abicheck - check application binaries
    for calls to private or evolving symbols
    in libraries and for static linking of
    some system libraries. ...
    Run abicheck
  • 3
    couriermlm
    couriermlm
    couriermlm - The Courier mailing list
    manager ...
    Run couriermlm
  • 4
    couriertcpd
    couriertcpd
    couriertcpd - the Courier mail server
    TCP server daemon ...
    Run couriertcpd
  • 5
    gbklatex
    gbklatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbklatex
  • 6
    gbkpdflatex
    gbkpdflatex
    bg5latex - Use LaTeX directly on a Big5
    encodedtex file bg5pdflatex - Use
    pdfLaTeX directly on a Big5 encodedtex
    file bg5+latex - Use LaTeX directly on a
    Big5+...
    Run gbkpdflatex
  • More »

Ad