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
1
vote
2 answers

Why does Jasper need so many dependencies?

I am trying out Jasper on Raspbian. According to Jasper docs, along with PocketSphinx, we have to also install CMUCLMTK, MIT Language Modeling Toolkit, m2m-aligner, OpenFST, and Phonetisaurus. Once I finished installing PocketSphinx, but before…
Nick Lee
  • 5,639
  • 3
  • 27
  • 35
1
vote
2 answers

How to get input symbols from a fst model using the OpenFST python extension?

OpenFST provides a python extension. Is ist possible to read input symbols (isyms) from a compiled FST model using that API? I can't find the right property or method to do that: >>> import fst >>> f =…
Jan Holthuis
  • 149
  • 10
1
vote
1 answer

Openfstexample.cpp:1:24: fatal error: fst/fstlib.h: No such file or directory compilation terminated

I am trying to compile following code using gcc in Ubuntu 10.04 #include namespace fst { // Reads in an input FST. StdVectorFst *input = StdVectorFst::Read("input.fst"); // Reads in the transduction model. StdVectorFst…
user2085779
0
votes
0 answers

prefix of string accepted by an FSA

I have an unweighted finite state acceptor (FSA), and a sequence of symbols. I want to check if this symbol sequence is a prefix of a symbol sequence accepted by the FSA. There could be transitions in the FSA. And I don't think this is a…
Jiaji Huang
  • 311
  • 4
  • 14
0
votes
1 answer

libtool: error: can't build x86_64-w64-mingw32 shared library unless -no-undefined is specified

I am trying to build and install the OpenFst library on windows10 using MINGW64 with Msys but i got the following error during the building with make. I first used this command: ./configure --enable-grm --enable-far --enable-ngram-fsts…
Mai Daly
  • 73
  • 6
0
votes
1 answer

Kaldi error while running script prepare_lang.sh -- GenericRegister::GetEntry: No such file or directory

I am using Kaldi to train an acoustic model on my own dataset (following this tutorial by Eleanor Chodroff). I'm using Cygwin on Windows 10. When I run the script prepare_lang.sh that should create the files for /data/lang, it generates the…
disha
  • 1
  • 2
0
votes
1 answer

OpenFST - creating FST's from list of words

I'm reading the top example: http://www.openfst.org/twiki/bin/view/FST/FstExamples about tokenization. In the example, they create three fsts: Mars.fst, Martian.fst, and man.fst, and manually run some fst commands to merge them into one big…
granduser
  • 67
  • 7
0
votes
1 answer

Understanding fst

I tried to do 2-gram language model and fst for sentence "dogs chase" suing openfst. I have attached the image for the same . Can someone enlight me on why there is a transition between final states? I had assumed that double circle denotes final…
Naveen Gabriel
  • 679
  • 2
  • 9
  • 25
0
votes
1 answer

OpenFST install freezing at seemingly random times

I'm trying to follow this installation guide for Jasper https://jasperproject.github.io/documentation/installation/. However, when I try to run sudo make install in the openfst-1.3.4/ folder, the installation will start and get to a random point…
Jack Johns
  • 59
  • 7
0
votes
1 answer

Error when instaling Openfst Thrax [configure: error: fst/fst.h header not found]

I tried to install Thrax on Ubuntu using ./configure --enable-far=true --enable-pdt=true --enable-mpdt=true, but the following error shows checking fst/fst.h usability... no checking fst/fst.h presence... no checking for fst/fst.h... no configure:…
Wayne
  • 11
  • 3
0
votes
1 answer

Where does `Read` come from in this OpenFST function?

(Noob alert here---I'm not really a C++ programmer, just finding myself needing to reimplement some C++ code in Java.) I am attempting to understand the following function from OpenFST as part of an effort to enable reading of OpenFST binary files…
Josh Hansen
  • 917
  • 1
  • 9
  • 20
0
votes
1 answer

Unable to install OpenFST Python extension

I was trying to install OpenFST Python extension according to this guide. There were two options for doing this. The 1st option one was to issue --enable-python during configuration of OpenFst, which I tried and failed. So I went for the 2nd…
Arif Ahmad
  • 403
  • 1
  • 6
  • 6
0
votes
1 answer

C++/OpenFST - Error on Finding Library and Linking

In OpenFST web site it says that; The OpenFst library is a C++ template library. From C++, include in the installation include directory and link to libfst.so in the installation library directory. My code consists of only this for the sake of…
0
votes
0 answers

ld: symbol(s) not found for architecture x86_64 - clang error

Here's my sample code - #include #include #include using namespace std; using namespace fst; int main() { cout << "!!!Hello World!!! Yay!" << endl; // prints !!!Hello World!!! StdVectorFst…
Saturnian
  • 1,686
  • 6
  • 39
  • 65
0
votes
1 answer

Pyfst installation on windows 7 fails

I have been struggling to install Pyfst for days. After resolving the issue with vcvarsall and installing Visual Studio C++ tools, I ran into another issue, for which I cannot find the answer online (for Windows 7). I am trying to install it with…
nanachan
  • 1,051
  • 1
  • 15
  • 26