Giter VIP home page Giter VIP logo

javafst's Introduction

javafst

Build Status codecov

This is mostly taken from Sphinx with a small amount of clean-up, making it obey Google style checks, etc.

I've needed to extract this code from the Sphinx4 repo a number of times, so I decided to finally give it another home here. I dont plan to make any major modifications, but I might hack on it a little here or there. Please feel free to make contributions.

Automatically generated javadoc here.

You might find JOpenFst to be useful too.

Supported OpenFST operations

Operation javafst
ArcMap
ArcSort Y
Closure
Compose Y
Concat
Connect Y
Decode
Determinize Y
Difference
Disambiguate
Encode
EpsNormalize
Equal
Equivalent
Intersect
Invert
Isomorphic
Minimize
Operation javafst
Project Y
Prune
Push
RandEquivalent
RandGen
Relabel
Replace
Reverse Y
Reweight
RmEpsilon Y
ShortestDistance
ShortestPath
StateMap
Synchronize
TopSort
Union
Verify

TODO

The original code could be modernized in a number of ways, especially to take advantages of Java8 features. Here is a short list of some of the things that could be done:

  • Use null less.
  • The mutable/immutable distinction is a little weird.

Need tests, especially for:

  • FST output
  • Immutable FSTs

For reference you can find the C++ code here.

javafst's People

Contributors

belambert avatar dependabot[bot] avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

owen864720655

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.