Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Partial Java implementation of OpenFST.

License

NotificationsYou must be signed in to change notification settings

belambert/javafst

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Statuscodecov

This is mostly taken fromSphinxwith 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 Idecided to finally give it another home here. I dont plan to make any majormodifications, but I might hack on it a little here or there. Please feel freeto make contributions.

Automatically generated javadochere.

You might findJOpenFst to be useful too.

Supported OpenFST operations

Operationjavafst
ArcMap
ArcSortY
Closure
ComposeY
Concat
ConnectY
Decode
DeterminizeY
Difference
Disambiguate
Encode
EpsNormalize
Equal
Equivalent
Intersect
Invert
Isomorphic
Minimize
Operationjavafst
ProjectY
Prune
Push
RandEquivalent
RandGen
Relabel
Replace
ReverseY
Reweight
RmEpsilonY
ShortestDistance
ShortestPath
StateMap
Synchronize
TopSort
Union
Verify

TODO

The original code could be modernized in a number of ways, especially to takeadvantages of Java8 features. Here is a short list of some of the things thatcould 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++ codehere.

About

Partial Java implementation of OpenFST.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors2

  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp