Coder Social home page Coder Social logo

ambientlighter / lttoolbox Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apertium/lttoolbox

0.0 1.0 0.0 1.57 MB

Finite state compiler, processor and helper tools used by apertium

Home Page: http://wiki.apertium.org/wiki/Lttoolbox

License: GNU General Public License v2.0

Makefile 0.49% Shell 0.20% M4 0.99% C++ 64.77% Roff 2.00% C 26.19% Python 4.11% CMake 1.23%

lttoolbox's Introduction

lttoolbox

lttoolbox contains finite state tools for lexical processing, morphological analysis and generation of words. Analysis is the process of splitting a word like cats into its lemma cat and the grammatical information <n><pl>. Generation is the opposite process.

The three programs main programs are lt-comp, the compiler, lt-proc, the processor, and lt-expand, which generates all possible mappings between surface forms and lexical forms in the dictionary.

Executables built by this pacage:

  • lt-comp: compiler, execute without parameters to show usage instructions.

  • lt-proc: processor, typical options are -a (lexical analyser, default option), -g (lexical generator) and -p (lexical post-generator). Using -h will show all flags.

  • lt-expand: generates all the pairs of transductions of a given dictionary. Execute without parameters to show the instructions of use.

  • lt-trim: trims a compiled analyser to only contain entries which would pass through a compiled bidix, creating a new compiled and trimmed analyser.

  • lt-print: print the arcs of a transducer in ATT format.

There is also a C++ API that you can link to (see how apertium or apertium-lex-tools do this).

See https://wiki.apertium.org/wiki/Lttoolbox for usage examples and more information.

Installation

There are binaries available for Debian, Ubuntu, Fedora, CentOS, OpenSUSE, Windows, and macOS. We package both nightly builds and releases. See https://wiki.apertium.org/wiki/Installation for more information. Only build from source if you either want to change this tool's behavior, or are on a platform we don't yet package for.

Requirements:

  • g++ >= 2.95
  • GNU make
  • libxml2 >= 2.6.17

Building & installing:

  • ./configure
  • make
  • make install

lttoolbox's People

Contributors

amr-keleg avatar barufa avatar bentley avatar flammie avatar frankier avatar ftyers avatar himanshu40 avatar jimregan avatar kartikm avatar khannatanmai avatar krvoje avatar marcriera avatar mr-martian avatar nordfalk avatar pimotte avatar pminervini avatar sanmarf avatar singh-lokendra avatar snomos avatar sushain97 avatar techievena avatar tinodidriksen avatar tradumatica avatar trondtr avatar unhammer avatar xavivars avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.