Questions tagged [openfst]

OpenFst is a library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs).

OpenFst is a library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs).

48 questions
22
votes
3 answers

How do you even give an (openFST-made) FST input? Where does the output go?

Before I start, note that I'm using the linux shell (via using subprocess.call() from Python), and I am using openFST. I've been sifting through documents and questions about openFST, but I cannot seem to find an answer to this question: how does…
Sterling
  • 235
  • 3
  • 7
6
votes
1 answer

Why OpenFST does not seem to have 'run' or 'accept' or 'transduce' command?

I have heard many good things about OpenFST, yet I struggle with making it work. I am constructing an FST automaton (fstcompile) that I want to use as an acceptor to check if a set of strings are matching (very much alike regular expressions but…
sophros
  • 14,672
  • 11
  • 46
  • 75
6
votes
2 answers

fatal error: 'type_traits' file not found

So I've just started off with Google's OpenFST toolkit and I'm trying out their examples. Using C++ on Eclipse Mars and upon build I get the following error: fatal error: 'type_traits' file not found Here's my sample program - when I'm trying from…
Saturnian
  • 1,686
  • 6
  • 39
  • 65
5
votes
1 answer

How do I write a Tensorflow custom op containing a persistent C++ object?

I'm developing a Tensorflow sequence model that uses a beam search through an OpenFST decoding graph (loaded from a binary file) over the logits output from a Tensorflow sequence model. I've written a custom op that allows me to perform decoding…
PC9494
  • 111
  • 8
5
votes
0 answers

How to wrap a library(with c++11 feature) in CGO

My OS is Mac and the compiler is clang I want to wrap a C++ library (openfst , which uses C++11 feature ) in Go I follow the method of Scott Wales in How to use C++ in Go? , and the demo given by him works well( and no need to write…
chao.yang
  • 51
  • 1
  • 3
5
votes
1 answer

Unable to install openfst python library on Mac OS X Yosemite

I have been trying to install openfst python library for the last week, however I am stuck. I have read all similar questions on stack overflow and other websites but none of the instructions work. I have the latest Xcode installed, using brew…
user823743
  • 2,152
  • 3
  • 21
  • 31
5
votes
1 answer

Using FST libraries in python

How do I install OpenFST? I have been doing it as such: wget http://www.openfst.org/twiki/pub/FST/FstDownload/openfst-1.4.1.tar.gz tar -zxvf openfst-1.4.1.tar.gz cd openfst-1.4.1 ./configure make make install Is there any other way to install…
alvas
  • 115,346
  • 109
  • 446
  • 738
4
votes
1 answer

How can I install and use Pynini on Windows 10?

OpenGrm Pynini is a open-source finite-state transducer python library developed by K.Gorman and available here for download: http://www.openfst.org/twiki/bin/view/GRM/Pynini I would like to be able to develop on my Windows 10 laptop with …
miginside
  • 406
  • 4
  • 10
4
votes
1 answer

Openfst fstcompose for transducing

Trying to run an FST which I compiled with an input FSA, but when I do there is no output. As I searched, the only run command in openfst is fstcompose, so what I try to do is compose the fst with the inputs as fsa. pronoun.fsm.txt 0 1 1…
Ali Yeşilkanat
  • 597
  • 1
  • 7
  • 21
4
votes
1 answer

OpenFST on Windows

I am trying to install OpenFST on Windows, using Visual Studio Express 2013. However, I am not being able to do it. I also tried on Linux, but it my VM is crashing. If someone knows how to work on it using Windows, please let me know. Any help is…
Kreena Mehta
  • 303
  • 1
  • 5
  • 16
4
votes
1 answer

CPU utilization degradation over time

I have a multi-threaded process. Each thread is CPU bound (performs calculations) and also uses a lot of memory. The process starts with 100% cpu utilization according to resource monitor, but after several hours, cpu utilization starts to degrade,…
lev haikin
  • 558
  • 4
  • 17
4
votes
2 answers

Pyfst install error

I'm having trouble installing Pyfst, which is a Python wrapper for OpenFst. I've tried using pip install pyfst but always end up with an error about some "unordered_map" which can't be found. Here's part of the stack trace: In file included…
istewart
  • 437
  • 5
  • 18
4
votes
4 answers

Error while instaling Open GRM thrax

I have already installed Open Fst in Ubuntu and its working fine. Now i'm trying to install Open GRM thrax. I have tried installing with 2 different versions of thrax. Thrax version 1.1.0: thraxOpenGrm/thrax-1.1.0$ ./configure below is the error…
Tejus Prasad
  • 6,322
  • 7
  • 47
  • 75
3
votes
2 answers

How to visualize Pyfst transducers via dot files

I am learning how to create transducers with Pyfst and I am trying to visualize the ones I create. The ultimate goal is to be able to write the transducers to dot files and see them in Graphviz. I took a sample code to see how to visualize the…
nanachan
  • 1,051
  • 1
  • 15
  • 26
3
votes
1 answer

Showing characters instead of integers in arcs in OpenFST(PyFST)

I'm using the method linear_chain to accept a String. When I convert it into a fst binary to then into a DOT format, I get integers instead of the characters. Also, I have a SymbolTable for each of the corresponding letters being read. What I need…
1
2 3 4