Giter Club home page Giter Club logo

fst-jit's Introduction

FST - JIT

Just-in-time compiling of Finite State Transducers

Experimental - not functional yet

Engineering school final year project.

The idea is to build a FST not as a data structure, but as java bytecode behaving as a "bad student". Each input will be associated to an output using a huge lookupswitch.

Build instructions

To build the project, go into the java/ directory and run :

mvn package

Execution instructions

A fst-jit-${version}-main.jar file has been created. To build a FST with the default dictionary, go into the java/target/ directory (where the jar is) and run :

head ../../dictionary | java -jar fst-jit-${version}-main.jar

The following options are available :

 -g,--graph <arg>        Prints the resulting FST in graphviz format (.dot). Specify
                         destination file name in argument
 -j,--java-class <arg>   Compiles the generated FST to a Java file.
                         Specify the class name in argument
 -b,--bytecode <arg>     Compiles the generated FST to bytecode and loads
                         it. Specify the class name in argument

fst-jit's People

Contributors

cpeuvrel avatar eboulben avatar devictr avatar

Stargazers

 avatar

Watchers

James Cloos avatar Patrick Marty avatar  avatar  avatar

fst-jit's Issues

User "sontek"

C'est moi le user "sontek", j'ai voulu testé les dotfiles d'un gars et ça a mis sa tête quand je commit (fichier .gitconfig...)

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.