The FST support in OCRopus has changed (we've removed some functionality and added others) and ocroscript hasn't been modified to deal with the new code yet.
There's nothing conceptually hard about it, someone just needs to go through and delete functions that don't exist anymore and add functions for the new A* and beam search. If you could do it and supply patches... that would be very helpful. Tom On Jun 8, 4:06 pm, GM Kall <[email protected]> wrote: > I ´ve the same problem. May be some implementation is missing or not > checked in? > > On Jun 8, 12:01 pm, Marcello Nuccio <[email protected]> wrote: > > > On 8 Giu, 11:36, Marcello Nuccio <[email protected]> wrote: > > > > Adding > > > #include "ocrolangmod/ocrolangmod.h" > > > to pfst.cc I get: > > > pfst.cc: In function 'int tolua_pfst_pfst_fst_union00(lua_State*)': > > > pfst.cc:351: error: 'fst_union' was not declared in this scope > > > > I have found fst_union() in pfst.pkg, but I don't know how to build > > > it... can someone help me? > > > Ok, I got it: pfst.cc is compiled from pfst.pkg. > > So I have added > > $#include "ocrolangmod/ocrolangmod.h" > > to pfst.pkg and now I'm stuck to: > > pfst.cc: In function 'int tolua_pfst_pfst_fst_union00(lua_State*)': > > pfst.cc:351: error: 'fst_union' was not declared in this scope > > > Another thing I forgot in previous post: I needed the following > > package > > sudo apt-get install liblua5.1-0-dev > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ocropus" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ocropus?hl=en -~----------~----~----~----~------~----~------~--~---
